[Webkit-unassigned] [Bug 7554] New: Platform dependant code
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Mar 2 09:58:24 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7554
Summary: Platform dependant code
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: minor
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: david.carson at nokia.com
Platform dependant code exists in bindings\c\c_utility.cpp
Use of CFString to convert from UTF8 to UTF16. Suggest changing code to:
if (UTF8Length == -1)
UTF8Length = strlen(UTF8Chars);
*UTF16Length = UTF8Length;
*UTF16Chars = (NPUTF16 *)malloc (sizeof(NPUTF16) * (*UTF16Length));
for (int i = 0; i < UTF8Length; i++)
(*UTF16Chars)[i] = UTF8Chars[i];
delete UTF8Chars;
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list