https://bugs.winehq.org/show_bug.cgi?id=37977
Bug ID: 37977 Summary: Multiple applications using VBScript/JScript need scripting host 'WScript.Quit' implementation Product: Wine Version: 1.7.35 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wscript Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
similar to bug 36466
Actually not implementing scripting host 'Wscript.Quit' has more severe consequences since many scripts use 'On Error Resume Next'.
Those simply continue execution with intended behaviour (in various cases ending up in a crash)
--- snip --- On Error Resume Next
If WScript.Arguments.Count <> 1 Then Wscript.Echo "need one argument!" Wscript.Quit 127 End If
Wscript.Echo "not reached" --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=37977
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
https://source.winehq.org/git/wine.git/blob/d6f527af14d0e9f9ea629024433e3735...
--- snip --- 225 static HRESULT WINAPI Host_Quit(IHost *iface, int ExitCode) 226 { 227 WINE_FIXME("(%d)\n", ExitCode); 228 return E_NOTIMPL; 229 } --- snip ---
Correction to my initial comment: "intended behaviour" -> "unintended behaviour" if it was not obvious ;-)
$ wine --version wine-1.7.54-179-ga0d0d0d
Regards
https://bugs.winehq.org/show_bug.cgi?id=37977
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- https://source.winehq.org/patches/data/123760
Has a patch that didnt merge in current form.
https://bugs.winehq.org/show_bug.cgi?id=37977
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |341bb46fc693273b357842bdbe3 | |260c017aa0318 Status|NEW |RESOLVED CC| |jacek@codeweavers.com Resolution|--- |FIXED
--- Comment #3 from Jacek Caban jacek@codeweavers.com --- The fix is in Git.
https://bugs.winehq.org/show_bug.cgi?id=37977
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.9.15.