From: Gerd Moellmann Date: Fri, 14 Sep 2001 11:20:16 +0000 (+0000) Subject: (current_lock_owner): Fix last change. X-Git-Tag: emacs-pretest-21.0.106~114 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=63680feb37911c14187ad5381689f3ab0b7b9bba;p=emacs.git (current_lock_owner): Fix last change. --- diff --git a/src/filelock.c b/src/filelock.c index f82c16b7996..bdfcda9ade0 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -1,5 +1,5 @@ /* Lock files for editing. - Copyright (C) 1985, 86, 87, 93, 94, 96, 98, 1999, 2000 + Copyright (C) 1985, 86, 87, 93, 94, 96, 98, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -440,7 +440,7 @@ current_lock_owner (owner, lfname) #ifdef ERANGE /* HP-UX reports ERANGE if the buffer is too small. */ if (len == -1 && errno == ERANGE) - continue; + len = bufsize; #endif } while (len >= bufsize);