public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] kill: modernization after undeprecation
@ 2013-03-07 23:27 Sami Kerola
  2013-03-07 23:27 ` [PATCH 1/7] kill: add long options Sami Kerola
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Sami Kerola @ 2013-03-07 23:27 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

Hi Karel, et.al.,

Here are few patches to kill which was undeprecated late last year, see
commit 32fca0e9c49599667d19f157fade6fa46908271a.  I had a look of the
command and decided it should get the same usage(), coding style, etc,
fixes that are done to other commands earlier.

The only notable change in this series is second last patch which will
make kill to use pid_t.  I am sure that is better than having int
representing pids, altough int might often work.  The patch also makes
some pid_t's to be casted long which may be a bit overkill.  Perhaps it
is better to grant enough head room to pid space than cry when type wrap
results to kill of arbitrary process(es).


The following changes since commit 02658d9bb56976b462724b306e9e1f4385ef4b93:

  tests: make utmpdump TZ independent (2013-03-04 13:10:09 +0100)

are available in the git repository at:

  git://github.com/kerolasa/lelux-utiliteetit.git 2013wk09

for you to fetch changes up to 4f6dba8146a461dee9e62b5cf5ff62425ad01681:

  docs: add long options and tidy up kill.1 (2013-03-07 23:08:53 +0000)

----------------------------------------------------------------
Sami Kerola (7):
      kill: add long options
      kill: align with howto-usage-function.txt
      kill: use libc error printing facilities and exit values
      kill, procs: fix coding style
      kill, procs: move function declarations to kill.h
      kill, procs: use pid_t for pids
      docs: add long options and tidy up kill.1

 misc-utils/kill.1  |  88 ++++++-----
 misc-utils/kill.c  | 442 ++++++++++++++++++++++++++---------------------------
 misc-utils/kill.h  |   8 +-
 misc-utils/procs.c | 170 +++++++++++----------
 4 files changed, 360 insertions(+), 348 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-12 14:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07 23:27 [PATCH 0/7] kill: modernization after undeprecation Sami Kerola
2013-03-07 23:27 ` [PATCH 1/7] kill: add long options Sami Kerola
2013-03-07 23:27 ` [PATCH 2/7] kill: align with howto-usage-function.txt Sami Kerola
2013-03-07 23:27 ` [PATCH 3/7] kill: use libc error printing facilities and exit values Sami Kerola
2013-03-07 23:27 ` [PATCH 4/7] kill, procs: fix coding style Sami Kerola
2013-03-07 23:27 ` [PATCH 5/7] kill, procs: move function declarations to kill.h Sami Kerola
2013-03-07 23:27 ` [PATCH 6/7] kill, procs: use pid_t for pids Sami Kerola
2013-03-07 23:27 ` [PATCH 7/7] docs: add long options and tidy up kill.1 Sami Kerola
2013-03-12 14:29 ` [PATCH 0/7] kill: modernization after undeprecation Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox