From 3abe7c31ed9b6d7b6b977ecba0e0eabce9d5ba1f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 5 Nov 2001 21:02:41 +0000 Subject: [PATCH] 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): --- ChangeLog | 13 +++++++++++-- io/fts.h | 7 +++++++ 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 + + * 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. + 2001-11-05 Roland McGrath * sysdeps/powerpc/elf/sysdep.h: Remove this file, because it overrides @@ -47,9 +56,9 @@ 2001-10-31 Martin Schwidefsky - * 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 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 */