[ccache] patch: workaround for NFS issues

2007-03-24 Thread John Coiner
Here is a second attempt at an NFS workaround. This patch applies to ccache-2.4. The CCACHE_NFS_WORKAROUND variable enables the workaround. This workaround requires the existence of the lockfile program on the $PATH. Here's what I think is going on, when NFS corruption occurs: * Process X

[ccache] patch: workaround for NFS issues

2007-03-24 Thread John Coiner
Hi all, Here's a patch, for ccache 2.4, which works around the NFS bug. From the ccache man page: BUGS. When the cache is stored on an NFS filesystem, the filesystem must be exported with the no_subtree_check option to make renames between directories reliable. I have seen corrupt object