Commit 3d642ae7 authored by Bruce Momjian's avatar Bruce Momjian

Fix Win32 pg_dumpall check.

parent bc1ca750
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/port/exec.c,v 1.19 2004/08/08 03:21:39 momjian Exp $ * $PostgreSQL: pgsql/src/port/exec.c,v 1.20 2004/08/09 03:12:38 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -392,8 +392,8 @@ static char *pipe_read_line(char *cmd, char *line, int maxsize) ...@@ -392,8 +392,8 @@ static char *pipe_read_line(char *cmd, char *line, int maxsize)
line[strlen(line)-2] == '\r' && line[strlen(line)-2] == '\r' &&
line[strlen(line)-1] == '\n') line[strlen(line)-1] == '\n')
{ {
line[strlen(line)-2] == '\n'; line[strlen(line)-2] = '\n';
line[strlen(line)-1] == '\0'; line[strlen(line)-1] = '\0';
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment