about summary refs log tree commit diff
path: root/io
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 /io
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):
Diffstat (limited to 'io')
-rw-r--r--io/fts.h7
1 files changed, 7 insertions, 0 deletions
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 */