mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
src/cmd/ksh93/bltins/typeset.c: - Removing the nv_search() call altogether was actually not neccessary, I was just searching the wrong tree: instead of sh.fun_base, simply search the current sh.fun_tree which has a view to all the layered parent subshell copes. It is not going to find it in the current subshell tree but will find it in one of the parent trees if it exists. The cost of an unnecessary dummy is negligible, but so is the cost of this search, and doing it is more correct. |
||
---|---|---|
.. | ||
cmd | ||
lib | ||
Mamfile |