[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-45-g4e33a1
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-45-g4e33a13 |
Date: |
Sun, 27 Feb 2011 22:11:29 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=4e33a13246751034adbcc53f9e93223e19f57db2
The branch, stable-2.0 has been updated
via 4e33a13246751034adbcc53f9e93223e19f57db2 (commit)
from 450aee6790e325b8fbf1102c3403255bf3fc571f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4e33a13246751034adbcc53f9e93223e19f57db2
Author: Andy Wingo <address@hidden>
Date: Sun Feb 27 23:15:13 2011 +0100
scm-error-printer resilience
* module/ice-9/boot-9.scm (scm-error-printer): Allow #f for rest args,
interpreting it as '(). Fixes regexp throws, which are of the form:
(regular-expression-syntax "make-regexp" "Invalid preceding regular
expression" #f ("?.*"))
-----------------------------------------------------------------------
Summary of changes:
module/ice-9/boot-9.scm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index 0f89dce..9f621d9 100644
--- a/module/ice-9/boot-9.scm
+++ b/module/ice-9/boot-9.scm
@@ -538,7 +538,7 @@ If there is no handler at all, Guile prints an error and
then exits."
((subr msg args . rest)
(if subr
(format port "In procedure ~a: " subr))
- (apply format port msg args))
+ (apply format port msg (or args '())))
(_ (default-printer)))
args))
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-45-g4e33a13,
Andy Wingo <=