* master:
while (1) -> while (true)
Fixup after merge: Make directory creation failure fatal
Update NEWS
Also recognize -specs=file in addition to --specs=file
Revert GCC bug compatibility for -MTarg and -MQarg
Fix minor memory leaks
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Conflicts:
manifest.c
test/framework.c
* behave differently depending on the real name.
*/
hash_delimiter(hash, "cc_name");
- hash_string(hash, basename(args->argv[0]));
+ p = basename(args->argv[0]);
+ hash_string(hash, p);
+ free(p);
/* Possibly hash the current working directory. */
- if (getenv("CCACHE_HASHDIR")) {
+ if (conf->hash_dir) {
char *cwd = gnu_getcwd();
if (cwd) {
hash_delimiter(hash, "cwd");
/*
- * Copyright (C) 2009-2011 Joel Rosdahl
- * Copyright (C) 2009-2010, 2012 Joel Rosdahl
++ * Copyright (C) 2009-2012 Joel Rosdahl
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
/*
- * Copyright (C) 2010-2011 Joel Rosdahl
- * Copyright (C) 2010, 2012 Joel Rosdahl
++ * Copyright (C) 2010-2012 Joel Rosdahl
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free