Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-18Cygwin: utils: kill: revert erroneously removed optind correctionCorinna Vinschen
When recognizing a negative pid, optind is off by one. The code correcting this has been erroneously removed by commit 8de660271fe75a6993f1c9888d24b824bb7f999d. Revert that. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-02-02Cygwin: fix typoCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-02-02Cygwin: kill(1): introduce a -W optionCorinna Vinschen
Allow to kill processes using Windows PIDs on the command line. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-02-02Cygwin: kill(1): revert casts required for 32 bit to avoid spurious warningsCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-02-02Cygwin: kill(1): disallow killing process using raw Windows PIDCorinna Vinschen
This may end up killing the wrong process. Only allow Cygwin PID. Slightly clean up code: Remove outdated W95 considerations. Fix a bug in commandline argument processing. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-11-24Fix typo in kill(1)Corinna Vinschen
buf is just a local buffer, sig is ultimately pointing to the signal string. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-06-23Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout optioncygwin-2_5_2-releaseCorinna Vinschen
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause. Everything else stays under GPLv3+. New Linking Exception exempts resulting executables from LGPLv3 section 4. Add CONTRIBUTORS file to keep track of licensing. Remove 'Copyright Red Hat Inc' comments. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-11-27Fix SEGV of kill -l 0Michael Kwasigroch
* kill.cc (strsigno): Don't call sys_sigabbrev for signal 0. (listsig): Don't call strsigno for signal 0. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2013-04-23 * Merge in cygwin-64bit-branch.Corinna Vinschen
2013-01-21Update copyrightsChristopher Faylor
2011-12-18Clean up whitespace.Christopher Faylor
2011-10-10 * Align usage output, version output, as well as usage and versionCorinna Vinschen
option handling to use the same style throughout all Cygwin utils. Throughout use program_invocation_short_name to refer to current process name in Cygwin executables. * utils.sgml: Align documentation to above change. Add missing sections for getconf, ldd, and setmetamode. * strace.cc (proc_child): Avoid compiler warning.
2009-10-12 * kill.cc (main): Skip to PID loop on invalid option to handleCorinna Vinschen
negative pids there.
2007-07-10* cygwin/strsig.cc (__signals): New macro.Christopher Faylor
(sys_sigabbrev): New array of signal strings, patterned after linux. (siglist): Use __signals. * cygwin/include/cygwin/signal.h (sys_sigabbrev): Define. * cygwin/include/cygwin/version.h: Bump API minor version to 177. * utils/Makefile.in (kill.exe): Remove reliance on libiberty. * utils/kill.cc (strsigno): New function patterned after libiberty but using newly exported cygwin array.
2005-03-08* kill.cc (getsig): Rectify bug introduced by 2005-02-26 change. Don't padChristopher Faylor
signal name with spaces.
2005-02-27* kill (getsig): Avoid buffer overflow when generating a signal name.Christopher Faylor
* strace.cc (handle_output_debug_string): Make error a little more specific.
2004-11-132004-11-13 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet
* kill.cc (forcekill): Do not pass negative pids to cygwin_internal. Check if sig == 0. Improve error messages. (main): Make pid a long long and distinguish between pids, gpids (i.e. negative pids) and Win9x pids.
2004-05-27* kill.cc (listsig): NSIG includes Signal 0, so we need to avoid callingChristopher Faylor
strtosigno with NSIG - 1.
2004-03-13 * kill.cc (get_debug_priv): New function.Corinna Vinschen
(forcekill): Call get_debug_priv before trying to kill process.
2003-09-21* kill.cc (main): Allow negative pids (indicates process groups).Christopher Faylor
2003-09-18* parse_pe.cc (exclusion::sort_and_check): Make error message a little moreChristopher Faylor
explicit and ignore (hopefully) harmless region overlap.
2003-09-13* kill.c (forcekill): Wait for process to terminate even if TerminateProcessChristopher Faylor
says it failed.
2003-09-01* kill.cc (forcekill): Silence some compiler warnings.Christopher Faylor
2003-09-01* Makefile.in: Display "..." when not-verbose.Christopher Faylor
* kill.cc (forcekill): Default to entered pid when pinfo fails. Issue some warnings when things don't work.
2003-04-27* cygcheck.cc (usage) Add description output.Joshua Daniel Franklin
2002-09-15Add final newlines to utilsJoshua Daniel Franklin
2002-05-14* kill.cc (prog_name) New global variable.Christopher Faylor
(usage) Standardize usage output. Add descriptions. (print_version) New function. (longopts) Accomodate new version option. (opts) Ditto. (main) Ditto.
2002-05-13* kill.cc (listsig): Display numeric id when given symbolic input.Christopher Faylor
2002-05-13* kill.cc (usage): Show new options. Allow specification of output stream.Christopher Faylor
(main): Implement 'h' option.
2002-05-13* Makefile.in (kill.exe): Add as a specific target.Christopher Faylor
* kill.cc (longopts): New. (opts): Ditto. (get_sig): Accept const char * parameter. Return -1 on unknown signal. (test_for_unknown_sig): New function. (listsig): New function. (main): Use getopt_long for option parsing. Implement -l, and -s options. Use test_for_unknown_sig() to test for signal validity.
2002-03-11* kill.cc (usage): Move to top of file.Christopher Faylor
(getsig): Ditto. (forcekill): Ditto.
2001-10-08* kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup.Christopher Faylor
2001-03-18Update copyright.Christopher Faylor
2001-03-18* kill.cc (forcekill): Use dwProcessId when opening a process, not the CygwinChristopher Faylor
pid.
2000-11-02 * kill.cc (main): Return 1 in case of errors.Corinna Vinschen
2000-10-09* ps.cc (main): Change order of reporting slightly so that windows pids areChristopher Faylor
more obvious. * strace.cc (add_child): Just add child's pid directly. (remove_child): No need to close the child process pid since ContinueDebugEvent does that automatically. (proc_child): Ditto for child thread.
2000-09-13* kill.cc (main): Change behavior of -f so that it will force the killing of aChristopher Faylor
cygwin process after waiting 2 tenths of a second for it to terminate. (forcekill): Add an extra argument determining whether to wait for the process to exit.
2000-08-29* kill.c (main): Avoid skipping next argument when a signal number isChristopher Faylor
specified. * Makefile.in: Always clean dumper.exe.
2000-08-24* Makefile.in: Add dumper.exe target and associated mechanisms for building it.Christopher Faylor
* dumper.cc: New file. * dumper.h: New file. * module_info.cc: New file. * parse_pe.cc: New file.
2000-07-29* kill.cc (main): Add '-f' option to force termination of a process.Christopher Faylor
(forcekill): New function. * ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids. (dummyprocessmodules): New function. (GetModuleFileNameEx95): New function. (init_win): New function. (to_time_t): New function.
2000-02-17import winsup-2000-02-17 snapshotChristopher Faylor