[REBOL] Re: [library][request-dir] bug?
From: antonr:lexicon at: 24-May-2004 1:09
It is a bug of request-dir.
For some reason it is clipping off the final
slash of the current directory.
To see what I mean, issue what-dir before
and after request-dir.
The two lines of code which cause the problem are:
if not all [keep path] [path: any [where what-dir]]
if all [not empty? path slash = last path][remove back tail path]
The first line should be making a copy of what-dir.
The second line removes the slash, for reasons unknown.
It is better to keep the final slash for a directory, in