From: Ulrich Drepper Date: Thu, 20 Aug 1998 20:45:45 +0000 (+0000) Subject: (FILEBUF_LITERAL): Set the _offset field to _IO_pos_BAD. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e54542c96f149034704675cba4458c12242f17e;p=thirdparty%2Fglibc.git (FILEBUF_LITERAL): Set the _offset field to _IO_pos_BAD. --- diff --git a/libio/libioP.h b/libio/libioP.h index 8fe11084dff..7760c33a67b 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -503,12 +503,12 @@ extern int _IO_vscanf __P((const char *, _IO_va_list)); #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, 0, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock } + 0, _IO_pos_BAD, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock } #else /* check following! */ #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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, CHAIN, FD, 0, _IO_pos_BAD } #endif /* VTABLE_LABEL defines NAME as of the CLASS class.