not ppc64

This commit is contained in:
albert 2009-12-10 11:37:48 +00:00
parent 6154f23d5a
commit 93fd4a460e
2 changed files with 13 additions and 3 deletions

12
NEWS
View File

@ -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

4
top.c
View File

@ -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);
}