pgsql: Detect setlocale(LC_CTYPE, NULL) clobbering previous return valu - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Detect setlocale(LC_CTYPE, NULL) clobbering previous return valu
Date
Msg-id E1Z5CFD-0001Lh-1x@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Detect setlocale(LC_CTYPE, NULL) clobbering previous return values.

POSIX permits setlocale() calls to invalidate any previous setlocale()
return values.  Commit 5f538ad004aa00cf0881f179f0cde789aad4f47e
neglected to account for that.  In advance of fixing that bug, switch to
failing hard on affected configurations.  This is a planned temporary
commit to assay buildfarm-represented configurations.

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/pg_locale.c |   14 ++++++++++++++
1 file changed, 14 insertions(+)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Fix comment in fmgr.h to refer to actual function used.
Next
From: Robert Haas
Date:
Subject: pgsql: Change TAP test framework to not rely on having a chmod executab