Accomodate all devices.

This commit is contained in:
Christopher Faylor 2001-03-17 05:11:20 +00:00
parent 5bb22c6b1d
commit db15b3e359
2 changed files with 3 additions and 4 deletions

View File

@ -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>

View File

@ -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;
}