|
From: | Dustin Sallings |
Subject: | [Gnu-arch-users] file-revert |
Date: | Wed, 17 Sep 2003 13:09:07 -0700 |
I've implemented file-revert in my tree, except I do not believe the behavior is *exactly* right. I'm basically doing this:
safe_unlink(mod_loc); copy_file(orig_path, mod_loc);That gets me the right file in the right place, but the file shows up in what-changed (presumably because the inode changed). Is there a more correct way to do this?
-- Dustin Sallings
[Prev in Thread] | Current Thread | [Next in Thread] |