Bump timeout for utmp operations to 10s.
authorUlrich Drepper <drepper@redhat.com>
Fri, 30 Oct 2009 04:41:19 +0000 (21:41 -0700)
committerUlrich Drepper <drepper@redhat.com>
Fri, 30 Oct 2009 04:41:19 +0000 (21:41 -0700)
ChangeLog
login/utmp_file.c

index 593de06..0ed1d5c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-10-29  Ulrich Drepper  <drepper@redhat.com>
 
+       [BZ #10564]
+       * login/utmp_file.c (TIMEOUT): Increase to 10.
+
        [BZ #10609]
        * sysdeps/unix/sysv/linux/faccessat.c: Fix handling of empty parameters
        for file names in case the syscall is not available.
index f32144d..d19a2c9 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996-2004, 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2004, 2007, 2008, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>
    and Paul Janzen <pcj@primenet.com>, 1996.
@@ -45,7 +45,7 @@ static struct utmp last_entry;
 
 /* Locking timeout.  */
 #ifndef TIMEOUT
-# define TIMEOUT 1
+# define TIMEOUT 10
 #endif
 
 /* Do-nothing handler for locking timeout.  */