* fhandler.cc (fhandler_base::fstat): Drop FH_FLOPPY case.

This commit is contained in:
Corinna Vinschen 2003-09-30 21:46:08 +00:00
parent a4b25e31ca
commit 883c5345d4
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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> 2003-09-30 Corinna Vinschen <corinna@vinschen.de>
* fhandler.h (class fhandler_dev_raw): Add method fstat. * fhandler.h (class fhandler_dev_raw): Add method fstat.

View File

@ -977,9 +977,6 @@ fhandler_base::fstat (struct __stat64 *buf)
case FH_PIPER: case FH_PIPER:
buf->st_mode = S_IFIFO | STD_RBITS; buf->st_mode = S_IFIFO | STD_RBITS;
break; break;
case FH_FLOPPY:
buf->st_mode = S_IFBLK | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
break;
default: default:
buf->st_mode = S_IFCHR | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH; buf->st_mode = S_IFCHR | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
break; break;