Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!bellcore!decvax!genrad!panda!talcott!harvard!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.wanted.sources Subject: Re: AT&T's cpio running on 4.2BSD Message-ID: <525@rlgvax.UUCP> Date: Thu, 28-Feb-85 04:44:01 EST Article-I.D.: rlgvax.525 Posted: Thu Feb 28 04:44:01 1985 Date-Received: Sat, 2-Mar-85 04:20:15 EST References: <230@bgsuvax.UUCP> <770@ukma.UUCP> <23@axiom.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 13 > It almost works on 4.1-2. There are 2 problems. Three, really: the guy who wrote it "knew" that the st_atime and st_mtime fields of the "stat" structure were contiguous, so they passed a pointer to the "st_atime" field to "utime". Well, guess what? They're *not* contiguous in 4.2 (and, if you read the S3/S5 manual, nowhere does it commit to them being contiguous; they went out of their way not to commit to anything about the layout of the "stat" structure). "pack"/"unpack" and "file" suffer from the same deficiency. Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy