using strndup in stead of strdup fixes this acording to the attached
git-diff.
so it remains to make sure strndup is portable I guess.
/Stefan
On Sat, Sep 10, 2011 at 3:33 AM, David Hansen wrote:
> Hello,
>
> the attached code produces
>
> $ ./a.out
> foo,bar
> bar
>
> while I would expect
>
>
Hi!
I'm excited about the partial evaluator. However there is one error
I've found:
(letrec ((fold (lambda (f x b null? car cdr)
(if (null? x)
b
(f (car x) (fold f (cdr x) b null? car cdr))
(fold * x 1 zero? (lambda (x) x
Update of bug #34258 (project guile):
Status:None => Fixed
Open/Closed:Open => Closed
___
Follow-up Comment #2:
Pushed; thanks for th
Hi Ian,
On Fri 09 Sep 2011 11:42, Ian Price writes:
> Writing a quick script the other day I came across two issues when
> guile parses http headers. The first is that 'parse-rfc-822-date' does
> not allow for single digit days, which are allowed in rfc822/1123 [0].
Applied, thanks.
> Secondly
On Fri 09 Sep 2011 18:33, David Hansen writes:
> the attached code produces
>
> $ ./a.out
> foo,bar
> bar
>
> while I would expect
>
> $ ./a.out
> foo
> bar
I applied Stefan's fix. Thanks for the report, and thanks to Stefan for
the patch.
Andy
--
http://wingolog.org/
Andy Wingo writes:
> I'm a bit hesitant on this one, as parse-qstring is used in so many
> other places. Perhaps change this one to add parse-opaque-or-qstring or
> something, and call that from parse-etag? Dunno. Are there really many
> sites that do this to their etags?
With the script in q
Hi Andy,
Thanks for the report!
Andy Wingo skribis:
> I'm excited about the partial evaluator. However there is one error
> I've found:
>
> (letrec ((fold (lambda (f x b null? car cdr)
>(if (null? x)
>b
>(f (car x) (fold f (