[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Removing My* memory alllocation functions



On Thu, Dec 9, 2010 at 5:52 AM, DJ Delorie <dj@xxxxxxxxxxx> wrote:
>
>> Yes, it will be fine. A pad must always have a valid number.
>
> Um, no?
>
>> Oh yes, my mistake - I forgot that there are two calls on adjacent
>> lines.  strdup (Number) should be fine as a pin must always have a
>> number.
>
> Again... Um, no?
>
> Or do you mean a non-NULL number?

I mean a non-NULL number.

> There's no reason to require a non-empty string as a pin/pad number.

OK.
What about my assumption that all pads and pins must have a non-NULL number ?
If that isn't the case I'll need to redo some of my thinking about the
changes to MyStrdup()

Cheers,
Stephen


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user