Fix i18n of strings from src/lib/po on OS X. There were two bugs;
authorCarl Hetherington <cth@carlh.net>
Sun, 31 Aug 2014 22:23:49 +0000 (23:23 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 31 Aug 2014 22:23:49 +0000 (23:23 +0100)
commit80b87ba861708eb2366e77c044fb8e52400b2d09
tree914a5803f09f7f6e199216c487b5ef6ffb7b523c
parent14ad1435f0c389d3b549160750c681e2a65bc6dc
Fix i18n of strings from src/lib/po on OS X.  There were two bugs;
firstly, the path to the .mo files was wrong (the code assumed that
OSX was like Linux).  Secondly, the string passed into putenv() must
not be freed by the caller (as its docs say).  It appears that you
get away with not doing this on Linux and Windows.
ChangeLog
src/lib/util.cc