Path: utzoo!attcan!uunet!munnari.oz.au!metro!natmlab.dap.csiro.au!ditsydh.syd.dit.CSIRO.AU!evans From: evans@syd.dit.CSIRO.AU (Bruce.Evans) Newsgroups: comp.os.minix Subject: Re: readclock (v1.5.10) Keywords: broke, (unsigned), CPU_TYPE_SEGMENT Message-ID: <1990Oct7.065847.25156@syd.dit.CSIRO.AU> Date: 7 Oct 90 06:58:47 GMT References: <7373@umd5.umd.edu> Organization: CSIRO Division of Info Tech, Sydney, Australia Lines: 14 >MINIX crashes somewhere in port_out() when running in protected mode. Readclock should do a stat on /dev/port and complain and not proceed when /dev/port is a block device. >PS: not all the lseek()s in portio and peekpoke use SEEK_SET, some still > use a bare '0' as a parameter. For that matter, sometimes the > read() or write() count parameter isn't (size_t), but is (unsigned) I fixed this and another bug in version 1.x.y (x = 4 or 5) but the fix got overwritten by another version of the fix for the other bug in version 1.x.(y+1). Everyone was too tired for another round of trivial fixes. -- Bruce Evans evans@syd.dit.csiro.au