Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!umd5!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: Truncating an open file under BSD 4.3 Message-ID: <12801@mimsy.UUCP> Date: 3 Aug 88 01:09:00 GMT References: <1392@valhalla.ee.rochester.edu> <12684@mimsy.UUCP> <26556@oliveb.olivetti.com> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 15 -In article <12684@mimsy.UUCP> I wrote that the sequence -> open -> write (moves seek pointer) -> ftruncate -> write ->will create holes, since the second `write' is not at the beginning In article <26556@oliveb.olivetti.com> jerry@olivey.olivetti.com (Jerry Aguirre) notes: -What is interesting is that even if the open file has been placed in -FAPPEND mode there will still be holes. I view this as a bug. Fixed in 4.3BSD-tahoe (if not earlier). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris