Bug 91195: Need to check remaining disk space before creating the bld (r=tao)

Checking for 26.3MB disk space
This commit is contained in:
shrutiv%netscape.com 2001-07-21 00:37:17 +00:00
Родитель ae8e83a3b0
Коммит f9b6743b65
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -919,8 +919,9 @@ int StartIB(CString parms, WIDGET *curWidget)
//Check for disk space before continuing
ULARGE_INTEGER nTotalBytes, nTotalFreeBytes, nTotalAvailable;
GetDiskFreeSpaceEx(NULL,&nTotalAvailable, &nTotalBytes, &nTotalFreeBytes);
if ((nTotalAvailable.QuadPart) > 17,505,658)
GetDiskFreeSpaceEx(NULL,&nTotalAvailable, &nTotalBytes, &nTotalFreeBytes);
// Checking for 26.3MB disk space
if ((nTotalAvailable.QuadPart) > 27,577,549)
;
else
{