Commit Graph

8 Commits

Author SHA1 Message Date
Jakub Jelinek
bf3f1a7161 libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t.
* libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of
	_IO_fpos_t.
	(_IO_seekoff, _IO_seekpos): Likewise. Use _IO_off64_t instead of
	_IO_fpos64_t.
	* libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Likewise.
	(_IO_seekoff, _IO_seekpos): Likewise.
	(_IO_default_seekoff, _IO_default_seekpos): Likewise.
	(_IO_default_seek): Likewise.
	(_IO_file_seekoff, _IO_file_seek, _IO_str_seekoff): Likewise.
	* streambuf.h (streampos): Typedef to _IO_off_t resp. _IO_off64_t.
	* parsestream.h (class parsebuf::pos_at_line_start): Change type
	to _IO_off_t.

From-SVN: r31068
1999-12-22 10:01:59 +01:00
Alexandre Oliva
aee941f2bb streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the global scope.
* streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the
global scope.

From-SVN: r28604
1999-08-09 00:07:09 +00:00
Nathan Sidwell
9939c435d2 * streambuf.h (ios::~ios): Use operator delete[] to remove _arrays.
From-SVN: r26691
1999-04-29 08:32:13 +00: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
H.J. Lu
2b0aa3c5b3 filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1.
* filebuf.cc (filebuf::open): Call _IO_file_open if
        _G_HAVE_IO_FILE_OPEN is 1.
        * libio.h (_IO_fpos64_t, _IO_off64_t): Defined if
        _G_IO_IO_FILE_VERSION == 0x20001.
        * libioP.h (_IO_file_open): New declaration.
        * libio.h (_IO_FILE, _IO_stdin_, _IO_stdout_, _IO_stderr_,
        _IO_seekoff, _IO_seekpos): Add support for libio in egcs 2.1.
        * libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t,
        _IO_seekoff, _IO_seekpos, _IO_default_seekoff,
        _IO_default_seekpos, _IO_default_seek, _IO_file_seekoff,
        _IO_file_seek, _IO_str_seekoff, _IO_pos_BAD, _IO_pos_as_off,
        _IO_pos_0): Ditto.
        * streambuf.h (streamoff, streampos): Ditto.
        * gen-params (__extension__): Use only if gcc version >= 2.8.

From-SVN: r17580
1998-02-01 05:29:15 -07: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
Brendan Kehoe
dbfcb4beac Insert libio rewrite and its various changes from devo.
From-SVN: r15129
1997-09-06 03:44:38 -04:00
Jason Merrill
6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00