> From: Jeremy Huddleston <[email protected]> > Date: Mon, 24 Oct 2011 19:41:00 -0700 > > On Oct 24, 2011, at 7:05 PM, Keith Packard wrote: > > > And, do we allow the use of > > strndup in the server? > > Alan just asked that a few days ago ;). > > I wouldn't be against using strndup, but there would need to be an > in-tree implementation provided for systems that lack it (like OSX > 10.6 and prior) since it was introduced to POSIX in SUSv4, and our > minimum requirement is Unix98. I'd be in support of bumping that to > SUSv3, but not yet SUSv4 since there isn't even a conformance suite > for it yet.
s/SUSv3/POSIX:2004/ and s/SUSv4/POSIX:2008/? SUS includes SystemV-specific interfaces on top of POSIX that are not generally available on BSDs (including probably OSX). Those should not become mandatory. And I agree that it is too early to start relying on POSIX:2008; I don't think anybody fully implements it, although Solaris and Linux are probably very close. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
