GNU bug report logs - #26013
(srfi srfi-37) chokes on empty string parameter

Previous Next

Package: guile;

Reported by: Thomas Danckaert <post <at> thomasdanckaert.be>

Date: Tue, 7 Mar 2017 15:36:01 UTC

Severity: normal

Done: Andy Wingo <wingo <at> igalia.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 26013-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> igalia.com>
To: Thomas Danckaert <post <at> thomasdanckaert.be>
Cc: 26013-done <at> debbugs.gnu.org, ludo <at> gnu.org
Subject: Re: bug#26013: (srfi srfi-37) chokes on empty string parameter
Date: Thu, 20 Apr 2017 10:59:47 +0200
On Wed 19 Apr 2017 18:32, Thomas Danckaert <post <at> thomasdanckaert.be> writes:

>> On Tue 07 Mar 2017 16:34, Thomas Danckaert <post <at> thomasdanckaert.be>
>> writes:
>>
>>> It looks like Guile's srfi-37 implementation doesn't process empty
>>> string arguments correctly.
> I don't fully understand the code in srfi-37.scm, but I think the fix
> can be as simple as the attached patch (i.e. first check if the argument
> is empty, otherwise check if it starts with \#-).

Applied, thanks :)

Andy




This bug report was last modified 8 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.