Safer set_environment().
authorIain Patterson <me@iain.cx>
Tue, 24 Dec 2013 11:56:27 +0000 (11:56 +0000)
committerIain Patterson <me@iain.cx>
Tue, 24 Dec 2013 12:03:54 +0000 (12:03 +0000)
commitdf8b0890255d7d1eeade3ba7754ef37c61d2fbad
treee62d4779647117e98e07ae4b8dee165bc74bc8e9
parentf600a48847de75cbbe5dac8478b47e91b977f931
Safer set_environment().

Ensure that the return parameters are set safely when things go wrong.
registry.cpp