DragonFly commits List (threaded) for 2009-03
DragonFly BSD
DragonFly commits List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.359.g8debe master usr.bin/undo undo.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Mar 2009 06:50:56 -0800 (PST)

commit 8debe47178fd964f1e543d3b669a6f0292f0f07c
Author: Simon Schubert <simon.schubert@epfl.ch>
Date:   Fri Mar 6 15:41:25 2009 +0100

    undo: don't run diff between last tid and tid_max
    
    Diff works on pairs of tids and not on only the first tid passed in to
    the generator.  As a result, there is nothing to do for the last pair of
    tids: the last tid and max_tid refer to the same version.  Avoid running
    the generator in this case.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8debe47178fd964f1e543d3b669a6f0292f0f07c


-- 
DragonFly BSD source repository



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