Upstream changes:
* Revision 2.36 2013-04-12 11:47:03+02 fred
* Some processes like apache under a recent Linux were listed with UID
* root instead of the correct UID, as they use setuid(). We now read the
* UID from the owner of /proc/PID instead of /proc/PID/stat, as this
* seems to be updated correctly. Thanks to Tom Schmidt
* <tschmidt AT micron.com> for pointing out this bug.
*
* Revision 2.35 2013-02-28 08:33:02+01 fred
* Added Stan Sieler's fix to my adaption of snprintf fix by Stan Sieler :-)
*
* Revision 2.34 2013-02-27 16:57:25+01 fred
* Added snprintf fix by Stan Sieler
(on DragonFly).
Fix DragonFly support.
This is for PR #35832. Thank you, fuyuki, for the patch.
I didn't commit the other bug fix, because it was already fixed
(even though I didn't see in the change log at end of source).
Pkgsrc changes:
- Added support for installation to DESTDIR.
Changes since version 2.27:
===========================
* Revision 2.32 2007-10-26 21:39:50+02 fred
* Added option -l provided by Michael E. White <mewhite AT us.ibm.com>
* Revision 2.31 2007-06-08 17:45:23+02 fred
* Fixed problem with users with long login name (Reported by Oleg A. Mamontov)
* Revision 2.30 2007-05-10 23:13:04+02 fred
* *** empty log message ***
* Revision 2.29 2007-05-10 22:37:13+02 fred
* Added fix for Solaris Zone and bug fix from Philippe Torche
* Revision 2.28 2007-05-10 22:01:07+02 fred
* Added new determination of window width
* Revision 2.27 2005-04-08 22:08:45+02 fred
Also accept PPID==1 if nothing else is found. Should fix problem with
FreeBSD and security.bsd.see_other_uids=0.
* Revision 2.26 2004-10-15 13:59:03+02 fred
Fixed small bug with char/int variable c
reported by Tomas Dvorak <tomas_dvorak AT mailcan.com>
* Revision 2.25 2004-05-14 16:41:39+02 fred
Added workaround for spurious blank lines in ps output under AIX 5.2
reported by Dean Rowswell <rowswell AT ca.ibm.com>
* Revision 2.24 2004-04-14 09:10:29+02 fred
*** empty log message ***
* Revision 2.23 2004-02-16 10:55:20+01 fred
Fix for zombies (pid == 0) under FreeBSD
* Revision 2.22 2003-12-12 10:58:46+01 fred
Added support for TRU64 v5.1b TruCluster
* Revision 2.21 2003-10-06 13:55:47+02 fred
Fixed SEGV under Linux when process table changes during run
* Revision 2.20 2003-07-09 20:07:29+02 fred
cosmetic
(Hint for updaters: the ChangeLog is at the bottom of the source file.)