git: usr.bin/undo: Rename UNDO_FLAG_SETTID[12] to UNDO_FLAG_TID_INDEX[12]

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Oct 10 05:46:02 PDT 2015


commit 91b6127f8c01e3b527a3cab2fc618b6c9440bc09
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Sep 27 04:45:58 2015 +0900

    usr.bin/undo: Rename UNDO_FLAG_SETTID[12] to UNDO_FLAG_TID_INDEX[12]
    
    "SETTID[12]" doen't represent what these macros are used for,
    but rather confusing as it sounds like it has something to do
    with the real transaction id.
    
    "SETTID[12]" means tid field isn't hammer's transaction id,
    but is placeholder index, so it should have "INDEX" somewhere
    in its name.
    
    See 965778c8 for these two macros.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/91b6127f8c01e3b527a3cab2fc618b6c9440bc09


-- 
DragonFly BSD source repository



More information about the Commits mailing list