Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!seismo!mcvax!ukc!reading!onion!minster!martin From: martin@minster.UUCP Newsgroups: comp.os.minix Subject: Bug in ar.c, and the fix Message-ID: <543631312.5311@minster.UUCP> Date: Tue, 24-Mar-87 19:41:52 EST Article-I.D.: minster.543631312.5311 Posted: Tue Mar 24 19:41:52 1987 Date-Received: Sat, 28-Mar-87 17:19:21 EST Organization: Department of Computer Science, University of York, England Lines: 18 Ar(1) refuses to extract a file from an archive which it cannot open for writing, with the message `can't create '. This can be fixed by changing line 244 from ar_fd = open_archive(argv[2], (show_fl || pr_fl) ? READ : APPEND); to ar_fd = open_archive(argv[2], (show_fl || ex_fl || pr_fl) ? READ : APPEND); Martin usenet: mcvax!ukc!minster!martin surface: Martin C. Atkins Department of Computer Science University of York Heslington York Y01 5DD ENGLAND