http://bugs.winehq.org/show_bug.cgi?id=58615 Bug ID: 58615 Summary: winepath changes behaviour and strips ending path separator now Product: Wine Version: 10.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: osmanx(a)problemloesungsmaschine.de Distribution: --- wine_get_unix_file_name() and wine_get_dos_file_name() have change behaviour starting with Wine 10.13. Previously, they returned a path ending in a path separator when the provided input path also ended in a path separator. Now, they always strip the trailing path separator. The changed behaviour can trivially be seen with winepath: Wine < 10.13: ``` Z:\home\manx>winepath -w /home/manx Z:\home\manx Z:\home\manx>winepath -w /home/manx/ Z:\home\manx\ Z:\home\manx>winepath -u Z:\home /home Z:\home\manx>winepath -u Z:\home\ /home/ ``` Wine 10.13: ``` Z:\home\manx>winepath -w /home/manx Z:\home\manx Z:\home\manx>winepath -w /home/manx/ Z:\home\manx Z:\home\manx>winepath -u Z:\home /home Z:\home\manx>winepath -u Z:\home\ /home ``` This bug affects OpenMPT, and we had to explicitly work-around the behaviour change (see <https://github.com/OpenMPT/openmpt/commit/3c4d38aa63c9baade94b9afc846612fa40e9f8e8>). The previous behaviour was present at the very least down to Wine 1.8 as far as I can remember. -- 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.