[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: address@hidden: Properly handle decoding error while substit
From: |
Ludovic Courtès |
Subject: |
01/01: gnu: address@hidden: Properly handle decoding error while substituting. |
Date: |
Thu, 3 Aug 2017 17:39:38 -0400 (EDT) |
civodul pushed a commit to branch core-updates
in repository guix.
commit c8737b1e41f7ef5c730fb0b47c5b478ab58b2341
Author: Ludovic Courtès <address@hidden>
Date: Thu Aug 3 22:46:14 2017 +0200
gnu: address@hidden: Properly handle decoding error while substituting.
* gnu/packages/java.scm (icedtea-8)[arguments] <patch-jni-libs>: Change
'encoding-error to 'decoding-error, which is what Guile 2.2 raises when
failing to decode an input file.
---
gnu/packages/java.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5744db6..47dd4f2 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -1602,7 +1602,7 @@ IcedTea build harness.")
(string-append "lib" name ".so")))))
(for-each
(lambda (file)
- (catch 'encoding-error
+ (catch 'decoding-error
(lambda ()
(substitute* file
(("VERSIONED_JNI_LIB_NAME\\(\"(.*)\", \"(.*)\"\\)"