DragonFly-2.3.1.103.g3260e master usr.bin/undo undo.c

Simon Schubert corecode at crater.dragonflybsd.org
Wed May 20 08:42:57 PDT 2009


commit 3260eed4ea6a17bab8a587c35da7d597cfff6c1e
Author: Simon Schubert <simon.schubert at epfl.ch>
Date:   Wed May 20 17:39:37 2009 +0200

    undo: always collect history of the file
    
    Commit b9a33d3fb1235626615b96b4b586ce7a7b8386fd added file histories based
    on the history of the parent directory, in order to list history fragments
    even when the inode changed.  However it failed to collect the history for
    the most recent version of the file.  As a result, if all versions of the
    parent directory happened to preceed the oldest version of the file, undo
    would not collect any history for the file and fail with error 0.
    
    Unconditionally include the history of the file to fix this problem.

Summary of changes:
 usr.bin/undo/undo.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3260eed4ea6a17bab8a587c35da7d597cfff6c1e


-- 
DragonFly BSD source repository





More information about the Commits mailing list