1 patch for repository http://darcs.net/screened:
patch 334bb99fd8c99883739b1b757f80fcac304b98cc
Author: Ben Franksen <ben.franksen@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.
Attachments
|