Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Relation between PATHNAME-MATCH-P and DIRECTORY?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Seibel  
View profile  
 More options Sep 10 2003, 9:12 pm
Newsgroups: comp.lang.lisp
From: Peter Seibel <pe...@javamonkey.com>
Date: Thu, 11 Sep 2003 01:11:14 GMT
Local: Wed, Sep 10 2003 9:11 pm
Subject: Relation between PATHNAME-MATCH-P and DIRECTORY?
My reading of the dictionary entry for DIRECTORY, which says:

  Determines which, if any, files that are present in the file system
  have names matching pathspec, and returns a fresh list of pathnames
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  corresponding to the truenames of those files.

would lead me to expect that if:

 (pathname-match-p file wild) ==> T

and file isn't itself wild, that:

 (member file (directory wild) :test #'equalp)

would also be true. However that doesn't seem to uniformly be the case
on several implementations in certain situations.

Am I at least right in my interpretation of the spec? I.e. is there
supposed to be this correspondence between PATHNAME-MATCH-P and
DIRECTORY?

-Peter

--
Peter Seibel                                      pe...@javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Seibel  
View profile  
 More options Sep 11 2003, 12:07 am
Newsgroups: comp.lang.lisp
From: Peter Seibel <pe...@javamonkey.com>
Date: Thu, 11 Sep 2003 04:06:26 GMT
Local: Thurs, Sep 11 2003 12:06 am
Subject: Re: Relation between PATHNAME-MATCH-P and DIRECTORY?

So, I kept reading and found this in the PATHNAME-MATCH-P directory
entry:

  "The matching rules are implementation-defined but should be
  consistent with directory."

So I guess I have a beef with CLISP and SBCL and should probably take
it up on the appropriate developer's lists unless someone can show me
something I'm missing.

-Peter

--
Peter Seibel                                      pe...@javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »