projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab79444
)
Make ecpg test variable 'times' static so as not to conflict with libc
author
Bruce Momjian
Thu, 23 Nov 2006 04:38:01 +0000
(
04:38
+0000)
committer
Bruce Momjian
Thu, 23 Nov 2006 04:38:01 +0000
(
04:38
+0000)
symbol.
src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
b/src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
index 08d1d6c412f53706724178277d12db3443e739be..27d616751d979aca36398bfc860e2f53764f64cf 100644
(file)
--- a/
src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
+++ b/
src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc
@@
-29,7
+29,8
@@
char *dates[] = { "19990108foobar",
"January 8, 99 BC",
NULL };
-char *times[] = { "0:04",
+/* do not conflict with libc "times" symbol */
+static char *times[] = { "0:04",
"1:59 PDT",
"13:24:40 -8:00",
"13:24:40.495+3",