Skip to content

Commit 3d642ae

Browse files
committed
Fix Win32 pg_dumpall check.
1 parent bc1ca75 commit 3d642ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/port/exec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/port/exec.c,v 1.19 2004/08/08 03:21:39 momjian Exp $
10+
* $PostgreSQL: pgsql/src/port/exec.c,v 1.20 2004/08/09 03:12:38 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -392,8 +392,8 @@ static char *pipe_read_line(char *cmd, char *line, int maxsize)
392392
line[strlen(line)-2] == '\r' &&
393393
line[strlen(line)-1] == '\n')
394394
{
395-
line[strlen(line)-2] == '\n';
396-
line[strlen(line)-1] == '\0';
395+
line[strlen(line)-2] = '\n';
396+
line[strlen(line)-1] = '\0';
397397
}
398398

399399
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy