Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#179 closed defect (fixed)


Reported by: Mark Evenson Owned by: vvoutilainen
Priority: minor Milestone: unscheduled
Component: other Version: 1.0
Keywords: list-directory platform-dependence unanalyzed Cc:
Parent Tickets:


I think there is a bug in the list-directory function. The resolve-symlinks flag seems to always resolve the directory symlinks even when the flag is set to nil.

Let's have a directory as :

total 4
drwxr-xr-x 2 bege users 4096 Oct 23 23:52 dir
lrwxrwxrwx 1 bege users 3 Oct 23 23:53 dir-link -> dir
-rw-r--r-- 1 bege users 0 Oct 23 23:53 file
lrwxrwxrwx 1 bege users 4 Oct 23 23:53 file-link -> file


Armed Bear Common Lisp 0.26.2
Java 1.6.0_26 Sun Microsystems Inc.
Java HotSpot?(TM) 64-Bit Server VM
Low-level initialization completed in 1.436 seconds.
Startup completed in 5.385 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (directory "./*" :resolve-symlinks nil)
(#P"/home/bege/TEST/./file" #P"/home/bege/TEST/dir/" #P"/home/bege/TEST/./file-link" #P"/home/bege/TEST/dir/")

Sorry, if this has been already fixed...

Change History (4)

comment:1 Changed 13 years ago by Mark Evenson

The obvious recommedation is to try abcl-1.0.0 locally, and then get back to us.

comment:2 Changed 13 years ago by vvoutilainen

Owner: changed from somebody to vvoutilainen
Status: newassigned

Well, it looks like we do the right thing for links-to-files, but we still
resolve symlinks to directories. This is repeatable on our trunk version,
which is to be expected since that code hasn't been touched for quite a while.
I'll look into it.

comment:3 Changed 13 years ago by vvoutilainen

Resolution: fixed
Status: assignedclosed

Fixed by r13677

comment:4 Changed 12 years ago by Mark Evenson

(In [13681]) Backport r13677: Fix #179: LIST-DIRECTORY ignores :RESOLVE-SYMLINKS flag.

Note: See TracTickets for help on using tickets.