OSDN Git Service

clean up O_CLOEXEC handling
authorMike Frysinger <vapier@gentoo.org>
Thu, 8 Oct 2009 02:51:55 +0000 (22:51 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 8 Oct 2009 02:53:39 +0000 (22:53 -0400)
commitb8f1f91cc6d7b579fdb2370ab046565f9930aa09
treef4bed1003ca36419f344d5540fa1cd32da220518
parent49b5ce384740ebabfc8e38dff6e37913e224dd29
clean up O_CLOEXEC handling

Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h
headers, and import __ASSUME_O_CLOEXEC from glibc.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
22 files changed:
libc/misc/dirent/opendir.c
libc/misc/utmp/utent.c
libc/pwd_grp/lckpwdf.c
libc/sysdeps/linux/alpha/bits/fcntl.h
libc/sysdeps/linux/arm/bits/fcntl.h
libc/sysdeps/linux/avr32/bits/fcntl.h
libc/sysdeps/linux/bfin/bits/fcntl.h
libc/sysdeps/linux/common/bits/kernel-features.h
libc/sysdeps/linux/cris/bits/fcntl.h
libc/sysdeps/linux/frv/bits/fcntl.h
libc/sysdeps/linux/hppa/bits/fcntl.h
libc/sysdeps/linux/i386/bits/fcntl.h
libc/sysdeps/linux/ia64/bits/fcntl.h
libc/sysdeps/linux/m68k/bits/fcntl.h
libc/sysdeps/linux/microblaze/bits/fcntl.h
libc/sysdeps/linux/mips/bits/fcntl.h
libc/sysdeps/linux/powerpc/bits/fcntl.h
libc/sysdeps/linux/sh/bits/fcntl.h
libc/sysdeps/linux/sh64/bits/fcntl.h
libc/sysdeps/linux/sparc/bits/fcntl.h
libc/sysdeps/linux/x86_64/bits/fcntl.h
libc/sysdeps/linux/xtensa/bits/fcntl.h