Accomodate all devices.
This commit is contained in:
parent
5bb22c6b1d
commit
db15b3e359
|
@ -1,6 +1,6 @@
|
|||
Sat Mar 17 00:05:36 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
Sat Mar 17 00:10:52 2001 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* syscalls.cc (stat_dev): Give devices full read/write.
|
||||
* syscalls.cc (stat_dev): Give devices full read/write by default.
|
||||
|
||||
Saturday Mar 17 3:45 2001 Robert Collins <rbtcollins@hotmail.com>
|
||||
|
||||
|
|
|
@ -1010,8 +1010,7 @@ stat_dev (DWORD devn, int unit, unsigned long ino, struct stat *buf)
|
|||
case FH_PIPER:
|
||||
buf->st_mode = STD_RBITS;
|
||||
break;
|
||||
case FH_CONIN:
|
||||
case FH_CONOUT:
|
||||
default:
|
||||
buf->st_mode = STD_RBITS | STD_WBITS | S_IWGRP | S_IWOTH;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue