about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-11-05 21:02:41 +0000
committerUlrich Drepper <drepper@redhat.com>2001-11-05 21:02:41 +0000
commit3abe7c31ed9b6d7b6b977ecba0e0eabce9d5ba1f (patch)
treeb7e68b1def34bcada388f240d8ba300a33c3d14b
parent9442cd75d3a2b98974bc4b0e24039b3433331688 (diff)
downloadglibc-3abe7c31ed9b6d7b6b977ecba0e0eabce9d5ba1f.tar.gz
glibc-3abe7c31ed9b6d7b6b977ecba0e0eabce9d5ba1f.tar.xz
glibc-3abe7c31ed9b6d7b6b977ecba0e0eabce9d5ba1f.zip
Update.
2001-11-05  Ulrich Drepper  <drepper@redhat.com>

	* io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.

2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>

	* manual/string.texi: Fix typos.
	* manual/examples/argp-ex2.c: Likewise.

	* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
	* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
-rw-r--r--ChangeLog13
-rw-r--r--io/fts.h7
2 files changed, 18 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a5b25f01b4..57de6dc757 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2001-11-05  Ulrich Drepper  <drepper@redhat.com>
+
+	* io/fts.h: Prevent using <fts.h> with _FILE_OFFSET_BITS=64.
+
+2001-11-04  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+	* manual/string.texi: Fix typos.
+	* manual/examples/argp-ex2.c: Likewise.
+
 2001-11-05  Roland McGrath  <roland@frob.com>
 
 	* sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides
@@ -47,9 +56,9 @@
 
 2001-10-31  Martin Schwidefsky  <schwidefsky@de.ibm.com>
 
-	* sysdeps/unix/sysv/linux/s390/s390-32/register-dump (REGISTER_DUMP):
+	* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h (REGISTER_DUMP):
 	Correct second argument of register_dump call.
-	* sysdeps/unix/sysv/linux/s390/s390-64/register-dump (REGISTER_DUMP):
+	* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h (REGISTER_DUMP):
 	Likewise.
 
 2001-10-31  Ulrich Drepper  <drepper@redhat.com>
diff --git a/io/fts.h b/io/fts.h
index 2b500e0e4a..a22c7bb9ca 100644
--- a/io/fts.h
+++ b/io/fts.h
@@ -35,6 +35,13 @@
 #include <features.h>
 #include <sys/types.h>
 
+/* The fts interface is incompatible with the LFS interface which
+   transparently uses the 64-bit file access functions.  */
+#ifdef __USE_FILE_OFFSET64
+# error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
+#endif
+
+
 typedef struct {
 	struct _ftsent *fts_cur;	/* current node */
 	struct _ftsent *fts_child;	/* linked list of children */