changeset 39290:c5853621fe9b

(current_lock_owner): Fix last change.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 14 Sep 2001 11:20:16 +0000
parents c5d6010e15ee
children f9c8c910fe9a
files src/filelock.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/filelock.c	Fri Sep 14 11:08:20 2001 +0000
+++ b/src/filelock.c	Fri Sep 14 11:20:16 2001 +0000
@@ -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 @@
 #ifdef ERANGE
       /* HP-UX reports ERANGE if the buffer is too small.  */
       if (len == -1 && errno == ERANGE)
-	continue;
+	len = bufsize;
 #endif
     }
   while (len >= bufsize);