commit fbc629a995a01ba357cdacc355a7f3eba41777fb parent 0b4084dafc3578d5ff5e438a9c76c0d3627fac97 Author: rsc <devnull@localhost> Date: Wed, 28 Mar 2007 16:04:37 +0000 keep path and PATH in sync Diffstat:
M | src/cmd/rc/exec.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c @@ -604,6 +604,8 @@ Xassign(void) freewords(v->val); v->val = runq->argv->words; v->changed = 1; + if(v->changefn) + v->changefn(v); runq->argv->words = 0; poplist(); }