Some default prefs files don't get loaded

VERIFIED FIXED

Status

()

P3
normal
VERIFIED FIXED
19 years ago
19 years ago

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

Tracking

Trunk
PowerPC
Mac System 8.5
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

19 years ago
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;
>

Comment 1

19 years ago
I have also tested and this fixes the problem.  Thanks Simon!

Updated

19 years ago
Blocks: 19191

Updated

19 years ago
Assignee: alecf → sfraser

Comment 2

19 years ago
r=alecf
reassigning to smfr because he actually fixed it.
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

19 years ago
Checked in.
verif w/comm bits from 2000-02-02-15.
Status: RESOLVED → VERIFIED

Comment 5

19 years ago
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.