hY,<br><div class="gmail_quote"><br>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.<br><br>Let's have a directory as :<br>

<br><div style="margin-left: 40px;">
<span style="font-family: courier new,monospace;">total 4</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">drwxr-xr-x 2 bege users 4096 Oct 23 23:52 dir</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">lrwxrwxrwx 1 bege users    3 Oct 23 23:53 dir-link -> dir</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">-rw-r--r-- 1 bege users    0 Oct 23 23:53 file</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">lrwxrwxrwx 1 bege users    4 Oct 23 23:53 file-link -> file</span><br style="font-family: courier new,monospace;"><br></div>Then<br><br><div style="margin-left: 40px;">


<span style="font-family: courier new,monospace;">Armed Bear Common Lisp 0.26.2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Java 1.6.0_26 Sun Microsystems Inc.</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">Java HotSpot(TM) 64-Bit Server VM</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Low-level initialization completed in 1.436 seconds.</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">Startup completed in 5.385 seconds.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Type ":help" for a list of available commands.</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">CL-USER(1): <b>(directory "./*" :resolve-symlinks nil)</b></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">(#P"/home/bege/TEST/./file" <b>#P"/home/bege/TEST/dir/"</b> #P"/home/bege/TEST/./file-link" <b>#P"/home/bege/TEST/dir/"</b>)</span><br style="font-family: courier new,monospace;">


<br></div>Sorry, if this has been already fixed...<br><div style="margin-left: 40px;"><br></div>Best,<br>`bg`<br></div>