git: DragonFly_RELEASE_2_10 hammer(8): fix snaprm argument parsing

Thomas Nikolajsen thomas at crater.dragonflybsd.org
Mon Sep 26 12:36:02 PDT 2011


commit d62b49e3685ba0c1a8b09c8cf7631f0dbe20ad3a
Author: Thomas Nikolajsen <thomas at dragonflybsd.org>
Date:   Mon Sep 26 21:20:27 2011 +0200

    hammer(8): fix snaprm argument parsing
    
    Parse arguments according to SYNOPSIS.
    snaprm didn't parse arguments fully:
    e.g. PFS symlink was deleted if given as only argument.
    
    DragonFly-bug: <http://bugs.dragonflybsd.org/issue2111>
    Submitted-by: fix based on patch from "sgaerner at gmx.net"

Summary of changes:
 sbin/hammer/cmd_snapshot.c |   49 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 43 insertions(+), 6 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list