* fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align

/dev/full permissions to Linux.
This commit is contained in:
Corinna Vinschen 2013-10-23 09:58:12 +00:00
parent 015566ed00
commit 27f8495dd5
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2013-10-23 Corinna Vinschen <corinna@vinschen.de>
* fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
/dev/full permissions to Linux.
2013-10-22 Christopher Faylor <me.cygwin2013@cgf.cx>
* fhandler.h (fhandler_base::cleanup): Mark as extern rather than

View File

@ -1250,9 +1250,6 @@ fhandler_base::fstat (struct stat *buf)
case FH_PIPER:
buf->st_mode = S_IFIFO | S_IRUSR;
break;
case FH_FULL:
buf->st_mode = S_IFCHR | S_IRUSR | S_IWUSR | S_IWGRP | S_IWOTH;
break;
default:
buf->st_mode = S_IFCHR | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
break;