diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-20 23:06:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-20 23:06:56 +0000 |
commit | 1ddf537f074f453f4d8b70c1b5df3f9ac728bec4 (patch) | |
tree | 53bd0b17132f0b094107e7decca8a1ad39008526 /libio/libioP.h | |
parent | 0695b00cef7d8349bc16e61e62189f185926fdff (diff) | |
download | glibc-1ddf537f074f453f4d8b70c1b5df3f9ac728bec4.zip glibc-1ddf537f074f453f4d8b70c1b5df3f9ac728bec4.tar.gz glibc-1ddf537f074f453f4d8b70c1b5df3f9ac728bec4.tar.bz2 |
Update.
1998-08-20 Ulrich Drepper <drepper@cygnus.com>
* elf/Makefile (sh-ldd-rewrite): Remove expression to remove
BASH-ONLY marked region.
* elf/ldd.bash.in: Remove special BASH-ONLY markers.
1998-02-20 17:54 H.J. Lu <hjl@gnu.org>
* libio/oldfileops.c (_IO_file_seekoff): Don't adjust pointers if
_IO_SYSSEEK fails.
* libio/iolibio.h (_IO_pos_BAD): Define of type _IO_fpos64_t.
* libio/oldfileops.c (FILEBUF_LITERAL): Also initialize new _offset
element.
Diffstat (limited to 'libio/libioP.h')
-rw-r--r-- | libio/libioP.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/libio/libioP.h b/libio/libioP.h index 4891294..004c95a 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -552,15 +552,28 @@ extern int _IO_vscanf __P ((const char *, _IO_va_list)); #ifdef _IO_MTSAFE_IO /* check following! */ -# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \ +# ifdef _IO_USE_OLD_IO_FILE +# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \ { _IO_MAGIC+_IO_LINKED+_IO_IS_FILEBUF+FLAGS, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, CHAIN, FD, \ 0, _IO_pos_BAD, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock } +# else +# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \ + { _IO_MAGIC+_IO_LINKED+_IO_IS_FILEBUF+FLAGS, \ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, CHAIN, FD, \ + 0, _IO_pos_BAD, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock, _IO_pos_BAD } +# endif #else -/* check following! */ -# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \ +# ifdef _IO_USE_OLD_IO_FILE +# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \ { _IO_MAGIC+_IO_LINKED+_IO_IS_FILEBUF+FLAGS, \ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, CHAIN, FD, 0, _IO_pos_BAD } +# else +# define FILEBUF_LITERAL(CHAIN, FLAGS, FD) \ + { _IO_MAGIC+_IO_LINKED+_IO_IS_FILEBUF+FLAGS, \ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, CHAIN, FD, \ + 0, _IO_pos_BAD, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock, _IO_pos_BAD } +# endif #endif /* VTABLE_LABEL defines NAME as of the CLASS class. |