From f9b6743b6565dd1b3b2323d24144c66a64ff6fac Mon Sep 17 00:00:00 2001 From: "shrutiv%netscape.com" Date: Sat, 21 Jul 2001 00:37:17 +0000 Subject: [PATCH] Bug 91195: Need to check remaining disk space before creating the bld (r=tao) Checking for 26.3MB disk space --- cck/ib/ib.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cck/ib/ib.cpp b/cck/ib/ib.cpp index 40a5dddb211..780bac1e9fb 100644 --- a/cck/ib/ib.cpp +++ b/cck/ib/ib.cpp @@ -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 {