mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
Christian and I both unwittingly used it in form: *tal_arr_expand(&x) = tal(x, ...) Since '=' isn't a sequence point, the compiler can (and does!) cache the value of x, handing it to tal *after* tal_arr_expand() moves it due to tal_resize(). The new version is somewhat less convenient to use, but doesn't have this problem, since the assignment is always evaluated after the resize. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
build-release.sh | ||
check-bolt.c | ||
check-includes.sh | ||
check-manpage.sh | ||
check-markdown.sh | ||
check-setup_locale.sh | ||
check-spelling.sh | ||
docker-entrypoint.sh | ||
generate-wire.py | ||
headerversions.c | ||
mockup.sh | ||
refresh-submodules.sh | ||
rel.sh | ||
update-mocks.sh |