[Chicken-users] A couple of issues regarding normalize-pathname

2014-08-20 Thread 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 Regards, Michele

Re: [Chicken-users] A couple of issues regarding normalize-pathname

2014-08-20 Thread Mario Domenech Goulart
Hi Michele, On Wed, 20 Aug 2014 16:04:38 +0200 Michele La Monaca mikele.chic...@lamonaca.net wrote: 1) Is this supposed to be the correct output? (normalize-pathname /) - /. I also run into this issue. That case is specially handled in normalize-pathname. I contacted Felix and he said

Re: [Chicken-users] A couple of issues regarding normalize-pathname

2014-08-20 Thread Jörg F. Wittenberger
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

Re: [Chicken-users] A couple of issues regarding normalize-pathname

2014-08-20 Thread Mario Domenech Goulart
Hi, On Wed, 20 Aug 2014 19:42:27 +0200 Jörg F. Wittenberger joerg.wittenber...@softeyes.net wrote: Am 20.08.2014 16:04, schrieb Michele La Monaca: 2) I think it would be a good idea to strip any trailing slash, otherwise: (string=? (normalize-pathname /tmp/) (normalize-pathname /tmp)) - #f