#128 directory, dangling symlinks

closed-fixed
clisp (524)
5
2002-10-14
2002-08-31
No

I'm not really sure that this qualifies as erraneous
behavior, but here goes: If I want to list a directory
with the directory-function, it stops if there is a
dangling symlink in the directory. I think it would be
more useful if it didn't. CMUCL signals an error on
dangling symlinks, but this can be avoided with a
:truenamep nil-option to directory.

Discussion

  • Sam Steingold

    Sam Steingold - 2002-09-23

    Logged In: YES
    user_id=5735

    Arseny, could you please add :TRUENAMEP to DIRECTORY?

     
  • Sam Steingold

    Sam Steingold - 2002-09-23
    • assigned_to: sds --> ampy
     
  • Sam Steingold

    Sam Steingold - 2002-09-27

    Logged In: YES
    user_id=5735

    note that you will need to change O(version) in constobj.d
    because _(directory) is in FUNTAB in eval.d

     
  • Sam Steingold

    Sam Steingold - 2002-10-14
    • assigned_to: ampy --> sds
    • status: open --> closed-fixed
     
  • Sam Steingold

    Sam Steingold - 2002-10-14

    Logged In: YES
    user_id=5735

    I added :if-does-not-exists to directory in the CVS
    please try it and comment in <clisp-list>
    thanks.

     

Log in to post a comment.