Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3801 closed Bug (Wont Fix)

AutoIt #include does not handle symlinks right if included file has #include-once

Reported by: genius257 Owned by:
Milestone: Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: Cc:

Description

It would be nice if AutoIt used something like GetFinalPathNameByHandleA, for checking if included files using #include-once was already included.

I've attached a Tar file for reproducing the Issue. Administrative rights are needed to unpack the file.

Attachments (1)

folder_Ref.tar (4.5 KB ) - added by genius257 5 years ago.
Tar file with symbolic links for reproducing bug

Download all attachments as: .zip

Change History (4)

by genius257, 5 years ago

Attachment: folder_Ref.tar added

Tar file with symbolic links for reproducing bug

comment:1 by J-Paul Mesnage, 5 years ago

Resolution: Wont Fix
Status: newclosed

Sorry to close this ticket as this function is only available starting Vista/Server 2008.
We still want AutoIt to be used with Windows 7 ...

comment:2 by genius257, 5 years ago

Vista is older than Windows 7. I assume you meant Windows XP?

The lowest Windows version the current AutoIt3 version supports is Windows XP.

It is true that GetFinalPathNameByHandleA is not supported in Windows XP, however there is a way to get the same result on Windows XP:
https://stackoverflow.com/questions/65170/how-to-get-name-associated-with-open-handle/5286888#5286888

comment:3 by genius257, 5 years ago

A simpler solution is to use the unique file identifier via GetFileInformationByHandle.
It is Available in Windows XP.

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.