mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Landing branch fix to the trunk. bug #47248 --> Implement MoveTo for Unix.
This commit is contained in:
parent
c0143af2df
commit
418070a7ab
@ -769,7 +769,10 @@ nsLocalFile::CopyToFollowingLinks(nsIFile *newParent, const char *newName)
|
||||
NS_IMETHODIMP
|
||||
nsLocalFile::MoveTo(nsIFile *newParent, const char *newName)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
nsresult rv = CopyTo(newParent, newName);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = Delete(PR_TRUE);
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
Reference in New Issue
Block a user