http://bugs.winehq.org/show_bug.cgi?id=58129
Bug ID: 58129 Summary: shlwapi::PathCombineW does not manage path starting with dots Product: Wine Version: 10.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shlwapi Assignee: wine-bugs@winehq.org Reporter: kyle.kcsoftwares@gmail.com Distribution: ---
Created attachment 78395 --> http://bugs.winehq.org/attachment.cgi?id=78395 sample app
Inspired by https://bugs.winehq.org/show_bug.cgi?id=4309 and https://jira.reactos.org/browse/CORE-20129
Use this simple NSI script :
Section System::Call 'shlwapi::PathCombineW(w.r1,w "C:", w "...xx")' MessageBox MB_OK $1 SectionEnd
Shows "C:.xx" in Wine while it shows "C:...xx" in Windows
http://bugs.winehq.org/show_bug.cgi?id=58129
KRosUser kyle.kcsoftwares@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu URL| |https://jira.reactos.org/br | |owse/CORE-20129
http://bugs.winehq.org/show_bug.cgi?id=58129
--- Comment #1 from KRosUser kyle.kcsoftwares@gmail.com --- Created attachment 78396 --> http://bugs.winehq.org/attachment.cgi?id=78396 Screenshots
http://bugs.winehq.org/show_bug.cgi?id=58129
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
http://bugs.winehq.org/show_bug.cgi?id=58129
thc.fr13nd@gmail.com thc.fr13nd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thc.fr13nd@gmail.com
--- Comment #2 from thc.fr13nd@gmail.com thc.fr13nd@gmail.com --- The issue is in PathCanonicalizeW. I opened a MR https://gitlab.winehq.org/wine/wine/-/merge_requests/9414 for it. It is in draft, because of some uncertainty about the special UNC part. The test do not indicate the need of it, therefore i removed it from the new logic. Maybe somebody has some hints about it.