Date: Wed, 16 Nov 2005 11:03:00 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/pkill pkill.c Message-ID: <200511161103.jAGB30d4062758@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-11-16 11:03:00 UTC
FreeBSD src repository
Modified files:
usr.bin/pkill pkill.c
Log:
Sync as close as possible with NetBSD.
This includes fixes and cleanups listed below:
- If a process dissappears while we are signalling it, don't count it as a
match/error.
- Better handling of errors and messages.
- Downgrade failure to kill(2) (other than ESRCH) from fatal error to a
warning; otherwise processing aborts and possibly matching killees would
remain unsignalled. This makes pkill match the Solaris behavior.
- Exit with 2 on usage errors as documented.
Obtained from: NetBSD
Glanced at by: maintainer (gad) [a bit different version of this patch]
Revision Changes Path
1.30 +115 -92 src/usr.bin/pkill/pkill.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511161103.jAGB30d4062758>
