[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: top problems



On Sun, Dec 07, 2003 at 11:06:34AM +0100, Stephen Reindl wrote:
> The problem in top is: uninitialized variables of the values to be read.
> The second patch in the issue above initializes the values before use.

Thank you!  I attached yet another patch which is functionally equivalent
but a little simpler -- just use calloc to get zeroed memory instead
of calling malloc and memset.

michaelkjohnson

 "He that composes himself is wiser than he that composes a book."
 Linux Application Development                     -- Ben Franklin
 http://people.redhat.com/johnsonm/lad/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]