The tmp.cpp_stderr file produced by the preprocessor is looked up and
stored in the i-node cache, which is wasted effort since it’s a
temporary file.
}
hash.hash_delimiter("cppstderr");
- if (!ctx.args_info.direct_i_file
- && !hash_binary_file(ctx, hash, stderr_path)) {
+ if (!ctx.args_info.direct_i_file && !hash.hash_file(stderr_path)) {
// Somebody removed the temporary file?
log("Failed to open {}: {}", stderr_path, strerror(errno));
throw Failure(STATS_ERROR);