mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
Update.
2000-11-28 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64 declaration, adjust declaration of __syscall_getdents to match kernel.
This commit is contained in:
parent
a0f5c800f3
commit
559dce193e
@ -1,3 +1,9 @@
|
||||
2000-11-28 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
|
||||
declaration, adjust declaration of __syscall_getdents to match
|
||||
kernel.
|
||||
|
||||
2000-11-29 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
|
||||
|
@ -698,7 +698,7 @@ ifeq (yes, $(build-shared))
|
||||
# %ifdef et al based on config.h settings or other %include'd files.
|
||||
define preprocess-versions
|
||||
sed 's/#.*$$//;s/^[ ]*%/#/' \
|
||||
| $(CC) -E -undef -I$(common-objdir) -I$(..)include \
|
||||
| $(CC) -E -undef -traditional-cpp -I$(common-objdir) -I$(..)include \
|
||||
-include $(common-objpfx)config.h \
|
||||
-x c - \
|
||||
| sed 's/#.*$$//;/^[ ]*$$/d'
|
||||
|
2
configure
vendored
2
configure
vendored
@ -2175,7 +2175,7 @@ else
|
||||
fi
|
||||
|
||||
|
||||
for ac_prog in gawk mawk nawk awk
|
||||
for ac_prog in mawk gawk nawk awk
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
|
@ -48,7 +48,8 @@ extern int __have_no_getdents64;
|
||||
|
||||
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
|
||||
|
||||
extern int __syscall_getdents (int fd, char *__unbounded buf, size_t nbytes);
|
||||
extern int __syscall_getdents (int fd, char *__unbounded buf, unsigned int nbytes);
|
||||
extern int __syscall_getdents64 (int fd, char *__unbounded buf, unsigned int nbytes);
|
||||
|
||||
/* For Linux we need a special version of this file since the
|
||||
definition of `struct dirent' is not the same for the kernel and
|
||||
|
Loading…
Reference in New Issue
Block a user