(This bug imported from BugSplat, Netscape's internal bugsystem. It was known there as bug #299794 http://scopus.netscape.com/bugsplat/show_bug.cgi?id=299794 Imported into Bugzilla on 01/27/99 15:35) Strings produced by Script.prototype.freeze have a byte-order dependency. From Bernhard Marschall (email@example.com): > After taking a closer look, I got the impression the byte-swapping is done > twice: once by the JS_XDRxxx calls and once in the #ifdef IS_BIG_ENDIAN > section in script_freeze.
Marked TFV 1.4 indicating we want this bug fixed for 1.4.
Marking TFV blank; not required for 1.4.
this bug belongs with Norris now. bjorn
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → INVALID
The byte-swapping is necessary to make strings (unicode vectors) platform independent. Viewed as byte-vectors, they'll have different contents depending on endian-ness -- but the byte-vector in one machine is never visible to another (only strings may be passed among machines). /be
You need to log in before you can comment on or make changes to this bug.