pgsql: Remove configure test for nonstandard variants of getpwuid_r().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove configure test for nonstandard variants of getpwuid_r().
Date: 2015-01-11 17:52:40
Message-ID: E1YAMgq-00021i-FD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-01-11 18:28:32 pgsql: Fix portability breakage in pg_dump.
Previous Message Tom Lane 2015-01-11 17:36:00 pgsql: Fix libpq's behavior when /etc/passwd isn't readable.