Roland McGrath, le Fri 01 Mar 2013 09:39:17 -0800, a écrit :
> > I agree. I've worked on a patch, pushed to topgit for later submission.
> 
> I hope you did it by adding a common helper function

I didn't bother, but I can indeed, probably to
glibc/include/sys/socket.h, or some other file?

> (or perhaps it needs to be macro declaring a local VLA)

I rather used strndupa, provided by glibc/include/string.h as a macro
using __builtin_alloca.

Samuel

Reply via email to