diff options
author | Bart Schaefer <schaefer@ipost.com> | 2020-12-03 22:30:04 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-13 21:18:35 -0700 |
commit | 709af2bf3c7eba33c1425b2dcd2071a2c5bb1179 (patch) | |
tree | 5b6ad44859e5550cf006f581a12447295e7b9bc9 /Util/mkdisttree.sh | |
parent | d0a25afe323abe0183c2a530c5324e7e93426b64 (diff) | |
download | zsh-709af2bf3c7eba33c1425b2dcd2071a2c5bb1179.tar.gz zsh-709af2bf3c7eba33c1425b2dcd2071a2c5bb1179.tar.xz zsh-709af2bf3c7eba33c1425b2dcd2071a2c5bb1179.zip |
Partial fix for handling of tied arrays.
As of this commit when a tied array is declared but neither the scalar nor the array has an initializer, the array is initialized to empty. The scalar struct param of a tied pair stores a direct pointer to the internal array value of the array struct param, and upon assignment modifies it without referring to the containing struct. This means that there's no opportunity to clear the PM_DECLAREDNULL bits on both structs when the scalar is assigned. Conversely, assigning to the array does use the struct for the scalar.
Diffstat (limited to 'Util/mkdisttree.sh')
0 files changed, 0 insertions, 0 deletions