Messages in this thread | | | Date | Fri, 19 Mar 1999 00:34:13 -0500 | From | Michael K Vance <> | Subject | [OT] Re: PROBLEM: Wrong entry in file '/proc/stat' causes 'kpm' (from KDE) to crash |
| |
Tom Eastep wrote:
> --- kdeutils-1.1/kpm/proc.C~ Tue Nov 10 12:41:05 1998 > +++ kdeutils-1.1/kpm/proc.C Sat Feb 20 08:59:45 1999 > @@ -59,8 +59,8 @@ > int Procinfo::readproc(int proc_pid) > { > char path[256]; > - char buf[256]; > - char sbuf[384]; // should be enough to acommodate /proc/X/stat > + char buf[1024]; > + char sbuf[1024]; // should be enough to acommodate /proc/X/stat > char cmdbuf[MAX_CMD_LEN];
Methinks this is the only patch fragment I've ever seen that qualifies as high brow satire ;).
m.
-- "We can deny everything, except that we have the possibility of being better. Simply reflect on that." -- His Holiness The Dalai Lama
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |