[Top][All Lists]

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

bug#30116: [PATCH] `substitute' crashes when file contains NUL character

From: Maxim Cournoyer
Subject: bug#30116: [PATCH] `substitute' crashes when file contains NUL characters (core-updates)
Date: Sat, 20 Jan 2018 23:24:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi,
> Maxim Cournoyer <address@hidden> skribis:
>> I've encountered the following crash when trying to use substitute on a
>> file which contains NUL characters:
> Yes, that’s because Guile’s ‘regexp-exec’ simply wraps libc’s ‘regexec’,
> which does not handle NULs.
> We should consider switching to the pure-Scheme SRFI-115:
>   https://srfi.schemers.org/srfi-115/srfi-115.html

This looks good, and I started looking into porting `substitute' to it,
but quickly noticed it doesn't seem to be implemented in Guile yet?



reply via email to

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