forked from lattera/glibc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* include/sys/stat.h: Add prototypes for __lxstat_internal and __lxstat64_internal. Add macros __lxstat and __lxstat64 if not NOT_IN_libc. * sysdeps/generic/lxstat.c: Use INTDEF for __lxstat. * sysdeps/mach/hurd/lxstat.c: Likewise. * sysdeps/unix/common/lxstat.c: Likewise. * sysdeps/unix/sysv/aix/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. * sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64. * sysdeps/mach/hurd/lxstat64.c: Likewise. * sysdeps/unix/sysv/aix/lxstat64.c: Likewise. * sysdeps/unix/sysv/linuxx/lxstat64.c: Likewise. * include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal prototypes. Add __mbrlen and __mbrtowc macros. * wcsmbs/mbrlen.c: Use INTDEF for __mbrlen. * wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc. * include/unistd.h: Add prototype for __write_internal and add __libc_write macro is SHARED. * sysdeps/generic/write.c: Use INTDEF for __write. * sysdeps/mach/hurd/write.c: Likewise. * sysdeps/unix/sysv/aix/write.c: Likewise. * sysdeps/unix/syscalls.list: Add __libc_write alias. * assert/assert.c: Replace STR_N_SIZE with something usable in macro arguments. * assert/assert-perr.c: Likewise.
- Loading branch information
Ulrich Drepper
committed
Apr 15, 2002
1 parent
08f6007
commit fab656f
Showing
24 changed files
with
142 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,37 @@ | ||
2002-04-14 Ulrich Drepper <[email protected]> | ||
|
||
* include/sys/stat.h: Add prototypes for __lxstat_internal and | ||
__lxstat64_internal. Add macros __lxstat and __lxstat64 if not | ||
NOT_IN_libc. | ||
* sysdeps/generic/lxstat.c: Use INTDEF for __lxstat. | ||
* sysdeps/mach/hurd/lxstat.c: Likewise. | ||
* sysdeps/unix/common/lxstat.c: Likewise. | ||
* sysdeps/unix/sysv/aix/lxstat.c: Likewise. | ||
* sysdeps/unix/sysv/linux/lxstat.c: Likewise. | ||
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise. | ||
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise. | ||
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Likewise. | ||
* sysdeps/generic/lxstat64.c: Use INTDEF for __lxstat64. | ||
* sysdeps/mach/hurd/lxstat64.c: Likewise. | ||
* sysdeps/unix/sysv/aix/lxstat64.c: Likewise. | ||
* sysdeps/unix/sysv/linuxx/lxstat64.c: Likewise. | ||
|
||
* include/wchar.h: Declare __mbrtowc_internal and __mbrlen_internal | ||
prototypes. Add __mbrlen and __mbrtowc macros. | ||
* wcsmbs/mbrlen.c: Use INTDEF for __mbrlen. | ||
* wcsmbs/mbrtowc.c: Use INTDEF for __mbrtowc. | ||
|
||
* include/unistd.h: Add prototype for __write_internal and add | ||
__libc_write macro is SHARED. | ||
* sysdeps/generic/write.c: Use INTDEF for __write. | ||
* sysdeps/mach/hurd/write.c: Likewise. | ||
* sysdeps/unix/sysv/aix/write.c: Likewise. | ||
* sysdeps/unix/syscalls.list: Add __libc_write alias. | ||
|
||
* assert/assert.c: Replace STR_N_SIZE with something usable in | ||
macro arguments. | ||
* assert/assert-perr.c: Likewise. | ||
|
||
* include/sys/socket.h: Declare __libc_sa_len_internal and define | ||
SA_LEN macro to use it if not NOT_IN_libc. | ||
* sysdeps/unix/sysv/linux/sa_len.c: Use INTDEF for __libc_sa_len. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. | ||
/* Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. | ||
This file is part of the GNU C Library. | ||
Contributed by Ulrich Drepper <[email protected]>, 1999. | ||
|
@@ -21,6 +21,8 @@ | |
|
||
#include "kernel_proto.h" | ||
|
||
#undef __libc_write | ||
#undef __write | ||
|
||
ssize_t | ||
__write (fd, ptr, n) | ||
|
@@ -30,6 +32,7 @@ __write (fd, ptr, n) | |
{ | ||
return kwrite (fd, ptr, n); | ||
} | ||
INTDEF(__write) | ||
/* AIX has no weak aliases (yet) but let's hope for better times. */ | ||
weak_alias (__write, write) | ||
strong_alias (__write, __libc_write) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.