Commit Graph

14 Commits

Author SHA1 Message Date
Ulrich Drepper 9ca05bb14e Rewrite __PMT change so that it works with platforms defining __P but
not __PMT.

From-SVN: r20802
1998-06-29 18:06:26 +00:00
Ulrich Drepper e6cc3b8058 (__PMT): New macro. Defined like __P.
Use is for function pointers.

From-SVN: r20791
1998-06-29 11:45:10 +00: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
Brendan Kehoe 6564e475c6 libio.h (__P): Name its arg `p' instead of `params'.
* 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-11 11:41:22 -07:00
Richard Henderson 20a2fbe20e configure.in (target frags): Add powerpc*-linux-gnulibc1.
* 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
1997-11-26 16:54:30 -07:00
H.J. Lu 1181d2d553 libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined.
* 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
1997-10-22 19:17:58 -06: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
Jason Merrill e741306e3c * libio.h: Don't use _IO_LOCK_T if it's not defined.
From-SVN: r15773
1997-09-28 15:08:43 -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
Weiwen Liu 2ce72aa0a8 * libio.h: Fix typo.
From-SVN: r15170
1997-09-08 10:12:05 -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