Thomas Preud'homme wrote:
What do you think of this patch? I tried with my example and yours but I'm
afraid of breaking things now so I prefer to attach it here.
The problem with examples is that they can show bugs that exist, but
not really the absence of bugs. To test such feature I'd rather
Le mardi 20 mars 2012 10:42:25, grischka a écrit :
> Thomas Preud'homme wrote:
> > What do you think of this patch? I tried with my example and yours but
> > I'm afraid of breaking things now so I prefer to attach it here.
>
> The problem with examples is that they can show bugs that exist, but
>
Thomas Preud'homme wrote:
The problem with examples is that they can show bugs that exist, but
not really the absence of bugs. To test such feature I'd rather use
some printf here or there.
And valgrind to test you don't free too early.
The "free too early" bug wasn't really your fault but a
Le mardi 20 mars 2012 12:44:25, grischka a écrit :
> Thomas Preud'homme wrote:
> >> The problem with examples is that they can show bugs that exist, but
> >> not really the absence of bugs. To test such feature I'd rather use
> >> some printf here or there.
> >
> > And valgrind to test you don't
Le mardi 20 mars 2012 10:42:25, grischka a écrit :
> Thomas Preud'homme wrote:
> > What do you think of this patch? I tried with my example and yours but
> > I'm afraid of breaking things now so I prefer to attach it here.
>
> The problem with examples is that they can show bugs that exist, but
>