From 883c5345d4a806fbea7c7a01ef3e9548874de85b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 30 Sep 2003 21:46:08 +0000 Subject: [PATCH] * 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 c28841eb9..60e5261b0 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 34f4c531e..07bcdc94f 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;