git: cpdup - Fix the sense of a uid check when files are otherwise identical

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 3 13:00:29 PST 2009


commit a9fa3ead8c9383459582955e51da56fe158adb14
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Nov 27 20:09:05 2009 -0800

    cpdup - Fix the sense of a uid check when files are otherwise identical
    
    * Fix the sense of a uid check when files are otherwise identical
      (Oliver).
    
    * Also slightly reduce network overhead by removing unnecessary chflags
      calls when running as a user and the only differences are in the
      root-only chflags bits (Matt).
    
    Submitted-by: Oliver Fromme <olli at fromme.com> (RunningAsRoot fix)

Summary of changes:
 bin/cpdup/cpdup.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9fa3ead8c9383459582955e51da56fe158adb14


-- 
DragonFly BSD source repository





More information about the Commits mailing list