Closed
Bug 261593
Opened 20 years ago
Closed 20 years ago
get rid of AssignWithConversion in filesystemdatasource
Categories
(Core Graveyard :: RDF, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.8alpha5
People
(Reporter: Biesinger, Assigned: Biesinger)
Details
Attachments
(1 file, 2 obsolete files)
5.58 KB,
patch
|
axel
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•20 years ago
|
||
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 160092 [details] [diff] [review] patch - most of the patch is correct because GetValueConst returns UTF-8, as described in nsIRDFResource.idl - the beos part is correct because UTF-8 is beos's native encoding
Attachment #160092 -
Flags: review?(bsmedberg)
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•20 years ago
|
Target Milestone: --- → mozilla1.8beta
Comment 3•20 years ago
|
||
I'd rather see us fixing the string usage here right, this is just wallpapering over one issue. Why not use nsCString uri; rv = source->GetValueUTF8(uri); // this just refcounts the buffer if (NS_FAILED(rv)) return(rv); NS_ConvertUTF8toUTF16 theURI(uri); This seems to do, up to not doing an additional string length check, the exact same thing.
Assignee | ||
Updated•20 years ago
|
Attachment #160092 -
Attachment is obsolete: true
Attachment #160092 -
Flags: review?(bsmedberg)
Assignee | ||
Updated•20 years ago
|
Target Milestone: mozilla1.8beta → mozilla1.8alpha5
Assignee | ||
Comment 4•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #160638 -
Flags: review?(axel)
Assignee | ||
Updated•20 years ago
|
Attachment #160638 -
Attachment is obsolete: true
Attachment #160638 -
Flags: review?(axel)
Assignee | ||
Comment 5•20 years ago
|
||
fully addresses review comment
Assignee | ||
Updated•20 years ago
|
Attachment #160647 -
Flags: review?(axel)
Comment 6•20 years ago
|
||
Comment on attachment 160647 [details] [diff] [review] patch v3 r=axel@pike.org
Attachment #160647 -
Flags: review?(axel) → review+
Assignee | ||
Updated•20 years ago
|
Attachment #160647 -
Flags: superreview?(darin)
Updated•20 years ago
|
Attachment #160647 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 7•20 years ago
|
||
Checking in rdf/datasource/src/nsFileSystemDataSource.cpp; /cvsroot/mozilla/rdf/datasource/src/nsFileSystemDataSource.cpp,v <-- nsFileSystemDataSource.cpp new revision: 1.137; previous revision: 1.136 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•