LWN.net Logo

Still no strlcpy and friends

Still no strlcpy and friends

Posted Mar 26, 2012 11:54 UTC (Mon) by jwakely (subscriber, #60262)
In reply to: Still no strlcpy and friends by pdewacht
Parent article: GNU libc 2.15 released

In glibc 2.15 gets() is not declared when compiling with _GNU_SOURCE, even if compiling as C90 or C99


(Log in to post comments)

Still no strlcpy and friends

Posted Mar 26, 2012 13:30 UTC (Mon) by nix (subscriber, #2304) [Link]

That would be glibc 2.16: 2.15 does have it, at least upstream 2.15 does. See also GCC PR51785 (he says, pointlessly because you already commented on it).

Still no strlcpy and friends

Posted Mar 26, 2012 14:28 UTC (Mon) by jwakely (subscriber, #60262) [Link]

I have, but apparently didn't read it closely enough to notice the change is not in 2.15 :) I assume the change went into git after the code was branched for last week's release then.

Still no strlcpy and friends

Posted Mar 28, 2012 18:22 UTC (Wed) by nix (subscriber, #2304) [Link]

Yeah, that branch happened months ago, but no actual official release was made from it until recently.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds