summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Support/Unix/RWMutex.inc
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-01-10 16:31:28 +0000
committerjilles <jilles@FreeBSD.org>2016-01-10 16:31:28 +0000
commitd42a26ab2089d53213cf28c22508023ea16e7efb (patch)
tree0b136c34e36d2b2c085d1618158aaa9df9b91c19 /contrib/llvm/lib/Support/Unix/RWMutex.inc
parent21632a9bd96fd68b505602bfdd4850ab1e18574a (diff)
downloadFreeBSD-src-d42a26ab2089d53213cf28c22508023ea16e7efb.zip
FreeBSD-src-d42a26ab2089d53213cf28c22508023ea16e7efb.tar.gz
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.
Diffstat (limited to 'contrib/llvm/lib/Support/Unix/RWMutex.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud