[PATCH 1/3] os/xfree86: remove macro checking for POSIX symbols

Alan Coopersmith alan.coopersmith at oracle.com
Mon Oct 18 21:16:50 PDT 2010


Guillem Jover wrote:
> Hi!
> 
> On Thu, 2010-09-09 at 09:11:28 -0700, Alan Coopersmith wrote:
>> Vignatti Tiago (Nokia-MS/Helsinki) wrote:
>>> On Wed, Sep 08, 2010 at 03:14:12AM +0200, ext Guillem Jover wrote:
>>>> On Tue, 2010-09-07 at 15:39:17 +0300, Tiago Vignatti wrote:
>>>>> We assume already that our X implementation is POSIX compliant anyway. So
>>>>> remove those redundant checking.
> 
>>>> Well POSIX-1.2001, some of these are still XSI extensions, namely
>>>> SIGSYS, SIGVTALRM, SIGXCPU, SIGXFSZ (which only switched to mandatory
>>>> in POSIX-1.2008).
>>> ouch, good catch. Anyway, I'm pretty sure we're going to start a long
>>> discussion if we try to set a base POSIX for X right now...
>> So far, the generally accepted baseline has been Unix98, which is before
>> POSIX & Unix/XPG standards started doing coordinated releases, so includes
>> POSIX-1.1990 but not yet POSIX-1.2001 (which was the base for Unix03).
>>
>> http://en.wikipedia.org/wiki/Single_UNIX_Specification
> 
> xserver/doc/c-extensions seems to disagree though.

I didn't realize the bar had been raised in the X server code base, and
had forgotten that file mentioned API at all - I thought it only covered
C language features as it's name implies.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list