http://bugs.winehq.org/show_bug.cgi?id=44721 --- Comment #7 from Janne <janne.kekkonen(a)gmail.com> --- Tested with wine 10.6 (Staging). There seems to be some issues. Example code was compiled with gcc version 14.2.0 (Rev2, Built by MSYS2 project) WINEDEBUG=-all, was used to suppress fixme messages.
wine --version wine-10.6 (Staging)
WINEDEBUG=-all wine a.exe c:\temp\bug-44721\a.exe The full path name is: C:\temp\bug-44721\tempbug-44721a.exe The short name for c:\longdirectoryname is c:\LONG~TX4 The long name for c:\LONG~TX4 is c:\longdirectoryname
and with non existing path & filename output is like this:
wine --version wine-10.6 (Staging) WINEDEBUG=-all wine a.exe c:\a\b\c\d\e.exe The full path name is: C:\temp\bug-44721\abcde.exe The short name for c:\longdirectoryname is c:\LONG~TX4 The long name for c:\LONG~TX4 is c:\longdirectoryname
On Windows 11 above examples look like this: D:\temp\bug-44721>a.exe d:\temp\bug-44721\a.exe The full path name is: d:\temp\bug-44721\a.exe The short name for c:\longdirectoryname is c:\LONGDI~1 The long name for c:\LONGDI~1 is c:\longdirectoryname D:\temp\bug-44721>a.exe c:\a\b\d\d\e.exe The full path name is: c:\a\b\d\d\e.exe The short name for c:\longdirectoryname is c:\LONGDI~1 The long name for c:\LONGDI~1 is c:\longdirectoryname D:\temp\bug-44721> -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.