From 07d08a8828cd31dd5911971ab768fe8d4ab793c7 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sun, 18 May 2008 06:50:08 +0000 Subject: [PATCH] Remove old kluge put in to allow Windows regression tests to succeed, and now found to have been made necessary by our skipping tty detection on Windows. Now that we are doing tty detection on Windows the kluge is unnecessary and wrong. --- src/bin/psql/print.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index b0cf7f5bdb..1e11a6026f 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.106 2008/05/17 23:34:44 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.107 2008/05/18 06:50:08 adunstan Exp $ */ #include "postgres_fe.h" @@ -918,13 +918,7 @@ print_aligned_text(const printTableContent *cont, FILE *fout) fprintf(fout, "%s\n", f->data); } - /* - * for some reason MinGW (and MSVC) outputs an extra newline, so this - * suppresses it - */ -#ifndef WIN32 fputc('\n', fout); -#endif } /* clean up */ -- 2.11.0