From: Andrew Dunstan Date: Sun, 18 May 2008 06:50:08 +0000 (+0000) Subject: Remove old kluge put in to allow Windows regression tests to succeed, and now X-Git-Tag: REL8_4_BETA1~1352 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07d08a8828cd31dd5911971ab768fe8d4ab793c7;p=postgresql 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. --- 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 */