[darcs-devel] [patch2195] fix stale lock files after Ctrl-C

Ben Franksen bugs at darcs.net
Mon Jun 7 14:13:29 UTC 2021


New submission from Ben Franksen <ben.franksen at online.de>:

1 patch for repository http://darcs.net/screened:

patch 334bb99fd8c99883739b1b757f80fcac304b98cc
Author: Ben Franksen <ben.franksen at online.de>
Date:   Thu Mar  4 07:48:25 CET 2021
  * fix stale lock files after Ctrl-C
  
  This changes the order of the handlers in the main function of the darcs
  executable, so that atexit is handled earlier than signals. This should also
  have the effect of removing temporary files and directories created using
  withDelayedDir in a more reliable manner.
  
  Both handleErrors and handleExecFail are uncritical, they merely re-classify
  and annotate certain exceptions and report them in a more user friendly
  fashion, so handleExitFail was also moved out of the withSignalsHandled.

----------
files: fix-stale-lock-files-after-ctrl_c.dpatch, patch-preview.txt, unnamed
messages: 22870
nosy: bf
status: needs-screening
title: fix stale lock files after Ctrl-C

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch2195>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 868 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20210607/07b0c6e6/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-stale-lock-files-after-ctrl_c.dpatch
Type: application/x-darcs-patch
Size: 1393 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20210607/07b0c6e6/attachment-0003.bin>
-------------- next part --------------
.





More information about the darcs-devel mailing list