[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: deduplication: Fix incorrect use of 'throw'.
From: |
Ludovic Courtès |
Subject: |
05/06: deduplication: Fix incorrect use of 'throw'. |
Date: |
Mon, 2 Jul 2018 18:39:21 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit af2f8ae5f14d272d341148764d256792d8ef06aa
Author: Ludovic Courtès <address@hidden>
Date: Tue Jul 3 00:01:20 2018 +0200
deduplication: Fix incorrect use of 'throw'.
* guix/store/deduplication.scm (get-temp-link): In handler, fix call to
'throw'.
---
guix/store/deduplication.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/store/deduplication.scm b/guix/store/deduplication.scm
index d3139eb..b1cd887 100644
--- a/guix/store/deduplication.scm
+++ b/guix/store/deduplication.scm
@@ -88,7 +88,7 @@ LINK-PREFIX."
(lambda args
(if (= (system-error-errno args) EEXIST)
(try (tempname-in link-prefix))
- (throw 'system-error args))))))
+ (apply throw args))))))
;; There are 3 main kinds of errors we can get from hardlinking: "Too many
;; things link to this" (EMLINK), "this link already exists" (EEXIST), and
- branch master updated (c729901 -> 3dbf331), Ludovic Courtès, 2018/07/02
- 03/06: ui: Make 'check-available-space' public., Ludovic Courtès, 2018/07/02
- 05/06: deduplication: Fix incorrect use of 'throw'.,
Ludovic Courtès <=
- 01/06: packages: Optimize 'package-transitive-supported-systems'., Ludovic Courtès, 2018/07/02
- 02/06: store: Add 'query-path-info*'., Ludovic Courtès, 2018/07/02
- 04/06: guix system: init: Check the available space before copying., Ludovic Courtès, 2018/07/02
- 06/06: deduplication: Place link files under /gnu/store/.links., Ludovic Courtès, 2018/07/02