|
From: | Jörg F. Wittenberger |
Subject: | Re: [Chicken-users] A couple of issues regarding normalize-pathname |
Date: | Wed, 20 Aug 2014 19:42:27 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux armv7l; rv:24.0) Gecko/20100101 Icedove/24.5.0 |
Am 20.08.2014 16:04, schrieb Michele La Monaca:
Hi (again), 1) Is this supposed to be the correct output? (normalize-pathname "/") -> "/." 2) I think it would be a good idea to strip any trailing slash, otherwise: (string=? (normalize-pathname "/tmp/") (normalize-pathname "/tmp")) -> #f
What would be the result of: (normalize-pathname "/") A: "/" (special case: not stripped) B: ""Maybe it would better to *add* missing trailing slashed to directories. Would also somewhat unify wrt. URL handling.
(normalize-pathname "/") Regards, Michele _______________________________________________ Chicken-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/chicken-users
[Prev in Thread] | Current Thread | [Next in Thread] |