This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
long-option patch for kill.cc
- From: Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 11 Mar 2002 18:08:33 -0800 (PST)
- Subject: long-option patch for kill.cc
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/