summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-02 21:39:29 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-02 21:39:29 +0000
commit729f10ae3fdfe805d6db912530272341c3f75439 (patch)
tree16dc7f0cd3a243c088c19074dae3b0f87215d062
parentcae8b908a8b158f8f211d3d69d131599aeb05ed3 (diff)
downloadpostgresql-729f10ae3fdfe805d6db912530272341c3f75439.tar.gz
change a reference to stdout to point to fout instead...
submitted by: Carsten Heyl <heyl@nads.de>
-rw-r--r--src/bin/pg_dump/pg_dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 63c76497c3..784c0fb60e 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -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;