Closed
Bug 232339
Opened 21 years ago
Closed 21 years ago
incorrect string usage
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Whiteboard: [patch])
Attachments
(1 file, 1 obsolete file)
13.48 KB,
patch
|
jshin1987
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
Most of the things shown in these LXR queries are examples of incorrect string
usage:
http://lxr.mozilla.org/seamonkey/search?string=%3D+NS_Convert.*get%5C%28%5C%29
http://lxr.mozilla.org/seamonkey/search?string=%3D+PromiseFlat.*get%5C%28%5C%29
Assignee | ||
Comment 1•21 years ago
|
||
some of these are real fixes, some are just slight performance improvements to
avoid the LXR hits
Assignee | ||
Updated•21 years ago
|
Whiteboard: [patch]
![]() |
||
Comment 2•21 years ago
|
||
> + profileItem->profileName =
NS_ConvertASCIItoUCS2(unixProfileName);
Wouldn't CopyASCIItoUTF16 or whatever we call it nowadays work better here?
Comment 3•21 years ago
|
||
(In reply to comment #2)
> > + profileItem->profileName =
> NS_ConvertASCIItoUCS2(unixProfileName);
>
> Wouldn't CopyASCIItoUTF16 or whatever we call it nowadays work better here?
Yes. There are a couple of more like that in the patch.
Comment 4•21 years ago
|
||
>+ const nsPromiseFlatCString& FFREName = PromiseFlatCString(aFFREName);
looks familiar! ;-)
Assignee | ||
Comment 5•21 years ago
|
||
Attachment #140002 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #140458 -
Flags: superreview?(darin)
Attachment #140458 -
Flags: review?(jshin)
Updated•21 years ago
|
Attachment #140458 -
Flags: superreview?(darin) → superreview+
Comment 6•21 years ago
|
||
Comment on attachment 140458 [details] [diff] [review]
patch
r=jshin
Attachment #140458 -
Flags: review?(jshin) → review+
Assignee | ||
Comment 7•21 years ago
|
||
Fix checked in to trunk, 2004-02-03 10:23 -0800.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Component: String → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•