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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Make configure probe for mbstowcs_l as well as wcstombs_l.
Дата
Msg-id E1T7VnZ-00028S-28@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/97395185b85b786523ee41225b53bd84c98d34f4

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Make configure probe for mbstowcs_l as well as wcstombs_l.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Make configure probe for mbstowcs_l as well as wcstombs_l.