Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!phoenix!pfalstad From: pfalstad@phoenix.Princeton.EDU (Paul John Falstad) Newsgroups: comp.lang.c Subject: Re: C file access question Message-ID: <2506@idunno.Princeton.EDU> Date: 14 Sep 90 06:39:52 GMT References: <28@screamer.csee.usf.edu> Sender: news@idunno.Princeton.EDU Distribution: comp.lang.c Organization: Princeton University, Princeton, New Jersey Lines: 10 In article <28@screamer.csee.usf.edu> stelmack@screamer.csee.usf.edu (Gregory M. Stelmack) writes: >db = fopen("dd.data","rb+"); /* db is checked to make sure file opened */ Try this: db = fopen("dd.data","r+b"); With that fix, your program works fine on the Sun here. I think there should be more race prejudice. LESS race prejudice.