projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5633836
)
Fix previous commit's ecpg_clocale for ppc Darwin.
author
Noah Misch
<
[email protected]
>
Sun, 3 Jul 2022 04:03:19 +0000
(21:03 -0700)
committer
Noah Misch
<
[email protected]
>
Sun, 3 Jul 2022 04:03:19 +0000
(21:03 -0700)
Per buildfarm member prairiedog, this platform rejects uninitialized
global variables in shared libraries. Back-patch to v10, like the
addition of the variable.
Reviewed by Tom Lane.
Discussion: https://postgr.es/m/
20220703030619
[email protected]
src/interfaces/ecpg/ecpglib/connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/ecpglib/connect.c
b/src/interfaces/ecpg/ecpglib/connect.c
index 96f99ae0729de07bde1349a8f193699f38753854..db0bae1fe08ac91b8acb2def58ca9a4736150efe 100644
(file)
--- a/
src/interfaces/ecpg/ecpglib/connect.c
+++ b/
src/interfaces/ecpg/ecpglib/connect.c
@@
-11,7
+11,7
@@
#include "sqlca.h"
#ifdef HAVE_USELOCALE
-locale_t ecpg_clocale;
+locale_t ecpg_clocale
= (locale_t) 0
;
#endif
#ifdef ENABLE_THREAD_SAFETY