Date: Sat, 06 Jan 2001 15:14:46 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <8361-Sat06Jan2001151444+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: ceo AT nbensacomputers DOT com, djgpp-workers AT delorie DOT com In-reply-to: <200101061229.NAA18761@father.ludd.luth.se> (message from Martin Str|mberg on Sat, 6 Jan 2001 13:29:54 +0100 (MET)) Subject: Re: Fw: Patch for statfs.c References: <200101061229 DOT NAA18761 AT father DOT ludd DOT luth DOT se> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Martin Str|mberg > Date: Sat, 6 Jan 2001 13:29:54 +0100 (MET) > > > int main (void) > > { > > if (_is_cdrom_drive ( 'R' - 'A' +1 )) > > { > > printf ("is a CDROM\n"); > > } > > else > > { > > printf ("not a CD-ROM\n"); > > } > > } > > > > What does print if you test with a DVD-ROM in your R: drive? > > It prints "is a CDROM" on DOZE 7.1 and WINDOZE 98. It prints that even > if no CD is in the drive... Do the CD-related calls in statfs.c do reasonably good job with a DVD? If not, we will have to find a way to detect a DVD.