[Bug 55130] New: IF EXIST fails when its argument ends on a slash
https://bugs.winehq.org/show_bug.cgi?id=55130 Bug ID: 55130 Summary: IF EXIST fails when its argument ends on a slash Product: Wine Version: 8.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: madebr(a)gmail.com Distribution: --- When a folder argument of IF EXIST ends on a slash, it will report the argument as not existing, even though it is. ``` rd /s /q folder mkdir folder if exist folder echo "Folder exists" if not exist folder/ echo "BAD! FOLDER DOES EXIST ACTUALLY" ``` This prints the message "BAD! FOLDER DOES EXIST ACTUALLY", where it shouldn'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=55130 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Confirming. On Win7 this works. -- 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=55130 --- Comment #2 from Maarten <madebr(a)gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/3154 -- 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=55130 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest(a)gmail.com Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |5e2f9996baedbe389df93255a4d | |d1188cbdb6c56 --- Comment #3 from Vijay Kamuju <infyquest(a)gmail.com> --- Fix committed - https://source.winehq.org/git/wine.git/commitdiff/5e2f9996baedbe389df93255a4... -- 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=55130 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.13. -- 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