This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [open-source] Re: Wish for 2002 ...
> And if you want concatenate three, four or more strings,
> you will produce another and another variants of strdup${n}()?
> Or simply call asprintf() with loss in efficiency, but quire more
> advantage in human readability?
In GNU software, if I know I'll be building up large strings out of
small pieces, I'd use obstacks. They are already in -liberty, so they
are ready to use. They are secure, also.
Regards,
Martin