If a ${dlfunc module has side-effects that cause store allocation, this
authorTony Finch <dot@dot.at>
Thu, 22 May 2008 10:56:27 +0000 (10:56 +0000)
committerTony Finch <dot@dot.at>
Thu, 22 May 2008 10:56:27 +0000 (10:56 +0000)
commitd6b4d9388256308fab472dfec4d5b7738ed05097
treedfc2e2ef718e37abab8fb901ec1d1133951b9032
parent6c588e74e33bb6b75a946f0373b23d989fb20a0d
If a ${dlfunc module has side-effects that cause store allocation, this
can conflict with the string expansion storage management logic - in
particular, the expansion code resets the store to reclaim working
space. In order to avoid destroying store allocated by ${dlfunc the
expansion code now leaks a bit if ${dlfunc is used.

Fixes: bug #713
src/src/expand.c