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

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Nov 14 12:25:49 PST 2013


commit d72200edc8a9934f16e185f29e31ef5fe654c93a
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/d72200edc8a9934f16e185f29e31ef5fe654c93a


-- 
DragonFly BSD source repository



More information about the Commits mailing list