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]

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/


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