diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-03-09 14:35:26 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-03-09 14:35:26 +0000 |
commit | 5c1d419918b3637170da9a5592049048aaf0ee49 (patch) | |
tree | 8ad672f8707275fdbeaf5b8a45eeb2bc8144623a /shadow | |
parent | 48da74123eca38beeaec03d3d46ba09f069ef7dc (diff) | |
download | glibc-5c1d419918b3637170da9a5592049048aaf0ee49.tar.gz glibc-5c1d419918b3637170da9a5592049048aaf0ee49.tar.xz glibc-5c1d419918b3637170da9a5592049048aaf0ee49.zip |
Updated to fedora-glibc-20090309T1421 cvs/fedora-glibc-2_9_90-9
Diffstat (limited to 'shadow')
-rw-r--r-- | shadow/lckpwdf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/shadow/lckpwdf.c b/shadow/lckpwdf.c index 2770fb5b33..746e14b6db 100644 --- a/shadow/lckpwdf.c +++ b/shadow/lckpwdf.c @@ -1,5 +1,5 @@ /* Handle locking of password file. - Copyright (C) 1996, 1998, 2000, 2002, 2007 Free Software Foundation, Inc. + Copyright (C) 1996,1998,2000,2002,2007,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -83,7 +83,6 @@ static void noop_handler (int __sig); int __lckpwdf (void) { - int flags; sigset_t saved_set; /* Saved set of caught signals. */ struct sigaction saved_act; /* Saved signal action. */ sigset_t new_set; /* New set of caught signals. */ @@ -113,7 +112,7 @@ __lckpwdf (void) # endif { /* Make sure file gets correctly closed when process finished. */ - flags = __fcntl (lock_fd, F_GETFD, 0); + int flags = __fcntl (lock_fd, F_GETFD, 0); if (flags == -1) /* Cannot get file flags. */ RETURN_CLOSE_FD (-1); |