This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: killall utility


On Wed, 2 Jul 2003, Corinna Vinschen wrote:

> On Wed, Jul 02, 2003 at 11:47:04AM +0100, Elfyn McBratney wrote:
> > Hi,
> >
> > I have written a killall utility based on the code already in utils/kill.cc .
> > Would this make a worthy addition to Cygwin? If so, there's a bit of code
> > duplication, so maybe moving the generic code into a file called `sigutil.cc' or
> > something would be sufficient, having kill{,all}.exe depending on `sigutil.o'.
> >
> > Any ideas bofore I submit a patch?
>
> Except for "go ahead"?  No.

Cool. Thinking about it more, it might also be a good idea to do the same with
the process enumeration code in ps.cc to cut-down on duplication.

Elfyn
-- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]