Modify

Opened 5 months ago

Closed 5 months ago

#4052 closed Bug (Fixed)

_FileListToArrayRec has a bug after update to version 3.3.18.0

Reported by: anonymous Owned by: J-Paul Mesnage
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, 5 months ago

The version is 3.3.18.0
Reported by: Factfinder

comment:2 by J-Paul Mesnage, 5 months ago

Milestone: 3.3.19.0
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [13171] in version: 3.3.19.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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