On Thu, Mar 10, 2016 at 06:53:48PM +0000, Leonardo Taccari wrote: > Module Name: src > Committed By: leot > Date: Thu Mar 10 18:53:48 UTC 2016 > > Modified Files: > src/include: string.h > > Log Message: > strndup() is part of XSI from The Open Group Base Specification Issue 7 and > had > a similar history of stpcpy(), stpncpy() and strnlen(). > Make it visible under XOPEN_SOURCE>=700 too (not just _NETBSD_SOURCE).
Just for the future, the more important change is actually to put it under POSIX 2008, XSI is less interesting. Joerg