Open
Bug 347733
Opened 20 years ago
Updated 3 years ago
msie tridentprofile importer doesn't build on linux
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
NEW
People
(Reporter: romaxa, Unassigned)
Details
Attachments
(1 file)
|
747 bytes,
patch
|
timeless
:
review-
|
Details | Diff | Splinter Review |
Yes, we know this is not quite sensible. but the code at least *thinks* about doing this and so, it should either think *harder* or less hard.
romaxa@romaxa-sr:/home/work/xulrunner/maemo-browser/build-tree/mozilla/debug-i686-pc-linux-gnu/extensions/tridentprofile$ make -s
nsTridentProfileMigrator.o: In function `nsTridentProfileMigrator::MigrateTridentProfile(unsigned int)':
/home/work/xulrunner/maemo-browser/build-tree/mozilla-cvs-20060803.0/extensions/tridentprofile/src/nsTridentProfileMigrator.cpp:69: undefined reference to `MakeTridentPreferences()'
collect2: ld returned 1 exit status
make[2]: *** [libtridentprofile.so] Error 1
make[1]: *** [libs] Error 2
make: *** [all] Error 2
romaxa@romaxa-sr:/home/work/xulrunner/maemo-browser/build-tree/mozilla/debug-i686-pc-linux-gnu/extensions/tridentprofile$ ls src/
Makefile nsModule.o nsTridentProfileMigrator.o
This is of course because the makefile looks like this:
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
CPPSRCS += nsTridentPreferencesWin.cpp
endif
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Attachment #232528 -
Flags: review?(mconnor)
| Reporter | ||
Comment 2•19 years ago
|
||
Any reviews for this bug?
Assignee: nobody → romaxa
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 232528 [details] [diff] [review]
this will work most of the time
> nsTridentProfileMigrator::MigrateTridentProfile(PRUint32 aItems)
>+ nsTridentPreferences *pref;
>+#ifdef XP_WIN
>+ pref = MakeTridentPreferences();
you need:
#else
pref = nsnull
>+#endif
otherwise this accesses unintialized memory:
> if (!pref)
> return NS_ERROR_OUT_OF_MEMORY;
Attachment #232528 -
Flags: review?(mconnor) → review-
| Assignee | ||
Updated•18 years ago
|
Product: Firefox → Toolkit
Comment 4•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:mossop, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: romaxa → nobody
Flags: needinfo?(dtownsend)
Updated•4 years ago
|
Flags: needinfo?(dtownsend)
Updated•3 years ago
|
Severity: trivial → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•