GNU bug report logs -
#70415
30.0.50; [Cygwin] `lock-file' creates a symlink with funny name
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Tue, 16 Apr 2024 12:34:04 UTC
Severity: normal
Found in version 30.0.50
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 5/4/2024 1:46 PM, Ken Brown wrote:
> On 5/4/2024 1:26 PM, Eli Zaretskii wrote:
>> Would you mind explaining for posterity (and for my personal
>> curiosity) how what Bruno changed affects the deletion of the lock
>> file? Is that because the ":-NNNN" suffix had the dash (because the
>> system's page file was deemed to eb a directory)? If so, how did the
>> presence of the dash cause the failure to delete the file?
>
> Not only was the system's page file deemed to be a directory, but it was
> deemed to have a negative modification time. I think that's where the
> dash came from. But I don't know why that prevented the lock file from
> being deleted.
I found the answer: filelock.c:current_lock_owner returns an error if
the colon exists and is not followed by a digit. See filelock.c:421.
Ken
This bug report was last modified 1 year and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.