Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.bugs.sys5 Subject: SVR2.1, DMD SGS "strip" bug Message-ID: <5411@brl-smoke.ARPA> Date: Tue, 25-Nov-86 17:11:01 EST Article-I.D.: brl-smok.5411 Posted: Tue Nov 25 17:11:01 1986 Date-Received: Wed, 26-Nov-86 19:55:20 EST Distribution: net Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 23 Here is my attempt to fix the "strip" bug reported in the UNIX System V Known Problem List as Problem ID 474. I don't much use this command, but I'm fairly sure this bug fix will work. (The symptom was that "strip" couldn't strip more than 17 files at one time, assuming MAX_OPEN or equivalent is 20.) The following is from the DMD SGS Release 1.3; your COFF "strip" may differ slightly. Source file name "main.c": ... /* The SDS/UNIX Strip Command (a.k.a. b16strip or n3bstrip) ... } else { /* not an archive */ process(*argv); } /* DAG -- added to fix bug reported as KPL 474: */ ldaclose(ldptr); } } else { fprintf(stderr, "%sstrip: %s: cannot open\n", SGS, *argv); } /* if ! ldopen */ ... /* * static char ID[] = "@(#) main.c: 1.2 1/22/82"; */