remove extraneous read() that was screwing things up
authormarc <devnull@localhost>
Mon, 8 Jan 1996 07:10:32 +0000 (07:10 +0000)
committermarc <devnull@localhost>
Mon, 8 Jan 1996 07:10:32 +0000 (07:10 +0000)
CVS patchset: 159
CVS date: 1996/01/08 07:10:32

tools/rpmarchive.c

index 9c422a4..13d776d 100644 (file)
@@ -21,7 +21,6 @@ int main(int argc, char **argv)
        fd = open(argv[1], O_RDONLY, 0644);
     }
 
-    read(fd, &buffer, RPMLEAD_SIZE);
     readLead(fd, &lead);
     hd = readHeader(fd);