[Bug 51808] New: Wine fails to enter directories ending with a space
https://bugs.winehq.org/show_bug.cgi?id=51808 Bug ID: 51808 Summary: Wine fails to enter directories ending with a space Product: Wine Version: 6.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: aros(a)gmx.com Distribution: --- Steps to reproduce: $ mkdir "test " $ cd "test " $ touch test.txt $ wine notepad test.txt wine: could not open working directory L"Z:\\tmp\\test\\", starting in the Windows directory. Notepad will ERROR: "File 'test.txt' does not exist. Do you want to create a new file?" I wonder if there are other corner cases Wine fails to work with. -- 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=51808 Artem S. Tashkinov <aros(a)gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ntdll -- 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=51808 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> --- The Windows file APIs don't support trailing spaces, so I'd say that's a WONTFIX. Somehow I doubt that this is a problem in real usage... -- 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=51808 Artem S. Tashkinov <aros(a)gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Artem S. Tashkinov <aros(a)gmx.com> --- (In reply to Alexandre Julliard from comment #1)
The Windows file APIs don't support trailing spaces, so I'd say that's a WONTFIX. Somehow I doubt that this is a problem in real usage...
I've had to work with two zip files containing such folders today. BTW, it was Google Drive which generated them. Anyways, not gonna argue. -- 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=51808 --- Comment #3 from Artem S. Tashkinov <aros(a)gmx.com> --- It's funny Windows is OK with leading spaces but not with trailing spaces. -- 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=51808 --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Note that if you extract the zip on Windows the trailing spaces will be discarded. The same thing should happen with a Windows zip extractor on Wine. -- 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=51808 --- Comment #5 from Artem S. Tashkinov <aros(a)gmx.com> --- (In reply to Alexandre Julliard from comment #4)
Note that if you extract the zip on Windows the trailing spaces will be discarded. The same thing should happen with a Windows zip extractor on Wine.
Understood, sorry for the noise. Perhaps you could mention it somewhere though people can always find this bug report. -- 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=51808 Artem S. Tashkinov <aros(a)gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wine fails to enter |The issue with trailing |directories ending with a |spaces (spaces at the end |space |of a filename) -- 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=51808 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de Status|RESOLVED |CLOSED --- Comment #6 from André H. <nerv(a)dawncrow.de> --- closing invalid -- 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