pgsql: Rename strtoi() to strtoint().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Rename strtoi() to strtoint().
Дата
Msg-id E1au4YZ-0008Dm-1c@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Rename strtoi() to strtoint().

NetBSD has seen fit to invent a libc function named strtoi(), which
conflicts with the long-established static functions of the same name in
datetime.c and ecpg's interval.c.  While muttering darkly about intrusions
on application namespace, we'll rename our functions to avoid the conflict.

Back-patch to all supported branches, since this would affect attempts
to build any of them on recent NetBSD.

Thomas Munro

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/cbff4b7085d779759e0e287ec3534d3da9ce72ab

Modified Files
--------------
src/backend/utils/adt/datetime.c          | 28 ++++++++++++++--------------
src/interfaces/ecpg/pgtypeslib/interval.c |  6 +++---
2 files changed, 17 insertions(+), 17 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Rename strtoi() to strtoint().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Rename strtoi() to strtoint().