ast@cs.vu.nl (Andy Tanenbaum) (07/14/88)
: This is a shar archive. Extract with sh, not csh. : This archive ends with exit, so do not worry about trailing junk. : --------------------------- cut here -------------------------- PATH=/bin:/usr/bin:/usr/ucb echo Extracting 'LISTING' sed 's/^X//' > 'LISTING' << '+ END-OF-FILE ''LISTING' X-rw-r--r-- 1 ast 458 Jul 14 14:17 pipe.c.cdif + END-OF-FILE LISTING chmod 'u=rw,g=r,o=r' 'LISTING' set `wc -c 'LISTING'` count=$1 case $count in 57) :;; *) echo 'Bad character count in ''LISTING' >&2 echo 'Count should be 57' >&2 esac echo Extracting 'pipe.c.cdif' sed 's/^X//' > 'pipe.c.cdif' << '+ END-OF-FILE ''pipe.c.cdif' X*** /local/ast/minix/tape3a/fs/pipe.c Fri Jun 3 21:38:56 1988 X--- pipe.c Tue Jul 12 23:42:54 1988 X*************** X*** 245,250 **** X--- 245,251 ---- X dev = f->filp_ino->i_zone[0]; /* device on which proc is hanging */ X mess.TTY_LINE = (dev >> MINOR) & BYTE; X mess.PROC_NR = proc_nr; X+ mess.COUNT = f->filp_mode; /* tell kernel whether R or W */ X mess.m_type = CANCEL; X rw_dev(task, &mess); X revive(proc_nr, EINTR); /* signal interrupted call */ + END-OF-FILE pipe.c.cdif chmod 'u=rw,g=r,o=r' 'pipe.c.cdif' set `wc -c 'pipe.c.cdif'` count=$1 case $count in 458) :;; *) echo 'Bad character count in ''pipe.c.cdif' >&2 echo 'Count should be 458' >&2 esac exit 0