From 3abe7c31ed9b6d7b6b977ecba0e0eabce9d5ba1f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Nov 2001 21:02:41 +0000 Subject: Update. 2001-11-05 Ulrich Drepper * io/fts.h: Prevent using with _FILE_OFFSET_BITS=64. 2001-11-04 Joseph S. Myers * 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): --- io/fts.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'io') 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 #include +/* The fts interface is incompatible with the LFS interface which + transparently uses the 64-bit file access functions. */ +#ifdef __USE_FILE_OFFSET64 +# error " 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 */ -- cgit 1.4.1