Date: Thu, 26 Feb 2009 18:01:07 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/ps extern.h keyword.c print.c Message-ID: <200902261801.n1QI19iH014564@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2009-02-26 18:01:07 UTC
FreeBSD src repository
Modified files:
bin/ps extern.h keyword.c print.c
Log:
SVN rev 189078 on 2009-02-26 18:01:07Z by attilio
[1] When showing threads, the thread name just appears if the comm
label is choosen as last printout (ucomm suffers of this such bug
too). That bug is caused by the fact that the fixed size of
printout doesn't leave enough space for them to be printed out.
Implement ucomm and comm commands with a dynamic size lenght for
buffers.
[2] On AMD64 architecture pointers don't have enough chars space to
be shown (8 chars while they need 16). Fix them by providing
a variadic space so that it fits well on both 64 and 32 bits
architectures.
[3] Check a return value of malloc() that wasn't checked before.
PR: bin/128841, bin/128842
Reviewed by: jhb, emaste
Sponsored by: Sandvine Incorporated
Revision Changes Path
1.39 +1 -0 src/bin/ps/extern.h
1.79 +12 -9 src/bin/ps/keyword.c
1.98 +24 -2 src/bin/ps/print.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902261801.n1QI19iH014564>
