[Bug 9849] in win16 apps, exit status is lost, and always reported as 0

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 17 03:25:31 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=9849





--- Comment #2 from Dmitry Timoshkov <dmitry at codeweavers.com>  2008-11-17 03:25:30 ---
Attached foo.exe returns with status 0 under XP SP3 in the following
test.bat file:

<quote>
rem foo32.exe
foo.exe
if ERRORLEVEL == 1 goto error
echo 0
exit
:error
echo 1
</quote>

while foo32.exe which only does ExitProcess(1) in its main() prints 1.

Dan, how did you test this under XP?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.



More information about the wine-bugs mailing list