[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: gnetlist segmentation fault
On Sep 29, 2010, at 3:31 AM, Patrick Bernaud wrote:
> Hi John,
>
> John Doty writes:
>> [...]
>> This is a coding error somewhere. There should be nothing wrong with an empty string as an attribute: it's a perfectly good string.
>
> No, actually, an attribute is required to have a value,
There seems to be no good design reason for this restriction: an empty string is still a perfectly good string, just as zero is a perfectly good number.
> see
> documentation
Perhaps it would be better to remove this restriction from both the code and documentation. That would simplify the documentation, and possibly the code, too.
> (and code) for o_attrib_string_get_name_value() in
> libgeda/src/o_attrib.c.
>
> Regards,
>
>
> Patrick
>
>
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>
John Doty Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd@xxxxxxxxx
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user