r=mkaply, sr=blizzard OS/2 only - better file dialog git-svn-id: svn://10.0.0.236/trunk@112103 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -560,7 +560,9 @@ nsLocalFile::ResolveAndStat(PRBool resolveTerminal)
|
||||
nsprPath = temp;
|
||||
}
|
||||
|
||||
DosError(FERR_DISABLEHARDERR);
|
||||
PRStatus status = PR_GetFileInfo64(nsprPath, &mFileInfo64);
|
||||
DosError(FERR_ENABLEHARDERR);
|
||||
if ( status == PR_SUCCESS )
|
||||
{
|
||||
if (!resolveTerminal)
|
||||
@@ -604,7 +606,9 @@ nsLocalFile::ResolveAndStat(PRBool resolveTerminal)
|
||||
mResolvedPath.Assign(resolvePath);
|
||||
nsMemory::Free(resolvePath);
|
||||
|
||||
DosError(FERR_DISABLEHARDERR);
|
||||
status = PR_GetFileInfo64(mResolvedPath.get(), &mFileInfo64);
|
||||
DosError(FERR_ENABLEHARDERR);
|
||||
|
||||
if ( status == PR_SUCCESS )
|
||||
mDirty = PR_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user