git: DragonFly_RELEASE_3_6 cpdup - Add another way to prevent host:path misintepretation

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 18 21:49:43 PST 2013


commit 8d1e7fb88aeb1ac5e166a73ebe8d8781d7f48468
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Nov 14 12:23:15 2013 -0800

    cpdup - Add another way to prevent host:path misintepretation
    
    * Allow a local file or directory name to be prefixed with localhost:
      to prevent colons in the filename from being misinterpreted as a
      remote-host specification.
    
      This is in addition to the nominal absolute-path method to prevent
      misinterpretation (a '/' occuring before any ':' prevents
      misinterpretation of the ':' as a remote-host specification)

Summary of changes:
 bin/cpdup/cpdup.1 |  8 ++++++++
 bin/cpdup/cpdup.c | 17 ++++++++++++-----
 bin/cpdup/misc.c  |  2 +-
 3 files changed, 21 insertions(+), 6 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list