Subject: Re: delete-file & probe-file on directories
From: rpw3@rpw3.org (Rob Warnock)
Date: Wed, 27 Jul 2005 05:54:23 -0500
Newsgroups: comp.lang.lisp
Message-ID: <9ImdnVEm0N5C-nrfRVn-1g@speakeasy.net>
Peter Seibel  <peter@gigamonkeys.com> wrote:
+---------------
| Raymond Toy <raymond.toy@ericsson.com> writes:
| > Just a note that in CMUCL, pathnames (almost) never have a NIL host
| > component.  It's either a logical host or the special internal
| > unix-host.  Until recently there was no way to make any pathname
| > with a NIL host component, even with MAKE-PATHNAME because :HOST NIL
| > was treated as if no host were given so the default was used.  This
| > has been changed recently so that the host is really NIL.
| 
| So now what is the host component of the pathname returned by:
|   (parse-namestring "/foo/bar/baz.txt")
+---------------

    > (pathname-host (parse-namestring "/foo/bar/baz.txt"))

    ""
    > (describe *)

    "" is a vector of length 0.
    It has no fill pointer.
    Its element type is specialized to BASE-CHAR.
    > (eq ** nil)

    NIL
    > 


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607