mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
(fill-message): bug fix and check that args is a list.
This commit is contained in:
parent
9561554c13
commit
a949b3f2c4
2 changed files with 8 additions and 3 deletions
|
@ -3,6 +3,7 @@ Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
|
|||
* boot-9.scm (%%handle-system-error): recognise errors thrown
|
||||
by lgh-error (fill-message etc.)
|
||||
(fill-message): check first whether args is null.
|
||||
(fill-message): bug fix and check that args is a list.
|
||||
|
||||
Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
|
||||
|
||||
|
|
|
@ -691,15 +691,19 @@
|
|||
(substring message 2 len)
|
||||
(cdr args)))
|
||||
(else
|
||||
(display (substring message 0 2)
|
||||
(display (substring message 0 1)
|
||||
cep)
|
||||
(fill-message
|
||||
(substring message 2 len)
|
||||
(substring message 1 len)
|
||||
args))))))))
|
||||
(display "ERROR: " cep)
|
||||
(display subr cep)
|
||||
(display ": " cep)
|
||||
(fill-message message args)
|
||||
(cond ((list? args)
|
||||
(fill-message message args))
|
||||
(else
|
||||
(display message cep)
|
||||
(display " (bad message args)" cep)))
|
||||
(newline cep)
|
||||
(force-output cep)
|
||||
(apply throw 'abort key arg-list)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue