log internal error wrt CCACHE_OUTFILES env variable

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-01-07 00:45:04 +00:00
commit 46e1ecd2d9

View file

@ -256,6 +256,7 @@ static void to_cache(ARGS *args)
x_asprintf(&ccache_outfiles, "CCACHE_OUTFILES=%s", tmp_outfiles);
unlink(tmp_outfiles);
if (getenv("CCACHE_OUTFILES") || putenv(ccache_outfiles) == -1) {
cc_log("CCACHE_OUTFILES env variable already set or could not be set\n");
stats_update(STATS_ERROR);
failed();
}