1 --- procps-3.2.5/top.c.rc 2005-06-28 22:36:24.000000000 +0200
2 +++ procps-3.2.5/top.c 2005-06-28 22:40:27.000000000 +0200
6 for (i = 0; i < GROUPSMAX; i++) {
7 - win_names(&Winstk[i], Winstk[i].rc.winname);
8 + /* Please, never use something like sprintf(x, "%s", x); ... see win_names() */
10 + strncpy(buf, Winstk[i].rc.winname, WINNAMSIZ);
11 + win_names(&Winstk[i], buf);
14 // rely on this next guy to force a call (eventually) to reframewins