Closed Bug 125912 Opened 23 years ago Closed 17 years ago

nsLocalFile implementation headers shouldn't be exported

Categories

(Core :: XPCOM, defect)

defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME
mozilla1.4beta

People

(Reporter: dbaron, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

The nsLocalFile implementation headers shouldn't be exported. This leads to things like bug 116149 comment 23 through bug 116149 comment 28. I'll attach a patch that ought to work, although I haven't tested it yet on Linux and it should probably be tested on Windows and Mac as well...
true. Not sure why I did this in the first place.... i think it was to have xpcom/build know about this file, but that is just a stupid way to do it.
Target Milestone: --- → mozilla1.0
Moving Netscape owned 0.9.9 and 1.0 bugs that don't have an nsbeta1, nsbeta1+, topembed, topembed+, Mozilla0.9.9+ or Mozilla1.0+ keyword. Please send any questions or feedback about this to adt@netscape.com. You can search for "Moving bugs not scheduled for a project" to quickly delete this bugmail.
Target Milestone: mozilla1.0 → mozilla1.2
That patch almost works. I made a similar patch before knowing about this one :-( There's an occurance of the nsLocalFile CID (declared in nsLocalFile.h) in nsInternetConfigService.cpp. I changed it to use a contact id string, and then it worked.
conrad, can you drive this into the tree? Attach a patch, and I will review it.
Assignee: dougt → ccarlen
Taking it.
Status: NEW → ASSIGNED
Target Milestone: mozilla1.2alpha → mozilla1.4alpha
-> 1.4b
Target Milestone: mozilla1.4alpha → mozilla1.4beta
Attached patch updated patchSplinter Review
Ran clobber builds on OSX and Windows with this.
Attachment #69877 - Attachment is obsolete: true
Comment on attachment 120894 [details] [diff] [review] updated patch an r/sr from either of you is probably enough?
Attachment #120894 - Flags: superreview?(cls)
Attachment #120894 - Flags: review?(dougt)
Comment on attachment 120894 [details] [diff] [review] updated patch could you also move the NS_LOCAL_FILE_CID to xpcom/build/nsXPCOMCID.h? with that r=dougt
Attachment #120894 - Flags: superreview?(cls) → superreview+
Assignee: ccarlen → nobody
Status: ASSIGNED → NEW
QA Contact: scc → xpcom
This bug is WFM now...
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Comment on attachment 120894 [details] [diff] [review] updated patch Cancelling r? since the patch is no longer needed
Attachment #120894 - Flags: review?(dougt)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: