[perl.git] branch blead, updated. v5.21.2-90-gdee28d0
In perl.git, the branch blead has been updated http://perl5.git.perl.org/perl.git/commitdiff/dee28d0dbca2d9719243e3e17392dcd12d011104?hp=ce7ce09736ea27007b926de51e1f44c473ea79e5 - Log - commit dee28d0dbca2d9719243e3e17392dcd12d011104 Author: Chris 'BinGOs' Williams ch...@bingosnet.co.uk Date: Mon Aug 4 12:47:34 2014 +0100 Update perlfaq to CPAN version 5.0150045 [DELTA] 5.0150045 Sun 3 Aug 2014 18:16:06 +0100 * Improve example, use File::Spec (Brian Fraser) * Typo in perlfaq7 (Rares Aioanei, via shlomif) * Typo in perlfaq1 (Xaerxess) --- Summary of changes: Porting/Maintainers.pl| 2 +- cpan/perlfaq/lib/perlfaq.pm | 5 + cpan/perlfaq/lib/perlfaq1.pod | 2 +- cpan/perlfaq/lib/perlfaq5.pod | 6 -- cpan/perlfaq/lib/perlfaq7.pod | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl index 5c2b8f2..6576d81 100755 --- a/Porting/Maintainers.pl +++ b/Porting/Maintainers.pl @@ -864,7 +864,7 @@ use File::Glob qw(:case); }, 'perlfaq' = { -'DISTRIBUTION' = 'LLAP/perlfaq-5.0150044.tar.gz', +'DISTRIBUTION' = 'LLAP/perlfaq-5.0150045.tar.gz', 'FILES'= q[cpan/perlfaq], 'EXCLUDED' = [ qw( t/release-pod-syntax.t diff --git a/cpan/perlfaq/lib/perlfaq.pm b/cpan/perlfaq/lib/perlfaq.pm index 6d6a05a..9a64d66 100644 --- a/cpan/perlfaq/lib/perlfaq.pm +++ b/cpan/perlfaq/lib/perlfaq.pm @@ -1,6 +1,3 @@ package perlfaq; -{ - $perlfaq::VERSION = '5.0150044'; -} - +$perlfaq::VERSION = '5.0150045'; 0; # not is it supposed to be loaded diff --git a/cpan/perlfaq/lib/perlfaq1.pod b/cpan/perlfaq/lib/perlfaq1.pod index 19eb1ed..ad39051 100644 --- a/cpan/perlfaq/lib/perlfaq1.pod +++ b/cpan/perlfaq/lib/perlfaq1.pod @@ -116,7 +116,7 @@ and an experimental version. The maintenance versions are stable, and have an even number as the minor release (i.e. perl5.18.x, where 18 is the minor release). The experimental versions may include features that don't make it into the stable versions, and have an odd number as the -minor release (i.e. perl5.19.x, where 9 is the minor release). +minor release (i.e. perl5.19.x, where 19 is the minor release). =back diff --git a/cpan/perlfaq/lib/perlfaq5.pod b/cpan/perlfaq/lib/perlfaq5.pod index a2baf16..a8d4478 100644 --- a/cpan/perlfaq/lib/perlfaq5.pod +++ b/cpan/perlfaq/lib/perlfaq5.pod @@ -431,8 +431,10 @@ temporary files in one process, use a counter: BEGIN { use Fcntl; -my $temp_dir = -d '/tmp' ? '/tmp' : $ENV{TMPDIR} || $ENV{TEMP}; -my $base_name = sprintf %s/%d-%d-, $temp_dir, $$, time; +use File::Spec; +my $temp_dir = File::Spec-tmpdir(); +my $file_base = sprintf %d-%d-, $$, time; +my $base_name = File::Spec-catfile($temp_dir, $file_base); sub temp_file { my $fh; diff --git a/cpan/perlfaq/lib/perlfaq7.pod b/cpan/perlfaq/lib/perlfaq7.pod index bd6c102..3c5ab84 100644 --- a/cpan/perlfaq/lib/perlfaq7.pod +++ b/cpan/perlfaq/lib/perlfaq7.pod @@ -201,7 +201,7 @@ transfer the module to you. If you can not reach the author for some reason contact the PAUSE admins at modu...@perl.org who may be able to help, -but each case it treated separately. +but each case is treated separately. =over 4 -- Perl5 Master Repository
[perl.git] branch blead, updated. v5.21.2-91-gdd25c35
In perl.git, the branch blead has been updated http://perl5.git.perl.org/perl.git/commitdiff/dd25c352db6f2a0adb8324232f6ccfd456d603e9?hp=dee28d0dbca2d9719243e3e17392dcd12d011104 - Log - commit dd25c352db6f2a0adb8324232f6ccfd456d603e9 Author: Andy Dougherty dough...@lafayette.edu Date: Mon Aug 4 10:38:48 2014 -0400 Fix hint typo: No leading underscore in PERL_USE_SAFE_PUTENV hints/solaris_2.sh generates a config.over script intended to add PERL_USE_SAFE_PUTENV to ccflags, if it is not already present. An extra leading underscore in the check meant that the test always failed and PERL_USE_SAFE_PUTENV always got added. --- Summary of changes: hints/solaris_2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index a20dd39..9577dad 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -686,7 +686,7 @@ EOCBU # cat config.over 'EOOVER' if test $d_unsetenv = $define -a \ -`expr $ccflags : '.*-D_PERL_USE_SAFE_PUTENV'` -eq 0; then +`expr $ccflags : '.*-DPERL_USE_SAFE_PUTENV'` -eq 0; then ccflags=$ccflags -DPERL_USE_SAFE_PUTENV fi EOOVER -- Perl5 Master Repository
[perl.git] branch smoke-me/khw-locale, created. v5.21.2-94-gf0d7090
In perl.git, the branch smoke-me/khw-locale has been created http://perl5.git.perl.org/perl.git/commitdiff/f0d7090d1caaba6b8d06abfb9bee08058666dfa7?hp= at f0d7090d1caaba6b8d06abfb9bee08058666dfa7 (commit) - Log - commit f0d7090d1caaba6b8d06abfb9bee08058666dfa7 Author: Karl Williamson k...@cpan.org Date: Mon Aug 4 16:29:12 2014 -0600 smoke M vutil.c commit 18e35ed55e5d91c12bab3fc138eeb236745cc914 Author: Karl Williamson k...@cpan.org Date: Mon Aug 4 12:57:43 2014 -0600 t/run/locale.t: Skip environment test on Win32 This test is to make sure that without environment overrides, that the decimal point character is a dot. However in Windows machines, the default locale can be set via administration regardless of environment overrides, so this test is invalid on that platform. Spotted by Steve Hay. M t/run/locale.t commit 515e4517fad6ccf0a5b1a5ee17187bcd16ffd685 Author: Andrew Fresh afre...@openbsd.org Date: Wed Jul 9 03:30:00 2014 -0700 locale: monetary: international currency formatting (POSIX.1-2008) M Configure M Cross/config.sh-arm-linux M NetWare/config.wc M Porting/config.sh M config_h.SH M configure.com M ext/POSIX/POSIX.xs M ext/POSIX/lib/POSIX.pm M ext/POSIX/lib/POSIX.pod M ext/POSIX/t/posix.t M plan9/config_sh.sample M symbian/config.sh M uconfig.h M uconfig.sh M uconfig64.sh M win32/config.ce M win32/config.gc M win32/config.vc --- -- Perl5 Master Repository
[perl.git] branch smoke-me/khw-error_msg, deleted. v5.21.2-74-g97787f6
In perl.git, the branch smoke-me/khw-error_msg has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=97787f69ceed4b3dad87bdd0713cf47b9769d915 was 97787f69ceed4b3dad87bdd0713cf47b9769d915 --- 97787f69ceed4b3dad87bdd0713cf47b9769d915 PATCH: [perl #121638] 'Global symbol $identifier requires explicit package' error message --- -- Perl5 Master Repository
[perl.git] branch smoke-me/khw-sprout, deleted. v5.21.2-89-g7cb940c
In perl.git, the branch smoke-me/khw-sprout has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=7cb940c62db8fe85428b8c157a16042f7088aa48 was 7cb940c62db8fe85428b8c157a16042f7088aa48 --- 7cb940c62db8fe85428b8c157a16042f7088aa48 smoke --- -- Perl5 Master Repository
[perl.git] branch smoke-me/jkeenan/jhi/122267-4th-darwin-libperl, deleted. v5.21.1-174-g5a01b11
In perl.git, the branch smoke-me/jkeenan/jhi/122267-4th-darwin-libperl has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=5a01b11cd54f2082dce6f0e43a0a2f7bb437c7c7 was 5a01b11cd54f2082dce6f0e43a0a2f7bb437c7c7 --- 5a01b11cd54f2082dce6f0e43a0a2f7bb437c7c7 Get t/porting/libperl.t working on darwin/ppc. --- -- Perl5 Master Repository
[perl.git] branch smoke-me/jkeenan/121077-my-opt, deleted. v5.19.8-108-g5b009e5
In perl.git, the branch smoke-me/jkeenan/121077-my-opt has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=5b009e54b722a20afcd404d9b156ad7250559add was 5b009e54b722a20afcd404d9b156ad7250559add --- 5b009e54b722a20afcd404d9b156ad7250559add First pass at optimisation for 'my $x; my $y;' - 'my ($x, $y)'. --- -- Perl5 Master Repository
[perl.git] branch smoke-me/jkeenan/122001-installperl-iocompress, deleted. v5.21.0-239-g2189334
In perl.git, the branch smoke-me/jkeenan/122001-installperl-iocompress has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=218933419fc325525d5c041cb37a3dd59c52f51f was 218933419fc325525d5c041cb37a3dd59c52f51f --- 218933419fc325525d5c041cb37a3dd59c52f51f Improve fix for treating IO-Compress as an extension --- -- Perl5 Master Repository
[perl.git] branch smoke-me/jkeenan/122009-openbsd-hints, deleted. v5.21.0-249-g3291999
In perl.git, the branch smoke-me/jkeenan/122009-openbsd-hints has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=3291999219880f7ee0b207f77fa88b8ad71c06f2 was 3291999219880f7ee0b207f77fa88b8ad71c06f2 --- 3291999219880f7ee0b207f77fa88b8ad71c06f2 Add Andrew Fresh to authors. --- -- Perl5 Master Repository
[perl.git] branch smoke-me/jkeenan/pcmartini/121245-redundant-EXTEND, deleted. v5.19.8-452-g7e0b2bc
In perl.git, the branch smoke-me/jkeenan/pcmartini/121245-redundant-EXTEND has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=7e0b2bcfdc55e4ad792fa0bb8932f0aeb2e58f88 was 7e0b2bcfdc55e4ad792fa0bb8932f0aeb2e58f88 --- 7e0b2bcfdc55e4ad792fa0bb8932f0aeb2e58f88 Remove a redundant EXTEND (its followed by XPUSHs) --- -- Perl5 Master Repository
[perl.git] branch smoke-me/khw-locale, created. v5.21.2-94-gd9ad84c
In perl.git, the branch smoke-me/khw-locale has been created http://perl5.git.perl.org/perl.git/commitdiff/d9ad84caad1aef92774e88f2287ed38810bc00f4?hp= at d9ad84caad1aef92774e88f2287ed38810bc00f4 (commit) - Log - commit d9ad84caad1aef92774e88f2287ed38810bc00f4 Author: Karl Williamson k...@cpan.org Date: Mon Aug 4 16:29:12 2014 -0600 smoke M t/porting/customized.dat M vutil.c commit 18e35ed55e5d91c12bab3fc138eeb236745cc914 Author: Karl Williamson k...@cpan.org Date: Mon Aug 4 12:57:43 2014 -0600 t/run/locale.t: Skip environment test on Win32 This test is to make sure that without environment overrides, that the decimal point character is a dot. However in Windows machines, the default locale can be set via administration regardless of environment overrides, so this test is invalid on that platform. Spotted by Steve Hay. M t/run/locale.t commit 515e4517fad6ccf0a5b1a5ee17187bcd16ffd685 Author: Andrew Fresh afre...@openbsd.org Date: Wed Jul 9 03:30:00 2014 -0700 locale: monetary: international currency formatting (POSIX.1-2008) M Configure M Cross/config.sh-arm-linux M NetWare/config.wc M Porting/config.sh M config_h.SH M configure.com M ext/POSIX/POSIX.xs M ext/POSIX/lib/POSIX.pm M ext/POSIX/lib/POSIX.pod M ext/POSIX/t/posix.t M plan9/config_sh.sample M symbian/config.sh M uconfig.h M uconfig.sh M uconfig64.sh M win32/config.ce M win32/config.gc M win32/config.vc --- -- Perl5 Master Repository
[perl.git] branch smoke-me/khw-locale, deleted. v5.21.2-94-gf0d7090
In perl.git, the branch smoke-me/khw-locale has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=f0d7090d1caaba6b8d06abfb9bee08058666dfa7 was f0d7090d1caaba6b8d06abfb9bee08058666dfa7 --- f0d7090d1caaba6b8d06abfb9bee08058666dfa7 smoke --- -- Perl5 Master Repository
[perl.git] branch smoke-me/khw-locale, deleted. v5.21.2-94-gd9ad84c
In perl.git, the branch smoke-me/khw-locale has been deleted http://perl5.git.perl.org/perl.git/commitdiff/?hp=d9ad84caad1aef92774e88f2287ed38810bc00f4 was d9ad84caad1aef92774e88f2287ed38810bc00f4 --- d9ad84caad1aef92774e88f2287ed38810bc00f4 smoke --- -- Perl5 Master Repository
[perl.git] branch smoke-me/khw-locale, created. v5.21.2-94-g561f10a
In perl.git, the branch smoke-me/khw-locale has been created http://perl5.git.perl.org/perl.git/commitdiff/561f10adad3ebca3c5e8be4c0ae9b9785982982a?hp= at 561f10adad3ebca3c5e8be4c0ae9b9785982982a (commit) - Log - commit 561f10adad3ebca3c5e8be4c0ae9b9785982982a Author: Karl Williamson k...@cpan.org Date: Mon Aug 4 16:29:12 2014 -0600 smoke M t/porting/customized.dat M vutil.c commit 18e35ed55e5d91c12bab3fc138eeb236745cc914 Author: Karl Williamson k...@cpan.org Date: Mon Aug 4 12:57:43 2014 -0600 t/run/locale.t: Skip environment test on Win32 This test is to make sure that without environment overrides, that the decimal point character is a dot. However in Windows machines, the default locale can be set via administration regardless of environment overrides, so this test is invalid on that platform. Spotted by Steve Hay. M t/run/locale.t commit 515e4517fad6ccf0a5b1a5ee17187bcd16ffd685 Author: Andrew Fresh afre...@openbsd.org Date: Wed Jul 9 03:30:00 2014 -0700 locale: monetary: international currency formatting (POSIX.1-2008) M Configure M Cross/config.sh-arm-linux M NetWare/config.wc M Porting/config.sh M config_h.SH M configure.com M ext/POSIX/POSIX.xs M ext/POSIX/lib/POSIX.pm M ext/POSIX/lib/POSIX.pod M ext/POSIX/t/posix.t M plan9/config_sh.sample M symbian/config.sh M uconfig.h M uconfig.sh M uconfig64.sh M win32/config.ce M win32/config.gc M win32/config.vc --- -- Perl5 Master Repository
[perl.git] branch blead, updated. v5.21.2-92-g883f220
In perl.git, the branch blead has been updated http://perl5.git.perl.org/perl.git/commitdiff/883f220b1a9552b53f705c439a73a5c235feaedc?hp=dd25c352db6f2a0adb8324232f6ccfd456d603e9 - Log - commit 883f220b1a9552b53f705c439a73a5c235feaedc Author: Tony Cook t...@develop-help.com Date: Tue Aug 5 15:18:25 2014 +1000 [perl #121404] tied hashes are different --- Summary of changes: pod/perlfunc.pod | 11 +-- pod/perlsec.pod | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 173615b..b93bb32 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1683,6 +1683,9 @@ returned by Ceach(), so the following code works properly: delete $hash{$key}; # This is safe } +Tied hashes may have a different ordering behaviour to perl's hash +implementation. + This prints out your environment like the printenv(1) program, but in a different order: @@ -3155,7 +3158,9 @@ rely on Ckeys, Cvalues and Ceach to repeatedly return the same order as each other. See Lperlsec/Algorithmic Complexity Attacks for details on why hash order is randomized. Aside from the guarantees provided here the exact details of Perl's hash algorithm and the hash -traversal order are subject to change in any release of Perl. +traversal order are subject to change in any release of Perl. Tied hashes +may behave differently to Perl's hashes with respect to changes in order on +insertion and deletion of items. As a side effect, calling keys() resets the internal iterator of the HASH or ARRAY (see L/each). In particular, calling keys() in void context resets @@ -8747,7 +8752,9 @@ rely on Ckeys, Cvalues and Ceach to repeatedly return the same order as each other. See Lperlsec/Algorithmic Complexity Attacks for details on why hash order is randomized. Aside from the guarantees provided here the exact details of Perl's hash algorithm and the hash -traversal order are subject to change in any release of Perl. +traversal order are subject to change in any release of Perl. Tied hashes +may behave differently to Perl's hashes with respect to changes in order on +insertion and deletion of items. As a side effect, calling values() resets the HASH or ARRAY's internal iterator, see L/each. (In particular, calling values() in void context diff --git a/pod/perlsec.pod b/pod/perlsec.pod index 703bd46..b6474e6 100644 --- a/pod/perlsec.pod +++ b/pod/perlsec.pod @@ -534,6 +534,9 @@ or the CPAN module CAlgorithm::Numerical::Shuffle), or for generating permutations (use e.g. the CPAN modules CAlgorithm::Permute or CAlgorithm::FastPermute), or for any cryptographic applications. +Tied hashes may have their own ordering and algorithmic complexity +attacks. + =item * Regular expressions - Perl's regular expression engine is so called NFA -- Perl5 Master Repository