mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
gpgscm: Make exception handling more robust.
* tests/gpgscm/init.scm (throw'): Check that args is a list. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
026bbf0d5e
commit
df00745d6e
@ -597,7 +597,8 @@
|
|||||||
(cond
|
(cond
|
||||||
((more-handlers?)
|
((more-handlers?)
|
||||||
((pop-handler) message args history))
|
((pop-handler) message args history))
|
||||||
((and args (= 2 (length args)) (equal? *interpreter-exit* (car args)))
|
((and args (list? args) (= 2 (length args))
|
||||||
|
(equal? *interpreter-exit* (car args)))
|
||||||
(*run-atexit-handlers*)
|
(*run-atexit-handlers*)
|
||||||
(quit (cadr args)))
|
(quit (cadr args)))
|
||||||
(else
|
(else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user