diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-05-25 18:14:32 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-05-26 16:00:20 +0800 |
commit | 55ffc36246d6536cd81e44f3c8c32bd3cd04afb8 (patch) | |
tree | 6c653981a074b28ebdf842e27fbfb5cd3bf16526 /src/bltin/test.1 | |
parent | [VAR] Add localvars nesting (diff) | |
download | dash-55ffc36246d6536cd81e44f3c8c32bd3cd04afb8.tar.gz dash-55ffc36246d6536cd81e44f3c8c32bd3cd04afb8.zip |
[VAR] Fix poplocalvar leak
When a variable is marked as local, we set VSTRFIXED on its vp recored. However, poplocalvar never clears this flag for variables that were unset to begin with. Thus if you ever made an unset variable local, it would get the VSTRFIXED bit and stick around forever. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/bltin/test.1')
0 files changed, 0 insertions, 0 deletions