Duplicate the home directory string returned by getenv
commitd8143bb13047eb686011fc94348f8abc6baaff3f
authorrubidium <rubidium@openttd.org>
Mon, 25 Nov 2013 21:50:54 +0000 (25 21:50 +0000)
committercirdan <cirdansw@gmail.com>
Sun, 15 Dec 2013 17:43:16 +0000 (15 18:43 +0100)
tree6c43ed1b882a86225c85d30b1781366188460ce0
parent60ba93082871ef4c4726ae43d1e2e58d388b9de7
Duplicate the home directory string returned by getenv

(openttd r26114) -Fix-ish: do our best to not get bit by getenv
being unsafe as hell
src/fileio.cpp