An other gdb useful patch
Pascal Viandier
pascal at accovia.com
Wed Apr 5 14:29:53 CEST 2006
> -----Message d'origine-----
> De : gpc-owner at gnu.de [mailto:gpc-owner at gnu.de] De la part de Frank Heckenbach
> Envoyé : April 5, 2006 07:29
> À : gpc at gnu.de
> Objet : Re: An other gdb useful patch
>
> Peter N Lewis wrote:
>
> > At 9:54 -0400 4/4/06, Pascal Viandier wrote:
> > >Your suggestion (Frank) to check the value of the Capacity is
> > >excellent. I will add the check (>= 0) in the patch.
> >
> > Someone correct me if I'm wrong, but I believe the capacity for a
> > string must be strictly greater than 0 to be valid.
>
> Right, Length >= 0, but Capacity > 0.
>
So I did in the patch (Capacity > 0). It was a typo in my e-mail, not in the
patch ;-)
Regards
Pascal
More information about the Gpc
mailing list