mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-24 06:38:15 -04:00
A slight simplification to the last change.
This commit is contained in:
1 parent
176e8e94c3
commit
71f9e4673e
1 file changed
+1
-1
@@ -48,7 +48,7 @@ while (<>) {
|
||||
die "Invalid input line $.:\n$_" unless defined $name;
|
||||
die "A filename is not properly escaped:\n$_" unless $name =~ /^[^"\\]*(\\(\d\d\d|\D)[^"\\]*)*$/;
|
||||
my $fn = $name;
|
||||
$fn =~ s/\\(\d+|[A-Za-z]|.)/ eval "\"\\$1\"" /eg;
|
||||
$fn =~ s/\\(\d+|.)/ eval "\"\\$1\"" /eg;
|
||||
if ($type eq '-') {
|
||||
undef $type unless -f $fn;
|
||||
} elsif ($type eq 'd') {
|
||||
|
||||
Reference in new issue
Block a user