From 883c5345d4a806fbea7c7a01ef3e9548874de85b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 30 Sep 2003 21:46:08 +0000 Subject: * fhandler.cc (fhandler_base::fstat): Drop FH_FLOPPY case. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler.cc | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c28841e..60e5261 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2003-09-30 Corinna Vinschen + * fhandler.cc (fhandler_base::fstat): Drop FH_FLOPPY case. + +2003-09-30 Corinna Vinschen + * fhandler.h (class fhandler_dev_raw): Add method fstat. * fhandler_raw.cc (fhandler_dev_raw::fstat): New method. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 34f4c53..07bcdc9 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -977,9 +977,6 @@ fhandler_base::fstat (struct __stat64 *buf) case FH_PIPER: buf->st_mode = S_IFIFO | STD_RBITS; break; - case FH_FLOPPY: - buf->st_mode = S_IFBLK | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH; - break; default: buf->st_mode = S_IFCHR | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH; break; -- cgit v1.1