Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/pkill

Module Name:    src
Committed By:   christos
Date:           Tue Nov 20 22:52:02 UTC 2012

Modified Files:
        src/usr.bin/pkill: pkill.c

Log Message:
Don't use p_comm since it is only 16 characters long and you can find the
full argv[0]. It is just confusing to have a long command name, that ps
shows as the long command name, and then when you try to kill it using
the full command name as displayed you don't get a match. While there
fix a format nit, and remove the main() declaration.

To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/pkill/pkill.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index