[distcc] ccache doesn't handle .i files
eezyy at gmx.net
eezyy at gmx.net
Wed Sep 24 04:05:54 GMT 2003
Huh?
--- ccache-new/ccache.c 2003-09-23 22:25:49.000000000 +0200
+++ ccache-new2/ccache.c 2003-09-24 05:59:53.000000000 +0200
@@ -245,7 +245,6 @@
{
int i;
char *path_stdout, *path_stderr;
- char *command;
char *hash_dir;
char *s;
struct stat st;
@@ -341,9 +340,7 @@
} else {
copy_file(input_file, path_stdout);
- x_asprintf(&command, "touch %s", path_stderr);
- system(command);
- free(command);
+ close(creat(path_stderr, 0644));
}
/* if the compilation is with -g then we have to inlcude the whole of the
preprocessor output, which means we are sensitive to line number
More information about the distcc
mailing list