diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-10-16 09:30:26 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-10-16 09:30:26 -0600 |
commit | 1510f52e3e34d9ea54d94845199733c9afa1ea16 (patch) | |
tree | 75ddb85fa604b6bb3a46198f987764bedf5ddda8 /libio/filedoalloc.c | |
parent | 022abf9081128cf821b4953d81fee765121061b4 (diff) | |
download | gcc-1510f52e3e34d9ea54d94845199733c9afa1ea16.zip gcc-1510f52e3e34d9ea54d94845199733c9afa1ea16.tar.gz gcc-1510f52e3e34d9ea54d94845199733c9afa1ea16.tar.bz2 |
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
Diffstat (limited to 'libio/filedoalloc.c')
-rw-r--r-- | libio/filedoalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/filedoalloc.c b/libio/filedoalloc.c index f1b781e..5c62280 100644 --- a/libio/filedoalloc.c +++ b/libio/filedoalloc.c @@ -75,7 +75,7 @@ _IO_file_doallocate (fp) char *p; struct stat st; -#ifndef _LIBC +#if !defined(_LIBC) && !defined(__linux__) /* If _IO_cleanup_registration_needed is non-zero, we should call the function it points to. This is to make sure _IO_cleanup gets called on exit. We call it from _IO_file_doallocate, since that is likely |