OSDN Git Service

CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failure
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 5 Sep 2009 20:04:36 +0000 (22:04 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 5 Sep 2009 20:04:36 +0000 (22:04 +0200)
commitabb3587fe939d469a44f2097bae361aabd269f3f
treed4a6b1a17080c42f83da194db4053055ab000a14
parent27893e6651e64ad35f417ab665b8d1669fd03f61
CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failure

    text           data     bss     dec     hex filename
-    370              0       0     370     172 libc/misc/dirent/opendir.o
+    366              0       0     366     16e libc/misc/dirent/opendir.o
-    375              4       0     379     17b libc/pwd_grp/lckpwdf.o
+    356              4       0     360     168 libc/pwd_grp/lckpwdf.o
-    248              0       0     248      f8 librt/shm.o
+    209              0       0     209      d1 librt/shm.o

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libc/misc/dirent/opendir.c
libc/misc/utmp/utent.c
libc/pwd_grp/lckpwdf.c
libpthread/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c
librt/shm.c