pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Rename strtoi() to strtoint().
6+ messages / 1 participants
[nested] [flat]

* pgsql: Rename strtoi() to strtoint().
@ 2016-04-23 20:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-04-23 20:53 UTC (permalink / raw)
  To: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0ab3595e5bb53a8fc2cd231320b1af1ae3ed68e0

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


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename strtoi() to strtoint().
@ 2016-04-23 20:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-04-23 20:53 UTC (permalink / raw)
  To: 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_5_STABLE

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

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


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename strtoi() to strtoint().
@ 2016-04-23 20:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-04-23 20:53 UTC (permalink / raw)
  To: 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2a715371c44399f8ec538b3c8df0590400c75678

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


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename strtoi() to strtoint().
@ 2016-04-23 20:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-04-23 20:53 UTC (permalink / raw)
  To: 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/252c3589536e409a1270eb70f7f301ce14cf7ea1

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


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename strtoi() to strtoint().
@ 2016-04-23 20:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-04-23 20:53 UTC (permalink / raw)
  To: 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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0f54912837ec3f1dc352627b18dca3d7d54fc787

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


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Rename strtoi() to strtoint().
@ 2016-04-23 20:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-04-23 20:53 UTC (permalink / raw)
  To: 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(-)


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2016-04-23 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-23 20:53 pgsql: Rename strtoi() to strtoint(). Tom Lane <tgl@sss.pgh.pa.us>
2016-04-23 20:53 pgsql: Rename strtoi() to strtoint(). Tom Lane <tgl@sss.pgh.pa.us>
2016-04-23 20:53 pgsql: Rename strtoi() to strtoint(). Tom Lane <tgl@sss.pgh.pa.us>
2016-04-23 20:53 pgsql: Rename strtoi() to strtoint(). Tom Lane <tgl@sss.pgh.pa.us>
2016-04-23 20:53 pgsql: Rename strtoi() to strtoint(). Tom Lane <tgl@sss.pgh.pa.us>
2016-04-23 20:53 pgsql: Rename strtoi() to strtoint(). Tom Lane <tgl@sss.pgh.pa.us>

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