hoping this fixes dougt's bustage
This commit is contained in:
Родитель
de6761eff5
Коммит
08b5c219f9
|
@ -1110,7 +1110,7 @@ PRInt64 nsFileSpec::GetDiskSpaceAvailable() const
|
|||
{
|
||||
PRInt64 int64;
|
||||
|
||||
LL_I2L(int64 , ULONG_MAX);
|
||||
LL_I2L(int64 , LONG_MAX);
|
||||
|
||||
HVolumeParam pb;
|
||||
pb.ioCompletion = nsnull;
|
||||
|
|
|
@ -477,7 +477,10 @@ nsresult nsFileSpec::Execute(const char* inArgs ) const
|
|||
PRInt64 nsFileSpec::GetDiskSpaceAvailable() const
|
||||
//----------------------------------------------------------------------------------------
|
||||
{
|
||||
|
||||
PRInt64 bytes; /* XXX dougt needs to fix this */
|
||||
LL_I2L(bytes , LONG_MAX); // initialize to all the space in the world?
|
||||
|
||||
|
||||
#if defined(HAVE_SYS_STATFS_H) || defined(HAVE_SYS_STATVFS_H)
|
||||
|
||||
char curdir [MAXPATHLEN];
|
||||
|
|
|
@ -556,7 +556,7 @@ PRInt64 nsFileSpec::GetDiskSpaceAvailable() const
|
|||
{
|
||||
PRInt64 int64;
|
||||
|
||||
LL_I2L(int64 , ULONG_MAX);
|
||||
LL_I2L(int64 , LONG_MAX);
|
||||
|
||||
char aDrive[_MAX_DRIVE + 2];
|
||||
_splitpath( (const char*)mPath, aDrive, NULL, NULL, NULL);
|
||||
|
|
Загрузка…
Ссылка в новой задаче