From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland McGrath To: GNU libc hacker Subject: recent (12-18 or so) 2.1 changes to use __libc_* Date: Wed, 05 Jan 2000 16:56:00 -0000 Message-id: <200001060056.TAA01392@frob.com> X-SW-Source: 2000-01/msg00034.html What is the story on the following changes? That is, three questions: What is the general story on __libc_foo vs __foo vs foo this week? What was the specific reason for this set of changes to use more __libc_foo instead of __foo or foo? And why was such a change worthy of going into 2.1? It turns out this is what broke the hurd (I left town just before this change and am still out on vacation and not able to hack very conveniently; last night was the first time I rebuilt libc since). It just happened to alert me to the situation with posix/pread.c et al (on which my opinions have not changed). 1999-12-18 Ulrich Drepper * include/unistd.h: Declare __libc_open64, __libc_lseek64, __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. * io/Versions: Export __libc_open64 and __libc_lseek64. * posix/Versions: Export __libc_pread, __libc_pread64, __libc_pwrite, and __libc_pwrite64. * sysdeps/generic/open64.c: Define __libc_* variant for cancelation wrapper. * sysdeps/generic/pread.c: Likewise. * sysdeps/generic/pread64.c: Likewise. * sysdeps/generic/pwrite.c: Likewise. * sysdeps/generic/pwrite64.c: Likewise. * sysdeps/posix/open64.c: Likewise. * sysdeps/posix/pread.c: Likewise. * sysdeps/posix/pread64.c: Likewise. * sysdeps/posix/pwrite.c: Likewise. * sysdeps/posix/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/llseek.c: Likewise. * sysdeps/unix/sysv/linux/pread.c: Likewise. * sysdeps/unix/sysv/linux/pread64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/i386/pread.c: Likewise. * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. * sysdeps/posix/open64.c: Help gcc generating better code. * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_open instead of __open. 1999-12-11 H.J. Lu * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl instead of __fcntl.