Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst

Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pete%alphanumerica.com
2001-07-24 18:38:25 +00:00
parent 796fc1aa09
commit 63991fa7da
35 changed files with 69 additions and 69 deletions

View File

@@ -245,7 +245,7 @@ PRInt32 nsInstallPatch::Prepare()
mPatchFile->Exists(&flagExists);
if ( (mPatchFile != nsnull) && (flagExists) )
{
mPatchFile->Delete(PR_FALSE);
mPatchFile->Remove(PR_FALSE);
}
@@ -255,7 +255,7 @@ PRInt32 nsInstallPatch::Prepare()
mPatchFile->Exists(&flagExists);
if ((mPatchedFile != nsnull) && (flagExists))
{
mPatchedFile->Delete(PR_FALSE);
mPatchedFile->Remove(PR_FALSE);
}
return err;
}
@@ -610,7 +610,7 @@ nsInstallPatch::NativePatch(nsIFile *sourceFile, nsIFile *patchFile, nsIFile **n
outFileSpec->GetParent(getter_AddRefs(parent));
outFileSpec->Delete(PR_FALSE);
outFileSpec->Remove(PR_FALSE);
char* leaf;
anotherName->GetLeafName(&leaf);
@@ -660,7 +660,7 @@ cleanup:
{
tempSrcFile->Exists(&flagExists);
if (flagExists)
tempSrcFile->Delete(PR_FALSE);
tempSrcFile->Remove(PR_FALSE);
}
/* lets map any GDIFF error to nice SU errors */