Closed Bug 232339 Opened 21 years ago Closed 21 years ago

incorrect string usage

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Whiteboard: [patch])

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
some of these are real fixes, some are just slight performance improvements to avoid the LXR hits
> + profileItem->profileName = NS_ConvertASCIItoUCS2(unixProfileName); Wouldn't CopyASCIItoUTF16 or whatever we call it nowadays work better here?
(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.
>+ const nsPromiseFlatCString& FFREName = PromiseFlatCString(aFFREName); looks familiar! ;-)
Attached patch patchSplinter Review
Attachment #140002 - Attachment is obsolete: true
Attachment #140458 - Flags: superreview?(darin)
Attachment #140458 - Flags: review?(jshin)
Attachment #140458 - Flags: superreview?(darin) → superreview+
Comment on attachment 140458 [details] [diff] [review] patch r=jshin
Attachment #140458 - Flags: review?(jshin) → review+
Fix checked in to trunk, 2004-02-03 10:23 -0800.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: