pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Remove configure test for nonstandard variants of getpwuid_r().
Date: Sun, 11 Jan 2015 17:52:40 +0000
Message-ID: <E1YAMgq-00021i-FD@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Remove configure test for nonstandard variants of getpwuid_r().

We had code that supposed that some platforms might offer a nonstandard
version of getpwuid_r() with only four arguments.  However, the 5-argument
definition has been standardized at least since the Single Unix Spec v2,
which is our normal reference for what's portable across all Unix-oid
platforms.  (What's more, this wasn't the only pre-standardization version
of getpwuid_r(); my old HPUX 10.20 box has still another signature.)
So let's just get rid of the now-useless configure step.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8883bae33b55a52105b1b58d0e42c5a6bda09627

Modified Files
--------------
config/c-library.m4           |   24 ------------------------
configure                     |   37 -------------------------------------
configure.in                  |    1 -
src/include/pg_config.h.in    |    3 ---
src/include/pg_config.h.win32 |    3 ---
src/port/thread.c             |   16 +---------------
6 files changed, 1 insertion(+), 83 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1YAMgq-00021i-FD@gemulon.postgresql.org>
Permalink:  ../E1YAMgq-00021i-FD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YAMgq-00021i-FD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove configure test for nonstandard variants of getpwuid_r().
  In-Reply-To: <E1YAMgq-00021i-FD@gemulon.postgresql.org>
  References: <E1YAMgq-00021i-FD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox