K 10 svn:author V 2 dg K 8 svn:date V 27 1995-06-02T10:57:50.000000Z K 7 svn:log V 576 Don't "remember" where the target directory slot is. The target slot doesn't move. "Remembering" the target slot was a no-op for files, but for directories it changed the target slot to slot of the "." entry in the source directory. Thus rename("a", "b/c") (where "a" is any directory and "b/c" is an empty directory) was essentially unlink("b/c"); rename("a/.", "a"); unlink("a"); where the middle rename corrupts "a/." and the final unlink detaches "a" and everything underneath it from the directory tree although not from the file system. Submitted by: Bruce Evans END