[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, updated. release_1-9-12-39-ge3

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-12-39-ge366757
Date: Sun, 19 Sep 2010 10:17:48 +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".

The branch, master has been updated
       via  e3667576595f16efbadaad18876a6e8f6e5777a2 (commit)
      from  7bcbdce17c84fb3b28cb2f1eac19826ffd03394b (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 e3667576595f16efbadaad18876a6e8f6e5777a2
Author: Andy Wingo <address@hidden>
Date:   Sun Sep 19 12:20:58 2010 +0200

    default-trap-handler bugfix
    * module/system/vm/trap-state.scm (default-trap-handler): Fix thinko.


Summary of changes:
 module/system/vm/trap-state.scm |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/module/system/vm/trap-state.scm b/module/system/vm/trap-state.scm
index 024bb20..4277dd3 100644
--- a/module/system/vm/trap-state.scm
+++ b/module/system/vm/trap-state.scm
@@ -42,9 +42,10 @@
 (define (default-trap-handler frame idx trap-name)
-  (if %default-trap-handler
-      ((fluid-ref %default-trap-handler) frame idx trap-name)
-      (warn "Trap with no handler installed" frame idx trap-name)))
+  (let ((default-handler (fluid-ref %default-trap-handler)))
+    (if default-handler
+        (default-handler frame idx trap-name)
+        (warn "Trap with no handler installed" frame idx trap-name))))
 (define-record <trap-wrapper>

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]