summaryrefslogtreecommitdiff
path: root/libio
Commit message (Collapse)AuthorAgeFilesLines
* config.table: Make locating frag files failsafe even for the special case if...Manfred Hollstein1998-03-051-0/+8
| | | | | | | | | | a * config.table: Make locating frag files failsafe even for the special case if configuring and building in srcdir. * configure.in: Make locating frag files failsafe even for the special case if configuring and building in srcdir. From-SVN: r18412
* config.table: Make locating frag files failsafe even for the special case if...Manfred Hollstein1998-03-051-0/+5
| | | | | | | | | | � * config.table: Make locating frag files failsafe even for the special case if configuring and building in srcdir. * configure.in: Make locating frag files failsafe even for the special case if configuring and building in srcdir. From-SVN: r18411
* Changes for _G_IO_IO_FILE_VERSION == 0x20001:Andreas Schwab1998-02-247-2/+79
| | | | | | | | | | | | | | | | | | | | | * 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
* configure.in: For *-*-cygwin32*, add a -I for winsup to both XCINCLUDES and ↵Jeff Law1998-02-224-9/+44
| | | | | | | | | | | | | | | | | XCXXINCLUDES. * configure.in: For *-*-cygwin32*, add a -I for winsup to both XCINCLUDES and XCXXINCLUDES. * config.shared: Use ${host_includes} when setting CXXINCLUDES in the DOING_LIBGXX case. * Makefile.in (_G_config.h): Pass $(CINCLUDES) in CC and $(CXXINCLUDES) in CXX when running gen-params. * config.shared (THIS_FILE): Really found via TOLIBIO instead of TOLIBCXX, which is empty when configuring gperf. (LIBS): When linking gperf, find libstdc++ relative to TO_TOPDIR instead of hardcoded "../". From-SVN: r18168
* linux.mt (IO_OBJECTS): Add iogetline.o.H.J. Lu1998-02-177-32/+90
| | | | | | | | | | | | | | | | * config/linux.mt (IO_OBJECTS): Add iogetline.o. * 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. From-SVN: r18042
* fileops.c: #include <unistd.h>.Jeff Law1998-02-121-0/+1
| | | | | | | * fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17890
* fileops.c: #include <unistd.h>.Krister Walfridsson1998-02-121-0/+1
| | | | | | | | ( * fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17889
* fileops.c: #include <unistd.h>.Krister Walfridsson1998-02-121-0/+5
| | | | | | | | f * fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17888
* iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers.Mark Mitchell1998-02-102-26/+31
| | | | | | | * iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers. From-SVN: r17842
* config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.Manfred Hollstein1998-02-052-5/+12
| | | | | | | | | | * config.shared (FLAGS_TO_PASS): Don't emit PICFLAG. (.c.o): Check value of enable_shared, not PICFLAG. (.C.o): Dito. (.cc.o): Dito. (stamp-picdir): Dito. From-SVN: r17682
* Fix typo in hj's ChangeLog entry.Jeff Law1998-02-011-1/+1
| | | | From-SVN: r17584
* iostream.cc (istream::operator>>(long double&)): Scan value into separate ↵Andreas Schwab1998-02-013-10/+27
| | | | | | | | | | | | | | | | 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
* filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1.H.J. Lu1998-02-016-4/+112
| | | | | | | | | | | | | | | | | | | * 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
* dbz.c (putconf): Handle systems which use "long long" as type for "off_t".Krister Walfridsson1998-02-013-6/+17
| | | | | | | | * dbz/dbz.c (putconf): Handle systems which use "long long" as type for "off_t". * dbz/dbzmain.c (mkfiles): Likewise. From-SVN: r17579
* Add missing ChangeLog entryJeff Law1998-01-281-0/+2
| | | | | | Add missing ChangeLog entry From-SVN: r17529
* configure.in, [...]: Update with yesterday's toplevel configure.in changes.Manfred Hollstein1998-01-285-4/+16
| | | | | | | | | * stdio/configure.in, tests/configure.in: Update with yesterday's toplevel configure.in changes. * testsuite/cofnigure.in: Likewise. * config.shared: Fix typo in yesterday's changes. From-SVN: r17527
* config.shared: Emit everything which needs to be re-definable via file ↵Manfred Hollstein1998-01-273-175/+193
| | | | | | | | | | | | | descriptor 1... * config.shared: Emit everything which needs to be re-definable via file descriptor 1; the generic stuff is emitted using redirection onto fd 2. * configure.in (package_makefile_rules_frag): New variable which is used in the call to config.shared; redirect file descriptor 2 to ${package_makefile_rules_frag}. From-SVN: r17523
* configure.in (topsrcdir): New.H.J. Lu1998-01-273-12/+34
| | | | | | | | | | * configure.in (topsrcdir): New. (CHECK_SUBDIRS, configdirs): Check ${topsrcdir}/gcc instead. (config-ml.in): Use ${topsrcdir}/config-ml.in. * tests/configure.in (topsrcdir): New. (CHECK): Check ${topsrcdir}/gcc instead. From-SVN: r17506
* * config.shared (FLAGS_TO_PASS): Add SHELL.Manfred Hollstein1998-01-152-0/+5
| | | | From-SVN: r17376
* configure.in (CHECK_SUBDIRS): Set to testsuite only if ${srcdir}/../gcc exists.H.J. Lu1998-01-134-6/+22
| | | | | | | | | | | * configure.in (CHECK_SUBDIRS): Set to testsuite only if ${srcdir}/../gcc exists. (configdirs): Include testsuite only if ${srcdir}/../gcc exists. * tests/Makefile.in (check): Depend on $(CHECK). * tests/configure.in (CHECK): Set to "check-iostream check-stdio" if ${srcdir}/../../gcc doesn't exists. From-SVN: r17336
* Don't make gperf depend upon libg++.Brendan Kehoe1997-12-282-2/+7
| | | | | | | | * config.shared (TOLIBGCXX) [DOING_GPERF]: Delete. (LIBS) [DOING_GPERF]: Make it just `-L../libstdc++ -lstdc++'. Bring over from devo. From-SVN: r17249
* Bring over from changes from devo.Brendan Kehoe1997-12-112-0/+12
| | | | From-SVN: r17045
* tFile.cc (t4): Cast TMPFILE to char* in the call to unlink...Brendan Kehoe1997-12-112-1/+7
| | | | | | | | | * tFile.cc (t4): Cast TMPFILE to char* in the call to unlink, to solve warning problems with vxworks headers that leave const off their declarations. Brought over from devo. From-SVN: r17044
* libio.h (__P): Name its arg `p' instead of `params'.Brendan Kehoe1997-12-112-22/+28
| | | | | | | | * libio.h (__P): Name its arg `p' instead of `params'. Avoids problems with an unchanged Solaris math.h header. Bring over from devo. From-SVN: r17043
* stdiostream.cc (sys_read): Declare ch with int type, rather than without a type.Michael Meissner1997-12-112-1/+6
| | | | | | | | | * stdiostream.cc (sys_read): Declare ch with int type, rather than without a type. Bring over from devo. From-SVN: r17042
* * configure.in (target frags): Add *-linux-gnu.H.J. Lu1997-12-112-0/+15
| | | | From-SVN: r17041
* streambuf.cc (streambuf::~streambuf): Don't delete _lock for ↵H.J. Lu1997-12-062-2/+8
| | | | | | | | | _IO_stdin/_IO_stdout/_IO_stderr. * streambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout/_IO_stderr. From-SVN: r16972
* release branch changes from 11-27 snapshot to egcs-1.0.Jeff Law1997-12-051-0/+6
| | | | From-SVN: r16970
* Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.Jeffrey A Law1997-11-275-7/+13
| | | | | | | | | * Makefile.in (insatll): Change gxx_includedir to gcc_include_dir. * config.shared (gxx_includedir): Remove default definition. * config/linux.mt: Change gxx_includedir to gxx_include_dir. * config/linuxaxp1.mt: Likewise. From-SVN: r16786
* configure.in (target frags): Add powerpc*-linux-gnulibc1.Richard Henderson1997-11-268-33/+224
| | | | | | | | | | | | | | | | | | | | | * configure.in (target frags): Add powerpc*-linux-gnulibc1. (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. From-SVN: r16769
* * stdstrbufs.cc (DEF_STDFILE): Use STD_VTABLE.H.J. Lu1997-11-182-1/+5
| | | | From-SVN: r16567
* iomanip.h: Fix guiding decls.Oleg Krivosheev1997-11-112-2/+12
| | | | | | | | Tue Nov 11 01:40:17 1997 Oleg Krivosheev <kriol@fnal.gov> * iomanip.h: Fix guiding decls. From-SVN: r16428
* * gen-params: Override NULL.Jason Merrill1997-10-292-0/+11
| | | | From-SVN: r16232
* libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined.H.J. Lu1997-10-224-6/+18
| | | | | | | | | | | | | * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined. * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if __linux__ is defined instead of __ELF__ * config/linuxlibc1.mt (USER_INCLUDES): Add libio.h. OK'd by Ulrich. From-SVN: r16151
* configure.in: Create compatibility code in bits/libc-lock.h file.Jeff Law1997-10-167-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Create compatibility code in bits/libc-lock.h file. * libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined. * filedoalloc.c (_IO_file_doallocate): Don't call _IO_cleanup_registration_needed if __linux__ is defined. * iofclose.c (fclose): Make it weak alias of _IO_fclose if __ELF__ is defined. * iovsprintf.c (vsprintf): Make it weak alias of _IO_vsprintf if __ELF__ is defined. * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if __ELF__ is defined. * config/linuxlibc1.mt (MT_CFLAGS): Defined as -D_G_HAVE_MMAP. (IO_OBJECTS): Add filedoalloc.o fileops.o genops.o iofclose.o iovsprintf.o iovsscanf.o strops.o. From-SVN: r15931
* iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if.Jason Merrill1997-10-033-3/+8
| | | | | | | * iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if. From-SVN: r15836
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.Brendan Kehoe1997-10-022-1/+5
| | | | | | | | * iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef. ... since it comes in defined, either 0 or 1 From-SVN: r15834
* [multiple changes]Jason Merrill1997-10-023-8/+27
| | | | | | | | | | | | | | | | Thu Oct 2 10:36:49 1997 Jason Merrill <jason@yorick.cygnus.com> * gen-params: Fix __printf_fp test. * config/linuxlibc1.mt (gxx_includedir): Don't define. Thu Oct 2 10:36:26 1997 Ulrich Drepper <drepper@rtl.cygnus.com> * config/linuxlibc1.mt (_G_CONFIG_H): Don't define. * gen-params: Add test for __printf_fp. Getting closer... From-SVN: r15833
* iomanip.h: Use new friend <> syntax.Mark Mitchell1997-09-282-2/+11
| | | | | | | | Sun Sep 28 12:09:04 1997 Mark Mitchell <mmitchell@usa.net> * iomanip.h: Use new friend <> syntax. From-SVN: r15775
* * libio.h: Don't use _IO_LOCK_T if it's not defined.Jason Merrill1997-09-282-0/+6
| | | | From-SVN: r15773
* New file from Ulrich.Jeff Law1997-09-261-0/+2
| | | | From-SVN: r15742
* libio changes from Ulrich to help "old linux" systems.Ulrich Drepper1997-09-2612-53/+115
| | | | | | | libio changes from Ulrich to help "old linux" systems. See ChangeLog for details. From-SVN: r15741
* Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H.Jim Wilson1997-09-192-0/+6
| | | | | | | | * Makefile.in (LIBIO_OBJECTS): Depend on _G_CONFIG_H. Brought over from devo. From-SVN: r15593
* Fix all problems reported by the test suite.Ulrich Drepper1997-09-174-2/+15
| | | | From-SVN: r15505
* Handle __set_errno correctly.Ulrich Drepper1997-09-172-2/+8
| | | | From-SVN: r15502
* More stuff from Uli.Jeff Law1997-09-163-0/+266
| | | | From-SVN: r15487
* Uli's libio/libstdc++ patches.Ulrich Drepper1997-09-1636-580/+1072
| | | | From-SVN: r15486
* * Makefile.in (iostream.list): Remove STDIO_WRAP_OBJECTS.Jason Merrill1997-09-112-1/+4
| | | | From-SVN: r15424
* * libio.h: Fix typo.Weiwen Liu1997-09-082-1/+5
| | | | From-SVN: r15170
* linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio.Jim Wilson1997-09-072-1/+5
| | | | | | | * linux.mt (LIBIOSTREAM_DEP): Change stdio.list to stmp-stdio. Should fix linux build problem. From-SVN: r15142