-----Message d'origine----- De : gpc-owner@gnu.de [mailto:gpc-owner@gnu.de] De la part de Frank Heckenbach Envoyé : April 5, 2006 07:29 À : gpc@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