Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Sam Steingold <sds <at> gnu.org>
Subject: Re: PROBE-DIRECTORY
Newsgroups: gmane.lisp.clisp.general
Date: Friday 20th January 2012 15:08:14 UTC (over 5 years ago)
> * Don Cohen  [2012-01-19 19:04:12
-0800]:
>
> impnotes says:
>  (EXT:PROBE-DIRECTORY pathname) tests whether pathname exists and is a
>  directory. It will, unlike PROBE-FILE or TRUENAME, not SIGNAL an ERROR
>  if the parent directory of pathname does not exist.

the first thing it does, before accessing the file system, is checking
whether pathname is a directory pathname, i.e., that NAME and TYPE are
both NIL.

[4]> (probe-directory "/etc")

*** - PROBE-DIRECTORY: Not a directory: #P"/etc"
The following restarts are available:
ABORT          :R1      Abort main loop
Break 1 [5]> 
[6]> (probe-directory "/etc/")
T
[7]> 

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10
(oneiric) X 11.0.11004000
http://pmw.org.il http://iris.org.il http://openvotingconsortium.org
http://thereligionofpeace.com http://jihadwatch.org http://truepeace.org
Programming is like sex: one mistake and you have to support it for a
lifetime.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
 
CD: 3ms