Re: Style question - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Style question
Date
Msg-id Pine.LNX.4.21.0010211852380.825-100000@peter.localdomain
Whole thread Raw
In response to Style question  (Larry Rosenman <ler@lerctr.org>)
Responses Re: Style question
List pgsql-hackers
Larry Rosenman writes:

> We currently have a patch in the doc/FAQ_SCO file for the "accept
> doesn't send AF_UNIX to the caller" problem on SCO UnixWare 7.1.[01]. 
> Is there any problem with configure finding out we are on one of those
> releases (uname -v), and setting a UW= variable so the user doesn't
> have to remember to patch their sources? 

I think we should install this patch conditional on some __UnixWare__
#define, if there's a good one.  If there isn't, then we can add our own
#define ACCEPT_IS_BUSTED_IN_PECULIAR_WAYS in src/include/port/unixware.h.

Testing runtime behaviour in configure is not good "style". :)

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: UnixWare 7.1.1b FS
Next
From: Peter Eisentraut
Date:
Subject: Re: UnixWare 7.1.1b FS