]> granicus.if.org Git - postgresql/commitdiff
change a reference to stdout to point to fout instead...
authorMarc G. Fournier <scrappy@hub.org>
Wed, 2 Oct 1996 21:39:29 +0000 (21:39 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Wed, 2 Oct 1996 21:39:29 +0000 (21:39 +0000)
submitted by: Carsten Heyl <heyl@nads.de>

src/bin/pg_dump/pg_dump.c

index 63c76497c39fe68b611071eb619534cc5f87ca42..784c0fb60eea74f66b5cc99d7ff64ee0facd6205 100644 (file)
@@ -20,7 +20,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.5.2.1 1996/08/24 20:54:40 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.5.2.2 1996/10/02 21:39:29 scrappy Exp $
  *
  * Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
  *
@@ -1408,13 +1408,13 @@ dumpClasses(TableInfo *tblinfo, int numTables, FILE *fout, char *onlytable, int
                    if (copybuf[0] == '.' && copybuf[1] =='\0') {
                        copydone = true;        /* don't print this... */
                    } else {
-                       fputs(copybuf, stdout);
+                       fputs(copybuf, fout);
                        switch (ret) {
                        case EOF:
                            copydone = true;
                            /*FALLTHROUGH*/
                        case 0:
-                           fputc('\n', stdout);
+                           fputc('\n', fout);
                            break;
                        case 1:
                            break;