I need to build dehydra with spidermonkey 1.7. Things seem to work
fine, but I had to patch dehydra.c to stop it from using
JSVERSION_LATEST (it's not defined in my copy).
I suppose this should not be harmful?
Thanks. Diego.
--- dehydra.c 2009-07-17 11:02:18.000000000 -0400
+++ dehydra.c 2009-07-17 11:56:17.640033000 -0400
@@ -115,7 +115,7 @@ void dehydra_init(Dehydra *this, const c
JS_DefineElement (this->cx, this->rootedArgDestArray, 0,
OBJECT_TO_JSVAL (this->rootedFreeArray),
NULL, NULL, JSPROP_ENUMERATE);
- JS_SetVersion (this->cx, JSVERSION_LATEST);
+ JS_SetVersion (this->cx, JSVERSION_1_7);
/* Initialize namespace for plugin system stuff. */
JSObject *sys = dehydra_defineObjectProperty (this, this->globalObj, SYS);
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis