kernel and servers send diagnostic messages to IS; IS sends them to TTY
and the new log driver if enabled. new usyslogd is started from /usr/etc/rc. New device created by MAKEDEV.sh. /var/log created by etc/mtree/minix.tree (on root for now). Made select() slightly more generic, with less code duplication.
This commit is contained in:
@@ -23,6 +23,18 @@ int main(int argc, char *argv[]) {
|
||||
int i,j;
|
||||
|
||||
FD_ZERO(&fds);
|
||||
for (i=0;i<FD_SETSIZE;i++) {
|
||||
/* see if SET works */
|
||||
FD_SET(i, &fds);
|
||||
if(!FD_ISSET(i, &fds))
|
||||
return 1;
|
||||
}
|
||||
FD_ZERO(&fds);
|
||||
for (i=0;i<FD_SETSIZE;i++) {
|
||||
/* see if ZERO works */
|
||||
if(FD_ISSET(i, &fds))
|
||||
return 1;
|
||||
}
|
||||
for (i=0;i<FD_SETSIZE;i++) {
|
||||
FD_SET(i, &fds);
|
||||
for(j = 0; j <= i; j++)
|
||||
|
||||
Reference in New Issue
Block a user