postgres.git / summary / log / commit / refs
commit 2732932de4ebc44136d8cf4f982ffd73ccd66238
Author: Bruce Momjian <bruce@momjian.us>
Date: Sun Aug 08 02:22:55 2004 +0000
First released in: 8.0.0
Improve comment.
src/port/exec.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/port/exec.c b/src/port/exec.c
index d98da090c70..b5f41c7971e 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/exec.c,v 1.17 2004/07/26 01:48:00 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/exec.c,v 1.18 2004/08/08 02:22:55 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -383,8 +383,10 @@ static char *pipe_read_line(char *cmd, char *line, int maxsize)
/* So we read some data */
retval = line;
- /* We emulate fgets() behaviour. So if there is no newline
- * at the end, we add one... */
+ /*
+ * We emulate fgets() behaviour. So if there is no newline
+ * at the end, we add one...
+ */
if (line[strlen(line)-1] != '\n')
strcat(line,"\n");
}
[parent: 6c3561b9e4e1]