Re: Style question

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)hub(dot)org
Subject: Re: Style question
Date: 2000-10-21 18:12:43
Message-ID: 20001021131243.A19188@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Peter Eisentraut <peter_e(at)gmx(dot)net> [001021 11:54]:
> 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". :)
I was just thinking of checking uname -v and if it is 7.1.0 or 7.1.1
set a define that pq_comm.c sees and includes the fix. There isn't a
good #define yet.. :-(

LER

>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-10-21 18:28:54 Re: Style question
Previous Message Larry Rosenman 2000-10-21 17:43:54 Re: UnixWare 7.1.1b FS