On Thu, Dec 22, 2011 at 08:15:35PM -0500, Richard Hipp wrote: > The rmdir(2) system call on Posix is a no-op if the directory is not > empty. So I was thinking that we could just invoke rmdir() (or _rmdir() on > windows) on the directory of a file every time a file is deleted, and let > the OS worry about whether or not the directory is empty. > > But then I read this on the Linux rmdir(2) manpage: > > "Infelicities in the protocol underlying NFS can cause the unexpected > disappearance of directories which are still being used." >
I consider that bad documented documentation! No examples, no source for that claim. Not a rare case in manpages. Good that you read those details though :) _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users