[Ecls-list] POSSIBLE BUG: Filenames with two periods

Carlo Capocasa capocasa at gmx.net
Wed Sep 19 21:32:36 UTC 2007


I don't know if this is deliberatly 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")

--- Desired behavior ---
ECL returns
(#P"/tmp/foo.bar.txt" #P"/tmp/foo.txt")

--- Workaround ---
Not known at this time

Carlo





More information about the ecl-devel mailing list