Modify

#4052 closed Bug (Fixed)

_FileListToArrayRec has a bug after update to version 3.3.18.0

Reported by: anonymous Owned by: Jpm
Milestone: 3.3.19.0 Component: AutoIt
Version: 3.3.14.0 Severity: None
Keywords: Cc:

Description

It affects the function if $FLTAR_NOLINK is used. It returns nothing.

The new version has this line:

Local $tFile_Data = DllStructCreate($tagWIN32_FIND_DATA)

The old tag variable name was "FileName", the tagWIN32_FIND_DATA has "cFileName", but in the function, "FileName" is not changed.

This line: $sName = DllStructGetData($tFile_Data, "FileName")
Should become: $sName = DllStructGetData($tFile_Data, "cFileName")

Also the old tag variable was "FileAttributes", the new tag has "dwFileAttributes", but it is not changed.

This line: $sName = DllStructGetData($tFile_Data, "FileAttributes")
Should become: $sName = DllStructGetData($tFile_Data, "dwFileAttributes")

Attachments (0)

Change History (2)

comment:1 by Factfinder, on Oct 1, 2025 at 4:18:34 PM

The version is 3.3.18.0
Reported by: Factfinder

comment:2 by Jpm, on Oct 3, 2025 at 10:15:02 AM

Milestone: 3.3.19.0
Owner: set to Jpm
Resolution: Fixed
Status: newclosed

Fixed by revision [13171] in version: 3.3.19.0

Modify Ticket

Action
as closed The owner will remain Jpm.

Add Comment


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