Mercurial > emacs
changeset 25040:a3b19ebb46f9
(lock_if_free): Return -1 if check_lock_owner()
has returned -1 (lockfile exists but is not a symlink?)
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 22 Jul 1999 00:41:21 +0000 |
parents | 7a53fe8294bf |
children | d45a32b777f6 |
files | src/filelock.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/filelock.c Wed Jul 21 23:01:38 1999 +0000 +++ b/src/filelock.c Thu Jul 22 00:41:21 1999 +0000 @@ -514,6 +514,8 @@ } else if (locker == 1) return 1; /* Someone else has it. */ + else if (locker == -1) + return -1; /* current_lock_owner() returned strange error */ /* We deleted a stale lock; try again to lock the file. */ }