Perl: Use our own globbing wrapper rather than File::Glob::glob
authorRichard Levitte <levitte@openssl.org>
Fri, 3 Nov 2017 20:22:17 +0000 (21:22 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 5 Nov 2017 21:57:06 +0000 (22:57 +0100)
commitb81cfa07ada850fd287d0a0c82ba280907f18ce7
tree796f74646a6e66c23af77d8c909bdb2327768437
parentbcc096a50811bf0f0c4fd34b2993fed7a7015972
Perl: Use our own globbing wrapper rather than File::Glob::glob

File::Glob::glob is deprecated, it's use generates this kind of
message:

    File::Glob::glob() will disappear in perl 5.30. Use File::Glob::bsd_glob() instead. at ../master/Configure line 277.

The first idea was to use a construction that makes the caller glob()
use File::Glob::bsd_glob().  That turned out not to work well
everywhere, so instead, we make our own wrapper, OpenSSL::Glob and use
that.

Fixes #4636

(this is an adaptation of #4040 and part of #4069, for 1.1.0)

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4666)
Configure
test/build.info
test/recipes/40-test_rehash.t
test/recipes/80-test_ssl_new.t
test/run_tests.pl
util/OpenSSL/Glob.pm [new file with mode: 0644]
util/mkdef.pl
util/process_docs.pl