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 , 5 months ago
comment:2 by , 5 months ago
| Milestone: | → 3.3.19.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [13171] in version: 3.3.19.0

The version is 3.3.18.0
Reported by: Factfinder