This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

recent (12-18 or so) 2.1 changes to use __libc_*


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  <drepper@cygnus.com>

	  * 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  <hjl@gnu.org>

	  * sysdeps/generic/libc-start.c (check_one_fd): Use __libc_fcntl
	  instead of __fcntl.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]