Closed
Bug 318669
Opened 19 years ago
Closed 19 years ago
[BEOS] bustage from fix to bug 241758
Categories
(Core Graveyard :: RDF, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: doug, Assigned: doug)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (BeOS; U; BeOS BePC; en-US; rv:1.9a1) Gecko/20051201 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (BeOS; U; BeOS BePC; en-US; rv:1.9a1) Gecko/20051201 Firefox/1.6a1 nsFileSystemDataSource.cpp no longer builds under BeOS. Reproducible: Always Steps to Reproduce: 1.attempt to build Thunderbird 2.wait for error message 3. Actual Results: build fails - error messages included as attachment. Expected Results: build succeeds
Assignee | ||
Comment 1•19 years ago
|
||
Assignee | ||
Comment 2•19 years ago
|
||
this appears to be a result of changes committed in bug 241758 earlier today.
Assignee | ||
Updated•19 years ago
|
Component: General → Build Config
Product: Thunderbird → Core
Version: unspecified → Trunk
Assignee | ||
Comment 3•19 years ago
|
||
sorry about the confusing updates - I'm still getting the hang of bugzilla. The problem is impacting the trunk, core RDF 1.9a1
Component: Build Config → RDF
Comment 4•19 years ago
|
||
type for netPositiveDir was changed fron char* to nsCString and definition moved from *.cpp to *.h. Changes to fix. http://lxr.mozilla.org/seamonkey/source/rdf/datasource/src/nsFileSystemDataSource.cpp#1426 must look like: if (strstr(uri, netPositiveDir.get()) != 0) http://lxr.mozilla.org/seamonkey/source/rdf/datasource/src/nsFileSystemDataSource.cpp#1599 must look like: if (!netPositiveDir.IsEmpty()) and http://lxr.mozilla.org/seamonkey/source/rdf/datasource/src/nsFileSystemDataSource.cpp#1601 if (strstr(uri, netPositiveDir.get()) != 0)
Assignee | ||
Comment 5•19 years ago
|
||
fyysik, this almost fixed it. Still one problem with line 1601: /boot/home/develop/mozilla/rdf/datasource/src/nsFileSystemDataSource.cpp:1601: cannot convert `uri' from type `nsCString' to type `const char *'
Comment 6•19 years ago
|
||
ok, so 1601 must be: if (strstr(uri.get(), netPositiveDir.get()) != 0) as "uri" is defined in differently from first case. actually, looks like it is better to use some of nsCString own Compare() methods here instead strstr but that if some nsString guru gives advise on that. Also, please add here: http://lxr.mozilla.org/seamonkey/source/rdf/datasource/src/nsFileSystemDataSource.h#50 XP_BEOS case
Assignee | ||
Comment 7•19 years ago
|
||
looks like the last changed fixed it. I'm doing a full build now. If there are no other complications, I'll submit a patch.
Assignee | ||
Comment 8•19 years ago
|
||
(In reply to comment #6) > Also, please add here: > http://lxr.mozilla.org/seamonkey/source/rdf/datasource/src/nsFileSystemDataSource.h#50 > > XP_BEOS > case > I saw that and thought it might be necessary. I'll change it.
Assignee | ||
Comment 9•19 years ago
|
||
Assignee | ||
Comment 10•19 years ago
|
||
Comment on attachment 204794 [details] [diff] [review] fixes BeOS bustage fyysik, patch incorporates changes to .cpp and .h. Builds clean and runs OK. Please review. May also need SR?
Attachment #204794 -
Flags: review?(sergei_d)
Comment 11•19 years ago
|
||
Comment on attachment 204794 [details] [diff] [review] fixes BeOS bustage r=sergei_d
Attachment #204794 -
Flags: review?(sergei_d) → review+
Updated•19 years ago
|
Attachment #204794 -
Flags: review+
Comment 12•19 years ago
|
||
Ok, lazy question: Are we sure netpositiveDir is never null for BeOS?
Assignee | ||
Comment 13•19 years ago
|
||
(In reply to comment #12) > Ok, lazy question: > Are we sure netpositiveDir is never null for BeOS? > I'm not completely sure. Is netpositiveDir getting its non-null value around line 220 of nsFileSystemDataSource.cpp? Also, assuming we're OK, who can commit?
Updated•19 years ago
|
Assignee: mscott → doug
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 14•19 years ago
|
||
nsCString::get will never return null btw, it'd be good if you reassigned bugs to default owner/qa when changing components... fixed on trunk Checking in rdf/datasource/src/nsFileSystemDataSource.cpp; /cvsroot/mozilla/rdf/datasource/src/nsFileSystemDataSource.cpp,v <-- nsFileSystemDataSource.cpp new revision: 1.142; previous revision: 1.141 done Checking in rdf/datasource/src/nsFileSystemDataSource.h; /cvsroot/mozilla/rdf/datasource/src/nsFileSystemDataSource.h,v <-- nsFileSystemDataSource.h new revision: 1.13; previous revision: 1.12 done
Status: NEW → RESOLVED
Closed: 19 years ago
QA Contact: general → rdf
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
Assignee | ||
Comment 15•19 years ago
|
||
I also appreciate the comment about changing owners. My ignorance of proper use of bugzilla resources explains my actions, but it's not an excuse. I'm learning as I go. thank you for your help, biesi!
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
•