summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorTom Lane2009-11-23 16:02:24 +0000
committerTom Lane2009-11-23 16:02:24 +0000
commit8d97c1dcfa44b8925c693cf605ec3ee0cf44e75f (patch)
tree7494d5f0ac7c3f2b7185095c8f34a647c7a551e5 /src/interfaces
parentfe4b8c42add27d6961e6023ab04f054766378d45 (diff)
Use diff's -w switch only on Windows, to avoid problems with inconsistent
newline representations. Per buildfarm results and subsequent discussion. Sync up a couple of other places that had their own policies.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/test/pg_regress_ecpg.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/interfaces/ecpg/test/pg_regress_ecpg.c b/src/interfaces/ecpg/test/pg_regress_ecpg.c
index 4681d8c771b..e04e9038f38 100644
--- a/src/interfaces/ecpg/test/pg_regress_ecpg.c
+++ b/src/interfaces/ecpg/test/pg_regress_ecpg.c
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress_ecpg.c,v 1.5 2009/01/01 17:24:02 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress_ecpg.c,v 1.6 2009/11/23 16:02:24 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -161,15 +161,7 @@ ecpg_start_test(const char *testname,
static void
ecpg_init(void)
{
- /* no reason to set -w for ecpg checks, except for when on windows */
- if (strstr(host_platform, "-win32") || strstr(host_platform, "-mingw32"))
- basic_diff_opts = "-w";
- else
- basic_diff_opts = "";
- if (strstr(host_platform, "-win32") || strstr(host_platform, "-mingw32"))
- pretty_diff_opts = "-C3 -w";
- else
- pretty_diff_opts = "-C3";
+ /* nothing to do here at the moment */
}
int