<span style=""></span>Ok, several things. The first one, which I noticed right now, is that ECL defaults to :RESOLVE-SYMLINKS NIL. This may be unusual and I will change it. The second one is that I do not get your results with :RESOLVE-SYMNLINKS NIL (See below).<div>
<br></div><div>What type and version of the operating system is this? What version of ECL?<br><div><div><br></div><div>$ ls -l</div><div>total 16</div><div>drwxr-xr-x 3 jjgarcia jjgarcia 102 Oct 29 20:11 dir</div><div>
lrwxr-xr-x 1 jjgarcia jjgarcia 3 Oct 29 20:11 dir_link -> dir</div><div>-rw-r--r-- 1 jjgarcia jjgarcia 0 Oct 29 20:11 file</div><div>lrwxr-xr-x 1 jjgarcia jjgarcia 4 Oct 29 20:11 file_link -> file</div>
</div><div><br></div><div><div>$ ecl -norc</div><div>ECL (Embeddable Common-Lisp) 11.1.1</div><div>Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya</div><div>Copyright (C) 1993 Giuseppe Attardi</div><div>Copyright (C) 2000 Juan J. Garcia-Ripoll</div>
<div>ECL is free software, and you are welcome to redistribute it</div><div>under certain conditions; see file 'Copyright' for details.</div><div>Type :h for Help. </div><div>Top level in: #<process TOP-LEVEL>.</div>
<div>> (directory "./*" :resolve-symlinks t)</div><div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/file" #P"/Users/jjgarcia/build/ecl/tmp/file")</div><div>> (directory "./*" :resolve-symlinks nil)</div>
<div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/file_link"</div><div> #P"/Users/jjgarcia/build/ecl/tmp/file"</div><div> #P"/Users/jjgarcia/build/ecl/tmp/dir_link")</div><div>> (directory "./*/" :resolve-symlinks t)</div>
<div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/dir/" #P"/Users/jjgarcia/build/ecl/tmp/dir/")</div><div>> (directory "./*/" :resolve-symlinks nil)</div><div><br></div><div>(#P"/Users/jjgarcia/build/ecl/tmp/dir/")</div>
<div><br></div><br><div class="gmail_quote">2011/10/26 Gábor Balázs <span dir="ltr"><<a href="mailto:gabalz@gmail.com">gabalz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>If it should, then maybe there is a bug:<br><br><span></span><span style="font-family:courier new,monospace">TEST> ls -l</span><br style="font-family:courier new,monospace"><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 25 23:25 dir</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">lrwxrwxrwx 1 bege users 3 Oct 25 23:25 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 25 23:25 file</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">lrwxrwxrwx 1 bege users 4 Oct 25 23:25 file-link -> file</span><br>
<br><span style="font-family:courier new,monospace">ECL (Embeddable Common-Lisp) 11.1.1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">Copyright (C) 1993 Giuseppe Attardi</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Copyright (C) 2000 Juan J. Garcia-Ripoll</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span class="Apple-style-span" style="background-color: rgb(153, 255, 153);"><span style="font-family:courier new,monospace">> (directory "./*")</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">(#P"/home/bege/TEST/file" #P"/home/bege/TEST/file")</span></span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"></blockquote><div><br></div><div>This one is due to the defaulting method I mention above. An implied :resolve-symlinks nil is assumed.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span class="Apple-style-span" style="background-color: rgb(255, 255, 153);"><span style="font-family:courier new,monospace">> (directory "./*" :resolve-symlinks nil)</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">(#P"/home/bege/TEST/file" #P"/home/bege/TEST/file") ; no difference (file symlinks are resolved)</span></span></blockquote><div><br></div><div>I do not get this one. See above.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><span class="Apple-style-span" style="background-color: rgb(153, 255, 153);"><span style="font-family:courier new,monospace">> (directory "./*/")</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">(#P"/home/bege/TEST/dir/" #P"/home/bege/TEST/dir/")</span></span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"></blockquote><div><br></div><div>Same as above</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><span class="Apple-style-span" style="background-color: rgb(255, 255, 153);"><span style="font-family:courier new,monospace">> (directory "./*/" :resolve-symlink nil)</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">(#P"/home/bege/TEST/dir/" #P"/home/bege/TEST/dir/") ; no difference (directory symlinks are resolved)</span></span></blockquote><div><br></div><div>Again, I do not see this here.</div>
<div><br></div><div>Juanjo</div><div><br></div></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div></div>