Closed Bug 68964 Opened 25 years ago Closed 25 years ago

Yank old ifdefs out of backend prefs

Categories

(Core :: Preferences: Backend, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: mcafee, Assigned: bnesse)

Details

Attachments

(4 files)

prefapi.c has a bunch of old ifdef'd code in there, we need to yank out code with at least these two ifdefs: MOZ_OLD_LI_STUFF PREF_SUPPORT_OLD_PATH_STRINGS
Review, anyone?
also nsPref.cpp and prefapi.h. lxr, lxr, lxr when removing code. I have a patch that just removes the OLD_LI_STUFF for these files, i can check in or wait for patch update from Blake.
it looks like we DO have PREF_SUPPORT_OLD_PATH_STRINGS - it looks like old code, but we might not need it...
r=blake
Blake, why did you leave in the stat.h includes? Are they required even if the PREF_SUPPORT_OLD_PATH_STRINGS symbol is undefined? (they aren't on the Mac) Otherwise it looks good. r=bnesse
Alec, you are correct. It IS defined. but removing it doesn't appear to do any harm. I tested it with the lock file as well (this was my concern also.)
I'm not sure about mac, but windows.h was required on windows for ::MessageBox()
MOZ_OLD_LI_STUFF & code are now gone, on to PATH_STRINGS..
Checked in (r=mcafee).
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
rubberstamp.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: