cvs commit: src/usr.bin/pkill pkill.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Nov 16 03:03:00 PST 2005
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
More information about the cvs-all
mailing list