long-option patch for kill.cc
Joshua Daniel Franklin
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 <firstname.lastname@example.org>
* 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!
More information about the Cygwin-patches