mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
Bug 517102 - App update slow, progressbar works poorly on Windows CE. (Part 1, Logging cleanup) r=robstrong
This commit is contained in:
parent
d4f2c468aa
commit
11b799ddfa
@ -674,7 +674,7 @@ RemoveFile::Prepare()
|
||||
// We expect the file to exist if we are to remove it.
|
||||
int rv = NS_taccess(mDestFile, F_OK);
|
||||
if (rv) {
|
||||
LOG(("file cannot be removed because it does not exist; skipping\n"));
|
||||
LOG(("file does not exist; skipping\n"));
|
||||
mSkip = 1;
|
||||
return OK;
|
||||
}
|
||||
@ -701,11 +701,11 @@ RemoveFile::Prepare()
|
||||
int
|
||||
RemoveFile::Execute()
|
||||
{
|
||||
LOG(("EXECUTE REMOVE " LOG_S "\n", mDestFile));
|
||||
|
||||
if (mSkip)
|
||||
return OK;
|
||||
|
||||
LOG(("EXECUTE REMOVE " LOG_S "\n", mDestFile));
|
||||
|
||||
// We expect the file to exist if we are to remove it. We check here as well
|
||||
// as in PREPARE since we might have been asked to remove the same file more
|
||||
// than once: bug 311099.
|
||||
@ -735,11 +735,11 @@ RemoveFile::Execute()
|
||||
void
|
||||
RemoveFile::Finish(int status)
|
||||
{
|
||||
LOG(("FINISH REMOVE " LOG_S "\n", mDestFile));
|
||||
|
||||
if (mSkip)
|
||||
return;
|
||||
|
||||
LOG(("FINISH REMOVE " LOG_S "\n", mDestFile));
|
||||
|
||||
backup_finish(mDestFile, status);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user