]> granicus.if.org Git - procps-ng/commit
library: swat (now) obvious bug from PROCPS_PIDS_extra
authorJim Warner <james.warner@comcast.net>
Sun, 6 Sep 2015 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Mon, 7 Sep 2015 08:11:48 +0000 (18:11 +1000)
commitc39f4735c0ccde0d75daac76c7d9215e249fb518
tree66e8ebe6566dcfbe983b75c8d3eedeedaa1d8880
parent34395be330484999874f4478957e2dd143473fe7
library: swat (now) obvious bug from PROCPS_PIDS_extra

I can't remember during what sleepy hour that enum was
added to pids.h, but it damn sure fell short of a full
implementation by approximately 1,000,000 miles or so.

Strangely it surfaced on Craig's system seemingly ggdb
related whereas on mine, a segmentation fault was only
seen when that -h (no header) argument was being used.

Oh well, the road to its resolution also offered us an
opportunity to cleanup some other items along the way.

Reference(s):
http://www.freelists.org/post/procps/newlib-at-the-precipice,4

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/pids.c