On Sat, Nov 06, 2010 at 02:49:19PM +0100, Joel Rosdahl wrote:
> 
> This change will be included in ccache 3.1.1. Does it work for you, H?
> 
> --- a/ccache.c
> +++ b/ccache.c
> @@ -314,6 +314,11 @@ remember_include_file(char *path, size_t path_len, 
> struct mdfour *cpp_hash)
>                  /* Ignore directory, typically $PWD. */
>                  goto ignore;
>          }
> +       if (!S_ISREG(st.st_mode)) {
> +               /* Device, pipe, socket or other strange creature. */
> +               cc_log("Non-regular include file %s", path);
> +               goto failure;
> +       }
> 
>          /* Let's hash the include file. */
>          if (!(sloppiness & SLOPPY_INCLUDE_FILE_MTIME)
>



Yes, applying your changes fix the issue !
 
Thanks and 'happy caching'    


Regards  
_______________________________________________
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache

Reply via email to