This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libio patches for glibc 2.1


> 
> 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.

Ulrich, should this also go into egcs 1.0.2?

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]