emacs-devel
[Top][All Lists]
Advanced

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

Re: valgrind warnings [Re: Emacs bzr memory footprint]


From: Eli Zaretskii
Subject: Re: valgrind warnings [Re: Emacs bzr memory footprint]
Date: Fri, 28 Oct 2011 20:51:33 +0200

> Date: Fri, 28 Oct 2011 20:36:58 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> > From: Dan Nicolaescu <address@hidden>
> > Cc: address@hidden,  address@hidden
> > Date: Fri, 28 Oct 2011 12:34:07 -0400
> > 
> > A quick hack to initialize part with -42 and then abort if it's still -42 
> > before
> >  "part != ON_TEXT && part != ON_MODE_LINE && part != ON_HEADER_LINE"
> > does indeed call abort... 
> 
> That's okay because window_from_coordinates is explicitly documented
> to not touch "part" if the the position is not on any window.  Can you
> show me the exact code that you used for the above test?

I fixed the problem by having "part" initialized inside
note_mouse_highlight to begin with.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]