Uninitialized variable causing intermittent syntax errors (bug 449).
authorRob Landley <rob@landley.net>
Mon, 12 Dec 2005 06:52:45 +0000 (06:52 -0000)
committerRob Landley <rob@landley.net>
Mon, 12 Dec 2005 06:52:45 +0000 (06:52 -0000)
shell/hush.c

index ffc4685d6aca3bedf9e7374dd1f3321087dd4fb5..e83d49a86e8761487fc61d5bd82c7c9684f030e0 100644 (file)
@@ -2007,6 +2007,7 @@ static struct pipe *new_pipe(void) {
        pi->progs = NULL;
        pi->next = NULL;
        pi->followup = 0;  /* invalid */
+       pi->r_mode = RES_NONE;
        return pi;
 }