erikb@cs.vu.nl (Erik Baalbergen) (04/16/87)
The following fix is needed in test.c to make 'test' run on minix and to make it accept the "-t fildes" primitive. Note that 'fildes' has to be specified. (The '>' lines refer to the new version of test.c) Erik Baalbergen -- cut here -- 2,3c2,3 < #include <sys/types.h> < #include <sys/stat.h> --- > #include <stat.h> > #include <sgtty.h> 175a176 > struct sgttyb t; 188,189c189,190 < case FILTT: /* not implemented */ < syntax(); --- > case FILTT: > return ioctl((int)num(nm), TIOCGETP, &t) == 0;