Re: [ccache] Minor enhancement request: Handling of CCACHE_PREFIX when it is defined as a null string

2012-02-07 Thread Frank Klotz
On 02/07/2012 01:54 PM, Joel Rosdahl wrote: On 7 February 2012 19:38, Frank Klotz wrote: Could a CCACHE_PREFIX defined as a null string please be treated as if it were undefined, rather than as a fatal error? [...] And you might want to consider refactoring this almost-but-not-quite-identica

Re: [ccache] Minor enhancement request: Handling of CCACHE_PREFIX when it is defined as a null string

2012-02-07 Thread Joel Rosdahl
On 7 February 2012 19:38, Frank Klotz wrote: > Could a CCACHE_PREFIX defined as a null string please be treated as if it > were undefined, rather than as a fatal error? > [...] > And you might want to consider refactoring this > almost-but-not-quite-identical code into a function or macro - not su

Re: [ccache] What to do when there are problems writing to the cache directory?

2012-02-07 Thread Frank Klotz
After letting this percolate in my mind for a few weeks, I am now feeling a little more strongly that inability to write to the stats file should be a fatal error (it will get attention FAST, and so fixed quickly), but that when the stats file is writable, then placing an indication of the pro

[ccache] Minor enhancement request: Handling of CCACHE_PREFIX when it is defined as a null string

2012-02-07 Thread Frank Klotz
Could a CCACHE_PREFIX defined as a null string please be treated as if it were undefined, rather than as a fatal error? Yes, of course, I can fix this in my script by making sure I undefine it if I don't want a prefix, but I got a little surprised when resetting it from "distcc" to "" caused