Remove old kluge put in to allow Windows regression tests to succeed, and now
authorAndrew Dunstan <andrew@dunslane.net>
Sun, 18 May 2008 06:50:08 +0000 (06:50 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Sun, 18 May 2008 06:50:08 +0000 (06:50 +0000)
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

index dcd1a10069ba8e9a5251c24fd772ee6648fffb85..efcc33c1feb2f7bc13e2373513b00743d0a88a08 100644 (file)
@@ -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 */