aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-03-26 14:24:44 +0000
committerrsc <devnull@localhost>2007-03-26 14:24:44 +0000
commitbd1b0cc17e58f8135fa0888cdb2d4fac61f85bce (patch)
tree765c27a6be56a136dfed474de59fa8276080ef9c /src/cmd/rc
parent314f5742af1a79fcc6143b6dd804f0593ab0f8da (diff)
downloadplan9port-bd1b0cc17e58f8135fa0888cdb2d4fac61f85bce.tar.gz
plan9port-bd1b0cc17e58f8135fa0888cdb2d4fac61f85bce.tar.bz2
plan9port-bd1b0cc17e58f8135fa0888cdb2d4fac61f85bce.zip
fix phantom rc crashes
Diffstat (limited to 'src/cmd/rc')
-rw-r--r--src/cmd/rc/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c
index 86d97cd2..64cf116d 100644
--- a/src/cmd/rc/exec.c
+++ b/src/cmd/rc/exec.c
@@ -119,6 +119,7 @@ newvar(char *name, var *next)
v->changed = 0;
v->fnchanged = 0;
v->next = next;
+ v->changefn = 0;
return v;
}
/*