[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

probe-file



Impnotes says:

> PROBE-FILE may be used to check whether a directory exists. 

but Clisp says:

[CL-USER]> (probe-file "/")

*** - no file name given: #"/"
1. Break[CL-USER]> 
[CL-USER]> (probe-file "/tmp")
#"/tmp"
[CL-USER]> (probe-file "/tmp/")

*** - no file name given: #"/tmp/"
1. Break[CL-USER]> 


Is this a bug, or am I misunderstanding something?  If this is the
intended behaviour, I find it quite confusing, and difficult to use.

(lisp-implementation-version) ==> "1996-05-30 (May 1996)"

uname ==> Linux 2.0.30 i486

Cheers,
Pierpaolo