- Mix in parts of a patch by Brant Young, which itself is based on an old patch by Filip (see http://code.google.com/p/ccache-win32/wiki/WhyNativeWin32Ccache)
- Change bInheritHandles for the CreateProcess call in failed() to TRUE, so that the compilation of the RC files works (they are preprocessed with gcc and piped to a file)
- Add a safe version of mkstemp based on glibc sources, so that we don't run into race condition problems
- Use CSIDL_LOCAL_APPDATA as the default base path for the ccache directory, not CSIDL_PROFILE
svn path=/trunk/tools/RosBE/; revision=746