diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-10-23 09:58:12 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-10-23 09:58:12 +0000 |
commit | 27f8495dd59a4d5827040ab599ef457ee9e21af6 (patch) | |
tree | 1ea54bc2d72b76be31078b1f673f4a1d2e2d8773 /winsup/cygwin/fhandler.cc | |
parent | 015566ed0021b719651461bc3b6c3b41d7426d83 (diff) | |
download | newlib-27f8495dd59a4d5827040ab599ef457ee9e21af6.zip newlib-27f8495dd59a4d5827040ab599ef457ee9e21af6.tar.gz newlib-27f8495dd59a4d5827040ab599ef457ee9e21af6.tar.bz2 |
* fhandler.cc (fhandler_base::fstat): Drop FH_FULL case to align
/dev/full permissions to Linux.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index cae50e5..2c41f31 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -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; |