* afbjorklund/hash_debug:
Register debug_end as an exit function instead
Avoid using strcat and small realloc
Rename helper functions, as suggested in review
Save debug file streams, instead of reopening
Add section markers, to the text file
Rename hash_debug, add matching end function
Improve documentation with example file names
Output log to debug, even without a logfile
Avoid global md variable in mdfour file
Add --hash-file command, for convenience
Add functionality to debug the hashing
Add feature to also log into a memory buffer
Add config for debug option ($CCACHE_DEBUG)
Add util to return the command as a string
// hash it. See also how debug_prefix_map is handled.
should_hash_inc_path = false;
}
- free(cwd);
}
if (should_hash_inc_path) {
- hash_string(hash, inc_path);
+ hash_buffer(hash, inc_path, strlen(inc_path));
}
remember_include_file(inc_path, hash, system);