[Bug 19799] New: cscript crashes if you call WScript.Arguments(0). Breaks Chromium build setup.
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Aug 20 22:25:10 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=19799
Summary: cscript crashes if you call WScript.Arguments(0).
Breaks Chromium build setup.
Product: Wine
Version: 1.1.27
Platform: PC
URL: http://src.chromium.org/viewvc/chrome/trunk/tools/depo
t_tools/bootstrap/win/get_file.js?revision=14457&pathr
ev=14457
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: ole32
AssignedTo: wine-bugs at winehq.org
ReportedBy: dank at kegel.com
Chromium has a nifty self-bootstrapping source code management
script (see http://dev.chromium.org/developers/how-tos/install-gclient )
gclient downloads svn for you before it runs it. This used to use
a little wget binary checked in to the source tree (!) but now uses
a little javascript script, get_file.js
http://src.chromium.org/viewvc/chrome/trunk/tools/depot_tools/bootstrap/win/get_file.js?revision=14457&pathrev=14457
(which looks pretty similar to the vb in
http://www.xefteri.com/articles/show.cfm?id=7 )
If you read the script, it's kind of scary; there's ADO and all sorts
of weird shit going on, just to download a file.
And since it uses cscript, I think you have to do 'winetricks wsh56' to try it.
But guess what Wine fails on? After a little effort,
I reduced that script down to the single line:
WScript.Arguments(0);
Yup, that crashes. But if you do 'winetricks dcom98', it succeeds.
--
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