Closed
Bug 386256
Opened 17 years ago
Closed 12 years ago
Unable to remove file that exists
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: mossop, Unassigned)
Details
Part of the EM code attempts to delete an rdf file from the temporary directory. I have seen it failing with NS_ERROR_FILE_NOT_FOUND even though the file exists.
More interestingly if I change the code to:
if (file.exists()) {
LOG("removing file");
file.remove(false);
}
Then the code works, logs the message and removes the file without error.
Updated•17 years ago
|
Component: File Handling → XPCOM
QA Contact: file-handling → xpcom
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•