K 10 svn:author V 6 jilles K 8 svn:date V 27 2016-01-10T16:31:28.349454Z K 7 svn:log V 315 sh: Update associated state when restoring locals while leaving a function. Some variables like PATH call a function when modified. Make sure to call this also when leaving a function where such a variable was made local. Make sure to restore local variables before shellparam, so getopts state is not clobbered. END