[PATCH] Portability fixes

Daniel Stone daniel at fooishbar.org
Fri Jan 25 09:46:04 PST 2008


On Fri, Jan 25, 2008 at 02:52:03PM +0100, Joerg Sonnenberger wrote:
> On Fri, Jan 25, 2008 at 02:28:33PM +1100, Daniel Stone wrote:
> > On Thu, Jan 24, 2008 at 09:21:59PM +0100, Joerg Sonnenberger wrote:
> > > Hi all,
> > > the attached patches deal with a number of issues:
> > > - defining and undefining _POSIX_SOURCE is evil, it has side-effects
> > > behond the just included header. pkgsrc hasn't hit issues with this and
> > > is getting modular Xorg testing on a number of platforms.
> > > - use real configure checks for a number of reentrant functions.
> > > 
> > > This patches has been tested at least on DragonFly, NetBSD, HP-UX and
> > > AIX.
> > 
> > NAK.  Those complex paths are there for a reason, and removing them will
> > break either or both of glibc and Solaris libc.
> 
> So make them conditional on Linux or Solaris. Breaking other systems is
> a bad excuse for that practise.

I appreciate your enthusiasm, but that only really worsens the mess.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080126/f7c4952b/attachment.pgp>


More information about the xorg mailing list