diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-08-04 20:51:44 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-08-04 20:51:44 +0000 |
commit | 9452e30a05dd79850be35ba9886992f482761b1e (patch) | |
tree | 386776084a3fc4a14b2d560865dde715431d5e88 /login | |
parent | e08057b1ff24258dd7460ad81e84491f7a28b424 (diff) | |
download | glibc-9452e30a05dd79850be35ba9886992f482761b1e.tar glibc-9452e30a05dd79850be35ba9886992f482761b1e.tar.gz glibc-9452e30a05dd79850be35ba9886992f482761b1e.tar.bz2 glibc-9452e30a05dd79850be35ba9886992f482761b1e.zip |
Updated to fedora-glibc-20070804T2027
Diffstat (limited to 'login')
-rw-r--r-- | login/utmp_file.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/login/utmp_file.c b/login/utmp_file.c index 4a9e409454..a1c6a25716 100644 --- a/login/utmp_file.c +++ b/login/utmp_file.c @@ -157,9 +157,7 @@ setutent_file (void) #ifndef __ASSUME_O_CLOEXEC # ifdef O_CLOEXEC - static int have_o_cloexec; - - if (have_o_cloexec <= 0) + if (__have_o_cloexec <= 0) # endif { /* We have to make sure the file is `closed on exec'. */ @@ -167,8 +165,8 @@ setutent_file (void) if (result >= 0) { # ifdef O_CLOEXEC - if (have_o_cloexec == 0) - have_o_cloexec = (result & FD_CLOEXEC) ? 1 : -1; + if (__have_o_cloexec == 0) + __have_o_cloexec = (result & FD_CLOEXEC) ? 1 : -1; # endif result = fcntl_not_cancel (file_fd, F_SETFD, |