[Ecls-list] POSSIBLE BUG: filenames with two periods
Carlo Capocasa
capocasa at gmx.net
Wed Sep 19 21:11:07 UTC 2007
I don't know if this is deliberately left open by the standards or a
bug, but I'm getting a behavior that differs from clisp and sbcl
using the 'make pathname function' regarding filenames with more
than one period sign.
--- Reproduction --
Execute these commands in a terminal:
touch /tmp/foo.txt
touch /tmp/foo.bar.txt
Now start up ecl and enter the following:
(directory
(make-pathname
:name :wild
:type "txt"
:version :wild
:directory "tmp"))
ECL returns
(#P"/tmp/foo.txt")
SBCL and CLISP return:
(#P"/tmp/foo.bar.txt" #P"/tmp/foo.txt")
--- Desired behavior ---
ECL, SBCL and CLISP all return:
(#P"/tmp/foo.bar.txt" #P"/tmp/foo.txt")
--- Workaround ---
Not known at this time
Carlo
More information about the ecl-devel
mailing list