From: Joel Rosdahl Date: Mon, 7 Jun 2010 21:20:05 +0000 (+0200) Subject: Add log message when not considering a non-regular file as the input file X-Git-Tag: v3.0~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=346c94602e85433dfb587f93aee10f2a75c02621;p=thirdparty%2Fccache.git Add log message when not considering a non-regular file as the input file --- diff --git a/ccache.c b/ccache.c index b7c4b1aaa..89e5a5c39 100644 --- a/ccache.c +++ b/ccache.c @@ -1598,6 +1598,8 @@ static void process_args(int argc, char **argv, ARGS **preprocessor_args, an option, not an input file. This allows us to cope better with unusual compiler options */ if (stat(argv[i], &st) != 0 || !S_ISREG(st.st_mode)) { + cc_log("%s is not a regular file, not considering as input file", + argv[i]); args_add(stripped_args, argv[i]); continue; }