diff options
Diffstat (limited to 'lang/spidermonkey/files/patch-jsstr.c')
-rw-r--r-- | lang/spidermonkey/files/patch-jsstr.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/lang/spidermonkey/files/patch-jsstr.c b/lang/spidermonkey/files/patch-jsstr.c index 73786acdf88d..3929427bc48c 100644 --- a/lang/spidermonkey/files/patch-jsstr.c +++ b/lang/spidermonkey/files/patch-jsstr.c @@ -1,19 +1,11 @@ - - ---- patch-jsstr.c begins here --- ---- jsstr.c.orig Mon Dec 22 01:13:07 2003 -+++ jsstr.c Mon May 28 10:46:21 2007 -@@ -1830,6 +1830,8 @@ - jsdouble d; +--- jsstr.c 2006-11-22 09:28:44.000000000 +0100 ++++ jsstr.c 2008-06-19 16:14:49.000000000 +0200 +@@ -1815,6 +1815,8 @@ jsint i, j; uint32 len, limit; -+ -+ bzero(&tmp,sizeof(tmp)); ++ bzero(&tmp,sizeof(tmp)); ++ str = js_ValueToString(cx, OBJECT_TO_JSVAL(obj)); if (!str) - ---- patch-jsstr.c ends here --- - - - + return JS_FALSE; |