[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] RE: [Axiom-developer] building Axiom with GCL Version_2_
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] RE: [Axiom-developer] building Axiom with GCL Version_2_6_7pre fails |
Date: |
27 May 2005 10:06:19 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
The spec is still a little ambiguous, but these lines indicate to me
that GCL, clisp, and corman have it right (don't know why clisp throws
an error, but in general I use clisp all the time to test ansi
compliance issues.)
probe-file tests whether a file exists.
probe-file returns false if there is no file named pathspec, and otherwise
returns the truename of pathspec.
A file here should be sopentheing that could be opened with (open...)
-- we have no such ability currently for directories.
Is this a problem to follow in mingw?
Take care,
"Mike Thomas" <address@hidden> writes:
> 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.
>
>
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Axiom-developer] Re: building Axiom with GCL Version_2_6_7pre fails, Camm Maguire, 2005/05/19
RE: [Axiom-developer] building Axiom with GCL Version_2_6_7pre fails, Mike Thomas, 2005/05/27
- Re: [Gcl-devel] RE: [Axiom-developer] building Axiom with GCL Version_2_6_7pre fails,
Camm Maguire <=