gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] RE: [Axiom-developer] building Axiom with GCL Version_2_6_7p


From: Mike Thomas
Subject: [Gcl-devel] RE: [Axiom-developer] building Axiom with GCL Version_2_6_7pre fails
Date: Fri, 27 May 2005 14:20:21 +1000

Hi Bill.

| Can you imagine what recent change (last week?) might lead
| to this failure? Perhaps the change to probe-file or related
| routine?

You are right; the probe-file change.

(probe-file "./") returns nil on Windows with the latest changes.

In daase.lisp.pamphlet the "./" is hard wired:

  (localdatabase nil
     (list (list '|dir| (namestring (probe-file "./")) ))
     'make-database)



Lispworks gives:

CL-USER 1 > (probe-file "./")
#P"C:/Documents and Settings/miketh/"

CL-USER 2 > (truename "./")
#P"C:/Documents and Settings/miketh/"



Corman Lisp gives:

(probe-file "./")
NIL
(truename "./")
#P"C:/Documents and Settings/miketh/"

CLISP:

[1]> (truename "./")
#P"C:\\Documents and Settings\\miketh\\Desktop\\"
[2]> (probe-file "./")

*** - no file name given: #P"C:\\Documents and Settings\\miketh\\Desktop\\"
1. Break [3]> :C 1


Windows GCL currently follows Corman on this one and the Hyperspec says
this:

http://www.lisp.org/HyperSpec/Body/fun_probe-file.html


Common Lisp experts:

1. Which behaviour is correct on Windows?  (I believe that "." and ".." are
actual entities on Unix, but not Windows.  Convenience argues for following
LW rather than Corman.)

2. What is the system independent way to get the name of the current
directory in Common Lisp?


Cheers

Mike Thomas.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]