[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reproducible cygwin memory problems
From: |
Eli Zaretskii |
Subject: |
Re: reproducible cygwin memory problems |
Date: |
Wed, 09 Aug 2006 20:21:40 +0300 |
> From: "emacs user" <address@hidden>
> Cc: address@hidden
> Bcc:
> Date: Wed, 09 Aug 2006 00:37:21 -0400
>
> >First, the whole body of that function is inside an if clause; I'd
> >like to know whether the body is executed or the condition evaluates
> >to zero and the code is not run.
> >
> >Next, there's a call to free_image in a loop; I'd like to know whether
> >it is called, and how many times.
> >
> >Inserting the following line
> >
> > fprintf(stderr, "I am here\n");
> >
> >inside a code block will show whether that block is executed.
> >
> >Feel free to ask more questions if the above is not clear enough.
>
> adding these calls:
>
> DEFUN ("clear-image-cache", Fclear_image_cache, Sclear_image_cache,
Sorry, my bad: I meant clear_image_cache, not Fclear_image_cache. The
former is where the real work is being done, and the if and the loop I
described are there.
Re: reproducible cygwin memory problems, emacs user, 2006/08/08
Re: reproducible cygwin memory problems, emacs user, 2006/08/19