aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-30 17:42:48 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-30 17:42:48 +0000
commit559dce193e8ffe6fabccd893eb802417e754a597 (patch)
tree3fa4ae76f9efc7c5df061371033be0155c1492e7
parenta0f5c800f3ec1d82c3115337e6217423f185e1fd (diff)
downloadglibc-559dce193e8ffe6fabccd893eb802417e754a597.zip
glibc-559dce193e8ffe6fabccd893eb802417e754a597.tar.gz
glibc-559dce193e8ffe6fabccd893eb802417e754a597.tar.bz2
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.
-rw-r--r--ChangeLog6
-rw-r--r--Makeconfig2
-rwxr-xr-xconfigure2
-rw-r--r--sysdeps/unix/sysv/linux/getdents.c3
4 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8066a69..da002f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/Makeconfig b/Makeconfig
index b47ccda..c26e9c7 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -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'
diff --git a/configure b/configure
index 2157444..3e11486 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/sysdeps/unix/sysv/linux/getdents.c b/sysdeps/unix/sysv/linux/getdents.c
index fc55c27..78dea24 100644
--- a/sysdeps/unix/sysv/linux/getdents.c
+++ b/sysdeps/unix/sysv/linux/getdents.c
@@ -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