* fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
correctly.
This commit is contained in:
parent
1570432db3
commit
5ef61dd044
|
@ -1,3 +1,8 @@
|
||||||
|
2007-06-12 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler.cc (fhandler_base::fstat): Set pipe permission bits more
|
||||||
|
correctly.
|
||||||
|
|
||||||
2007-06-11 Corinna Vinschen <corinna@vinschen.de>
|
2007-06-11 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygwin.din (confstr): Export.
|
* cygwin.din (confstr): Export.
|
||||||
|
|
|
@ -1127,13 +1127,13 @@ fhandler_base::fstat (struct __stat64 *buf)
|
||||||
switch (get_device ())
|
switch (get_device ())
|
||||||
{
|
{
|
||||||
case FH_PIPE:
|
case FH_PIPE:
|
||||||
buf->st_mode = S_IFIFO | STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
|
buf->st_mode = S_IFIFO | S_IRUSR | S_IWUSR;
|
||||||
break;
|
break;
|
||||||
case FH_PIPEW:
|
case FH_PIPEW:
|
||||||
buf->st_mode = S_IFIFO | STD_WBITS | S_IWGRP | S_IWOTH;
|
buf->st_mode = S_IFIFO | S_IWUSR;
|
||||||
break;
|
break;
|
||||||
case FH_PIPER:
|
case FH_PIPER:
|
||||||
buf->st_mode = S_IFIFO | STD_RBITS;
|
buf->st_mode = S_IFIFO | S_IRUSR;
|
||||||
break;
|
break;
|
||||||
case FH_FULL:
|
case FH_FULL:
|
||||||
buf->st_mode = S_IFCHR | S_IRUSR | S_IWUSR | S_IWGRP | S_IWOTH;
|
buf->st_mode = S_IFCHR | S_IRUSR | S_IWUSR | S_IWGRP | S_IWOTH;
|
||||||
|
|
Loading…
Reference in New Issue