Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site down.FUN Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!tilt!down!honey From: honey@down.FUN (Peter Honeyman) Newsgroups: net.unix-wizards Subject: Re: how safe is it to read/write with fopen'ed files? Message-ID: <581@down.FUN> Date: Thu, 5-Sep-85 21:30:41 EDT Article-I.D.: down.581 Posted: Thu Sep 5 21:30:41 1985 Date-Received: Sat, 7-Sep-85 04:49:54 EDT References: <4983@allegra.UUCP> Organization: CS Dept., Princeton University Lines: 10 note that the fread/frwite calls are to the file being transferred, not to the i/o channel. i applied this fix to e, x, d, and even g, i.e., to all the protocols, since they were all freading and fwriting in BUFSIZ units. i didn't bother to measure the speedup ... peter ps: it appears this observation was made independently and simultaneously by norman wilson and mike bianchi. obviously, an idea whose time had come.