Closed
Bug 45599
Opened 25 years ago
Closed 25 years ago
nsLocalFile(Mac)::Create has problem
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: conrad, Assigned: conrad)
Details
(Keywords: embed, platform-parity, Whiteboard: [nsbeta2+])
The Mac implementation of nsLocalFile::Create does not work if all ancestors of
the file being created don't exist. I'll fix this one.
Comment 1•25 years ago
|
||
-> Conrad
| Assignee | ||
Comment 2•25 years ago
|
||
ResolvePathAndSpec() was resetting the dest spec if directories in the path did
not exist. This was wrong in the case of a spec with a relative path. This made
the relative path relative to nothing.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 4•25 years ago
|
||
no.
calling create() would be.
| Assignee | ||
Comment 5•25 years ago
|
||
The test case is this:
Given an nsILocalFile directory which does exist and was initially specified with
an FSSpec, call AppendRelativePath more than once. These child directories do not
exist. When Create is called in this case, it will fail.
conrad, please mark verified is all is well.
QA Contact: leger → conrad
You need to log in
before you can comment on or make changes to this bug.
Description
•