fix scm-error invocation on SIGINT in top-repl.scm
authorAndy Wingo <wingo@pobox.com>
Sat, 12 Feb 2011 14:58:21 +0000 (15:58 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 12 Feb 2011 14:58:21 +0000 (15:58 +0100)
* module/ice-9/top-repl.scm (call-with-sigint): Pass '() as the format
  args when invoking scm-error, to ensure that the error is printable.

module/ice-9/top-repl.scm

index 291d9e5..64c0239 100644 (file)
@@ -35,7 +35,7 @@
               (set! handler
                     (sigaction SIGINT
                       (lambda (sig)
-                        (scm-error 'signal #f "User interrupt" #f
+                        (scm-error 'signal #f "User interrupt" '()
                                    (list sig))))))
             thunk
             (lambda ()