This commit is contained in:
mcmullen%netscape.com 1999-03-13 07:07:33 +00:00
Родитель 1cc10296c5
Коммит e4f00591a3
2 изменённых файлов: 10 добавлений и 8 удалений

Просмотреть файл

@ -21,6 +21,7 @@
#include <sys/stat.h>
#include <direct.h>
#include <limits.h>
#include <stdlib.h>
#include "prio.h"
#include "nsError.h"
@ -411,10 +412,10 @@ PRUint32 nsFileSpec::GetDiskSpaceAvailable() const
strcat(aDrive, "\\");
PRUint32 dwSectorsPerCluster = 0;
PRUint32 dwBytesPerSector = 0;
PRUint32 dwFreeClusters = 0;
PRUint32 dwTotalClusters = 0;
DWORD dwSectorsPerCluster = 0;
DWORD dwBytesPerSector = 0;
DWORD dwFreeClusters = 0;
DWORD dwTotalClusters = 0;
if (!GetDiskFreeSpace(aDrive,
&dwSectorsPerCluster,
&dwBytesPerSector,

Просмотреть файл

@ -21,6 +21,7 @@
#include <sys/stat.h>
#include <direct.h>
#include <limits.h>
#include <stdlib.h>
#include "prio.h"
#include "nsError.h"
@ -411,10 +412,10 @@ PRUint32 nsFileSpec::GetDiskSpaceAvailable() const
strcat(aDrive, "\\");
PRUint32 dwSectorsPerCluster = 0;
PRUint32 dwBytesPerSector = 0;
PRUint32 dwFreeClusters = 0;
PRUint32 dwTotalClusters = 0;
DWORD dwSectorsPerCluster = 0;
DWORD dwBytesPerSector = 0;
DWORD dwFreeClusters = 0;
DWORD dwTotalClusters = 0;
if (!GetDiskFreeSpace(aDrive,
&dwSectorsPerCluster,
&dwBytesPerSector,