pgsql: Make configure probe for mbstowcs_l as well as wcstombs_l.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make configure probe for mbstowcs_l as well as wcstombs_l.
Date: 2012-08-31 18:18:29
Message-ID: E1T7VnZ-00028O-0F@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make configure probe for mbstowcs_l as well as wcstombs_l.

We previously supposed that any given platform would supply both or neither
of these functions, so that one configure test would be sufficient. It now
appears that at least on AIX this is not the case ... which is likely an
AIX bug, but nonetheless we need to cope with it. So use separate tests.
Per bug #6758; thanks to Andrew Hastie for doing the followup testing
needed to confirm what was happening.

Backpatch to 9.1, where we began using these functions.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/58a031f920c225b20fdb45c1e56fe41ed7568900

Modified Files
--------------
configure | 3 ++-
configure.in | 2 +-
src/backend/utils/adt/pg_locale.c | 6 +++---
src/include/pg_config.h.in | 3 +++
src/include/pg_config.h.win32 | 3 +++
5 files changed, 12 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2012-08-31 20:56:07 pgsql: In pg_upgade, document that the port numbers must be different w
Previous Message Heikki Linnakangas 2012-08-31 08:30:38 pgsql: Fix typos in README.