fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use.

git-svn-id: svn://10.0.0.236/trunk@67046 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ssu%netscape.com 2000-04-25 02:39:42 +00:00
parent 6aefc1e462
commit 9f6aa50f41
2 changed files with 2 additions and 0 deletions

View File

@ -1722,6 +1722,7 @@ nsLocalFile::Exists(PRBool *_retval)
{
NS_ENSURE_ARG(_retval);
*_retval = PR_FALSE; // Assume failure
MakeDirty();
nsresult rv = ResolveAndStat(PR_TRUE);
if ( rv == NS_ERROR_FILE_NOT_FOUND )
return NS_OK;

View File

@ -1483,6 +1483,7 @@ nsLocalFile::Exists(PRBool *_retval)
{
NS_ENSURE_ARG(_retval);
MakeDirty();
nsresult rv = ResolveAndStat( PR_TRUE );
if (NS_SUCCEEDED(rv))