Modify

Opened 12 months ago

Closed 12 months ago

Last modified 12 months 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 12 months ago.
Tar file with symbolic links for reproducing bug

Download all attachments as: .zip

Change History (4)

Changed 12 months ago by genius257

Tar file with symbolic links for reproducing bug

comment:1 Changed 12 months ago by Jpm

  • Resolution set to Wont Fix
  • Status changed from new to closed

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 Changed 12 months ago by genius257

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 Changed 12 months ago by genius257

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.