[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
110/118: Make ~DerivationGoal more reliable
From: |
Ludovic Courtès |
Subject: |
110/118: Make ~DerivationGoal more reliable |
Date: |
Tue, 19 May 2015 14:46:04 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit e0825bd36b43f3c1d408745a9c61f92fdaf7dace
Author: Eelco Dolstra <address@hidden>
Date: Wed Nov 12 11:35:53 2014 +0100
Make ~DerivationGoal more reliable
---
nix/libstore/build.cc | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index 19d22ac..49a6ac9 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -863,13 +863,9 @@ DerivationGoal::~DerivationGoal()
{
/* Careful: we should never ever throw an exception from a
destructor. */
- try {
- killChild();
- deleteTmpDir(false);
- closeLogFile();
- } catch (...) {
- ignoreException();
- }
+ try { killChild(); } catch (...) { ignoreException(); }
+ try { deleteTmpDir(false); } catch (...) { ignoreException(); }
+ try { closeLogFile(); } catch (...) { ignoreException(); }
}
- 97/118: Introduce allowedRequisites feature, (continued)
- 97/118: Introduce allowedRequisites feature, Ludovic Courtès, 2015/05/19
- 113/118: Clean up temp roots in a more C++ way, Ludovic Courtès, 2015/05/19
- 105/118: Remove some duplicate code, Ludovic Courtès, 2015/05/19
- 108/118: Improve error message if the daemon worker fails to start, Ludovic Courtès, 2015/05/19
- 100/118: Settings: Add bool get(), Ludovic Courtès, 2015/05/19
- 106/118: Improved error message when encountering unsupported file types, Ludovic Courtès, 2015/05/19
- 114/118: nix-daemon: Call exit(), not _exit(), Ludovic Courtès, 2015/05/19
- 99/118: Add an 'optimiseStore' remote procedure call., Ludovic Courtès, 2015/05/19
- 107/118: Fix build on gcc < 4.7, Ludovic Courtès, 2015/05/19
- 98/118: Add disallowedReferences / disallowedRequisites, Ludovic Courtès, 2015/05/19
- 110/118: Make ~DerivationGoal more reliable,
Ludovic Courtès <=
- 111/118: Don't use ADDR_LIMIT_3GB, Ludovic Courtès, 2015/05/19
- 115/118: Disable vacuuming the DB after garbage collection, Ludovic Courtès, 2015/05/19
- 117/118: Build derivations in a more predictable order, Ludovic Courtès, 2015/05/19
- 109/118: nix-store --gc: Don't warn about missing manifests directory, Ludovic Courtès, 2015/05/19
- 118/118: Don't wait for PID -1, Ludovic Courtès, 2015/05/19
- 112/118: Fix message, Ludovic Courtès, 2015/05/19
- 116/118: Don't create unnecessary substitution goals for derivations, Ludovic Courtès, 2015/05/19