http://bugs.winehq.org/show_bug.cgi?id=35970
Bug ID: 35970 Summary: Wine del returns 1 on error unlike on Windows Product: Wine Version: 1.7.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: b7.10110111@gmail.com
To reproduce, try the following in Windows (tested on XP) and in "wine cmd"/"windconsole cmd" (tested on wine-1.7.16-133-gd8ca8c2):
Windows XP: C:> del asdf Couldn't find C:\asdf C:> echo %ERRORLEVEL% 0
Wine:
C:>del asdf asdf: File Not Found C:>echo %ERRORLEVEL% 1
This is a potential incompatibility with applications which expect del to return 0 in this case.
http://bugs.winehq.org/show_bug.cgi?id=35970
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Counter-intuitive but true.
https://bugs.winehq.org/show_bug.cgi?id=35970
Hugh McMaster hugh.mcmaster@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster@outlook.com
--- Comment #2 from Hugh McMaster hugh.mcmaster@outlook.com --- Resolved by commit 16cb9c4cb7feda719b43f85e0a7acfe50df03636.
https://bugs.winehq.org/show_bug.cgi?id=35970
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=35970
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |16cb9c4cb7feda719b43f85e0a7 | |acfe50df03636 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/16cb9c4cb7feda719b43f85e0a...
Thanks Hugh
Regards
https://bugs.winehq.org/show_bug.cgi?id=35970
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.8-rc1.