guile-devel
[Top][All Lists]
Advanced

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

Re: read errors


From: Marius Vollmer
Subject: Re: read errors
Date: 05 Aug 2002 20:02:24 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Han-Wen Nienhuys <address@hidden> writes:

>   This is not standard GNU format, but the test-suite likes the real
>   message to be in front.

We need to change the test-suite, then.

>   Maybe this is a kludge?

No, I think it's the best we can do with the present system.

> #define  INPUT_ERROR(port, message, arg) {

Does this have to be a macro?  I would like it better to be a function
(like scm_misc_error) and a thinly wrapped function (like
SCM_MISC_ERROR).

>       snprintf (s, 1024, "%s\nThis happened in %s%s%s line %d column %d", 
> message,

Can we use scm_simple_format here?  That would avoid the 1024 limit
and would also feel more gentle since we don't need to poke into the
strings private parts.



reply via email to

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