aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-09-14 11:20:16 +0000
committerGerd Moellmann2001-09-14 11:20:16 +0000
commit63680feb37911c14187ad5381689f3ab0b7b9bba (patch)
tree8f0e60698c00c3cab16e09c9d20606667ba7180d /src
parent49c14a0533e1aefde82d7deab2afd7107f313483 (diff)
downloademacs-63680feb37911c14187ad5381689f3ab0b7b9bba.tar.gz
emacs-63680feb37911c14187ad5381689f3ab0b7b9bba.zip
(current_lock_owner): Fix last change.
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* Lock files for editing. 1/* Lock files for editing.
2 Copyright (C) 1985, 86, 87, 93, 94, 96, 98, 1999, 2000 2 Copyright (C) 1985, 86, 87, 93, 94, 96, 98, 1999, 2000, 2001
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -440,7 +440,7 @@ current_lock_owner (owner, lfname)
440#ifdef ERANGE 440#ifdef ERANGE
441 /* HP-UX reports ERANGE if the buffer is too small. */ 441 /* HP-UX reports ERANGE if the buffer is too small. */
442 if (len == -1 && errno == ERANGE) 442 if (len == -1 && errno == ERANGE)
443 continue; 443 len = bufsize;
444#endif 444#endif
445 } 445 }
446 while (len >= bufsize); 446 while (len >= bufsize);