summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralbert <>2009-12-10 11:37:48 +0000
committeralbert <>2009-12-10 11:37:48 +0000
commit93fd4a460ef250d75f8ce164ac50b147ce8bb7ee (patch)
treec7eac0a6415a8227dfaa2f9a972517c9a71c97ff
parent6154f23d5ab89081742e939b695ae2af79ae018c (diff)
downloadprocps-ng-93fd4a460ef250d75f8ce164ac50b147ce8bb7ee.tar.gz
not ppc64
-rw-r--r--NEWS12
-rw-r--r--top.c4
2 files changed, 13 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index c96d94e..e51c91d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,14 +1,22 @@
+procps-3.2.8 --> procps-3.2.9
+
+top: fix an aliasing problem -- thanks David Owen
+
procps-3.2.7 --> procps-3.2.8
ps: allow "+" in sort specifications, as in man page rh208217
-ps: document SCHED_BATCH and add "see also" for stime
+ps: recognize SCHED_ISO and SCHED_IDLE
+ps: document SCHED_BATCH and add a "see also" for stime
ps: man page less ambiguous
-top: normal exit code should be 0 #341272 #354255 rh199174
+top: normal exit code should be 0 #341272 #354255 rh199174 suse493210
+top: misc fixes
pgrep: usage error should exit with 2 #413383
vmstat: use EXIT_FAILURE -- thanks Yoshio Nakamura #425492
sysctl: fix crash -- thanks Steinar Gunderson #423704
watch: tolerate umlauts #207103
+pmap: range limits with -A low,high
update /dev/tty* info to May 2009 devices.txt
+don't read off end of string const rh469495 rh498182
procps-3.2.6 --> procps-3.2.7
diff --git a/top.c b/top.c
index e384ed6..b3f69d7 100644
--- a/top.c
+++ b/top.c
@@ -2190,7 +2190,9 @@ static void reframewins (void)
// Value a window's name and make the associated group name.
static void win_names (WIN_t *q, const char *name)
{
- if(q->rc.winname != name) // src==dst is illegal, failing on ppc64
+ // Note that src==dst is illegal in sprintf.
+ // Failure: amd64, glibc 2.9-20081201, gcc 4.3.4
+ if(q->rc.winname != name)
sprintf(q->rc.winname, "%.*s", WINNAMSIZ -1, name);
sprintf(q->grpname, "%d:%.*s", q->winnum, WINNAMSIZ -1, name);
}