This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fhandler_dev_floppy::lseek


Egor,

On 2001-02-28 you checked in a patch to fhandler_floppy.cc
(fhandler_dev_floppy::lseek) to determine the drive geometry.

For some reason you added that using a `if (os_being_run == winNT)'
which in the meantime has been substituted by Chris by a `is (iswinnt)'.

However, I don't understand why it's used at all. As far as I know
and from what I've read in MSDN, raw device access is not supported
on 9x/ME. So the above `if' wouldn't make any sense.

Is that correct or do you have different information?

The reason I'm asking is that I'm creating a OS capability class
to change all these if's to a more capability oriented view.
In the above case that could be handled by e.g.

	if (wincap.can_determine_drive_geometry ())

or something but if it's unneccessary I would better like to get
rid of this `if' at all.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]