[Top][All Lists]

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

Re: GNU Guile 1.8.3 released

From: Ludovic Courtès
Subject: Re: GNU Guile 1.8.3 released
Date: Thu, 18 Oct 2007 00:05:13 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)


Puneet <address@hidden> writes:

>   I have just compiled the new guile version. It all works fine, but I
> am facing a peculiar problem with my application. There was no such
> problem with the previous version of guile. Looks like there is some
> small glitch in the new scheme reader/parser.

I apologize for this regression.

Thanks to Neil's hint, I just committed a fix that reinstates CR (ASCII
0x0d) as a token delimiter, along with a test case.  However, the patch
won't appear until the next 1.8 release, which means you'd probably have
to wait a couple of months or so (unless such critical bugs affecting
many users are found...).

In the meantime, you can either apply the attached patch to 1.8.3
(running "patch -p1 < the-patch.diff" in the source directory), or
follow Neil's suggestion regarding telnet.  Let us know if it works for


--- orig/libguile/read.c
+++ mod/libguile/read.c
@@ -150,7 +150,7 @@ static SCM *scm_read_hash_procedures;
 /* `isblank' is only in C99.  */
 #define CHAR_IS_BLANK_(_chr)                                   \
   (((_chr) == ' ') || ((_chr) == '\t') || ((_chr) == '\n')     \
-   || ((_chr) == '\f'))
+   || ((_chr) == '\f') || ((_chr) == '\r'))
 #ifdef MSDOS
 # define CHAR_IS_BLANK(_chr)                   \

reply via email to

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