scsh-users
[Top] [All Lists]

file-match PS

To: mb12@coconet.de
Subject: file-match PS
From: Olin Shivers <shivers@clark.lcs.mit.edu>
Date: Sat, 21 Oct 95 08:23:35 -0400
Cc: scsh-bugs@martigny.ai.mit.edu
Reply-to: shivers@mintaka.lcs.mit.edu
   > (file-match "v14"  #f "" file-directory?)

   Error: 2
          "No such file or directory"
          #{Procedure 8310}
   1> (file-directory? "v14/develop/rt")
   #t


   i think that 'file-match' finds a symlink which could not be resolved.

   is there any understandable description for the cryptic debugger?

I forgot to add -- I also made a pass over all the uses of the procedure
that signals system-call errors, and all uses now include the arguments
that were passed to the system call when it blew up. This greatly improves the
quality of the error messages -- in the case above, it would have told you
exactly which filename had generated the "No such file or directory" error,
instead of making you guess.
    -Olin

<Prev in Thread] Current Thread [Next in Thread>
  • file-match PS, Olin Shivers <=