diff options
author | marcus <marcus@FreeBSD.org> | 2003-06-01 03:34:55 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-06-01 03:34:55 +0000 |
commit | 91f2c4dc076786cffdf768f633b71fa2b53b804a (patch) | |
tree | 882b401a25ef3430bc9eb57813222dfa52a76287 /www/seamonkey/files/patch-jsfun.c | |
parent | 839e10ff14cbeb131bb7b0bfa7b7fd3cef246303 (diff) | |
download | FreeBSD-ports-91f2c4dc076786cffdf768f633b71fa2b53b804a.zip FreeBSD-ports-91f2c4dc076786cffdf768f633b71fa2b53b804a.tar.gz |
* Add [untested] Alpha support [1]
* Fix some 64-bit problems in the JavaScript and nspr code [2]
Submitted by: Bernd Walter <ticso@cicely.de> [1]
tmm [2]
Diffstat (limited to 'www/seamonkey/files/patch-jsfun.c')
-rw-r--r-- | www/seamonkey/files/patch-jsfun.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/seamonkey/files/patch-jsfun.c b/www/seamonkey/files/patch-jsfun.c new file mode 100644 index 0000000..69aacb9 --- /dev/null +++ b/www/seamonkey/files/patch-jsfun.c @@ -0,0 +1,29 @@ +--- js/src/jsfun.c.orig Fri May 30 20:55:38 2003 ++++ js/src/jsfun.c Fri May 30 20:54:24 2003 +@@ -1081,7 +1081,7 @@ + JSString *atomstr; + char *propname; + JSScopeProperty *sprop; +- jsid userid; ++ uint32 userid; + JSAtom *atom; + uintN i, n, dupflag; + uint32 type; +@@ -1157,7 +1157,7 @@ + userid = INT_TO_JSVAL(sprop->shortid); + propname = ATOM_BYTES((JSAtom *)sprop->id); + if (!JS_XDRUint32(xdr, &type) || +- !JS_XDRUint32(xdr, (uint32 *)&userid) || ++ !JS_XDRUint32(xdr, &userid) || + !JS_XDRCString(xdr, &propname)) { + if (mark) + JS_ARENA_RELEASE(&cx->tempPool, mark); +@@ -1173,7 +1173,7 @@ + uintN attrs = JSPROP_ENUMERATE | JSPROP_PERMANENT; + + if (!JS_XDRUint32(xdr, &type) || +- !JS_XDRUint32(xdr, (uint32 *)&userid) || ++ !JS_XDRUint32(xdr, &userid) || + !JS_XDRCString(xdr, &propname)) { + return JS_FALSE; + } |