Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!jarthur!nntp-server.caltech.edu!tybalt.caltech.edu!toddpw From: toddpw@tybalt.caltech.edu (Todd P. Whitesel) Newsgroups: comp.sys.apple2 Subject: Re: GSOS Bug Message-ID: <1990Oct17.012227.14310@nntp-server.caltech.edu> Date: 17 Oct 90 01:22:27 GMT References: <16262.netnews.info-apple@pro-novapple> Sender: news@nntp-server.caltech.edu Organization: California Institute of Technology, Pasadena Lines: 18 Nntp-Posting-Host: tybalt.caltech.edu herwin@pro-novapple.cts.com (Harry Erwin) writes: >I've been running into a problem with the following sequence of actions: >1. seek to word zero. >2. write 28 bytes. >3. seek to word zero. >4. write a different 28 bytes. >5. close. >Afterwards, when I examine the file, I discover that the first write was done >but not the second. The code is SYS-V C and works on all the other machines >I've ported it to. What compiler and version are you using? I have a beta of ORCA/C whose fread and fwrite functions cause weird side effects. I have learned not to use them until I get the 1.1 update (assuming that fixes them). Todd Whitesel toddpw @ tybalt.caltech.edu