Closed Bug 24232 Opened 25 years ago Closed 25 years ago

Some default prefs files don't get loaded

Categories

(Core :: Preferences: Backend, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

References

Details

On Mac (where default prefs files are aliased in a debug build), the files
initprefs.js and macprefs.js were not getting opened properly, because we weren't
doing alias resolution. This patch fixes that:

Index: nsPref.cpp
===================================================================
RCS file: /cvsroot/mozilla/modules/libpref/src/nsPref.cpp,v
retrieving revision 3.86
diff -r3.86 nsPref.cpp
1032a1033,1035
>     if (NS_FAILED(fileSpec->ResolveSymlink()))
>       return PREF_ERROR;
>
I have also tested and this fixes the problem.  Thanks Simon!
Blocks: 19191
Assignee: alecf → sfraser
r=alecf
reassigning to smfr because he actually fixed it.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Checked in.
verif w/comm bits from 2000-02-02-15.
Status: RESOLVED → VERIFIED
Moving all libPref component bugs to new Preferences: Backend component.  
libPref component will be deleted.
Component: libPref → Preferences: Backend
You need to log in before you can comment on or make changes to this bug.