Bug#294635: patch with a fix

2006-09-27 Thread Bernd Eckenfels
On Wed, Sep 27, 2006 at 11:16:43PM +0200, Bernd Eckenfels wrote: > On Mon, Sep 25, 2006 at 02:43:43AM +0200, Tommy Pettersson wrote: > > - unsigned int nread, pid, lo, hi, offs; unsigned long inode; char *p; > > + int nread; pid_t pid; size_t lo, hi, offs; ino_t inode; char *p; > > here you do n

Bug#294635: patch with a fix

2006-09-27 Thread Bernd Eckenfels
Hello, thanks for that, but I have a question for an part i do not understand: On Mon, Sep 25, 2006 at 02:43:43AM +0200, Tommy Pettersson wrote: > - unsigned int nread, pid, lo, hi, offs; unsigned long inode; char *p; > + int nread; pid_t pid; size_t lo, hi, offs; ino_t inode; char *p; here yo

Bug#294635: patch with a fix

2006-09-24 Thread Tommy Pettersson
tags 294635 + patch quit I have a fix for #294635 (and #279117 which are the same bug). I don't know why this patch works, or rather I don't understand how memstat could work at all before. :-) The "problem" was that lo and hi addresses (and offsets) in /proc//maps were read and stored in unsig