http://bugs.winehq.org/show_bug.cgi?id=58487
Bug ID: 58487 Summary: winepath --windows results in a twisted result Product: Wine Version: 10.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mywine@schiermeier-it.de Distribution: ---
wine 10.11:
Example: % wine winepath --windows /home/joerg/.opera Z:\home\joerg.rg.opera
% wine winepath --windows /home/joerg/.opera/bookmarks.adr Z:\home\joerg.opera\bookmarkmarks.adr
% wine winepath --unix 'Z:\home\joerg.rg.opera' /home/joerg/.rg/.opera
% wine winepath --unix 'Z:\home\joerg.opera' /home/joerg/.opera
% wine winepath --unix 'Z:\home\joerg.opera\bookmarks.adr' /home/joerg/.opera/bookmarks.adr
Calling "winepath" directly ends with the same results.
So I started a regression test and got this result:
96cd811903e3d3f227c39e12235725baf793f4b9 is the first bad commit commit 96cd811903e3d3f227c39e12235725baf793f4b9 Author: Alexandre Julliard julliard@winehq.org Date: Tue Jun 24 11:56:39 2025 +0200
kernel32: Reimplement conversion to DOS name using GetFinalPathNameByHandleW.
dlls/kernel32/path.c | 44 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 35 insertions(+), 9 deletions(-)