8000 change a reference to stdout to point to fout instead... · s-monk/postgres@729f10a · GitHub
[go: up one dir, main page]

Skip to content

Commit 729f10a

Browse files
committed
change a reference to stdout to point to fout instead...
submitted by: Carsten Heyl <heyl@nads.de>
1 parent cae8b90 commit 729f10a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
*
2222
* IDENTIFICATION
23-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.5.2.1 1996/08/24 20:54:40 scrappy Exp $
23+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.5.2.2 1996/10/02 21:39:29 scrappy Exp $
2424
*
2525
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
2626
*
@@ -1408,13 +1408,13 @@ dumpClasses(TableInfo *tblinfo, int numTables, FILE *fout, char *onlytable, int
14081408
if (copybuf[0] == '.' && copybuf[1] =='\0') {
14091409
copydone = true; /* don't print this... */
14101410
} else {
1411-
fputs(copybuf, stdout);
1411+
fputs(copybuf, fout);
14121412
switch (ret) {
14131413
case EOF:
14141414
copydone = true;
14151415
/*FALLTHROUGH*/
14161416
case 0:
1417-
fputc('\n', stdout);
1417+
fputc('\n', fout);
14181418
break;
14191419
case 1:
14201420
break;

0 commit comments

Comments
 (0)
0