[PATCH] kdrive: switch to new InputOption API.

Mark Kettenis mark.kettenis at xs4all.nl
Tue Oct 25 01:22:24 PDT 2011

> From: Jeremy Huddleston <jeremyhu at apple.com>
> 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.

More information about the xorg-devel mailing list