X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/abd3adb8322a8ec12880059cef05a18e5ce8a0aa..0ef5abcbbb95298fa9faf1d3eb275a9e76e1d951:/nameconverter.diff diff --git a/nameconverter.diff b/nameconverter.diff index 81e3c30..1d65549 100644 --- a/nameconverter.diff +++ b/nameconverter.diff @@ -222,8 +222,8 @@ diff --git a/support/nameconvert b/support/nameconvert new file mode 100755 --- /dev/null +++ b/support/nameconvert -@@ -0,0 +1,42 @@ -+#!/usr/bin/perl -w +@@ -0,0 +1,43 @@ ++#!/usr/bin/perl +# This implements a simple protocol to do {user,group}-{name,id} +# conversions. All input and output consists of simple strings +# with a terminating null char (or newline for debugging). If @@ -242,6 +242,7 @@ new file mode 100755 +# "name converter" setting. + +use strict; ++use warnings; + +my $eol = grep(/^--debug$/, @ARGV) ? "\n" : "\0"; +$/ = $eol;