fixes bug 114778 "formpost temp files not cleaned up when browser exits"

patch=badami@netscape.com, r=rpotts@netscape.com, sr=darin@netscape.com
This commit is contained in:
darin@netscape.com
2002-01-26 00:38:37 +00:00
parent c9b85bb819
commit 3713da13c2
4 changed files with 14 additions and 11 deletions

View File

@@ -1222,15 +1222,15 @@ nsLocalFile::Remove(PRBool recursive)
iterator->HasMoreElements(&more);
}
}
rmdir(filePath); // todo: save return value?
rv = rmdir(filePath); // todo: save return value?
}
else
{
remove(filePath); // todo: save return value?
rv = remove(filePath); // todo: save return value?
}
MakeDirty();
return NS_OK;
return rv;
}
NS_IMETHODIMP