aboutsummaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)AuthorFilesLines
1998-06-29Update.Ulrich Drepper1-0/+3
From-SVN: r20803
1998-06-29Rewrite __PMT change so that it works with platforms defining __P butUlrich Drepper1-2/+8
not __PMT. From-SVN: r20802
1998-06-29Update.Ulrich Drepper1-0/+5
From-SVN: r20792
1998-06-29(__PMT): New macro. Defined like __P.Ulrich Drepper1-6/+8
Use is for function pointers. From-SVN: r20791
1998-06-27libio.exp (test_libio): Reset ld_library_path before appending the same ↵Carlo Wood2-1/+8
path(s) again. * lib/libio.exp (test_libio): Reset ld_library_path before appending the same path(s) again. From-SVN: r20767
1998-06-27Makefile.in (install): Remove superfluous /include.Manfred Hollstein1-2/+2
( * Makefile.in (install): Remove superfluous /include. From-SVN: r20751
1998-06-27Makefile.in (install): Remove superfluous /include.Manfred Hollstein1-0/+4
� * Makefile.in (install): Remove superfluous /include. From-SVN: r20750
1998-06-26Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.Manfred Hollstein1-1/+2
d egcs/ChangeLog: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. (Makefile): Depend on $(gcc_version_trigger). * configure (gcc_version): Change default initializer to empty string. (gcc_version_trigger): New variable; pass this variable down to subdir configures to enable them checking gcc's version themselves. Emit make macros for both gcc_version vars. (topsrcdir): Initialize reliably. (recursion line): Remove --with-gcc-version=${gcc_version}. egcs/gcc/ChangeLog: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (gcc_version, gcc_version_trigger): New macros. (version): Initialize from $(gcc_version). * configure.in (version): Rename to gcc_version. (gcc_version_trigger): New variable; call AC_SUBST for it and emit it into the generated config.status. * configure: Regenerate. egcs/libf2c/ChangeLog.egcs: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (gcc_version_trigger): Add new macro. (config.status): Add dependency upon $(gcc_version_trigger). * configure.in (gcc_version_trigger): New variable; initialize using value from toplevel configure; add AC_SUBST for it. (gcc_version): Change initialization to use this new variable. * configure: Regenerate. egcs/libio/ChangeLog: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * config.shared (FLAGS_TO_PASS): Add gcc_version_trigger. (Makefile): Add dependency upon $(gcc_version_trigger). From-SVN: r20736
1998-06-26Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.Manfred Hollstein1-0/+5
a egcs/ChangeLog: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger. (Makefile): Depend on $(gcc_version_trigger). * configure (gcc_version): Change default initializer to empty string. (gcc_version_trigger): New variable; pass this variable down to subdir configures to enable them checking gcc's version themselves. Emit make macros for both gcc_version vars. (topsrcdir): Initialize reliably. (recursion line): Remove --with-gcc-version=${gcc_version}. egcs/gcc/ChangeLog: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (gcc_version, gcc_version_trigger): New macros. (version): Initialize from $(gcc_version). * configure.in (version): Rename to gcc_version. (gcc_version_trigger): New variable; call AC_SUBST for it and emit it into the generated config.status. * configure: Regenerate. egcs/libf2c/ChangeLog.egcs: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (gcc_version_trigger): Add new macro. (config.status): Add dependency upon $(gcc_version_trigger). * configure.in (gcc_version_trigger): New variable; initialize using value from toplevel configure; add AC_SUBST for it. (gcc_version): Change initialization to use this new variable. * configure: Regenerate. egcs/libio/ChangeLog: 1998-06-26 Manfred Hollstein <manfred@s-direktnet.de> * config.shared (FLAGS_TO_PASS): Add gcc_version_trigger. (Makefile): Add dependency upon $(gcc_version_trigger). From-SVN: r20735
1998-06-24configure (enable_version_specific_runtime_libs): Implement new flag ↵Manfred Hollstein1-3/+0
--enable-version-specific-runtime-libs which installs C++... d egcs/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++ runtime stuff in $(libsubdir); emit definition in each generated Makefile. (gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs. egcs/gcc/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (gxx_include_dir): Initialize default value depending on new flag --enable-version-specific-runtime-libs; remove superfluous default initialization afterwards. * configure: Regenerate. egcs/libio/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (install): Install _G_config.h depending on new flag --enable-version-specific-runtime-libs. * config/linux.mt (gxx_include_dir): Remove definition here as we use gcc's default anyway. egcs/libstdc++/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (INSTALLDIR): Add comment to document the fact, this macro will be properly initialized at make's runtime. (install): Add initialization of INSTALLDIR depending on $(libsubdir) and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable instead of the $(INSTALLDIR) make macro. From-SVN: r20694
1998-06-24configure (enable_version_specific_runtime_libs): Implement new flag ↵Manfred Hollstein1-2/+7
--enable-version-specific-runtime-libs which installs C++... # egcs/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++ runtime stuff in $(libsubdir); emit definition in each generated Makefile. (gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs. egcs/gcc/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (gxx_include_dir): Initialize default value depending on new flag --enable-version-specific-runtime-libs; remove superfluous default initialization afterwards. * configure: Regenerate. egcs/libio/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (install): Install _G_config.h depending on new flag --enable-version-specific-runtime-libs. * config/linux.mt (gxx_include_dir): Remove definition here as we use gcc's default anyway. egcs/libstdc++/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (INSTALLDIR): Add comment to document the fact, this macro will be properly initialized at make's runtime. (install): Add initialization of INSTALLDIR depending on $(libsubdir) and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable instead of the $(INSTALLDIR) make macro. From-SVN: r20692
1998-06-24configure (enable_version_specific_runtime_libs): Implement new flag ↵Manfred Hollstein1-0/+7
--enable-version-specific-runtime-libs which installs C++... a egcs/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++ runtime stuff in $(libsubdir); emit definition in each generated Makefile. (gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs. egcs/gcc/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (gxx_include_dir): Initialize default value depending on new flag --enable-version-specific-runtime-libs; remove superfluous default initialization afterwards. * configure: Regenerate. egcs/libio/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (install): Install _G_config.h depending on new flag --enable-version-specific-runtime-libs. * config/linux.mt (gxx_include_dir): Remove definition here as we use gcc's default anyway. egcs/libstdc++/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (INSTALLDIR): Add comment to document the fact, this macro will be properly initialized at make's runtime. (install): Add initialization of INSTALLDIR depending on $(libsubdir) and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable instead of the $(INSTALLDIR) make macro. From-SVN: r20691
1998-06-24configure (gcc_version): Initialize properly depending on how and where ↵Manfred Hollstein1-0/+1
configure is started. � egcs/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure (gcc_version): Initialize properly depending on how and where configure is started. (recursion line): Pass a --with-gcc-version=${gcc_version} to configures in subdirs. egcs/libf2c/ChangeLog.egcs: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (version): Rename to gcc_version. * configure.in (version): Likewise. (gcc_version): Add code to use an option passed from parent configure. * configure: Regenerate. egcs/libio/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * config.shared (FLAGS_TO_PASS): Add gcc_version. From-SVN: r20689
1998-06-24configure (gcc_version): Initialize properly depending on how and where ↵Manfred Hollstein1-0/+4
configure is started. � egcs/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * configure (gcc_version): Initialize properly depending on how and where configure is started. (recursion line): Pass a --with-gcc-version=${gcc_version} to configures in subdirs. egcs/libf2c/ChangeLog.egcs: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (version): Rename to gcc_version. * configure.in (version): Likewise. (gcc_version): Add code to use an option passed from parent configure. * configure: Regenerate. egcs/libio/ChangeLog: 1998-06-24 Manfred Hollstein <manfred@s-direktnet.de> * config.shared (FLAGS_TO_PASS): Add gcc_version. From-SVN: r20688
1998-06-19configure (gcc_version): Add new variable describing the particular gcc ↵Manfred Hollstein2-0/+5
version we're building. � egcs-19980619/ChangeLog 1998-06-19 Manfred Hollstein <manfred@s-direktnet.de> * configure (gcc_version): Add new variable describing the particular gcc version we're building. * Makefile.in (libsubdir): Add new macro for the directory in which the compiler finds executables, libraries, etc. (BASE_FLAGS_TO_PASS): Pass down gcc_version, target_alias and libsubdir. egcs-19980619/gcc/ChangeLog 1998-06-19 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (installdirs): Loop over directories in $(libsubdir) creating probably missing ones, instead of single if statements. egcs-19980619/libio/ChangeLog 1998-06-19 Manfred Hollstein <manfred@s-direktnet.de> * config.shared (FLAGS_TO_PASS): Add libsubdir. From-SVN: r20585
1998-06-08Update.Andreas Schwab1-0/+5
From-SVN: r20330
1998-06-08(__underflow): Read character from read pointer as unsigned.Andreas Schwab1-3/+3
(__uflow): Likewise. From-SVN: r20329
1998-05-22Update.Ulrich Drepper1-1/+6
From-SVN: r19962
1998-05-22(_IO_str_underflow): Read newly available character from buffer as unsigned.Ulrich Drepper1-2/+2
From-SVN: r19961
1998-05-06typo typo fixes fixesJeff Law4-5/+5
From-SVN: r19601
1998-04-19* isgetline.cc (istream::get): Fix a typo.H.J. Lu2-3/+5
From-SVN: r19314
1998-03-05config.table: Make locating frag files failsafe even for the special case if...Manfred Hollstein1-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
1998-03-05config.table: Make locating frag files failsafe even for the special case if...Manfred Hollstein1-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
1998-02-24Changes for _G_IO_IO_FILE_VERSION == 0x20001:Andreas Schwab7-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
1998-02-22configure.in: For *-*-cygwin32*, add a -I for winsup to both XCINCLUDES and ↵Jeff Law4-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
1998-02-17linux.mt (IO_OBJECTS): Add iogetline.o.H.J. Lu7-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
1998-02-12fileops.c: #include <unistd.h>.Jeff Law1-0/+1
* fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17890
1998-02-12fileops.c: #include <unistd.h>.Krister Walfridsson1-0/+1
( * fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17889
1998-02-12fileops.c: #include <unistd.h>.Krister Walfridsson1-0/+5
f * fileops.c: #include <unistd.h>. * ioprims.c: Likewise. From-SVN: r17888
1998-02-10iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers.Mark Mitchell2-26/+31
* iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers. From-SVN: r17842
1998-02-05config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.Manfred Hollstein2-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
1998-02-01Fix typo in hj's ChangeLog entry.Jeff Law1-1/+1
From-SVN: r17584
1998-02-01iostream.cc (istream::operator>>(long double&)): Scan value into separate ↵Andreas Schwab3-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
1998-02-01filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1.H.J. Lu6-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
1998-02-01dbz.c (putconf): Handle systems which use "long long" as type for "off_t".Krister Walfridsson3-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
1998-01-28Add missing ChangeLog entryJeff Law1-0/+2
Add missing ChangeLog entry From-SVN: r17529
1998-01-28configure.in, [...]: Update with yesterday's toplevel configure.in changes.Manfred Hollstein5-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
1998-01-27config.shared: Emit everything which needs to be re-definable via file ↵Manfred Hollstein3-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
1998-01-27configure.in (topsrcdir): New.H.J. Lu3-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
1998-01-15* config.shared (FLAGS_TO_PASS): Add SHELL.Manfred Hollstein2-0/+5
From-SVN: r17376
1998-01-13configure.in (CHECK_SUBDIRS): Set to testsuite only if ${srcdir}/../gcc exists.H.J. Lu4-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
1997-12-28Don't make gperf depend upon libg++.Brendan Kehoe2-2/+7
* config.shared (TOLIBGCXX) [DOING_GPERF]: Delete. (LIBS) [DOING_GPERF]: Make it just `-L../libstdc++ -lstdc++'. Bring over from devo. From-SVN: r17249
1997-12-11Bring over from changes from devo.Brendan Kehoe2-0/+12
From-SVN: r17045
1997-12-11tFile.cc (t4): Cast TMPFILE to char* in the call to unlink...Brendan Kehoe2-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
1997-12-11libio.h (__P): Name its arg `p' instead of `params'.Brendan Kehoe2-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
1997-12-11stdiostream.cc (sys_read): Declare ch with int type, rather than without a type.Michael Meissner2-1/+6
* stdiostream.cc (sys_read): Declare ch with int type, rather than without a type. Bring over from devo. From-SVN: r17042
1997-12-11* configure.in (target frags): Add *-linux-gnu.H.J. Lu2-0/+15
From-SVN: r17041
1997-12-06streambuf.cc (streambuf::~streambuf): Don't delete _lock for ↵H.J. Lu2-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
1997-12-05release branch changes from 11-27 snapshot to egcs-1.0.Jeff Law1-0/+6
From-SVN: r16970
1997-11-27Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.Jeffrey A Law5-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