long-option patch for kill.cc

Joshua Daniel Franklin joshuadfranklin@yahoo.com
Mon Mar 11 18:09:00 GMT 2002


I apologize for my hasty Changelog.

I was suprised to find in the util-linux sources included with RH7.2
that kill.c is actually BSD-licenced. So any fears were unfounded. However,
the signals (for -l, --list) are indeed hard-coded, and options are handled
in the same basic way as this patch (not getopt), so I didn't really find what 
I was looking for.

This patch changes the option-handling in kill to use a switch instead
of if/else if/else clauses. It also enables basic long-option handling.

2001-03-11 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* kill.cc (main): Handle options in a switch. Add long-option for --force.



__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/



More information about the Cygwin-patches mailing list