libio patches for glibc 2.1
Jeffrey A Law
law@cygnus.com
Wed Feb 25 09:33:00 GMT 1998
In message < vyzg1lask1j.fsf@issan.informatik.uni-dortmund.de >you write:
> This patch fixes some problems in libio in connection with glibc 2.1.
> Note that the change of _IO_wchar_t is a binary incompatibility, so users
> of glibc 2.1 snapshots need to recompile at least all code that uses
> [io]fstream.
>
>
> 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
>
> Changes for _G_IO_IO_FILE_VERSION == 0x20001:
> * libioP.h (_IO_showmanyc_t, _IO_SHOWMANYC, _IO_imbue_t,
> _IO_IMBUE): New definitions.
> (struct _IO_jump_t): Add __showmanyc and __imbue fields.
> (_IO_file_fopen): Add new fourth argument.
> * filebuf.cc (filebuf::open): Pass new fourth argument to
> _IO_file_fopen.
> * iolibio.h (_IO_freopen): Likewise.
> * streambuf.cc (streambuf::showmanyc, streambuf::imbue): New
> functions.
> * streambuf.h (_IO_wchar_t): Define to _G_wchar_t.
> (ios::fill): Remove casts.
> (struct streambuf): Add showmanyc and imbue members.
>
> * iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >=
> 1]: Initialize new fields is_char of struct printf_info.
> (ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 1]:
> Likewise.
Normally I'd ask you to install these patches, but I already had the
patchkit handy from installing it on the release branch. So I went
ahead and too care of it myself.
Thanks!
jeff
More information about the Gcc
mailing list