From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: schwab@issan.informatik.uni-dortmund.de (Andreas Schwab) Cc: egcs@cygnus.com, drepper@cygnus.com (Ulrich Drepper) Subject: Re: libio patches for glibc 2.1 Date: Mon, 23 Feb 1998 11:54:00 -0000 Message-id: References: X-SW-Source: 1998-02/msg01076.html > > 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 > > 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.