diff options
author | Peter Eisentraut | 2000-10-10 21:22:29 +0000 |
---|---|---|
committer | Peter Eisentraut | 2000-10-10 21:22:29 +0000 |
commit | 4d76a801c6394f7964848dc5ed7e61148489ff0b (patch) | |
tree | 744a8cbab90be4662163326d1865b5996fce4e89 /src/backend/tioga | |
parent | cbe5f73aa079cbda483fe5e6d82a812124b2ff35 (diff) |
Unify solaris_i386 and solaris_sparc templates. They were almost identical
anyway, the rest being due to them not being kept in sync. Add configure
test for lorder and use it (on Solaris) when found.
Diffstat (limited to 'src/backend/tioga')
-rw-r--r-- | src/backend/tioga/tgRecipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tioga/tgRecipe.c b/src/backend/tioga/tgRecipe.c index 938f893d8be..4304b4a1eaa 100644 --- a/src/backend/tioga/tgRecipe.c +++ b/src/backend/tioga/tgRecipe.c @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tioga/Attic/tgRecipe.c,v 1.16 2000/01/26 05:57:10 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tioga/Attic/tgRecipe.c,v 1.17 2000/10/10 21:22:24 petere Exp $ * *------------------------------------------------------------------------- */ @@ -92,12 +92,12 @@ first character\n", ARRAY_LEFT_DELIM); return result; } - if ((beginQuote = index(str, ARRAY_ELEM_LEFT)) == NULL) + if ((beginQuote = strchr(str, ARRAY_ELEM_LEFT)) == NULL) { elog(NOTICE, "textArray2ArrTgString: missing a begin quote\n"); return result; } - if ((endQuote = index(beginQuote + 1, '"')) == NULL) + if ((endQuote = strchr(beginQuote + 1, '"')) == NULL) { elog(NOTICE, "textArray2ArrTgString: missing an end quote\n"); return result; |