gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] file-revert


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]