change stdout to fout

Submitted by: Carsten Heyl <heyl@nads.de>
This commit is contained in:
Marc G. Fournier 1996-10-02 21:38:35 +00:00
parent 0fadfc00ad
commit 67e8736348
1 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.8 1996/09/16 06:05:54 scrappy Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.9 1996/10/02 21:38:35 scrappy Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
@ -1410,13 +1410,13 @@ dumpClasses(TableInfo *tblinfo, int numTables, FILE *fout, char *onlytable, int
copybuf[2] == '\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;