bad DIRECTORY listing from broken symlinks
Bug #1400003 reported by
3b
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(directory #P"/tmp/bar/") returns (#P"/tmp/") when /tmp/bar is a broken symlink.
same result on various versions from 1.0.32.10 to 1.2.6.28-165c516, all x8664 linux.
on 1.0.25, x8664 linux it returns NIL as expected.
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Cannot reproduce, unless these steps are incorrect on creating the broken symlink:
burton@ burton- xubuntu: ~/sbcl$ cd /tmp burton- xubuntu: /tmp$ ln -s bar x burton- xubuntu: /tmp$ ls bar burton- xubuntu: /tmp$ sbcl www.sbcl. org/>.
burton@
burton@
ls: cannot access bar: No such file or directory
burton@
This is SBCL 1.2.6.136-428fd6f, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (directory #P"/tmp/bar")
NIL
* (directory #P"/tmp/bar/")
NIL
*