aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-08-09 03:12:38 +0000
committerBruce Momjian <bruce@momjian.us>2004-08-09 03:12:38 +0000
commit3d642ae7d9ba0e6d406de61cafb9d8a19d9428e0 (patch)
tree210855ece479930f4aa19e11b8bc64077bb93016
parentbc1ca750e8f65b3d93ba6ae9a54c0914aab15600 (diff)
downloadpostgresql-REL8_0_0BETA1.tar.gz
postgresql-REL8_0_0BETA1.zip
Fix Win32 pg_dumpall check.REL8_0_0BETA1
-rw-r--r--src/port/exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/exec.c b/src/port/exec.c
index 30d7a55c1d2..440c63f0c52 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -7,7 +7,7 @@
*
*
* 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)
line[strlen(line)-2] == '\r' &&
line[strlen(line)-1] == '\n')
{
- line[strlen(line)-2] == '\n';
- line[strlen(line)-1] == '\0';
+ line[strlen(line)-2] = '\n';
+ line[strlen(line)-1] = '\0';
}
/*