Derek Zhou <[EMAIL PROTECTED]> writes:

> when inode sig checking fails, just rm -rf the revision 

Better

  mv revision ,,to-be-deleted
  rm -fr ,,to-be-deleted

since rmrf_file isn't atomic AFAIK, and a concurrent process might try
to access the revlib at the same time.

Also, this should give a warning message (I like the fact that baz
explains why the inode sig failed) so that the user can understand
what happens, and potentially solve the problem.

-- 
Matthieu


_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to