[45437] in Cypherpunks

home help back first fref pref prev next nref lref last post

Re: Secured RM ? (source)

daemon@ATHENA.MIT.EDU (Jack P. Starrantino)
Fri Dec 15 09:37:13 1995

From: jps@monad.semcor.com (Jack P. Starrantino)
To: cypherpunks@toad.com
Date: Fri, 15 Dec 1995 09:25:13 -0500 (EST)
In-Reply-To: <Pine.LNX.3.91.800121064335.1068A-100000@HellSpawn.gate.net> from "root" at Jan 21, 80 06:53:36 am

I don't think this will work. When you

> if ( (Pfp = fopen(Pfilename, "wb") ) == NULL)

the file will be truncated. Subsequent writes could be anywhere on the
platter; you're building a new file.

I think you can work this way if you open the file for read/write
access, although I'd be more inclined to take the file name into the
directory and then walk the inodes.

jps
-- 
Jack P. Starrantino     (215) 674-0200 (voice)
SEMCOR, Inc.            (215) 443-0474 (fax)
65 West Street Road     jps@semcor.com
Suite C-100
Warminster, PA 18974

home help back first fref pref prev next nref lref last post