From owner-freebsd-questions Mon Sep 3 20:21:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 14E3837B403 for ; Mon, 3 Sep 2001 20:21:19 -0700 (PDT) Received: from hades.hell.gr (patr530-b067.otenet.gr [195.167.121.195]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f843LAA16569; Tue, 4 Sep 2001 06:21:11 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f843LEr01422; Tue, 4 Sep 2001 06:21:15 +0300 (EEST) (envelope-from charon@labs.gr) Date: Tue, 4 Sep 2001 06:21:06 +0300 From: Giorgos Keramidas To: Stephen Montgomery-Smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: killall longprocname Message-ID: <20010904062104.A1379@hades.hell.gr> References: <3B93EF80.37F0670A@math.missouri.edu> <20010904010327.A4436@hades.hell.gr> <3B942749.9E172F45@math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B942749.9E172F45@math.missouri.edu>; from stephen@math.missouri.edu on Mon, Sep 03, 2001 at 07:58:49PM -0500 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Stephen Montgomery-Smith Subject: Re: killall longprocname Date: Mon, Sep 03, 2001 at 07:58:49PM -0500 > Don't be too hasty to submit a PR. The code in 4.4-STABLE looks like > > regfree(&rgx); > } else { > if (strcmp(thiscmd, cmd) != 0) > matched = 0; > } > > suggesting that this "bug" may have been fixed in 5.0-CURRENT (really a > strncmp would be the obvious way to fix the above code). So you should > first check to see if in CURRENT that > killall abcdefghijklmnopqrstuvwxyz > would work. Of course so would > killall abcdefghijklmnopqraaaaaaaa > so there should still be an addition to the man page to explain this. Yes, forgive my hastiness in writing the previous mail. I meant a PR that adds to the manpage what I described :-/ -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message