Closed Bug 154597 Opened 24 years ago Closed 24 years ago

profile manager uses full paths on Mach-o

Categories

(Core Graveyard :: Profile: BackEnd, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mikepinkerton, Assigned: ccarlen)

References

Details

Attachments

(1 file)

http://lxr.mozilla.org/mozilla/source/profile/src/nsProfileAccess.cpp#1430 needs to also have XP_MACOSX when we land the mach-o file code on the trunk.
i'm making this change now on the chimera branch so that product folders can be renamed when we change the product name.
never mind, i'm not gonna touch nothing. i'll let conrad deal with it on the branch as well. ;)
Patch coming up. Making bug 118203 depend on this so that, when it hits the trunk, this comes with.
Blocks: 118203
Status: NEW → ASSIGNED
Attached patch patchSplinter Review
The patch makes it so that we first try to use the data as a base64 encoded alias. Except for a CFM build which, for a few days > a year ago, and the Chimera build from yesterday, this will succeed. If not, it tries ther data as a unicode path. With the patch, the data in the registry will be converted. The first time it's read in as a path, it will be written out as an alias on the next call to UpdateRegistry (called by nsProfile::SetCurrentProfile)
Can I get r=/sr= on this? I'd like to check it into the Chimera branch today so we have only 1 day's worth of builds doing this.
Comment on attachment 89436 [details] [diff] [review] patch sr=sfraser Are there other places in the code that have #ifdef XP_MAC calls to Get/SetPersistentDescriptor?
Attachment #89436 - Flags: superreview+
Comment on attachment 89436 [details] [diff] [review] patch looks good r=pink
Attachment #89436 - Flags: review+
> Are there other places in the code that have #ifdef XP_MAC calls to Get/SetPersistentDescriptor? No, not that I could find.
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified code fix
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: