Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3677 closed Bug (No Bug)

_FileListToArrayRec()'s 2nd parameter ($sMask) seems case sensitive.

Reported by: user4157124 Owned by:
Milestone: Component: Standard UDFs
Version: 3.3.14.2 Severity: None
Keywords: _FileListToArrayRec() case mask Cc:

Description

Setting _FileListToArrayRec()'s 2nd parameter ($sMask) to "*.jpeg" omits uppercase matches (*.JPEG), and uppercase mask omits lowercase matches. This is unexpected (Windows file systems do not differentiate case).

Attachments (0)

Change History (3)

comment:1 by BrewManNH, 7 years ago

I just ran the example script in the help file, after changing some of the extensions of files to upper case, and it still picked up the upper case files, as well as the lower case ones. I also changed the search parameter to *.EXE on one of the searches, and it still found both upper and lower case file names.
Your bug report is wrong as far as I can see.

comment:2 by Jos, 7 years ago

Reporter: changed from user4157124 to user4157124
Resolution: No Bug
Status: newclosed

This UDF is using FileFindFirstFile() which is indicated to be not case sensitive.

Closing as no big for the moment until a replication script and scenario is provide that proves otherwise.

Jos

Version 0, edited 7 years ago by Jos (next)

comment:3 by user4157124, 7 years ago

Client system had _ArrayDisplay() show different results depending on $sMask's case (searching a FAT32 USB flash drive using AutoIt v3.3.14.2 on Windows XP Professional x32 SP3). Will see if I can provide scenario reproducing script.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.