Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2001 06:21:06 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        Stephen Montgomery-Smith <stephen@math.missouri.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: killall longprocname
Message-ID:  <20010904062104.A1379@hades.hell.gr>
In-Reply-To: <3B942749.9E172F45@math.missouri.edu>; from stephen@math.missouri.edu on Mon, Sep 03, 2001 at 07:58:49PM -0500
References:  <3B93EF80.37F0670A@math.missouri.edu> <20010904010327.A4436@hades.hell.gr> <3B942749.9E172F45@math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Stephen Montgomery-Smith <stephen@math.missouri.edu>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010904062104.A1379>