Corinna Vinschen db8224e8be * fhandler.h (class fhandler_dev_raw): Add members devbufalloc and
devbufalign.
	(class fhandler_dev_floppy): Remove member bytes_per_sector;
	* fhandler_floppy.cc (bytes_per_sector): Define as devbufalign.
	(fhandler_dev_floppy::open): Set devbufalign to a multiple of the
	sector size and handle devbuf allocation and alignment in !O_DIRECT
	case here.  Change comment accordingly.
	Call FSCTL_ALLOW_EXTENDED_DASD_IO for partitions as well.
	(fhandler_dev_floppy::raw_write): Fix comment.  Rewrite and fix
	writing behaviour when application uses read and lseek.
	(fhandler_dev_floppy::lseek): Use rounddown macro.  Call
	SetFilePointerEx rather than the old SetFilePointer.
	(fhandler_dev_floppy::ioctl): Reformat switch.  Call
	IOCTL_DISK_UPDATE_PROPERTIES rather than IOCTL_DISK_UPDATE_DRIVE_SIZE
	in BLKRRPART case.  Support BLKIOMIN, BLKIOOPT, BLKPBSZGET and
	BLKALIGNOFF.
	* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Initialize
	all devbuf-related members.
	(fhandler_dev_raw::~fhandler_dev_raw): Delete devbufalloc rather than
	devbuf.
	(fhandler_dev_raw::open): Drop allocating devbuf.
	(fhandler_dev_raw::dup): Allocate devbufalloc and set devbuf to support
	new sector-aligned devbuf handling.
	(fhandler_dev_raw::fixup_after_exec): Ditto.
	* fhandler_tape.cc (fhandler_dev_tape::open): Ditto, set devbufalign
	to 1.
	* include/cygwin/fs.h (BLKIOMIN): Define.
	(BLKIOOPT): Define.
	(BLKALIGNOFF): Define.
	(BLKPBSZGET): Define.
2012-10-13 12:34:18 +00:00
..
2011-12-17 23:39:47 +00:00
2009-01-21 17:14:39 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2009-09-22 02:49:15 +00:00
2007-01-03 11:14:53 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2012-01-01 16:57:25 +00:00
2009-01-21 17:14:39 +00:00
2011-06-06 05:02:13 +00:00
2012-08-09 19:58:53 +00:00
2012-03-19 17:49:40 +00:00
2012-08-17 17:29:21 +00:00
2012-08-17 17:29:21 +00:00
2009-07-07 20:12:44 +00:00
2012-07-18 11:17:25 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2012-08-09 19:58:53 +00:00
2011-12-09 06:57:21 +00:00
2012-08-17 17:29:21 +00:00
2012-08-16 23:34:45 +00:00
2012-06-03 18:02:45 +00:00
2012-08-14 18:38:22 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2012-05-08 15:06:43 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2012-08-16 23:34:45 +00:00
2011-09-01 19:19:29 +00:00
2012-08-16 23:34:45 +00:00
2012-03-19 17:49:40 +00:00
2010-07-19 18:22:40 +00:00
2011-06-06 05:02:13 +00:00
2012-08-16 23:34:45 +00:00
2009-01-21 17:14:39 +00:00
2012-07-21 22:58:20 +00:00
2012-08-16 23:34:45 +00:00
2012-10-09 15:12:07 +00:00
2012-05-12 19:17:17 +00:00
2012-07-21 22:58:20 +00:00
2012-07-18 11:17:25 +00:00
2010-08-30 01:57:37 +00:00
2012-08-16 23:34:45 +00:00
2012-07-21 22:58:20 +00:00
2009-01-21 17:14:39 +00:00
2012-08-17 17:29:21 +00:00
2012-08-16 23:34:45 +00:00
2011-05-04 22:12:15 +00:00
2011-11-29 17:26:57 +00:00
2012-08-16 23:34:45 +00:00
2012-02-28 14:03:03 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2012-08-16 23:34:45 +00:00
2010-06-21 19:55:12 +00:00
2011-12-30 20:22:28 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2012-07-30 04:26:05 +00:00
2012-03-04 13:19:21 +00:00