Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!sdcsvax!ucsdhub!esosun!seismo!uunet!mcvax!botter!ast From: ast@cs.vu.nl (Andy Tanenbaum) Newsgroups: comp.os.minix Subject: Fix for bug in fs/read.c Message-ID: <1831@botter.cs.vu.nl> Date: 22 Jan 88 16:29:51 GMT Reply-To: ast@cs.vu.nl (Andy Tanenbaum) Organization: VU Informatica, Amsterdam Lines: 11 The people working on the Atari port found a bug in fs/read.c. The test for block special files in done on line 9968 but not on 9963. It should be. Here is the fix: 220c220,221 < if(rw_flag == WRITING && off == 0 && position >= rip->i_size) n=NO_READ; --- > if(rw_flag == WRITING && !block_spec && > off == 0 && position >= rip->i_size) n=NO_READ; Andy Tanenbaum