chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] url egg


From: felix winkelmann
Subject: Re: [Chicken-users] url egg
Date: Wed, 21 Feb 2007 11:18:18 +0100

On 2/21/07, Daishi Kato <address@hidden> wrote:
BTW, uri fails to parse the following example. Is this a bug or a spec? --daishi

#;1> (use uri)
; loading /usr/local/chicken-2.514/lib/chicken/1/uri.so ...
; loading /usr/local/chicken-2.514/lib/chicken/1/coerce.so ...
; loading /usr/local/chicken-2.514/lib/chicken/1/url.so ...
; loading /usr/local/chicken-2.514/lib/chicken/1/misc-extn-procs.so ...
#;2> (uri "http://address@hidden/ghi";)
Error: (string->number) bad argument type: #f

        Call history:

        <eval>          (uri "http://address@hidden/ghi";)      <--



I think it's a bug:

% diff url.scm~ url.scm
222c222
<         (list userinfo host (or (string->number port) port))
---
        (list userinfo host (and port (or (string->number port) port)))
%

Your url-compat defs look ok, but I haven't got the time for full testing.
If you think it's safe (and perhaps Kon can say a word or two about this),
just check your changes in.


cheers,
felix




reply via email to

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