puppetlabs/facter — pull request #669 by e2 (2014-04-28 06:14:56+00:00)
Title: (FACT-469) LANG env var is clobbered in other threads

Use system() to avoid setting LANG=C other threads

* Avoid randomly setting/clearing ENV['LANG'] for other threads

* Also set LC_ALL=C in case LANG=C is not enough