diff options
Diffstat (limited to 'patches/bug-586016.patch')
-rw-r--r-- | patches/bug-586016.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/bug-586016.patch b/patches/bug-586016.patch new file mode 100644 index 0000000..07ab0aa --- /dev/null +++ b/patches/bug-586016.patch @@ -0,0 +1,22 @@ +diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp +--- a/js/src/jsapi.cpp ++++ b/js/src/jsapi.cpp +@@ -1146,17 +1146,17 @@ JS_ToggleOptions(JSContext *cx, uint32 o + uintN oldopts = cx->allOptions(); + uintN newopts = oldopts ^ options; + return SetOptionsCommon(cx, newopts); + } + + JS_PUBLIC_API(const char *) + JS_GetImplementationVersion(void) + { +- return "JavaScript-C 1.8.0 pre-release 1 2007-10-03"; ++ return "JavaScript-C 1.8.5 2011-03-31"; + } + + JS_PUBLIC_API(JSCompartmentCallback) + JS_SetCompartmentCallback(JSRuntime *rt, JSCompartmentCallback callback) + { + JSCompartmentCallback old = rt->compartmentCallback; + rt->compartmentCallback = callback; + return old; |