[openssl-commits] [openssl]  master update
    Andy Polyakov 
    appro at openssl.org
       
    Fri Nov 10 08:40:33 UTC 2017
    
    
  
The branch master has been updated
       via  1097d2a39e3f85d4dac2c4d1c238792d6e1d959f (commit)
      from  72858038724cc503e532168e33acea689ee7b036 (commit)
- Log -----------------------------------------------------------------
commit 1097d2a39e3f85d4dac2c4d1c238792d6e1d959f
Author: Andy Polyakov <appro at openssl.org>
Date:   Tue Nov 7 20:59:00 2017 +0100
    util/copy.pl: work around glob quirk in some of earlier 5.1x Perl versions.
    
    In earlier 5.1x Perl versions quoting globs works only if there is
    white space. If there is none, it's looking for names starting with ".
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4695)
-----------------------------------------------------------------------
Summary of changes:
 util/copy.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/copy.pl b/util/copy.pl
index c4aeea6..f93fb25 100644
--- a/util/copy.pl
+++ b/util/copy.pl
@@ -26,7 +26,8 @@ foreach $arg (@ARGV) {
 		next;
 		}
 	$arg =~ s|\\|/|g;	# compensate for bug/feature in cygwin glob...
-	foreach (glob qq("$arg"))
+	$arg = qq("$arg") if ($arg =~ /\s/);	# compensate for bug in 5.10...
+	foreach (glob $arg)
 		{
 		push @filelist, $_;
 		}
    
    
More information about the openssl-commits
mailing list