guile-user
[Top][All Lists]
Advanced

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

Re: TeXmacs on Guile 2.2.4


From: Mark H Weaver
Subject: Re: TeXmacs on Guile 2.2.4
Date: Wed, 29 May 2019 15:29:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Massimiliano Gubinelli <address@hidden> writes:

> While trying some alternative solutions I noticed the following: the
> function scm_to_latin1_stringn calls out to scm_to_stringn with an
> argument NULL for the encoding:
>
>     result = scm_to_stringn (str, lenp, NULL,
>                              SCM_FAILED_CONVERSION_ERROR);
>
> this causes an error in scm_to_stringn since it contains the check:
>
>    (c_strcasecmp (encoding, "UTF-8") == 0)
>
> and c_strcasecmp does not check for null pointers. Is this a bug? 

Yes, it is.  I'll fix it soon, thanks.

       Mark



reply via email to

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