This commit is contained in:
albert 2003-02-12 08:15:53 +00:00
parent 27ed270851
commit f082411c7d
3 changed files with 6 additions and 2 deletions

2
NEWS
View File

@ -2,7 +2,7 @@ procps-3.1.5 --> procps-3.1.6
top: memory leak fixed
ps: new --ppid option selects by PPID
watch: new --no-title option
watch: new --no-title option #179862
handle SPARC Linux badness
rare crash fixed
compile with gcc 2.91.xx again

View File

@ -156,6 +156,10 @@ static void status2proc(const char *S, proc_t *restrict P){
P->vm_lib = 0;
}
// 2.1 SigPnd SigBlk SigIgn SigCat ("SigCat")
// other SigPnd SigBlk SigIgn SigCgt
// 2.5+ SigPnd ShdPnd SigBlk SigIgn SigCgt
tmp = strstr (S,"SigPnd:");
if(likely(tmp)) sscanf (tmp,
#ifdef SIGNAL_STRING

2
top.c
View File

@ -17,7 +17,7 @@
* Albert D. Cahalan, <albert@users.sf.net>
* Craig Small, <csmall@small.dropbear.id.au>
*
* Changes by Albert Cahalan, 2002.
* Changes by Albert Cahalan, 2002-2003.
*/
#include <sys/ioctl.h>
#include <sys/resource.h>