Closed Bug 110031 Opened 23 years ago Closed 22 years ago

Plugins should honor directory service temp path

Categories

(Core Graveyard :: Plug-ins, defect)

x86
All
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: timeless, Assigned: serhunt)

References

()

Details

Dear plugins owners, you have been hit by a witch hunt. This stage of the witch 
hunt stops here, you may not pass this buck, however you may clone it as 
needed.  For [use]less information see bug 59808.
timeless: bug 104859 ?
Something like this?

nsSpecialSystemDirectory 
tmpDir(nsSpecialSystemDirectory::OS_TemporaryDirectory);
tmpDir+="08X.html";
mFileSpec = PL_strdup(tmpDir);
that looks good enough for now, at some point we can fix it to use correct 
behaviors that'd even work on macos, but that's when we head the warning from 
nsFileSpec.h:
 42     THESE CLASSES ARE DEPRECIATED AND UNSUPPORTED!  USE |nsIFile| and 
|nsILocalFile|.
This has been fixed with unrelated recent checkins. Marking fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.