Closed
Bug 113319
Opened 24 years ago
Closed 24 years ago
crash on startup - unable to resolve PREF_GetJSRuntime
Categories
(SeaMonkey :: Preferences, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdunn, Assigned: jdunn)
References
Details
(Keywords: crash, qawanted, verifyme)
Attachments
(1 file)
|
1.32 KB,
patch
|
bnesse
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
The changes to make mozilla/modules/libpref/src/ prefapi.c -> prefapi.cpp
c++ is causing the build to crash on startup (see palermo's tinderbox)
The problem is how PREF_GetJSRuntime is defined and declared in
nsPrefService.cpp & prefapi.cpp.
Not sure why PREF_GetJSRuntime is defined in nsPrefService instead
of prefapi.cpp, since it is only used in prefapi.cpp, but anyway.
In the source file where it is defined, you don't need to declare it
extern. You need to declare it extern in the source file that
references it.
I just looked at PREF_GetJSRuntime in nsPrefService and now understand
while it is there, so ignore the above comment.
I would like permission (r= & sr=) to check in my fix though...
Comment 3•24 years ago
|
||
Comment on attachment 60206 [details] [diff] [review]
diff
sr=alecf
the reason it's that way was that previously PREF_GetJSRuntime had to be
written in C++, and prefapi.cpp was called prefapi.c, and thus couldn't do C++
things
Attachment #60206 -
Flags: superreview+
Comment 4•24 years ago
|
||
Comment on attachment 60206 [details] [diff] [review]
diff
r=bnesse.
Attachment #60206 -
Flags: review+
Comment 5•24 years ago
|
||
*** Bug 113006 has been marked as a duplicate of this bug. ***
Comment 6•24 years ago
|
||
is this limited to HP-UX?
not sure, nebiros is complaining about something similar (see Seamonkey-Ports)
and I don't have an aix tinderbox (network issue) trying it
Status: NEW → ASSIGNED
this is indeed busted on AIX (AIX however flags it as a build
issue - too bad we didn't have the AIX tinderbox running, since
it would have been flagged much sooner)
As soon as the tree opens I will check in my fix
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•