On 2/21/07, Daishi Kato <[EMAIL PROTECTED]> 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://[EMAIL PROTECTED]/ghi")
Error: (string->number) bad argument type: #f

        Call history:

        <eval>          (uri "http://[EMAIL PROTECTED]/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


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to