Closed
Bug 536269
Opened 15 years ago
Closed 14 years ago
[OS/2] build break in xpcom/build/dlldeps.cpp after fixing a win only crasher
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: wuno, Assigned: wuno)
References
Details
Attachments
(1 file, 1 obsolete file)
3.25 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.3a1pre) Gecko/20091221 Minefield/3.7a1pre Build Identifier: OS/2 uses the xpcom/build/dlldeps.cpp file as well as win. Several parts not used are in ifndef XP_OS2 or ifdef XP_WIN. In trying to find a top crasher on windows some new XP_WIN only code was introduced to trace the crasher. However, changes to dlldeps.cpp were put in a section os2 would try to compile as well -> break. Reproducible: Always
Assignee | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Comment on attachment 418731 [details] [diff] [review] move the new windows bits into a !XP_OS2 place Why are you using #if !defined(XP_OS2) here, instead of #ifdef XP_WIN? The actual declaration of sXPCOMHasLoadedNewDLLs is #ifdef XP_WIN.
Attachment #418731 -
Flags: review?(benjamin) → review-
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2) > (From update of attachment 418731 [details] [diff] [review]) > Why are you using #if !defined(XP_OS2) here, instead of #ifdef XP_WIN? The > actual declaration of sXPCOMHasLoadedNewDLLs is #ifdef XP_WIN. When you look at the whole file, there was always used !defined(XP_OS2) or ifndef XP_OS2, and actually I moved an existing !defined(XP_OS2) just two lines upwards. If you like it more, I can overhaul the whole file to use ifdef XP_WIN instead.
Assignee | ||
Comment 4•15 years ago
|
||
I've replaced all the !defined(XP_OS2) against ifdef XP_WIN, which is better readable.
Attachment #418731 -
Attachment is obsolete: true
Attachment #421677 -
Flags: review?(benjamin)
Updated•14 years ago
|
Attachment #421677 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/bcbbe25e3ae2
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•