From 5debe363133d76bfaf60597392ce2629a1920506 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 29 Oct 2009 21:41:19 -0700 Subject: [PATCH] Bump timeout for utmp operations to 10s. --- ChangeLog | 3 +++ login/utmp_file.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 593de06d1a..0ed1d5cdd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-10-29 Ulrich Drepper + [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. diff --git a/login/utmp_file.c b/login/utmp_file.c index f32144d1f7..d19a2c9c4d 100644 --- a/login/utmp_file.c +++ b/login/utmp_file.c @@ -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 and Paul Janzen , 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. */