HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bf6cb
)
deduplication: Fix incorrect use of 'throw'.
author
Ludovic Courtès
<ludo@gnu.org>
Mon, 2 Jul 2018 22:01:20 +0000
(
00:01
+0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Mon, 2 Jul 2018 22:39:11 +0000
(
00:39
+0200)
* guix/store/deduplication.scm (get-temp-link): In handler, fix call to
'throw'.
guix/store/deduplication.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/store/deduplication.scm
b/guix/store/deduplication.scm
index
d3139eb
..
b1cd887
100644
(file)
--- 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