[Bug 47766] New: PathAllocCanonicalize treats path segments start with dots wrong.
https://bugs.winehq.org/show_bug.cgi?id=47766 Bug ID: 47766 Summary: PathAllocCanonicalize treats path segments start with dots wrong. Product: Wine Version: 4.16 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernelbase Assignee: wine-bugs(a)winehq.org Reporter: zzhang(a)codeweavers.com Distribution: --- This bug was reported on wine-devel mail list by Sebastian M. Ernst <ernst(a)pleiszenburg.de> user(a)comp:/path/other> WINEDEBUG=-all PYTHONHOME="z:\\path\\.to\\target" wine /path/.to/target/python.exe -c "import sys; print(sys.executable)" Z:\pathto\target\python.exe PYTHONHOME="z:\\path\\..to\\target" wine /path/..to/target/python.exe -c "import sys; print(sys.executable)" Z:\to\target\python.exe -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 Sebastian Ernst <ernst(a)pleiszenburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ernst(a)pleiszenburg.de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 Hin-Tak Leung <htl10(a)users.sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |htl10(a)users.sourceforge.net --- Comment #1 from Hin-Tak Leung <htl10(a)users.sourceforge.net> --- I don't know if it is related, but I have had an issue with native mono (i.e. mono running under linux) and xbuild doing quite similarly strange things with "\.." in the project file: https://github.com/Robmaister/SharpFont/issues/93 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source CC| |damjan.jov(a)gmail.com --- Comment #2 from Damjan Jovanovic <damjan.jov(a)gmail.com> --- Python is our dogfood. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 --- Comment #3 from Damjan Jovanovic <damjan.jov(a)gmail.com> --- The Python source doesn't contain the string "PathAllocCanonicalize". It is probably getting called indirectly, from inside Wine, possibly at a place where Windows doesn't. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 --- Comment #4 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- https://source.winehq.org/patches/data/169977 should fix this. (In reply to Hin-Tak Leung from comment #1)
I don't know if it is related, but I have had an issue with native mono (i.e. mono running under linux) and xbuild doing quite similarly strange things with "\.." in the project file:
I don't think it's the same issue. The issue was opened before PathAllocCanonicalize is implemented. It's likely an issue with other path canonicalization functions though. It could be an issue with wine or native mono. (In reply to Damjan Jovanovic from comment #3)
The Python source doesn't contain the string "PathAllocCanonicalize". It is probably getting called indirectly, from inside Wine, possibly at a place where Windows doesn't.
PathAllocCanonicalize is called indirectly by many other PathCch* functions. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 Jeff Smith <whydoubt(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |whydoubt(a)gmail.com --- Comment #5 from Jeff Smith <whydoubt(a)gmail.com> --- Sorry if I'm stepping on toes, but I had been looking into this as well and came up with a different solution. I was about to submit it, but saw the Zhiyi Zhang patch, so I reworked mine into a series that includes those tests. The first patch in the series (containing everything but the tests): https://source.winehq.org/patches/data/169985 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |c13a8f60bdef5b69f5db61f79ef | |b7fd341a27303 Status|NEW |RESOLVED --- Comment #6 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Fixed by https://source.winehq.org/git/wine.git/commit/c13a8f60bdef5b69f5db61f79efb7f.... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 4.17. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47766 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |kernel32 -- 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.
participants (1)
-
WineHQ Bugzilla