Commit Graph

4 Commits

Author SHA1 Message Date
Mumit Khan
edcc5d3c96 filedoalloc.c (_POSIX_SOURCE): Remove definition.
* filedoalloc.c (_POSIX_SOURCE): Remove definition.
        * 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.

From-SVN: r26380
1999-04-12 12:27:53 -06:00
Jeff Law
1510f52e3e configure.in: Create compatibility code in bits/libc-lock.h file.
* 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
1997-10-16 09:30:26 -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