* elf/dl-load.c (_dl_map_object_from_fd): Close FD before return.cvs/libc-960610
commit6d9756c910a07bb353af4d6908f88c1ddea15916
authorRoland McGrath <roland@gnu.org>
Sun, 9 Jun 1996 22:02:59 +0000 (9 22:02 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 9 Jun 1996 22:02:59 +0000 (9 22:02 +0000)
tree772439fa7e24f4af9a9917a3c961108a246e96fe
parent9dd2fc5d87269219f3beb91462505b93ed24a552
* elf/dl-load.c (_dl_map_object_from_fd): Close FD before return.

* sysdeps/mach/mprotect.c: Define with __ name and weak alias.
* sysdeps/stub/mprotect.c: Likewise.
* sysdeps/unix/mman/syscalls.list (mprotect): Likewise.
* sysdeps/generic/sys/mman.h: Declare __mprotect.
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
ChangeLog
elf/dl-load.c
sysdeps/generic/sys/mman.h
sysdeps/mach/mprotect.c
sysdeps/stub/mprotect.c
sysdeps/unix/bsd/osf/sys/mman.h
sysdeps/unix/bsd/sun/sunos4/sys/mman.h
sysdeps/unix/mman/syscalls.list
sysdeps/unix/sysv/irix4/sys/mman.h
sysdeps/unix/sysv/linux/sys/mman.h