* call-with-file-lock does not remove lock file
@ 2023-02-03 22:52 Ricardo Wurmus
2023-02-03 23:51 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-02-12 0:00 ` Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2023-02-03 22:52 UTC (permalink / raw)
To: Guix Devel
Hi Guix,
half a year ago I submitted this bug report:
https://issues.guix.gnu.org/57501
“call-with-file-lock” and “call-with-file-lock/no-wait” create a lock
file but don’t remove the lock file when they exit. The lock on
the file is lifted, but the lock file itself remains behind.
I think we should not litter and remove unused lock files. What do you
think?
--
Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: call-with-file-lock does not remove lock file
2023-02-03 22:52 call-with-file-lock does not remove lock file Ricardo Wurmus
@ 2023-02-03 23:51 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-02-12 0:00 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-02-03 23:51 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: Guix Devel
Hi,
On Fri, Feb 3, 2023 at 2:57 PM Ricardo Wurmus <rekado@elephly.net> wrote:
>
> the lock file itself remains behind.
That's where they are coming from!
Kind regards,
Felix
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: call-with-file-lock does not remove lock file
2023-02-03 22:52 call-with-file-lock does not remove lock file Ricardo Wurmus
2023-02-03 23:51 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-02-12 0:00 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-02-12 0:00 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: Guix Devel
Hi Ricardo,
Ricardo Wurmus <rekado@elephly.net> skribis:
> half a year ago I submitted this bug report:
> https://issues.guix.gnu.org/57501
>
> “call-with-file-lock” and “call-with-file-lock/no-wait” create a lock
> file but don’t remove the lock file when they exit. The lock on
> the file is lifted, but the lock file itself remains behind.
>
> I think we should not litter and remove unused lock files. What do you
> think?
I hadn’t noticed this bug report but I agree, I’ll push something that
does that.
Thanks for the heads-up!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-12 0:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03 22:52 call-with-file-lock does not remove lock file Ricardo Wurmus
2023-02-03 23:51 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-02-12 0:00 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).