X-Originating-IP: [200.42.6.246] From: "Norberto Alfredo Bensa" To: "DJGPP" References: <924tsv$8i1$1 AT news DOT luth DOT se> Subject: Re: getdfree on FAT32? Date: Sun, 24 Dec 2000 16:11:47 -0300 Organization: nBens@ Computers MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: X-OriginalArrivalTime: 24 Dec 2000 19:13:34.0984 (UTC) FILETIME=[9CA82880:01C06DDD] Reply-To: djgpp AT delorie DOT com From: "Martin Str|mberg" Sent: Sunday, December 24, 2000 10:32 AM Subject: Re: getdfree on FAT32? > Norberto Alfredo Bensa wrote: > : I think I found the problem, Int 21h, AX=7302, doesn't seams to report the > : actual free clusters on the given partition. > > : I've changed the statfs function to use Int 21h, AX=7303 instead and now it > : works (on Win9x at least). > > Does it work in plain DOZE too? > Nope... It doesn't. Is there any global variable or function which I could use to know if I'm running under Windows or plain DOS? > Please post a patch or the changed source. > Is ok to attach a zipepd file of the changed source code? Regards, Norberto