backing out 240192 patch

git-svn-id: svn://10.0.0.236/trunk@154985 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2004-04-16 20:10:47 +00:00
parent e25f2efaf5
commit 21bde374e6
2 changed files with 1 additions and 13 deletions

View File

@@ -1063,12 +1063,9 @@ nsLocalFile::GetFileSize(PRInt64 *aFileSize)
}
#endif
/* XXX autoconf for and use stat64 if available */
if (!S_ISDIR(mCachedStat.st_mode)) {
#ifdef STAT_IS_64
*aFileSize = mCachedStat.st_size;
#else
LL_UI2L(*aFileSize, (PRUint32)mCachedStat.st_size);
#endif
}
return NS_OK;
}