diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-09-30 21:46:08 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-09-30 21:46:08 +0000 |
commit | 883c5345d4a806fbea7c7a01ef3e9548874de85b (patch) | |
tree | 7ce4006b9165d1ad322e3e81d0f93734b731ac85 | |
parent | a4b25e31cae7d5af653f3fee3d0e605f6d550598 (diff) | |
download | newlib-883c5345d4a806fbea7c7a01ef3e9548874de85b.zip newlib-883c5345d4a806fbea7c7a01ef3e9548874de85b.tar.gz newlib-883c5345d4a806fbea7c7a01ef3e9548874de85b.tar.bz2 |
* fhandler.cc (fhandler_base::fstat): Drop FH_FLOPPY case.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <corinna@vinschen.de> + * fhandler.cc (fhandler_base::fstat): Drop FH_FLOPPY case. + +2003-09-30 Corinna Vinschen <corinna@vinschen.de> + * 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; |