Commit Graph

12 Commits

Author SHA1 Message Date
Ulrich Drepper
d027507ed8 (endl): Fix bug in last change.
(ends): Make same change as for endl.

From-SVN: r34128
2000-05-24 07:06:07 +00:00
Jeff Law
db9aed0ed6 iostream.cc (endl): Verify stream can accept characters before writing its eol.
* iostream.cc (endl): Verify stream can accept characters
        before writing its eol.

From-SVN: r34122
2000-05-23 22:57:22 -06:00
Andreas Schwab
ff76d1ee86 iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream.
* iostream.cc: Add missing calls to isfx and setup a cleanup
	region for the locked stream.
	* iostream.h: Likewise.
	* isgetline.cc: Likewise.
	* isgetsb.cc: Likewise.
	* isscan.cc: Likewise.

From-SVN: r28573
1999-08-07 00:02:05 -06:00
Andreas Schwab
3eaa4d3b4d 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.

From-SVN: r18222
1998-02-24 13:09:55 -07:00
Mark Mitchell
9b713d5e50 iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers.
* iostream.cc (ostream::operator<<(long double)): Don't use
	labeled initializers.

From-SVN: r17842
1998-02-10 19:35:01 -05:00
Andreas Schwab
54a60f6e25 iostream.cc (istream::operator>>(long double&)): Scan value into separate variable, in case long double is bigger than double.
* iostream.cc (istream::operator>>(long double&))
        [!_G_HAVE_LONG_DOUBLE_IO]: Scan value into separate variable, in
        case long double is bigger than double.
        (ostream::operator<<(double)) [_G_HAVE_PRINTF_FP]: Fix order of
        initializers of struct printf_info to match declaration order,
        to work around g++ bug.
        (ostream::operator<<(long double)) [_G_HAVE_PRINTF_FP]: Likewise.
        * gen-params: Add missing quotes.  Avoid useless use of command
        substitution.

From-SVN: r17582
1998-02-01 05:44:52 -07:00
Jason Merrill
c44e099f65 iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if.
* iostream.cc, libio.h: Convert other uses of #ifdef
	_G_HAVE_PRINTF_FP to #if.

From-SVN: r15836
1997-10-03 13:14:05 -04:00
Brendan Kehoe
808d0b1063 iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.

... since it comes in defined, either 0 or 1

From-SVN: r15834
1997-10-02 18:52:19 -04:00
Ulrich Drepper
d604f4c6a3 libio changes from Ulrich to help "old linux" systems.
libio changes from Ulrich to help "old linux" systems.  See ChangeLog
for details.

From-SVN: r15741
1997-09-26 22:07:00 -06:00
Ulrich Drepper
6c1d570678 Fix all problems reported by the test suite.
From-SVN: r15505
1997-09-17 02:10:30 +00:00
Ulrich Drepper
e693cc28bb Uli's libio/libstdc++ patches.
From-SVN: r15486
1997-09-16 10:01:55 -06:00
Jason Merrill
6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00