]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add log message when not considering a non-regular file as the input file
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 7 Jun 2010 21:20:05 +0000 (23:20 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 7 Jun 2010 21:20:05 +0000 (23:20 +0200)
ccache.c

index b7c4b1aaada5e4bc7d76aa58c12a1907428cbfa8..89e5a5c392c57ea4444320bfb56012408c54b712 100644 (file)
--- 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;
                }