bugGNU Common Lisp - Bugs: bug #63861, DIRECTORY misses files which have...

 
 

bug #63861: DIRECTORY misses files which have two dots in the name

Submitter:  Robert Dodier <robert_dodier>
Submitted:  Fri 03 Mar 2023 02:49:16 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 30 Jan 2024 06:57:51 PM UTC, comment #2: 

Greetings!  I've committed a fix to this in branch Version_2_7_0pre.  Please check it out and let me know if problems persist.

Camm Maguire <camm>
Group administrator
Sun 28 Jan 2024 02:22:38 PM UTC, comment #1: 

Greetings, and thanks for your report!  Will look into this.

Camm Maguire <camm>
Group administrator
Fri 03 Mar 2023 02:49:16 AM UTC, original submission:  

DIRECTORY appears to miss files which have two dots in their name, e.g. `foo.a.a`.

I created two files, `foo.a`, and `foo.a.a`. For some variations on a file pattern, DIRECTORY doesn't find both of them. I claim that in every case shown below, DIRECTORY should find both files.

Working with GCL 2.6.14 on Ubuntu 22.04, x86_64.


$ gcl
GCL (GNU Common Lisp)  2.6.14 Fri Jan 13 10:47:56 AM EST 2023  ANSI    git: Version_2_6_14
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (XGCL READLINE UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files:
/tmp/

>(directory "foo.*")

(#p"/home/dodier/tmp/foo.a.a" #p"/home/dodier/tmp/foo.a")

>(directory "foo.*a")

(#p"/home/dodier/tmp/foo.a")

>(directory "foo*a")

NIL

>(directory "foo*.a")

(#p"/home/dodier/tmp/foo.a")

>


Robert Dodier <robert_dodier>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by camm (Posted a comment)
  • -email is unavailable- added by robert_dodier (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-30 camm StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code