summaryrefslogtreecommitdiff
path: root/libio/libioP.h
Commit message (Collapse)AuthorAgeFilesLines
* * libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.law1999-05-171-6/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26980 138bc75d-0d04-0410-961f-82ee72b054a4
* * filedoalloc.c (_POSIX_SOURCE): Remove definition.law1999-04-121-0/+4
| | | | | | | | | | | * fileops.c (_POSIX_SOURCE): Likewise. * iopopen.c (_POSIX_SOURCE): Likewise. * procbuf.cc (_POSIX_SOURCE): Likewise. * libioP.h (_POSIX_SOURCE): And define it here. * stdiostream.cc: Include libioP.h before others. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26380 138bc75d-0d04-0410-961f-82ee72b054a4
* * libioP.h: Use __PMT in typedefs.drepper1998-08-041-22/+22
| | | | | | | * strfile.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21610 138bc75d-0d04-0410-961f-82ee72b054a4
* Changes for _G_IO_IO_FILE_VERSION == 0x20001:law1998-02-241-0/+22
| | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18222 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/linux.mt (IO_OBJECTS): Add iogetline.o.law1998-02-171-0/+2
| | | | | | | | | | | | | | | | * config/linuxlibc1.mt: Ditto. * iogetline.c (_IO_getline_info): Renamed from _IO_getline. (_IO_getline): Just call _IO_getline_info. * isgetline.cc (istream::getline, istream::get, _sb_readline): Call _IO_getline_info instead of _IO_getline and get the EOF information. * sbgetline.cc (streambuf::sgetline): Ditto. * libioP.h (_IO_getline_info): New declaration. * iogetline.c (_IO_getline): Handle the case when there is no buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18042 138bc75d-0d04-0410-961f-82ee72b054a4
* * filebuf.cc (filebuf::open): Call _IO_file_open iflaw1998-02-011-4/+56
| | | | | | | | | | | | | | | | | | | _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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17580 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (target frags): Add powerpc*-linux-gnulibc1.law1997-11-261-1/+5
| | | | | | | | | | | | | | | | | | | | | (stdio-lock): Similarly. * configure.in (target frags): Add alpha*-linux-gnulibc1. (pic frags): Its alpha*- not alpha-. (stdio-lock): Kill everything. Add alpha*-linux-gnulibc1. * libio.h: Check __GLIBC_MINOR__ to find stdio-lock.h. If not _IO_MTSAFE_IO & GLIBC, make sure the lock pointer is still there. * libioP.h: Check __GLIBC_MINOR__ to find libc-lock.h. * config/linuxaxp1-libc-lock.h: New file. * config/linuxaxp1-stdio-lock.h: New file. * config/linuxaxp1.mt: New file. * gen-params (va_list): Check for and use __gnuc_va_list. (NULL): Work around some linux kernel headers and redefine NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16769 138bc75d-0d04-0410-961f-82ee72b054a4
* Handle __set_errno correctly.drepper1997-09-171-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15502 138bc75d-0d04-0410-961f-82ee72b054a4
* Uli's libio/libstdc++ patches.law1997-09-161-234/+228
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15486 138bc75d-0d04-0410-961f-82ee72b054a4
* Insert libio rewrite and its various changes from devo.brendan1997-09-061-31/+100
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15129 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionjason1997-08-211-0/+497
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4