Closed
Bug 99125
Opened 24 years ago
Closed 24 years ago
a nsInputFileStream created from a directory is "open" on linux, but not win2k
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: sspitzer, Assigned: dougt)
Details
we've got some mailnews code that basically does this:
nsInputFileStream tempFile(fSpec);
if (!tempFile.is_open())
return NS_MSG_ERROR_WRITING_FILE;
fSpec is a nsFileSpec that points to the users .signature file.
if the .signature file was a directory, on win2k this would return since is_open
() would return false. in linux, is_open() would return true, and we'd proceed.
this difference per platform caused bug #97585
| Assignee | ||
Comment 1•24 years ago
|
||
nsFileSpec is obsolete. marking wontfix. Use nsIFile instead.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•