Comment 8 for bug 195868

Revision history for this message
Francis Giraldeau (francis-giraldeau) wrote :

After a research on the topic, I found that gnulibc has a function to substitute the environment variables of a string : wordexp

http://www.opengroup.org/onlinepubs/009695399/functions/wordexp.html

But this POSIX function is not available in MinGW, which is used for the compilation of tuxpaint for Windows.

From : http://www.gnu.org/software/gnulib/manual/html_node/wordexp.html

===

Portability problems not fixed by Gnulib:

    * This function is missing on some platforms: MacOS X 10.3, OpenBSD 3.8, Cygwin, mingw, Interix 3.5, BeOS.

===

So, I did update the patch with #ifdef __linux__, to make sure that other plateform are not affected.