Joerg Sommer <[EMAIL PROTECTED]> writes:
> I noticed, everytime -purge has run my symlink /v/c/w/html/ disappeared.
> I the log I find messages like:
>
> #v+
> Cached file 'http/www.suse.cz/.' is not valid (U* or D* file); deleting it.
> Cannot unlink file 'http/www.suse.cz/.' (1) [Is a directory]; race condition?
> Cached file 'http/www.suse.cz/..' is not valid (U* or D* file); deleting it.
> Cannot unlink file 'http/www.suse.cz/..' (1) [Is a directory]; race condition?
> Cached file 'http/www.rehab.uiuc.edu/..' is not valid (U* or D* file); deleting
> ...
> Cached file 'ftp/../prevtime7' is not valid (U* or D* file); deleting it.
> Cannot unlink file 'ftp/../prevtime7' (1) [Is a directory]; race condition?
> Cached file 'ftp/../finger' is not valid (U* or D* file); deleting it.
> Cannot unlink file 'ftp/../finger' (1) [Is a directory]; race condition?
> Cached file 'ftp/../prevtime2' is not valid (U* or D* file); deleting it.
> Cannot unlink file 'ftp/../prevtime2' (1) [Is a directory]; race condition?
> Cached file 'ftp/../html' is not valid (U* or D* file); deleting it.
> Cached file 'ftp/../prevout1' is not valid (U* or D* file); deleting it.
> Cannot unlink file 'ftp/../prevout1' (1) [Is a directory]; race condition?
> #v-
>
> If did the following patch and now all goes right.
[snip patch changing use of readdir() function]
Can you tell me more about the operating system and file system that
you are using WWWOFFLE on.
I have never seen a file system where the first two entries in the
directory structure are not "." and "..", yours is the first. This is
a little shortcut that has been in WWWOFFLE for a long time and it has
always worked. It appears in many more places than just in purge.c
and they all need to be fixed.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html