[perl.git] branch smoke-me/jkeenan/Dumpvalue-extend-coverage deleted. v5.31.4-360-gb1e5113abb

2019-10-14 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/Dumpvalue-extend-coverage has been 
deleted



   was  b1e5113abb227bffae15d240871b5fbd9d1a8d6e

- Log -
b1e5113abb227bffae15d240871b5fbd9d1a8d6e Extend test coverage for Dumpvalue.pm
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.4-362-g8a1dfc0464

2019-10-14 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 8a1dfc0464f1ff3f7536b414fd48c3da48101ffa
Author: James E Keenan 
Date:   Sun Oct 13 08:45:22 2019 -0400

Extend test coverage for Dumpvalue.pm

Improve coverage since version 1.18.

$ cat Dumpvalue.original.coverage
- -- -- -- -- -- -- --
Filestmt   bran   condsubpod   time  total
- -- -- -- -- -- -- --
blib/lib/Dumpvalue.pm   95.8   74.7   59.7  100.0   45.8  100.0   81.2
Total   95.8   74.7   59.7  100.0   45.8  100.0   81.2
- -- -- -- -- -- -- --

$ cat 8e07bd5a.coverage.txt
- -- -- -- -- -- -- --
Filestmt   bran   condsubpod   time  total
- -- -- -- -- -- -- --
blib/lib/Dumpvalue.pm   98.7   89.0   70.9  100.0   45.8  100.0   88.6
Total   98.7   89.0   70.9  100.0   45.8  100.0   88.6
- -- -- -- -- -- -- --

---

Summary of changes:
 MANIFEST   |   1 +
 dist/Dumpvalue/t/extend-coverage.t | 443 +
 2 files changed, 444 insertions(+)
 create mode 100644 dist/Dumpvalue/t/extend-coverage.t

diff --git a/MANIFEST b/MANIFEST
index 74052779cd..0c06d8a258 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3455,6 +3455,7 @@ dist/Devel-SelfStubber/lib/Devel/SelfStubber.pm   
Generate stubs for SelfLoader.pm
 dist/Devel-SelfStubber/t/Devel-SelfStubber.t   See if Devel::SelfStubber works
 dist/Dumpvalue/lib/Dumpvalue.pmScreen dump of perl values
 dist/Dumpvalue/t/Dumpvalue.t   See if Dumpvalue works
+dist/Dumpvalue/t/extend-coverage.t Extend Dumpvalue's test coverage
 dist/Dumpvalue/t/lib/TieOut.pm Helper module for Dumpvalue tests
 dist/Dumpvalue/t/rt-134441-dumpvalue.t See if Dumpvalue works
 dist/encoding-warnings/lib/encoding/warnings.pmwarn on implicit 
encoding conversions
diff --git a/dist/Dumpvalue/t/extend-coverage.t 
b/dist/Dumpvalue/t/extend-coverage.t
new file mode 100644
index 00..760c3399c0
--- /dev/null
+++ b/dist/Dumpvalue/t/extend-coverage.t
@@ -0,0 +1,443 @@
+BEGIN {
+require Config;
+if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
+print "1..0 # Skip -- Perl configured without List::Util module\n";
+exit 0;
+}
+
+# `make test` in the CPAN version of this module runs us with -w, but
+# Dumpvalue.pm relies on all sorts of things that can cause warnings. I
+# don't think that's worth fixing, so we just turn off all warnings
+# during testing.
+$^W = 0;
+}
+
+use strict;
+use warnings;
+use lib ("./t/lib");
+use TieOut;
+use Test::More qw(no_plan); # tests => 17;
+use List::Util qw( sum );
+use File::Temp qw( tempfile tempdir );
+use File::Spec;
+
+use_ok( 'Dumpvalue' );
+
+my $out = tie *OUT, 'TieOut';
+select(OUT);
+
+{
+my $d = Dumpvalue->new( dumpReused => 1 );
+ok( $d, 'create a new Dumpvalue object' );
+is( $d->get('globPrint'), 0, 'get a single (default) option correctly' );
+my @attributes = (qw|globPrint printUndef tick unctrl|);
+my @rv = $d->get(@attributes);
+my $expected = [ 0, 1, "auto", 'quote' ];
+is_deeply( \@rv, $expected, "get multiple (default) options correctly" );
+}
+
+{
+my $d;
+ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' );
+my @foobar = ('foo', 'bar');
+my @bazlow = ('baz', 'low');
+{
+local $@;
+eval { $d->dumpValue([@foobar], [@bazlow]); };
+like $@, qr/^usage: \$dumper->dumpValue\(value\)/,
+"dumpValue() takes only 1 argument";
+}
+}
+
+{
+my $d;
+ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' );
+#is( $d->stringify(), 'undef', 'stringify handles undef okay' );
+# Need to create a "stringify-overloaded object", then test with
+# non-default value 'bareStringify = 0'.
+}
+
+
+{
+my (@x, @y);
+
+my $d = Dumpvalue->new( dumpReused => 1, quoteHighBit => '', unctrl => 
'quote' );
+ok( $d, 'create a new Dumpvalue object: quoteHighBit explicitly off' );
+$x[0] = $d->stringify("\N{U+266}");
+is ($x[0], "'\N{U+266}'" , 'quoteHighBit off' );
+
+my $e = Dumpvalue->new( dumpReused => 1, quoteHighBit => 1, unctrl => 
'quote' );
+ok( $e, 'create a new Dumpvalue object: quoteHighBit on' );
+$y[0] = $e->stringify("\N{U+266}");
+is( $y[0], q|'\1146'|, "quoteHighBit on");
+
+my $f = Dumpvalue->new( dumpReused => 1, q

[perl.git] branch blead updated. v5.31.4-360-geeef80ee5b

2019-10-13 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit eeef80ee5baf3bfa9bcd89b3a8d2f536461f8bc2
Author: James E Keenan 
Date:   Sun Oct 13 08:53:50 2019 -0400

perldelta for recent changes to dist/Dumpvalue

---

Summary of changes:
 pod/perldelta.pod | 8 
 1 file changed, 8 insertions(+)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index f688a7ed56..7f1202bbb2 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -147,6 +147,14 @@ L has been upgraded from version A.xx to B.yy.
 
 If there was something important to note about this change, include that here.
 
+=item *
+
+L has been upgraded from version 1.18 to 1.21.
+
+Previously, when dumping elements of an array and encountering an undefined
+value, the string printed would have been C.  This has been
+changed to what was apparently originally intended:  C.
+
 =back
 
 =head2 Removed Modules and Pragmata

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/Dumpvalue-extend-coverage updated. v5.31.4-360-gb1e5113abb

2019-10-13 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/Dumpvalue-extend-coverage has been 
updated



- Log -
commit b1e5113abb227bffae15d240871b5fbd9d1a8d6e
Author: James E Keenan 
Date:   Sun Oct 13 08:45:22 2019 -0400

Extend test coverage for Dumpvalue.pm

Improve coverage since version 1.18.

$ cat Dumpvalue.original.coverage
- -- -- -- -- -- -- --
Filestmt   bran   condsubpod   time  total
- -- -- -- -- -- -- --
blib/lib/Dumpvalue.pm   95.8   74.7   59.7  100.0   45.8  100.0   81.2
Total   95.8   74.7   59.7  100.0   45.8  100.0   81.2
- -- -- -- -- -- -- --

$ cat 8e07bd5a.coverage.txt
- -- -- -- -- -- -- --
Filestmt   bran   condsubpod   time  total
- -- -- -- -- -- -- --
blib/lib/Dumpvalue.pm   98.7   89.0   70.9  100.0   45.8  100.0   88.6
Total   98.7   89.0   70.9  100.0   45.8  100.0   88.6
- -- -- -- -- -- -- --

---

Summary of changes:
 MANIFEST   |   1 +
 dist/Dumpvalue/t/extend-coverage.t | 443 +
 2 files changed, 444 insertions(+)
 create mode 100644 dist/Dumpvalue/t/extend-coverage.t

diff --git a/MANIFEST b/MANIFEST
index 74052779cd..0c06d8a258 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3455,6 +3455,7 @@ dist/Devel-SelfStubber/lib/Devel/SelfStubber.pm   
Generate stubs for SelfLoader.pm
 dist/Devel-SelfStubber/t/Devel-SelfStubber.t   See if Devel::SelfStubber works
 dist/Dumpvalue/lib/Dumpvalue.pmScreen dump of perl values
 dist/Dumpvalue/t/Dumpvalue.t   See if Dumpvalue works
+dist/Dumpvalue/t/extend-coverage.t Extend Dumpvalue's test coverage
 dist/Dumpvalue/t/lib/TieOut.pm Helper module for Dumpvalue tests
 dist/Dumpvalue/t/rt-134441-dumpvalue.t See if Dumpvalue works
 dist/encoding-warnings/lib/encoding/warnings.pmwarn on implicit 
encoding conversions
diff --git a/dist/Dumpvalue/t/extend-coverage.t 
b/dist/Dumpvalue/t/extend-coverage.t
new file mode 100644
index 00..760c3399c0
--- /dev/null
+++ b/dist/Dumpvalue/t/extend-coverage.t
@@ -0,0 +1,443 @@
+BEGIN {
+require Config;
+if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
+print "1..0 # Skip -- Perl configured without List::Util module\n";
+exit 0;
+}
+
+# `make test` in the CPAN version of this module runs us with -w, but
+# Dumpvalue.pm relies on all sorts of things that can cause warnings. I
+# don't think that's worth fixing, so we just turn off all warnings
+# during testing.
+$^W = 0;
+}
+
+use strict;
+use warnings;
+use lib ("./t/lib");
+use TieOut;
+use Test::More qw(no_plan); # tests => 17;
+use List::Util qw( sum );
+use File::Temp qw( tempfile tempdir );
+use File::Spec;
+
+use_ok( 'Dumpvalue' );
+
+my $out = tie *OUT, 'TieOut';
+select(OUT);
+
+{
+my $d = Dumpvalue->new( dumpReused => 1 );
+ok( $d, 'create a new Dumpvalue object' );
+is( $d->get('globPrint'), 0, 'get a single (default) option correctly' );
+my @attributes = (qw|globPrint printUndef tick unctrl|);
+my @rv = $d->get(@attributes);
+my $expected = [ 0, 1, "auto", 'quote' ];
+is_deeply( \@rv, $expected, "get multiple (default) options correctly" );
+}
+
+{
+my $d;
+ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' );
+my @foobar = ('foo', 'bar');
+my @bazlow = ('baz', 'low');
+{
+local $@;
+eval { $d->dumpValue([@foobar], [@bazlow]); };
+like $@, qr/^usage: \$dumper->dumpValue\(value\)/,
+"dumpValue() takes only 1 argument";
+}
+}
+
+{
+my $d;
+ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' );
+#is( $d->stringify(), 'undef', 'stringify handles undef okay' );
+# Need to create a "stringify-overloaded object", then test with
+# non-default value 'bareStringify = 0'.
+}
+
+
+{
+my (@x, @y);
+
+my $d = Dumpvalue->new( dumpReused => 1, quoteHighBit => '', unctrl => 
'quote' );
+ok( $d, 'create a new Dumpvalue object: quoteHighBit explicitly off' );
+$x[0] = $d->stringify("\N{U+266}");
+is ($x[0], "'\N{U+266}'" , 'quoteHighBit off' );
+
+my $e = Dumpvalue->new( dumpReused => 1, quoteHighBit => 1, unctrl => 
'quote' );
+ok( $e, 'create a new Dumpvalue object: quoteHighBit on' );
+$y[0] = $e->stringify("\N{U+266}");
+is( $y[0], q|'\1146'|, "quoteHighBit on");
+
+my $

[perl.git] branch smoke-me/jkeenan/Dumpvalue-extend-coverage created. v5.31.4-359-ge4b195720b

2019-10-13 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/Dumpvalue-extend-coverage has been 
created



at  e4b195720bb9ebb04424319463f3dba4c2d7c2ae (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133492-Dumpvalue-dont-call-exists-on-array-elements deleted. v5.31.4-356-g7fb18bf9c5

2019-10-13 Thread James Keenan via perl5-changes
In perl.git, the branch 
smoke-me/jkeenan/133492-Dumpvalue-dont-call-exists-on-array-elements has been 
deleted



   was  7fb18bf9c5f8ec4216a0e66aad5068ba51a6a3de

- Log -
7fb18bf9c5f8ec4216a0e66aad5068ba51a6a3de Do not use 'exists' on arrays; use 
'defined' instead
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.4-359-ge4b195720b

2019-10-13 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit e4b195720bb9ebb04424319463f3dba4c2d7c2ae
Author: James E Keenan 
Date:   Thu Oct 10 18:49:20 2019 -0400

Do not use 'exists' on arrays; use 'defined' instead

pod/perlfunc.pod advises us:

   WARNING: Calling "exists" on array values is strongly
   discouraged. The notion of deleting or checking the existence of
   Perl array elements is not conceptually coherent, and can lead
   to surprising behavior.

While trying to extend the test coverage of Dumpvalue.pm, two instances
of 'exists ARRAYREF' were noted.  In the second of these two instances,
using 'exists ARRAYREF' resulted in the 'if' condition of an if/else
block always returning true, thereby making the corresponding 'else'
condition unreachable -- a situation which was confirmed by coverage
analysis.

We should only use best practices in modules maintained by Perl 5
Porters; this patch implements that.  When we do so, a different (but
actually better) error message appears in the second instance; so tests
are updated as well.

For: RT 134492

---

Summary of changes:
 dist/Dumpvalue/lib/Dumpvalue.pm| 6 +++---
 dist/Dumpvalue/t/rt-134441-dumpvalue.t | 8 
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dist/Dumpvalue/lib/Dumpvalue.pm b/dist/Dumpvalue/lib/Dumpvalue.pm
index 0bec4cb3e9..5a0d58ade7 100644
--- a/dist/Dumpvalue/lib/Dumpvalue.pm
+++ b/dist/Dumpvalue/lib/Dumpvalue.pm
@@ -2,7 +2,7 @@ use 5.006_001;  # for (defined ref) and $#$v 
and our
 package Dumpvalue;
 use strict;
 use warnings;
-our $VERSION = '1.20';
+our $VERSION = '1.21';
 our(%address, $stab, @stab, %stab, %subs);
 
 sub ASCII { return ord('A') == 65; }
@@ -256,7 +256,7 @@ sub unwrap {
   if ($#$v >= 0) {
$short = $sp . "0..$#{$v}  " .
  join(" ", 
-  map {exists $v->[$_] ? $self->stringify($v->[$_]) : "empty"} 
(0..$tArrayDepth)
+  map {defined $v->[$_] ? $self->stringify($v->[$_]) : "empty"} 
(0..$tArrayDepth)
  ) . "$shortmore";
   } else {
$short = $sp . "empty array";
@@ -266,7 +266,7 @@ sub unwrap {
 for my $num (0 .. $tArrayDepth) {
   return if $DB::signal and $self->{stopDbSignal};
   print "$sp$num  ";
-  if (exists $v->[$num]) {
+  if (defined $v->[$num]) {
 $self->DumpElem($v->[$num], $s);
   } else {
print "empty slot\n";
diff --git a/dist/Dumpvalue/t/rt-134441-dumpvalue.t 
b/dist/Dumpvalue/t/rt-134441-dumpvalue.t
index cc9f270f5a..324845d48d 100644
--- a/dist/Dumpvalue/t/rt-134441-dumpvalue.t
+++ b/dist/Dumpvalue/t/rt-134441-dumpvalue.t
@@ -39,11 +39,11 @@ is( $y, $x,
 @foobar = (undef, 'bar');
 $d->dumpValue([@foobar]);
 $x = $out->read;
-is( $x, "0  undef\n1  'bar'\n",
+is( $x, "0  empty slot\n1  'bar'\n",
 'dumpValue worked on array ref, first element undefined' );
 $d->dumpValues(@foobar);
 $y = $out->read;
-is( $y, "0  undef\n1  'bar'\n",
+is( $y, "0  empty slot\n1  'bar'\n",
 'dumpValues worked on array, first element undefined' );
 is( $y, $x,
 "dumpValues called on array returns same as dumpValue on array ref, first 
element undefined");
@@ -51,11 +51,11 @@ is( $y, $x,
 @foobar = ('bar', undef);
 $d->dumpValue([@foobar]);
 $x = $out->read;
-is( $x, "0  'bar'\n1  undef\n",
+is( $x, "0  'bar'\n1  empty slot\n",
 'dumpValue worked on array ref, last element undefined' );
 $d->dumpValues(@foobar);
 $y = $out->read;
-is( $y, "0  'bar'\n1  undef\n",
+is( $y, "0  'bar'\n1  empty slot\n",
 'dumpValues worked on array, last element undefined' );
 is( $y, $x,
 "dumpValues called on array returns same as dumpValue on array ref, last 
element undefined");

-- 
Perl5 Master Repository


[perl.git] branch 134494-Wundef deleted. v5.31.4-356-gd1747a5aff

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch 134494-Wundef has been deleted



   was  d1747a5aff00591af555d096abeefe31b18408f6

- Log -
d1747a5aff00591af555d096abeefe31b18408f6 Avoid gratuitous warning from -Wundef
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.4-356-gd1747a5aff

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
---

Summary of changes:
 AUTHORS | 1 +
 perl.h  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/AUTHORS b/AUTHORS
index 8fa3f61767..410e7e1dd9 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -990,6 +990,7 @@ Peter BARABAS
 Peter Chines   
 Peter Dintelmann   
 Peter E. Yee   
+Peter Eisentraut   
 Peter Gessner  
 Peter Gordon   
 Peter Haworth  
diff --git a/perl.h b/perl.h
index 13ab20a43f..8f6dca3d29 100644
--- a/perl.h
+++ b/perl.h
@@ -1468,7 +1468,7 @@ any magic.
 
 #define UNKNOWN_ERRNO_MSG "(unknown)"
 
-#if VMS
+#ifdef VMS
 #define Strerror(e) strerror((e), vaxc$errno)
 #else
 #define Strerror(e) strerror(e)

-- 
Perl5 Master Repository


[perl.git] branch 134494-Wundef created. v5.31.4-356-gd1747a5aff

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch 134494-Wundef has been created



at  d1747a5aff00591af555d096abeefe31b18408f6 (commit)

- Log -
commit d1747a5aff00591af555d096abeefe31b18408f6
Author: Peter Eisentraut 
Date:   Sat Oct 12 21:32:13 2019 +0200

Avoid gratuitous warning from -Wundef

Use #ifdef instead of #if to avoid warning if a user of this header
file uses the gcc -Wundef option.

Committer: Peter Eisentraut is now a Perl author.

For: RT 134494

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133492-Dumpvalue-dont-call-exists-on-array-elements updated. v5.31.4-356-g7fb18bf9c5

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch 
smoke-me/jkeenan/133492-Dumpvalue-dont-call-exists-on-array-elements has been 
updated



  discards  c413f9751270d07680c1ed3ebb5a1d518e8c2b15 (commit)
- Log -
commit 7fb18bf9c5f8ec4216a0e66aad5068ba51a6a3de
Author: James E Keenan 
Date:   Thu Oct 10 18:49:20 2019 -0400

Do not use 'exists' on arrays; use 'defined' instead

pod/perlfunc.pod advises us:

   WARNING: Calling "exists" on array values is strongly
   discouraged. The notion of deleting or checking the existence of
   Perl array elements is not conceptually coherent, and can lead
   to surprising behavior.

While trying to extend the test coverage of Dumpvalue.pm, two instances
of 'exists ARRAYREF' were noted.  In the second of these two instances,
using 'exists ARRAYREF' resulted in the 'if' condition of an if/else
block always returning true, thereby making the corresponding 'else'
condition unreachable -- a situation which was confirmed by coverage
analysis.

We should only use best practices in modules maintained by Perl 5
Porters; this patch implements that.  When we do so, a different (but
actually better) error message appears in the second instance; so tests
are updated as well.

For: RT 134492

---

Summary of changes:

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/Dumpvalue-dont-call-exists-on-array-elements deleted. v5.31.4-356-gc413f97512

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch 
smoke-me/jkeenan/Dumpvalue-dont-call-exists-on-array-elements has been deleted



   was  c413f9751270d07680c1ed3ebb5a1d518e8c2b15

- Log -
c413f9751270d07680c1ed3ebb5a1d518e8c2b15 Do not use 'exists' on arrays; use 
'defined' instead
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133492-Dumpvalue-dont-call-exists-on-array-elements created. v5.31.4-356-gc413f97512

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch 
smoke-me/jkeenan/133492-Dumpvalue-dont-call-exists-on-array-elements has been 
created



at  c413f9751270d07680c1ed3ebb5a1d518e8c2b15 (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/Dumpvalue-dont-call-exists-on-array-elements updated. v5.31.4-356-gc413f97512

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch 
smoke-me/jkeenan/Dumpvalue-dont-call-exists-on-array-elements has been updated



  discards  a333aabbd8178d79e5fb3838e7e22e4de3c7127f (commit)
- Log -
commit c413f9751270d07680c1ed3ebb5a1d518e8c2b15
Author: James E Keenan 
Date:   Thu Oct 10 18:49:20 2019 -0400

Do not use 'exists' on arrays; use 'defined' instead

pod/perlfunc.pod advises us:

   WARNING: Calling "exists" on array values is strongly
   discouraged. The notion of deleting or checking the existence of
   Perl array elements is not conceptually coherent, and can lead
   to surprising behavior.

While trying to extend the test coverage of Dumpvalue.pm, two instances
of 'exists ARRAYREF' were noted.  In the second of these two instances,
using 'exists ARRAYREF' resulted in the 'if' condition of an if/else
block always returning true, thereby making the corresponding 'else'
condition unreachable -- a situation which was confirmed by coverage
analysis.

We should only use best practices in modules maintained by Perl 5
Porters; this patch implements that.  When we do so, a different (but
actually better) error message appears in the second instance; so tests
are updated as well.

---

Summary of changes:
 Changes   |  2 +-
 INSTALL   |  8 +--
 MANIFEST  |  2 +-
 META.json |  6 +--
 META.yml  |  6 +--
 Porting/README.pod|  2 +-
 Porting/corelist.pl   |  1 +
 Porting/makemeta  |  6 +--
 Porting/release_managers_guide.pod| 18 +++
 Porting/todo.pod  |  2 +-
 README.cygwin |  8 +--
 README.hurd   |  2 +-
 README.jp |  2 +-
 README.macosx | 10 ++--
 README.synology   |  8 +--
 README.win32  | 20 +++
 TestInit.pm   |  3 +-
 configpm  |  4 +-
 cop.h | 27 +-
 cygwin/cygwin.c   |  2 +-
 dist/Devel-PPPort/Changes | 27 ++
 dist/Devel-PPPort/Makefile.PL |  8 +--
 dist/Devel-PPPort/PPPort_pm.PL|  2 +-
 dist/Devel-PPPort/parts/inc/Sv_set| 30 +++
 dist/Devel-PPPort/parts/inc/misc  |  1 -
 dist/Devel-PPPort/parts/inc/utf8  |  7 ++-
 dist/Dumpvalue/lib/Dumpvalue.pm   | 11 ++--
 dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm   |  6 +--
 dist/Locale-Maketext/ChangeLog|  2 +-
 dist/Safe/Safe.pm |  4 +-
 dist/Storable/Makefile.PL |  2 +-
 dist/threads-shared/t/stress.t|  4 +-
 dist/threads/lib/threads.pm   | 20 +++
 ebcdic_tables.h   | 14 ++---
 handy.h   |  3 +-
 hints/dec_osf.sh  |  2 +-
 inline.h  | 12 ++---
 perl.h| 10 ++--
 pod/perl.pod  |  2 +-
 pod/perlbook.pod  | 64 +++
 pod/perlcheat.pod |  6 +--
 pod/perlcommunity.pod |  2 +-
 pod/perldelta.pod | 24 -
 pod/perldiag.pod  |  2 +-
 pod/perldtrace.pod|  2 +-
 pod/perlebcdic.pod|  6 +--
 pod/perlembed.pod |  2 +-
 pod/perlfilter.pod|  2 +-
 pod/perlfunc.pod  |  6 +--
 pod/perlgit.pod   |  8 +--
 pod/perlhack.pod  | 28 +-
 pod/perlhacktips.pod  |  2 +-
 pod/perllocale.pod|  6 +--
 pod/perlmodinstall.pod| 20 +++
 pod/perlmodlib.PL | 12 ++---
 pod/perlootut.pod |  6 +--
 pod/perlpacktut

[perl.git] branch smoke-me/jkeenan/134490-Dumpvalue-use-warnings deleted. v5.31.4-355-g67eb585123

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134490-Dumpvalue-use-warnings has been 
deleted



   was  67eb585123f82c50117f74fd12bf748a659b41e8

- Log -
67eb585123f82c50117f74fd12bf748a659b41e8 Dumpvalue:  handle one more potential 
warning
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.4-355-g67eb585123

2019-10-12 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
---

Summary of changes:
 dist/Dumpvalue/lib/Dumpvalue.pm | 13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/dist/Dumpvalue/lib/Dumpvalue.pm b/dist/Dumpvalue/lib/Dumpvalue.pm
index 3faf829538..0bec4cb3e9 100644
--- a/dist/Dumpvalue/lib/Dumpvalue.pm
+++ b/dist/Dumpvalue/lib/Dumpvalue.pm
@@ -1,7 +1,8 @@
 use 5.006_001; # for (defined ref) and $#$v and our
 package Dumpvalue;
 use strict;
-our $VERSION = '1.19';
+use warnings;
+our $VERSION = '1.20';
 our(%address, $stab, @stab, %stab, %subs);
 
 sub ASCII { return ord('A') == 65; }
@@ -101,6 +102,7 @@ sub stringify {
   my $tick = $self->{tick};
 
   return 'undef' unless defined $_ or not $self->{printUndef};
+  $_ = '' if not defined $_;
   return $_ . "" if ref \$_ eq 'GLOB';
   { no strict 'refs';
 $_ = &{'overload::StrVal'}($_)
@@ -176,7 +178,7 @@ sub unwrap {
   my $self = shift;
   return if $DB::signal and $self->{stopDbSignal};
   my ($v) = shift ;
-  my ($s) = shift ;# extra no of spaces
+  my ($s) = shift || 0;# extra no of spaces
   my $sp;
   my (%v,@v,$address,$short,$fileno);
 
@@ -390,6 +392,7 @@ sub CvGV_name {
 sub dumpsub {
   my $self = shift;
   my ($off,$sub) = @_;
+  $off ||= 0;
   my $ini = $sub;
   my $s;
   $sub = $1 if $sub =~ /^\{\*(.*)\}$/;
@@ -419,17 +422,17 @@ sub dumpvars {
   my $self = shift;
   my ($package,@vars) = @_;
   local(%address,$^W);
-  my ($key,$val);
   $package .= "::" unless $package =~ /::$/;
   *stab = *main::;
 
   while ($package =~ /(\w+?::)/g) {
-*stab = $ {stab}{$1};
+*stab = defined ${stab}{$1} ? ${stab}{$1} : '';
   }
   $self->{TotalStrings} = 0;
   $self->{Strings} = 0;
   $self->{CompleteTotal} = 0;
-  while (($key,$val) = each(%stab)) {
+  for my $k (keys %stab) {
+my ($key,$val) = ($k, $stab{$k});
 return if $DB::signal and $self->{stopDbSignal};
 next if @vars && !grep( matchvar($key, $_), @vars );
 if ($self->{usageOnly}) {

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134490-Dumpvalue-use-warnings updated. v5.31.4-355-g67eb585123

2019-10-11 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134490-Dumpvalue-use-warnings has been 
updated



  discards  62c19a2cbe3efedc8103bba6521f728ac0c45a44 (commit)
- Log -
commit 67eb585123f82c50117f74fd12bf748a659b41e8
Author: James E Keenan 
Date:   Fri Oct 11 20:01:26 2019 -0400

Dumpvalue:  handle one more potential warning

While working on adding tests to this module, the following warning
sometimes appeared:

Use of each() on hash after insertion without resetting hash
iterator results in undefined behavior

Per perldiag, instead use 'keys' function to iterate over hash.

commit 05b815995cd713ca7400a4158dad068994422955
Author: James E Keenan 
Date:   Wed Oct 9 15:45:41 2019 -0400

Use warnings in Dumpvalue.pm; fix those found

Activating warnings showed many fixable warnings.  The suppression of
some of those warnings was obscuring other problems.

---

Summary of changes:
 Changes   |  2 +-
 INSTALL   |  8 +--
 MANIFEST  |  2 +-
 META.json |  6 +--
 META.yml  |  6 +--
 Porting/README.pod|  2 +-
 Porting/corelist.pl   |  1 +
 Porting/makemeta  |  6 +--
 Porting/release_managers_guide.pod| 18 +++
 Porting/todo.pod  |  2 +-
 README.cygwin |  8 +--
 README.hurd   |  2 +-
 README.jp |  2 +-
 README.macosx | 10 ++--
 README.synology   |  8 +--
 README.win32  | 20 +++
 TestInit.pm   |  3 +-
 configpm  |  4 +-
 cop.h | 27 +-
 cygwin/cygwin.c   |  2 +-
 dist/Devel-PPPort/Changes | 27 ++
 dist/Devel-PPPort/Makefile.PL |  8 +--
 dist/Devel-PPPort/PPPort_pm.PL|  2 +-
 dist/Devel-PPPort/parts/inc/Sv_set| 30 +++
 dist/Devel-PPPort/parts/inc/misc  |  1 -
 dist/Devel-PPPort/parts/inc/utf8  |  7 ++-
 dist/Dumpvalue/lib/Dumpvalue.pm   |  4 +-
 dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder.pm   |  6 +--
 dist/Locale-Maketext/ChangeLog|  2 +-
 dist/Safe/Safe.pm |  4 +-
 dist/Storable/Makefile.PL |  2 +-
 dist/threads-shared/t/stress.t|  4 +-
 dist/threads/lib/threads.pm   | 20 +++
 ebcdic_tables.h   | 14 ++---
 handy.h   |  3 +-
 hints/dec_osf.sh  |  2 +-
 inline.h  | 12 ++---
 perl.h| 10 ++--
 pod/perl.pod  |  2 +-
 pod/perlbook.pod  | 64 +++
 pod/perlcheat.pod |  6 +--
 pod/perlcommunity.pod |  2 +-
 pod/perldelta.pod | 24 -
 pod/perldiag.pod  |  2 +-
 pod/perldtrace.pod|  2 +-
 pod/perlebcdic.pod|  6 +--
 pod/perlembed.pod |  2 +-
 pod/perlfilter.pod|  2 +-
 pod/perlfunc.pod  |  6 +--
 pod/perlgit.pod   |  8 +--
 pod/perlhack.pod  | 28 +-
 pod/perlhacktips.pod  |  2 +-
 pod/perllocale.pod|  6 +--
 pod/perlmodinstall.pod| 20 +++
 pod/perlmodlib.PL | 12 ++---
 pod/perlootut.pod |  6 +--
 pod/perlpacktut.pod   |  6 +--
 pod/perlpodspec.pod   | 16 +++---
 pod/perlport.pod  |  6 +--
 pod/perlre.pod|  8 +--
 pod/perlrebackslash.pod   | 20 +++
 pod/perlrecharclass.pod   |  2 +-
 pod/p

[perl.git] branch smoke-me/jkeenan/Dumpvalue-dont-call-exists-on-array-elements created. v5.31.4-320-ga333aabbd8

2019-10-10 Thread James Keenan via perl5-changes
In perl.git, the branch 
smoke-me/jkeenan/Dumpvalue-dont-call-exists-on-array-elements has been created



at  a333aabbd8178d79e5fb3838e7e22e4de3c7127f (commit)

- Log -
commit a333aabbd8178d79e5fb3838e7e22e4de3c7127f
Author: James E Keenan 
Date:   Thu Oct 10 18:49:20 2019 -0400

Do not use 'exists' on arrays; use 'defined' instead

pod/perlfunc.pod advises us:

   WARNING: Calling "exists" on array values is strongly
   discouraged. The notion of deleting or checking the existence of
   Perl array elements is not conceptually coherent, and can lead
   to surprising behavior.

While trying to extend the test coverage of Dumpvalue.pm, two instances
of 'exists ARRAYREF' were noted.  In the second of these two instances,
using 'exists ARRAYREF' resulted in the 'if' condition of an if/else
block always returning true, thereby making the corresponding 'else'
condition unreachable -- a situation which was confirmed by coverage
analysis.

We should only use best practices in modules maintained by Perl 5
Porters; this patch implements that.  When we do so, a different (but
actually better) error message appears in the second instance; so tests
are updated as well.

---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/smoke-me/Dumpvalue-dont-call-exists-on-array-elements deleted. v5.31.4-319-g01aed385e6

2019-10-10 Thread James Keenan via perl5-changes
In perl.git, the branch 
jkeenan/smoke-me/Dumpvalue-dont-call-exists-on-array-elements has been deleted



   was  01aed385e6bdbdcfd13bb66e9d8b7c55d2cfc34a

- Log -
01aed385e6bdbdcfd13bb66e9d8b7c55d2cfc34a Handle undefined values correctly
---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/smoke-me/Dumpvalue-dont-call-exists-on-array-elements created. v5.31.4-319-g01aed385e6

2019-10-10 Thread James Keenan via perl5-changes
In perl.git, the branch 
jkeenan/smoke-me/Dumpvalue-dont-call-exists-on-array-elements has been created



at  01aed385e6bdbdcfd13bb66e9d8b7c55d2cfc34a (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134490-Dumpvalue-use-warnings created. v5.31.4-320-g62c19a2cbe

2019-10-09 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134490-Dumpvalue-use-warnings has been 
created



at  62c19a2cbe3efedc8103bba6521f728ac0c45a44 (commit)

- Log -
commit 62c19a2cbe3efedc8103bba6521f728ac0c45a44
Author: James E Keenan 
Date:   Wed Oct 9 15:45:41 2019 -0400

Use warnings in Dumpvalue.pm; fix those found

Activating warnings showed many fixable warnings.  The suppression of
some of those warnings was obscuring other problems.

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134441-Dumpvalue deleted. v5.31.4-297-gdb372bbb70

2019-10-09 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134441-Dumpvalue has been deleted



   was  db372bbb70bf14081d7d17c033c8f9af7c86ebfb

- Log -
db372bbb70bf14081d7d17c033c8f9af7c86ebfb Handle undefined values correctly
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.4-319-g01aed385e6

2019-10-09 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 01aed385e6bdbdcfd13bb66e9d8b7c55d2cfc34a
Author: James E Keenan 
Date:   Thu Sep 19 23:02:54 2019 -0400

Handle undefined values correctly

As reported by Henrik Pauli in RT 134441, the documentation's claim that

$dv->dumpValue([$x, $y]);

and

$dv->dumpValues($x, $y);

was not being sustained in the case where one of the elements in the
array (or array ref) was undefined.  This was due to an insufficiently
precise specification within the dumpValues() method for determining
when the value "undef\n" should be printed.

Tests for previously untested cases have been provided in
t/rt-134441-dumpvalue.t.  They were not appended to t/Dumpvalue.t (as
would normally have been the case) because the tests in that file have
accreted over the years in a sub-optimal manner:  changes in attributes
of the Dumpvalue object are tested but those changes are not zeroed-out
(by, e.g., use of 'local $self->{attribute} = undef')
before additional attributes are modified and tested.  As a consequence,
it's difficult to determine the state of the Dumpvalue object at any
particular point and interactions between attributes cannot be ruled
out.

Package TieOut, used to capture STDOUT during testing, has been
extracted to its own file so that it can be used by all test files.

---

Summary of changes:
 MANIFEST   |  2 +
 dist/Dumpvalue/lib/Dumpvalue.pm|  4 +-
 dist/Dumpvalue/t/Dumpvalue.t   | 20 +---
 dist/Dumpvalue/t/lib/TieOut.pm | 20 
 dist/Dumpvalue/t/rt-134441-dumpvalue.t | 86 ++
 5 files changed, 112 insertions(+), 20 deletions(-)
 create mode 100644 dist/Dumpvalue/t/lib/TieOut.pm
 create mode 100644 dist/Dumpvalue/t/rt-134441-dumpvalue.t

diff --git a/MANIFEST b/MANIFEST
index 7bf62d8479..8159ac8cc1 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3455,6 +3455,8 @@ dist/Devel-SelfStubber/lib/Devel/SelfStubber.pm   
Generate stubs for SelfLoader.pm
 dist/Devel-SelfStubber/t/Devel-SelfStubber.t   See if Devel::SelfStubber works
 dist/Dumpvalue/lib/Dumpvalue.pmScreen dump of perl values
 dist/Dumpvalue/t/Dumpvalue.t   See if Dumpvalue works
+dist/Dumpvalue/t/lib/TieOut.pm Helper module for Dumpvalue tests
+dist/Dumpvalue/t/rt-134441-dumpvalue.t See if Dumpvalue works
 dist/encoding-warnings/lib/encoding/warnings.pmwarn on implicit 
encoding conversions
 dist/encoding-warnings/t/1-warning.t   tests for encoding::warnings
 dist/encoding-warnings/t/2-fatal.t tests for encoding::warnings
diff --git a/dist/Dumpvalue/lib/Dumpvalue.pm b/dist/Dumpvalue/lib/Dumpvalue.pm
index eef9b27157..3faf829538 100644
--- a/dist/Dumpvalue/lib/Dumpvalue.pm
+++ b/dist/Dumpvalue/lib/Dumpvalue.pm
@@ -1,7 +1,7 @@
 use 5.006_001; # for (defined ref) and $#$v and our
 package Dumpvalue;
 use strict;
-our $VERSION = '1.18';
+our $VERSION = '1.19';
 our(%address, $stab, @stab, %stab, %subs);
 
 sub ASCII { return ord('A') == 65; }
@@ -79,7 +79,7 @@ sub dumpValues {
   my $self = shift;
   local %address;
   local $^W=0;
-  (print "undef\n"), return unless defined $_[0];
+  (print "undef\n"), return if (@_ == 1 and not defined $_[0]);
   $self->unwrap(\@_,0);
 }
 
diff --git a/dist/Dumpvalue/t/Dumpvalue.t b/dist/Dumpvalue/t/Dumpvalue.t
index 7063dd984c..ba8775126e 100644
--- a/dist/Dumpvalue/t/Dumpvalue.t
+++ b/dist/Dumpvalue/t/Dumpvalue.t
@@ -16,6 +16,8 @@ BEGIN {
 
 our ( $foo, @bar, %baz );
 
+use lib ("./t/lib");
+use TieOut;
 use Test::More tests => 88;
 
 use_ok( 'Dumpvalue' );
@@ -278,21 +280,3 @@ is( $out->read, "0  0..0  'two'\n", 'dumpValues worked on 
array ref' );
 $d->dumpValues('one', 'two');
 is( $out->read, "0..1  'one' 'two'\n", 'dumpValues worked on multiple values' 
);
 
-
-package TieOut;
-use overload '"' => sub { "overloaded!" };
-
-sub TIEHANDLE {
-   my $class = shift;
-   bless(\( my $ref), $class);
-}
-
-sub PRINT {
-   my $self = shift;
-   $$self .= join('', @_);
-}
-
-sub read {
-   my $self = shift;
-   return substr($$self, 0, length($$self), '');
-}
diff --git a/dist/Dumpvalue/t/lib/TieOut.pm b/dist/Dumpvalue/t/lib/TieOut.pm
new file mode 100644
index 00..568caedf9c
--- /dev/null
+++ b/dist/Dumpvalue/t/lib/TieOut.pm
@@ -0,0 +1,20 @@
+package TieOut;
+use overload '"' => sub { "overloaded!" };
+
+sub TIEHANDLE {
+   my $class = shift;
+   bless(\( my $ref), $class);
+}
+
+sub PRINT {
+   my $self = shift;
+   $$self .= join('', @_);
+}
+
+sub read {
+   my $self = shift;
+   return substr($$self, 0, le

[perl.git] branch smoke-me/jkeenan/134441-Dumpvalue created. v5.31.4-297-gdb372bbb70

2019-10-06 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134441-Dumpvalue has been created



at  db372bbb70bf14081d7d17c033c8f9af7c86ebfb (commit)

- Log -
commit db372bbb70bf14081d7d17c033c8f9af7c86ebfb
Author: James E Keenan 
Date:   Thu Sep 19 23:02:54 2019 -0400

Handle undefined values correctly

As reported by Henrik Pauli in RT 134441, the documentation's claim that

$dv->dumpValue([$x, $y]);

and

$dv->dumpValues($x, $y);

was not being sustained in the case where one of the elements in the
array (or array ref) was undefined.  This was due to an insufficiently
precise specification within the dumpValues() method for determining
when the value "undef\n" should be printed.

Tests for previously untested cases have been provided in
t/rt-134441-dumpvalue.t.  They were not appended to t/Dumpvalue.t (as
would normally have been the case) because the tests in that file have
accreted over the years in a sub-optimal manner:  changes in attributes
of the Dumpvalue object are tested but those changes are not zeroed-out
(by, e.g., use of 'local $self->{attribute} = undef')
before additional attributes are modified and tested.  As a consequence,
it's difficult to determine the state of the Dumpvalue object at any
particular point and interactions between attributes cannot be ruled
out.

Package TieOut, used to capture STDOUT during testing, has been
extracted to its own file so that it can be used by all test files.

---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/134441-Dumpvalue deleted. v5.31.4-289-gb797640f3b

2019-10-06 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/134441-Dumpvalue has been deleted



   was  b797640f3b5c7e826051c31b9bb2c42c649123be

- Log -
b797640f3b5c7e826051c31b9bb2c42c649123be Refactor for debugging
---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/134441-Dumpvalue updated. v5.31.4-289-gb797640f3b

2019-10-06 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/134441-Dumpvalue has been updated



- Log -
commit b797640f3b5c7e826051c31b9bb2c42c649123be
Author: James E Keenan 
Date:   Sun Oct 6 12:22:41 2019 -0400

Refactor for debugging

commit 28bbe016a9afae16ab3896b0be57383498ee1c9c
Author: James E Keenan 
Date:   Sun Oct 6 11:47:30 2019 -0400

Restore tests accidentally deleted

commit 7eb947947f8107605e6b84a8a6f2087d1d426063
Author: James E Keenan 
Date:   Sun Oct 6 11:43:04 2019 -0400

Update MANIFEST for dist/Dumpvalue/t/rt-134441-dumpvalue.t

commit 7dfd105fbfe84d1a93276db09f1381f1b335801e
Author: James E Keenan 
Date:   Sun Oct 6 11:35:32 2019 -0400

Move tests for RT 134441 to separate file

Because it is so difficult to tell what the state of the object is in
dist/Dumpvalue/t/Dumpvalue.t, it's not wise to add new tests to the end
of that file.  So I'm moving them to a separate file and working only
with the default state of the object.

commit 0245b0577d12a9eb1a385c00674f731b552b9b25
Author: James E Keenan 
Date:   Sun Oct 6 11:10:37 2019 -0400

Uncomment code

---

Summary of changes:
 MANIFEST   |   1 +
 dist/Dumpvalue/t/Dumpvalue.t   |  89 -
 dist/Dumpvalue/t/rt-134441-dumpvalue.t | 100 +
 3 files changed, 124 insertions(+), 66 deletions(-)
 create mode 100644 dist/Dumpvalue/t/rt-134441-dumpvalue.t

diff --git a/MANIFEST b/MANIFEST
index 7bf62d8479..560bc8c460 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3455,6 +3455,7 @@ dist/Devel-SelfStubber/lib/Devel/SelfStubber.pm   
Generate stubs for SelfLoader.pm
 dist/Devel-SelfStubber/t/Devel-SelfStubber.t   See if Devel::SelfStubber works
 dist/Dumpvalue/lib/Dumpvalue.pmScreen dump of perl values
 dist/Dumpvalue/t/Dumpvalue.t   See if Dumpvalue works
+dist/Dumpvalue/t/rt-134441-dumpvalue.t See if Dumpvalue works
 dist/encoding-warnings/lib/encoding/warnings.pmwarn on implicit 
encoding conversions
 dist/encoding-warnings/t/1-warning.t   tests for encoding::warnings
 dist/encoding-warnings/t/2-fatal.t tests for encoding::warnings
diff --git a/dist/Dumpvalue/t/Dumpvalue.t b/dist/Dumpvalue/t/Dumpvalue.t
index 89af75aa60..7063dd984c 100644
--- a/dist/Dumpvalue/t/Dumpvalue.t
+++ b/dist/Dumpvalue/t/Dumpvalue.t
@@ -16,31 +16,31 @@ BEGIN {
 
 our ( $foo, @bar, %baz );
 
-use Test::More qw(no_plan); # tests => 88;
+use Test::More tests => 88;
 
 use_ok( 'Dumpvalue' );
 
 my $d;
 ok( $d = Dumpvalue->new(), 'create a new Dumpvalue object' );
 
-#$d->set( globPrint => 1, dumpReused => 1 );
-#is( $d->{globPrint}, 1, 'set an option correctly' );
-#is( $d->get('globPrint'), 1, 'get an option correctly' );
-#is( $d->get('globPrint', 'dumpReused'), qw( 1 1 ), 'get multiple options' );
+$d->set( globPrint => 1, dumpReused => 1 );
+is( $d->{globPrint}, 1, 'set an option correctly' );
+is( $d->get('globPrint'), 1, 'get an option correctly' );
+is( $d->get('globPrint', 'dumpReused'), qw( 1 1 ), 'get multiple options' );
 
-## check to see if unctrl works
-#is( ref( Dumpvalue::unctrl(*FOO) ), 'GLOB', 'unctrl should not modify GLOB' );
-#is( Dumpvalue::unctrl('donotchange'), 'donotchange', "unctrl shouldn't 
modify");
-#like( Dumpvalue::unctrl("bo\007nd"), qr/bo\^.nd/, 'unctrl should escape' );
+# check to see if unctrl works
+is( ref( Dumpvalue::unctrl(*FOO) ), 'GLOB', 'unctrl should not modify GLOB' );
+is( Dumpvalue::unctrl('donotchange'), 'donotchange', "unctrl shouldn't 
modify");
+like( Dumpvalue::unctrl("bo\007nd"), qr/bo\^.nd/, 'unctrl should escape' );
 
-## check to see if stringify works
-#is( $d->stringify(), 'undef', 'stringify handles undef okay' );
+# check to see if stringify works
+is( $d->stringify(), 'undef', 'stringify handles undef okay' );
 
-## the default is 1, but we want two single quotes
-#$d->{printUndef} = 0;
-#is( $d->stringify(), "''", 'stringify skips undef when asked nicely' );
-#
-#is( $d->stringify(*FOO), *FOO . "", 'stringify stringifies globs alright' );
+# the default is 1, but we want two single quotes
+$d->{printUndef} = 0;
+is( $d->stringify(), "''", 'stringify skips undef when asked nicely' );
+
+is( $d->stringify(*FOO), *FOO . "", 'stringify stringifies globs alright' );
 
 # check for double-quotes if there's an unprintable character
 $d->{tick} = 'auto';
@@ -270,56 +270,13 @@ is( $out->read, "'two'\n", 'dumpValue worked on array' );
 $d->dumpValue(\$foo);
 is( $out->read, "-> 'one'\n", 'dumpValue worked on scalar ref' );
 
-# RT 134441
-@foobar = ('foo', 'bar');
-$d->dumpValue([@foobar]);
-$x = $out->read;
-is( $x, "0..1  'foo' 'bar'\n", 'dumpValue worked on array ref' );
-$d->dumpValues(@foobar);
-$y = $out->read;
-is( $y, "0..1  'foo' 'bar'\n

[perl.git] branch jkeenan/134441-Dumpvalue created. v5.31.4-284-g0b5142f3dc

2019-10-05 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/134441-Dumpvalue has been created



at  0b5142f3dc81471eb97280315a1a4efd55e55d21 (commit)

- Log -
commit 0b5142f3dc81471eb97280315a1a4efd55e55d21
Author: James E Keenan 
Date:   Sat Oct 5 23:12:19 2019 -0400

Debugging

Am commenting out tests to simplify use of debugger.

$d->{printUndef} = 0 changes test results (only 2 fail instead of 4).
Resume here.

commit 66f752a128ac54b7895c1c29a4b7253d8636d2d8
Author: James E Keenan 
Date:   Thu Sep 19 23:02:54 2019 -0400

Test previously untested cases

These tests demonstrate the problem reported in RT 134441.  It appears
that neither '$d->dumpValues(@array)' nor '$d->dumpValue([@array])'
properly handles undefined values, at least where @array > 1.

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134138-constants-in-variable deleted. v5.31.2-95-g84e52eed43

2019-10-02 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134138-constants-in-variable has 
been deleted



   was  84e52eed43e5ae01bed87ac9f71d9ac69066d7f5

- Log -
84e52eed43e5ae01bed87ac9f71d9ac69066d7f5 remove now irrelevant code and reflow 
the error message
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.4-258-g0db1c5b08a

2019-09-28 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 0db1c5b08ab4711aa04177a4549a29f2e83123b6
Author: pmqs 
Date:   Sat Sep 28 20:09:44 2019 +0100

Change to primary email address for Paul Marquess

---

Summary of changes:
 AUTHORS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/AUTHORS b/AUTHORS
index 0df7e3c365..9f54ea4f36 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -972,7 +972,7 @@ Paul Hoffman
 Paul Holser
 Paul Johnson   
 Paul Lindner   
-Paul Marquess  
+Paul Marquess  
 Paul Moore 
 Paul Rogers
 Paul Saab  

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/haarg/134265-storable deleted. v5.31.1-131-g052bf3ea47

2019-09-25 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/haarg/134265-storable has been deleted



   was  052bf3ea478f1e981347b34ab49e5a9a1b940707

- Log -
052bf3ea478f1e981347b34ab49e5a9a1b940707 move Storable CAN_FLOCK computation 
into XS
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/davem/133377-time-hires deleted. v5.29.0-115-g823d8a461e

2019-09-25 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/davem/133377-time-hires has been 
deleted



   was  823d8a461efa121e18c6dffcbc857e8c9980fc85

- Log -
823d8a461efa121e18c6dffcbc857e8c9980fc85 Keep t/porting/cmp_version.t happy.
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rtc-127454-syslog-t created. v5.31.4-26-g22bf815326

2019-09-25 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rtc-127454-syslog-t has been created



at  22bf815326023e48ab6aa93f4736fc63f288cf3e (commit)

- Log -
commit 22bf815326023e48ab6aa93f4736fc63f288cf3e
Author: James E Keenan 
Date:   Wed Sep 25 18:16:45 2019 -0400

Modify tests based on master branch

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/afresh/134446-socket created. v5.31.4-7-g6c468acdd2

2019-09-22 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/afresh/134446-socket has been created



at  6c468acdd2cd860b78113677dad7615eb218fab7 (commit)

- Log -
commit 6c468acdd2cd860b78113677dad7615eb218fab7
Author: James E Keenan 
Date:   Sun Sep 22 21:53:05 2019 -0400

Increment $VERSION to keep porting/cmp_version.t happy

commit a940543ccc04c148e4df8b5696e471f15c912c23
Author: Andrew Hewus Fresh 
Date:   Sun Sep 22 17:36:47 2019 -0700

Only cache io_socket_proto if protocol is truthy

According to socket(2):

A value of 0 for protocol will let the system select an appropriate
protocol for the requested socket type.

While linux, and possibly others, return 0 for this, OpenBSD recently
got support for SO_PROTOCOL in getsockopt(2) and instead of returning
0, indicating it will choose the correct protocol, it instead returns
the protocol that was chosen.  That means caching "0" as the chosen
protocol means that what $sock->protocol returns is not the same as what
getsockopt($sock, SOL_SOCKET, SO_PROTOCOL) returns.

While there is ongoing discussion about whether returning 0 vs something
else is correct, the current situation shows that this value is
implementation specific and we should not cache something that might not
be right.

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.3-145-g06bfb2b160

2019-09-13 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 06bfb2b160cbeb01bc6647c61f89d0b04dc4698b
Author: James E Keenan 
Date:   Fri Sep 13 14:12:54 2019 -0400

perldelta for 1e1b6d926a0c8361bc2ebd2b6630ac97988335e3

---

Summary of changes:
 pod/perldelta.pod | 5 +
 1 file changed, 5 insertions(+)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 2c65e94d6c..88f8dffb14 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -267,6 +267,11 @@ L section, instead.
 
 =item *
 
+Improvements in F to detection in C++ and clang++.  Work ongoing by
+Andy Dougherty. [perl #134171]
+
+=item *
+
 XXX
 
 =back

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.3-144-gc8d86fdce6

2019-09-13 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit c8d86fdce659794af3b60cf42bc5d7d759c0f175
Author: James E Keenan 
Date:   Fri Sep 13 13:32:33 2019 -0400

perldelta for 00ea29f1a18d6cb17456df2e33f105a90ddc8c3a

---

Summary of changes:
 pod/perldelta.pod | 4 
 1 file changed, 4 insertions(+)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 20166e5a8a..2c65e94d6c 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -134,6 +134,10 @@ XXX Remove this section if not applicable.
 
 =item *
 
+L has been upgraded from version 1.302166 to 1.302168.
+
+=item *
+
 L has been upgraded from version A.xx to B.yy.
 
 If there was something important to note about this change, include that here.

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.3-143-g00ea29f1a1

2019-09-13 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 00ea29f1a18d6cb17456df2e33f105a90ddc8c3a
Author: Chad Granum 
Date:   Fri Sep 13 13:27:41 2019 -0400

Update Test-Simple to CPAN version 1.302168

1.302168  2019-09-06 07:40:18-07:00 America/Los_Angeles

- Fix Typo in a Test2::API::Breakage warning (Thanks E. Choroba)
- Delay loading of Term::Table until needed (Thanks Graham Knop)

1.302167  2019-08-23 14:07:58-07:00 America/Los_Angeles

- add test2_is_testing_done api method
- Fix string compare warning

---

Summary of changes:
 Porting/Maintainers.pl |  2 +-
 cpan/Test-Simple/lib/Test/Builder.pm   |  2 +-
 cpan/Test-Simple/lib/Test/Builder/Formatter.pm |  2 +-
 cpan/Test-Simple/lib/Test/Builder/Module.pm|  2 +-
 cpan/Test-Simple/lib/Test/Builder/Tester.pm|  2 +-
 cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Builder/TodoDiag.pm  |  2 +-
 cpan/Test-Simple/lib/Test/More.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Simple.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester/Capture.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester/CaptureRunner.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Tester/Delegate.pm   |  2 +-
 cpan/Test-Simple/lib/Test/use/ok.pm|  2 +-
 cpan/Test-Simple/lib/Test2.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/API.pm  | 45 +-
 cpan/Test-Simple/lib/Test2/API/Breakage.pm |  4 +-
 cpan/Test-Simple/lib/Test2/API/Context.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/API/Instance.pm |  2 +-
 cpan/Test-Simple/lib/Test2/API/Stack.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/Bail.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Diag.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Encoding.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Exception.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Fail.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Generic.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/Note.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Ok.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Pass.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Plan.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Skip.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Subtest.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/V2.pm |  6 +--
 cpan/Test-Simple/lib/Test2/Event/Waiting.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/About.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Control.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Error.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Hub.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Info.pm  |  2 +-
 .../Test-Simple/lib/Test2/EventFacet/Info/Table.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Render.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Formatter.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Formatter/TAP.pm| 21 +-
 cpan/Test-Simple/lib/Test2/Hub.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/Hub/Interceptor.pm  |  2 +-
 .../lib/Test2/Hub/Interceptor/Terminator.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Hub/Subtest.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/IPC.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/IPC/Driver.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/IPC/Driver/Files.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Tools/Tiny.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Util.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Util/ExternalMeta.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Util/Facets2Legacy.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Util/HashBase.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Util/Trace.pm   |  2 +-
 cpan/Test-Simple/lib/ok.pm |  2 +-
 cpan/Test-Simple/t/Test2/modules/API.t | 21 ++
 cpan/Test-Simple/t/Test2/modules/API/Breakage.t|  2 +-
 68 fi

[perl.git] branch blead updated. v5.31.3-40-g7ea7c4bb61

2019-08-31 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 7ea7c4bb61d23965a7ad7041fe9c58b5075aac85
Author: James E Keenan 
Date:   Sat Aug 31 19:18:36 2019 -0400

Supply missing right brace in regex example

As suggested by Jim Avera in RT 134395.

---

Summary of changes:
 pod/perlrebackslash.pod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pod/perlrebackslash.pod b/pod/perlrebackslash.pod
index cfd182a7e1..4a8717346d 100644
--- a/pod/perlrebackslash.pod
+++ b/pod/perlrebackslash.pod
@@ -446,7 +446,7 @@ Mnemonic: Iroup.
 =head3 Relative referencing
 
 C<\g-I> (starting in Perl 5.10.0) is used for relative addressing.  (It can
-be written as C<\g{-I>.)  It refers to the Ith group before the
+be written as C<\g{-I}>.)  It refers to the Ith group before the
 C<\g{-I}>.
 
 The big advantage of this form is that it makes it much easier to write

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134371-gconvert deleted. v5.31.2-120-g56658ed445

2019-08-20 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134371-gconvert has been deleted



   was  56658ed445a658a75d08e688514d365daa09b489

- Log -
56658ed445a658a75d08e688514d365daa09b489 Further Configure gconvert probe 
cleanups for C++.
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.3-5-g1e1b6d926a

2019-08-20 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 1e1b6d926a0c8361bc2ebd2b6630ac97988335e3
Author: James E Keenan 
Date:   Sun Aug 18 13:16:56 2019 +

Reset xxx_convert to empty string if none of 3 utilities is found

This will cause Configure to enter the WHOA block and default to using
sprintf.

Change Gconvert checkit() prototype for [perl #134371].

In the checkit() routine inside Configure, clang++ was taking the
if (strcmp(expect, got)) branch even though the 'expect' and 'got' strings
were identical.  A first step in debugging this was to realize that
the checkit() function never returned a value, so relabel it as void.
With clang version 7.0.1-8 (tags/RELEASE_701/final) (Debian),
this change seems to work around the strcmp issue.

Further Configure gconvert probe cleanups for C++.  As part of debugging
[perl #134375] and [perl #134371], try to eliminate warnings thrown by
clang++.

---

Summary of changes:
 Configure | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/Configure b/Configure
index 76ab5b3230..b89d34dbb2 100755
--- a/Configure
+++ b/Configure
@@ -10386,15 +10386,15 @@ esac
 $cat >>try.c <
 
-int checkit(char *expect, char *got)
+void checkit(const char *expect, char *got)
 {
 if (strcmp(expect, got)) {
printf("%s oddity:  Expected %s, got %s\n",
@@ -10575,6 +10575,7 @@ for xxx_convert in $xxx_list; do
fi
else
echo "$xxx_convert NOT found." >&4
+   xxx_convert=''
fi
 done
 

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134371-gconvert updated. v5.31.2-120-g56658ed445

2019-08-19 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134371-gconvert has been updated



  discards  97f423f1139d05fa2a8a7c2331c0dea2fe8cb1c6 (commit)
  discards  cbe855980207aeda6b23f7e7e29dcbfaacd0bee1 (commit)
  discards  9a8b32d8f9202f3e5e5ac4732e458744bb2df3fa (commit)
- Log -
commit 56658ed445a658a75d08e688514d365daa09b489
Author: Andy Dougherty 
Date:   Mon Aug 19 12:12:31 2019 -0400

Further Configure gconvert probe cleanups for C++.

As part of debugging [perl #134375] and [perl #134371], try to
eliminate warnings thrown by clang++.

commit 2ec28873de75f9922e50e59fa6b2438ae14d5997
Author: Andy Dougherty 
Date:   Sun Aug 18 22:02:59 2019 -0400

Change Gconvert checkit() prototype for [perl #134371].

In the checkit() routine inside Configure, clang++ was taking the
if (strcmp(expect, got)) branch even though the 'expect' and 'got' strings
were identical.  A first step in debugging this was to realize that
the checkit() function never returned a value, so relabel it as void.
With clang version 7.0.1-8 (tags/RELEASE_701/final) (Debian),
this change seems to work around the strcmp issue.

commit a46d6500fada457bb23bf31bfe74646a2d9aa234
Author: James E Keenan 
Date:   Sun Aug 18 13:16:56 2019 +

Reset xxx_convert to empty string if none of 3 utilities is found

This will cause Configure to enter the WHOA block and default to using
sprintf.

For RT # 134371

---

Summary of changes:
 Porting/Maintainers.pl |  2 +-
 cpan/Test-Simple/lib/Test/Builder.pm   |  4 +--
 cpan/Test-Simple/lib/Test/Builder/Formatter.pm |  2 +-
 cpan/Test-Simple/lib/Test/Builder/Module.pm|  2 +-
 cpan/Test-Simple/lib/Test/Builder/Tester.pm|  2 +-
 cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Builder/TodoDiag.pm  |  2 +-
 cpan/Test-Simple/lib/Test/More.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Simple.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester/Capture.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester/CaptureRunner.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Tester/Delegate.pm   |  2 +-
 cpan/Test-Simple/lib/Test/use/ok.pm|  2 +-
 cpan/Test-Simple/lib/Test2.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/API.pm  | 33 --
 cpan/Test-Simple/lib/Test2/API/Breakage.pm |  2 +-
 cpan/Test-Simple/lib/Test2/API/Context.pm  |  8 +-
 cpan/Test-Simple/lib/Test2/API/Instance.pm |  2 +-
 cpan/Test-Simple/lib/Test2/API/Stack.pm|  8 +-
 cpan/Test-Simple/lib/Test2/Event.pm|  6 ++--
 cpan/Test-Simple/lib/Test2/Event/Bail.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Diag.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Encoding.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Exception.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Fail.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Generic.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/Note.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Ok.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Pass.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Plan.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Skip.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Subtest.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/V2.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Waiting.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/About.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Control.pm   | 11 ++--
 cpan/Test-Simple/lib/Test2/EventFacet/Error.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Hub.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Info.pm  |  2 +-
 .../Test-Simple/lib/Test2/EventFacet/Info/Table.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Render.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Formatter.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Formatter/TAP.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Hub.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/Hub/Interceptor.

[perl.git] branch blead updated. v5.31.2-117-g589e04a198

2019-08-19 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 589e04a1986fbfc1120748af15d5dffeb9e9586c
Author: James E Keenan 
Date:   Mon Aug 19 17:36:36 2019 -0400

perldelta for ab7a3d991f6e4eb554d12bf4f083c352fe40452f

commit ab7a3d991f6e4eb554d12bf4f083c352fe40452f
Author: Chad Granum 
Date:   Mon Aug 19 17:32:29 2019 -0400

Update Test-Simple to CPAN version 1.302166

1.302166  2019-08-15 10:37:01-07:00 America/Los_Angeles

- Fix context test on older perls

1.302165  2019-08-15 10:21:09-07:00 America/Los_Angeles

- Better diagnostics when a context is destroyed unexpectedly
- Add an event to notify when END phase starts

---

Summary of changes:
 Porting/Maintainers.pl |  2 +-
 cpan/Test-Simple/lib/Test/Builder.pm   |  4 +--
 cpan/Test-Simple/lib/Test/Builder/Formatter.pm |  2 +-
 cpan/Test-Simple/lib/Test/Builder/Module.pm|  2 +-
 cpan/Test-Simple/lib/Test/Builder/Tester.pm|  2 +-
 cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Builder/TodoDiag.pm  |  2 +-
 cpan/Test-Simple/lib/Test/More.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Simple.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester/Capture.pm|  2 +-
 cpan/Test-Simple/lib/Test/Tester/CaptureRunner.pm  |  2 +-
 cpan/Test-Simple/lib/Test/Tester/Delegate.pm   |  2 +-
 cpan/Test-Simple/lib/Test/use/ok.pm|  2 +-
 cpan/Test-Simple/lib/Test2.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/API.pm  | 33 --
 cpan/Test-Simple/lib/Test2/API/Breakage.pm |  2 +-
 cpan/Test-Simple/lib/Test2/API/Context.pm  |  8 +-
 cpan/Test-Simple/lib/Test2/API/Instance.pm |  2 +-
 cpan/Test-Simple/lib/Test2/API/Stack.pm|  8 +-
 cpan/Test-Simple/lib/Test2/Event.pm|  6 ++--
 cpan/Test-Simple/lib/Test2/Event/Bail.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Diag.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Encoding.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Exception.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Fail.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Generic.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/Note.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Ok.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Pass.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Plan.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Skip.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Subtest.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Event/V2.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Event/Waiting.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/About.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Amnesty.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Assert.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Control.pm   | 11 ++--
 cpan/Test-Simple/lib/Test2/EventFacet/Error.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Hub.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Info.pm  |  2 +-
 .../Test-Simple/lib/Test2/EventFacet/Info/Table.pm |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Meta.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Parent.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Plan.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Render.pm|  2 +-
 cpan/Test-Simple/lib/Test2/EventFacet/Trace.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Formatter.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Formatter/TAP.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Hub.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/Hub/Interceptor.pm  |  2 +-
 .../lib/Test2/Hub/Interceptor/Terminator.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Hub/Subtest.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/IPC.pm  |  2 +-
 cpan/Test-Simple/lib/Test2/IPC/Driver.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/IPC/Driver/Files.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Tools/Tiny.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Util.pm |  2 +-
 cpan/Test-Simple/lib/Test2/Util/ExternalMeta.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Util/Facets2Legacy.pm   |  2 +-
 cpan/Test-Simple/lib/Test2/Util/HashBase.pm|  2 +-
 cpan/Test-Simple/lib/Test2/Util/Trace.pm   |  2 +-
 cpan/Test-Simple/lib/ok.pm |  2 +-
 cpan/Test-Simple

[perl.git] branch smoke-me/jkeenan/134371-gconvert updated. v5.31.2-114-gcbe8559802

2019-08-19 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134371-gconvert has been updated



  discards  a9425c441038c158f8c7ad2195c13345098385be (commit)
  discards  74cd64c71e837fea3e6a758bb50eaa09570f40d7 (commit)
- Log -
commit cbe855980207aeda6b23f7e7e29dcbfaacd0bee1
Author: Andy Dougherty 
Date:   Sun Aug 18 22:02:59 2019 -0400

Change Gconvert checkit() prototype for [perl #134371].

In the checkit() routine inside Configure, clang++ was taking the
if (strcmp(expect, got)) branch even though the 'expect' and 'got' strings
were identical.  A first step in debugging this was to realize that
the checkit() function never returned a value, so relabel it as void.
With clang version 7.0.1-8 (tags/RELEASE_701/final) (Debian),
this change seems to work around the strcmp issue.

commit 9a8b32d8f9202f3e5e5ac4732e458744bb2df3fa
Author: James E Keenan 
Date:   Sun Aug 18 13:16:56 2019 +

Reset xxx_convert to empty string if none of 3 utilities is found

This will cause Configure to enter the WHOA block and default to using
sprintf.

For RT # 134371

---

Summary of changes:
 pod/perldelta.pod   |  7 +++
 pod/perldiag.pod|  5 +
 regcomp.c   | 42 +++---
 t/lib/croak/regcomp |  9 +
 4 files changed, 52 insertions(+), 11 deletions(-)

diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index fb3c2cd532..7588464322 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -57,6 +57,13 @@ as strings so ranges like C< "00" .. "03" > produced C< 
"00", "01",
 
 [perl #133695]
 
+=head2 C<\K> now disallowed in look-ahead and look-behind assertions
+
+This was disallowed because it causes unexpected behaviour, and no-one
+could define what the desired behaviour was.
+
+[perl #124256]
+
 =head1 Deprecations
 
 XXX Any deprecated features, syntax, modules etc. should be listed here.
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index f9c023d148..2fa4b62257 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3277,6 +3277,11 @@ line.  See L for more details.
 
 (P) The regular expression parser is confused.
 
+=item \K not permitted in lookahead/lookbehind in regex; marked by <-- HERE in 
m/%s/
+
+(F) Your regular expression used C<\K> in a lookhead or lookbehind
+assertion, which isn't permitted.
+
 =item Label not found for "last %s"
 
 (F) You named a loop to break out of, but you're not currently in a loop
diff --git a/regcomp.c b/regcomp.c
index cf9246473f..aba6648da5 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -182,6 +182,7 @@ struct RExC_state_t {
through */
 U32 study_chunk_recursed_bytes;  /* bytes in bitmap */
 I32in_lookbehind;
+I32in_lookahead;
 I32contains_locale;
 I32override_recoding;
 #ifdef EBCDIC
@@ -273,6 +274,7 @@ struct RExC_state_t {
 #define RExC_study_chunk_recursed_bytes  \
(pRExC_state->study_chunk_recursed_bytes)
 #define RExC_in_lookbehind (pRExC_state->in_lookbehind)
+#define RExC_in_lookahead  (pRExC_state->in_lookahead)
 #define RExC_contains_locale   (pRExC_state->contains_locale)
 #ifdef EBCDIC
 #   define RExC_recode_x_to_native (pRExC_state->recode_x_to_native)
@@ -7622,6 +7624,7 @@ Perl_re_op_compile(pTHX_ SV ** const patternp, int 
pat_count,
 RExC_seen = 0;
 RExC_maxlen = 0;
 RExC_in_lookbehind = 0;
+RExC_in_lookahead = 0;
 RExC_seen_zerolen = *exp == '^' ? -1 : 0;
 #ifdef EBCDIC
 RExC_recode_x_to_native = 0;
@@ -11078,6 +11081,13 @@ S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 
*flagp, U32 depth)
 
 *flagp = 0;/* Tentatively. */
 
+if (RExC_in_lookbehind) {
+   RExC_in_lookbehind++;
+}
+if (RExC_in_lookahead) {
+RExC_in_lookahead++;
+}
+
 /* Having this true makes it feasible to have a lot fewer tests for the
  * parse pointer being in scope.  For example, we can write
  *  while(isFOO(*RExC_parse)) RExC_parse++;
@@ -11542,10 +11552,11 @@ S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, I32 
*flagp, U32 depth)
 if (RExC_parse >= RExC_end) {
 vFAIL("Sequence (?... not terminated");
 }
-
-/* FALLTHROUGH */
+RExC_seen_zerolen++;
+break;
case '=':   /* (?=...) */
RExC_seen_zerolen++;
+RExC_in_lookahead++;
 break;
case '!':   /* (?!...) */
RExC_seen_zerolen++;
@@ -12344,6 +12355,9 @@ S_reg(pTHX_ RExC_state_t *pRExC_state, I32 paren, 

[perl.git] branch smoke-me/jkeenan/134371-gconvert created. v5.31.2-111-g74cd64c71e

2019-08-18 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134371-gconvert has been created



at  74cd64c71e837fea3e6a758bb50eaa09570f40d7 (commit)

- Log -
commit 74cd64c71e837fea3e6a758bb50eaa09570f40d7
Author: James E Keenan 
Date:   Sun Aug 18 13:16:56 2019 +

Reset xxx_convert to empty string if none of 3 utilities is found

This will cause Configure to enter the WHOA block and default to using
sprintf.

For RT # 134371

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.2-101-g8639f1585e

2019-08-14 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 8639f1585e4923c07198d76cd0bd4c39158d12ac
Author: James E Keenan 
Date:   Wed Aug 14 20:57:44 2019 -0400

perldelta for 2f36de812bad297aa2393aee5b13ed2e3acd00e8

commit 2f36de812bad297aa2393aee5b13ed2e3acd00e8
Author: Johan Vromans 
Date:   Wed Aug 14 20:55:34 2019 -0400

Getopt::Long: sync with CPAN version 2.51

---

Summary of changes:
 Porting/Maintainers.pl  |  2 +-
 cpan/Getopt-Long/lib/Getopt/Long.pm | 33 +++--
 pod/perldelta.pod   |  4 
 3 files changed, 24 insertions(+), 15 deletions(-)

diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index 64c6e10b07..390b987154 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -571,7 +571,7 @@ use File::Glob qw(:case);
 },
 
 'Getopt::Long' => {
-'DISTRIBUTION' => 'JV/Getopt-Long-2.50.tar.gz',
+'DISTRIBUTION' => 'JV/Getopt-Long-2.51.tar.gz',
 'FILES'=> q[cpan/Getopt-Long],
 'EXCLUDED' => [
 qr{^examples/},
diff --git a/cpan/Getopt-Long/lib/Getopt/Long.pm 
b/cpan/Getopt-Long/lib/Getopt/Long.pm
index 664c8b63c9..70ac415956 100644
--- a/cpan/Getopt-Long/lib/Getopt/Long.pm
+++ b/cpan/Getopt-Long/lib/Getopt/Long.pm
@@ -4,8 +4,8 @@
 # Author  : Johan Vromans
 # Created On  : Tue Sep 11 15:00:12 1990
 # Last Modified By: Johan Vromans
-# Last Modified On: Sat May 27 12:11:39 2017
-# Update Count: 1715
+# Last Modified On: Mon Aug 12 17:05:46 2019
+# Update Count: 1728
 # Status  : Released
 
  Module Preamble 
@@ -18,10 +18,10 @@ use warnings;
 package Getopt::Long;
 
 use vars qw($VERSION);
-$VERSION=  2.50;
+$VERSION=  2.51;
 # For testing versions only.
 use vars qw($VERSION_STRING);
-$VERSION_STRING = "2.50";
+$VERSION_STRING = "2.51";
 
 use Exporter;
 use vars qw(@ISA @EXPORT @EXPORT_OK);
@@ -303,7 +303,7 @@ sub GetOptionsFromArray(@) {
# Avoid some warnings if debugging.
local ($^W) = 0;
print STDERR
- ("Getopt::Long $Getopt::Long::VERSION ",
+ ("Getopt::Long $Getopt::Long::VERSION_STRING ",
   "called from package \"$pkg\".",
   "\n  ",
   "argv: ",
@@ -769,7 +769,7 @@ sub GetOptionsFromArray(@) {
 }
 
 # Finish.
-if ( @ret && $order == $PERMUTE ) {
+if ( @ret && ( $order == $PERMUTE || $passthrough ) ) {
#  Push back accumulated arguments
print STDERR ("=> restoring \"", join('" "', @ret), "\"\n")
if $debug;
@@ -805,10 +805,8 @@ sub ParseOptionSpec ($$) {
   (
 # Option name
 (?: \w+[-\w]* )
-# Alias names, or "?"
-(?: \| (?: \? | \w[-\w]* ) )*
 # Aliases
-(?: \| (?: [^-|!+=:][^|!+=:]* )? )*
+(?: \| (?: . [^|!+=:]* )? )*
   )?
   (
 # Either modifiers ...
@@ -1123,6 +1121,12 @@ sub FindOption ($) {
$optargtype = 3;
}
if(($optargtype == 0) && !$mand) {
+   if ( $type eq 'I' ) {
+   # Fake incremental type.
+   my @c = @$ctl;
+   $c[CTL_TYPE] = '+';
+   return (1, $opt, \@c, 1);
+   }
my $val
  = defined($ctl->[CTL_DEFAULT]) ? $ctl->[CTL_DEFAULT]
  : $type eq 's' ? ''
@@ -1541,7 +1545,7 @@ sub setup_pa_args($@) {
 
 # Sneak way to know what version the user requested.
 sub VERSION {
-$requested_version = $_[1];
+$requested_version = $_[1] if @_ > 1;
 shift->SUPER::VERSION(@_);
 }
 
@@ -2269,8 +2273,7 @@ it will set variable C<$stdio>.
 A special option 'name' C<< <> >> can be used to designate a subroutine
 to handle non-option arguments. When GetOptions() encounters an
 argument that does not look like an option, it will immediately call this
-subroutine and passes it one parameter: the argument name. Well, actually
-it is an object that stringifies to the argument name.
+subroutine and passes it one parameter: the argument name.
 
 For example:
 
@@ -2733,8 +2736,10 @@ version 2.13.
 use Getopt::Long;
 GetOptions ("help|?");# -help and -? will both set $opt_help
 
-Other characters that can't appear in Perl identifiers are also supported
-as aliases with Getopt::Long of at least version 2.39.
+Other characters that can't appear in Perl identifiers are also
+supported in aliases with Getopt::Long of at version 2.39. Note that
+the characters C, C<|>, C<+>, C<=>, and C<:> can only appear as the
+first (or only) character of an

[perl.git] branch smoke-me/jkeenan/haukex/132475-binmode updated. v5.31.2-100-g9a35096468

2019-08-13 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/haukex/132475-binmode has been updated



  discards  36146e89f206c6d88be30458de2fcc6740580823 (commit)
- Log -
commit 9a350964683985639f8f15efaf68f8f5a2025074
Author: Hauke D 
Date:   Mon Nov 20 15:31:57 2017 +0100

Tie::StdHandle::BINMODE: handle layer argument

BINMODE was not handling the LAYER argument.
Also bump the version number.

---

Summary of changes:
 .gitignore |  1 +
 .lgtm.yml  | 15 +
 .metaconf-exclusions.txt   |  1 +
 .travis.yml|  6 +-
 AUTHORS| 88 +-
 Artistic   |  2 +-
 Configure  |662 +-
 Cross/Makefile-cross-SH|  4 -
 Cross/README.new   |  6 +-
 Cross/config.sh-arm-linux  | 58 +-
 Cross/config.sh-arm-linux-n770 | 58 +-
 EXTERN.h   |  2 +-
 INSTALL|106 +-
 INTERN.h   |  3 +-
 MANIFEST   |314 +-
 META.json  |  4 +-
 META.yml   |  2 +-
 Makefile.SH|123 +-
 NetWare/Makefile   |  4 +-
 NetWare/config.wc  | 12 +-
 NetWare/config_H.wc| 21 +-
 NetWare/interface.c| 15 +-
 NetWare/interface.cpp  | 16 +-
 NetWare/interface.h|  2 +-
 NetWare/iperlhost.h|  2 +-
 Porting/Glossary   | 54 +-
 Porting/Maintainers.pl |222 +-
 Porting/README.y2038   |  2 +-
 Porting/acknowledgements.pl|  4 +-
 Porting/bisect-runner.pl   |112 +-
 Porting/bump-perl-version  |  8 -
 Porting/checkAUTHORS.pl| 13 +-
 Porting/checkcfgvar.pl |  1 -
 Porting/cmpVERSION.pl  |  1 -
 Porting/config.sh  |202 +-
 Porting/config_H   | 90 +-
 Porting/corelist-perldelta.pl  | 16 +-
 Porting/deparse-skips.txt  | 11 +-
 Porting/epigraphs.pod  |656 +-
 Porting/exec-bit.txt   |  5 +
 Porting/exercise_makedef.pl|  2 +-
 Porting/how_to_write_a_perldelta.pod   |  4 +-
 Porting/makerel|  4 +-
 Porting/perldelta_template.pod | 16 +-
 Porting/release_announcement_template.txt  |  5 +-
 Porting/release_managers_guide.pod |199 +-
 Porting/release_schedule.pod   | 70 +-
 Porting/sync-with-cpan |  8 +-
 Porting/timecheck.c|  8 +-
 Porting/todo.pod   | 12 +-
 README |  3 +-
 README.aix |  2 +-
 README.ce  |453 -
 README.haiku   |  4 +-
 README.hpux| 74 +-
 README.macosx  |  8 +-
 README.os2 | 12 +-
 README.solaris |  2 +-
 README.symbian |  2 +-
 README.vms |  4 +-
 README.win32   | 84 +-
 TestInit.pm|  2 +-
 XSUB.h | 43 +-
 amigaos4/amigaio.c | 66 +-
 asan_ignore| 12 +-
 autodoc.pl |500 +-
 av.c   | 29 +-
 av.h   

[perl.git] branch blead updated. v5.31.2-98-g665ac6aded

2019-08-12 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 665ac6aded4b9694283d373a0f127f32a3e75b26
Author: James E Keenan 
Date:   Wed Aug 7 09:39:56 2019 -0400

Run tests in ext/File-Find/t in series

For: RT # 133771

---

Summary of changes:
 t/harness | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/harness b/t/harness
index caa2a318b8..b9857fa022 100644
--- a/t/harness
+++ b/t/harness
@@ -189,7 +189,7 @@ if (@ARGV) {
 # directory containing such files should be tested in serial order.
 #
 # Add exceptions to the above rule
-for (qw(ext/Pod-Html/t cpan/IO-Zlib/t)) {
+for (qw(ext/Pod-Html/t cpan/IO-Zlib/t ext/File-Find/t)) {
 $serials{$_} = 1;
 }
 

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-find-t deleted. v5.31.2-94-ga36898ed10

2019-08-12 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-find-t has been deleted



   was  a36898ed101cfe51d17cc661814d32e818605cd7

- Log -
a36898ed101cfe51d17cc661814d32e818605cd7 Run tests in ext/File-Find/t in series
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134138-constants-in-variable created. v5.31.2-95-g84e52eed43

2019-08-10 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134138-constants-in-variable has 
been created



at  84e52eed43e5ae01bed87ac9f71d9ac69066d7f5 (commit)

- Log -
commit 84e52eed43e5ae01bed87ac9f71d9ac69066d7f5
Author: Tony Cook 
Date:   Sat Aug 10 15:15:04 2019 +1000

remove now irrelevant code and reflow the error message

commit 6cb033d4bf848cf34fb678e47e49be3c86d45793
Author: James E Keenan 
Date:   Sat May 25 21:40:00 2019 -0400

Eliminate modifiable variables in constants

Transform previously deprecated cases into exceptions.

Update diagnostic; change D to F

For: RT 134138

---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/133771-file-find deleted. v5.31.1-154-g9dd4075583

2019-08-09 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/133771-file-find has been deleted



   was  9dd4075583a4dc41b322e2f65380a78232073f12

- Log -
9dd4075583a4dc41b322e2f65380a78232073f12 whitespace only
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint deleted. v5.31.1-145-gbdc8dbfdfe

2019-08-09 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been deleted



   was  bdc8dbfdfe54fe52faac289384d4dada7a74b2f1

- Log -
bdc8dbfdfe54fe52faac289384d4dada7a74b2f1 whitespace only
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-find-t updated. v5.31.2-94-ga36898ed10

2019-08-09 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-find-t has been updated



  discards  48e29007b910dd740fd967de95acadd7d522e71a (commit)
- Log -
commit a36898ed101cfe51d17cc661814d32e818605cd7
Author: James E Keenan 
Date:   Wed Aug 7 09:39:56 2019 -0400

Run tests in ext/File-Find/t in series

For: RT # 133771

---

Summary of changes:
 MANIFEST   |   3 +-
 Porting/corelist.pl|   1 -
 dist/Storable/.gitignore   |   2 -
 dist/Storable/ChangeLog|   7 ++
 dist/Storable/MANIFEST |   3 +-
 dist/Storable/Makefile.PL  |  37 ++---
 dist/Storable/{__Storable__.pm => Storable.pm} |  17 ++--
 dist/Storable/Storable.pm.PL   |  35 
 dist/Storable/Storable.xs  |  14 +++-
 ext/PerlIO-via/via.pm  |   2 +-
 ext/PerlIO-via/via.xs  |   4 +-
 handy.h| 106 +
 intrpvar.h |  95 +-
 op.c   |   3 +-
 perl.h |  26 ++
 pod/perldelta.pod  |  19 +
 pod/perlop.pod |  84 +++-
 pod/perlrun.pod|   3 +-
 pp_ctl.c   |  20 +++--
 pp_sort.c  |   2 +
 regcomp.c  |   4 +-
 scope.c|   3 +
 t/lib/croak/pp_ctl |   8 ++
 t/op/range.t   |  23 +-
 24 files changed, 355 insertions(+), 166 deletions(-)
 delete mode 100644 dist/Storable/.gitignore
 rename dist/Storable/{__Storable__.pm => Storable.pm} (99%)
 delete mode 100644 dist/Storable/Storable.pm.PL

diff --git a/MANIFEST b/MANIFEST
index 9b7798e379..e3785eedd6 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3630,7 +3630,6 @@ dist/SelfLoader/lib/SelfLoader.pm Load functions only on 
demand
 dist/SelfLoader/t/01SelfLoader.t   See if SelfLoader works
 dist/SelfLoader/t/02SelfLoader-buggy.t See if SelfLoader works
 dist/SelfLoader/t/03taint.tSee if SelfLoader works under taint
-dist/Storable/__Storable__.pm  Template to generate Storable.pm
 dist/Storable/ChangeLogStorable extension
 dist/Storable/hints/gnukfreebsd.pl Hint for Storable for named architecture
 dist/Storable/hints/gnuknetbsd.pl  Hint for Storable for named architecture
@@ -3640,8 +3639,8 @@ dist/Storable/Makefile.PL Storable extension
 dist/Storable/MANIFEST Storable MANIFEST file
 dist/Storable/README   Storable extension
 dist/Storable/stacksizecompute stack sizes
+dist/Storable/Storable.pm  Storable perl module
 dist/Storable/Storable.xs  Storable extension
-dist/Storable/Storable.pm.PL   perl script to generate Storable.pm from 
template
 dist/Storable/t/attach.t   Check STORABLE_attach doesn't create 
objects unnecessarily
 dist/Storable/t/attach_errors.tTrigger and test 
STORABLE_attach errors
 dist/Storable/t/attach_singleton.t Test STORABLE_attach for the Singleton 
pattern
diff --git a/Porting/corelist.pl b/Porting/corelist.pl
index ad5a4ad06d..ce74ed42c8 100755
--- a/Porting/corelist.pl
+++ b/Porting/corelist.pl
@@ -98,7 +98,6 @@ find(
 sub {
 /(\.pm|_pm\.PL)$/ or return;
 /PPPort\.pm$/ and return;
-/__Storable__\.pm$/ and return;
 my $module = $File::Find::name;
 $module =~ /\b(demo|t|private|corpus)\b/ and return;# demo or test 
modules
 my $version = MM->parse_version($_);
diff --git a/dist/Storable/.gitignore b/dist/Storable/.gitignore
deleted file mode 100644
index de731b9d98..00
--- a/dist/Storable/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/Storable.pm
-/lib
diff --git a/dist/Storable/ChangeLog b/dist/Storable/ChangeLog
index 4745c74b85..68159a9b65 100644
--- a/dist/Storable/ChangeLog
+++ b/dist/Storable/ChangeLog
@@ -1,3 +1,10 @@
+2019-08-08 11:48:00 TonyC
+version 3.17
+* correct a data type to ensure the check for too large results from
+ STORABLE_freeze() are detected correctly (detected by Coverity)
+   * removed remains of stack size detection from the build process.
+   * moved CAN_FLOCK detection into XS to simplify the build process.
+
 2019-06-11 10:43:00 TonyC
 version 3.16
 * (perl #134179) fix self-referencin

[perl.git] branch smoke-me/jkeenan/133771-file-find-t created. v5.31.2-66-g48e29007b9

2019-08-07 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-find-t has been created



at  48e29007b910dd740fd967de95acadd7d522e71a (commit)

- Log -
commit 48e29007b910dd740fd967de95acadd7d522e71a
Author: James E Keenan 
Date:   Wed Aug 7 09:39:56 2019 -0400

Run tests in ext/File-Find/t in series

For: RT # 133771

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/hv/134172-sprintf deleted. v5.31.2-23-g3bb520e09c

2019-08-01 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/hv/134172-sprintf has been deleted



   was  3bb520e09cfcbe57fb478255db7417fc9697dda8

- Log -
3bb520e09cfcbe57fb478255db7417fc9697dda8 Avoid multiple checks of 
IN_LC(LC_NUMERIC)
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/hv/134172-hack deleted. v5.31.0-143-g66d7dcb9af

2019-08-01 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/hv/134172-hack has been deleted



   was  66d7dcb9af43a7646a6d8cdc26e1abfd49a3ed89

- Log -
66d7dcb9af43a7646a6d8cdc26e1abfd49a3ed89 Hack to RESTORE_LC_NUMERIC before croak
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/hv/134172-sprintf updated. v5.31.2-23-g3bb520e09c

2019-07-22 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/hv/134172-sprintf has been updated



- Log -
commit 3bb520e09cfcbe57fb478255db7417fc9697dda8
Author: Hugo van der Sanden 
Date:   Mon Jul 22 17:08:45 2019 +0100

Avoid multiple checks of IN_LC(LC_NUMERIC)

---

Summary of changes:
 perl.h | 20 ++--
 sv.c   | 12 ++--
 2 files changed, 20 insertions(+), 12 deletions(-)

diff --git a/perl.h b/perl.h
index 3be4a53756..c4afb3f2c7 100644
--- a/perl.h
+++ b/perl.h
@@ -6476,12 +6476,12 @@ is equivalent to:
 #  define DECLARATION_FOR_LC_NUMERIC_MANIPULATION   \
 void (*_restore_LC_NUMERIC_function)(pTHX) = NULL
 
-#  define STORE_LC_NUMERIC_SET_TO_NEEDED()  \
+#  define STORE_LC_NUMERIC_SET_TO_NEEDED_i(in_lc_numeric)   \
 STMT_START {\
 LC_NUMERIC_LOCK(\
-(   (  IN_LC(LC_NUMERIC) && _NOT_IN_NUMERIC_UNDERLYING) \
- || (! IN_LC(LC_NUMERIC) && _NOT_IN_NUMERIC_STANDARD)));\
-if (IN_LC(LC_NUMERIC)) {\
+(   (  in_lc_numeric && _NOT_IN_NUMERIC_UNDERLYING) \
+ || (! in_lc_numeric && _NOT_IN_NUMERIC_STANDARD)));\
+if (in_lc_numeric) {\
 if (_NOT_IN_NUMERIC_UNDERLYING) {   \
 Perl_set_numeric_underlying(aTHX);  \
 _restore_LC_NUMERIC_function\
@@ -6497,6 +6497,9 @@ is equivalent to:
 }   \
 } STMT_END
 
+#  define STORE_LC_NUMERIC_SET_TO_NEEDED() \
+STORE_LC_NUMERIC_SET_TO_NEEDED_i(IN_LC(LC_NUMERIC))
+
 #  define RESTORE_LC_NUMERIC()  \
 STMT_START {\
 if (_restore_LC_NUMERIC_function) { \
@@ -6571,14 +6574,17 @@ is equivalent to:
 __FILE__, __LINE__, PL_numeric_standard));  \
 } STMT_END
 
-#  define WITH_LC_NUMERIC_SET_TO_NEEDED(block)  \
+#  define WITH_LC_NUMERIC_SET_TO_NEEDED_i(in_lc_numeric, block) \
 STMT_START {\
 DECLARATION_FOR_LC_NUMERIC_MANIPULATION;\
-STORE_LC_NUMERIC_SET_TO_NEEDED();   \
+STORE_LC_NUMERIC_SET_TO_NEEDED_i(in_lc_numeric);\
 block;  \
 RESTORE_LC_NUMERIC();   \
 } STMT_END;
 
+#  define WITH_LC_NUMERIC_SET_TO_NEEDED(block) \
+WITH_LC_NUMERIC_SET_TO_NEEDED_i(IN_LC(LC_NUMERIC), block)
+
 #else /* !USE_LOCALE_NUMERIC */
 
 #  define SET_NUMERIC_STANDARD()
@@ -6587,10 +6593,12 @@ is equivalent to:
 #  define DECLARATION_FOR_LC_NUMERIC_MANIPULATION
 #  define STORE_LC_NUMERIC_SET_STANDARD()
 #  define STORE_LC_NUMERIC_FORCE_TO_UNDERLYING()
+#  define STORE_LC_NUMERIC_SET_TO_NEEDED_i()
 #  define STORE_LC_NUMERIC_SET_TO_NEEDED()
 #  define RESTORE_LC_NUMERIC()
 #  define LOCK_LC_NUMERIC_STANDARD()
 #  define UNLOCK_LC_NUMERIC_STANDARD()
+#  define WITH_LC_NUMERIC_SET_TO_NEEDED_i(in_lc_numeric, block) block;
 #  define WITH_LC_NUMERIC_SET_TO_NEEDED(block) block;
 
 #endif /* !USE_LOCALE_NUMERIC */
diff --git a/sv.c b/sv.c
index ef2c71126c..dfe5f88e52 100644
--- a/sv.c
+++ b/sv.c
@@ -11784,7 +11784,7 @@ S_format_hexfp(pTHX_ char * const buf, const STRLEN 
bufsize, const char c,
 #else
 if (in_lc_numeric) {
 STRLEN n;
-WITH_LC_NUMERIC_SET_TO_NEEDED({
+WITH_LC_NUMERIC_SET_TO_NEEDED_i(TRUE, {
 const char* r = SvPV(PL_numeric_radix_sv, n);
 Copy(r, p, n, char);
 });
@@ -12978,7 +12978,7 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char 
*const pat, const STRLEN p
 }
 
 if (in_lc_numeric) {
-WITH_LC_NUMERIC_SET_TO_NEEDED({
+WITH_LC_NUMERIC_SET_TO_NEEDED_i(TRUE, {
 /* this can't wrap unless PL_numeric_radix_sv is a string
  * consuming virtually all the 32-bit or 64-bit address
  * space
@@ -13071,7 +13071,7 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char 
*const pat, const STRLEN p

[perl.git] branch smoke-me/jkeenan/hv/134172-sprintf created. v5.31.2-22-gfaef172d72

2019-07-22 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/hv/134172-sprintf has been created



at  faef172d72c55e8e2f171243b347f32b2213ab85 (commit)

- Log -
commit faef172d72c55e8e2f171243b347f32b2213ab85
Author: Hugo van der Sanden 
Date:   Mon Jul 22 16:29:13 2019 +0100

restrict scope of locale changes during sprintf

In some environments we must hold a mutex for the duration of a temporary
locale change, so we must ensure that mutex is released appropriately.
This means intervening code must not croak, or otherwise bypass the
unlock.

In sv_vcatpvfn_flags(), that requirement was violated when attempting
to avoid multiple temporary locale changes by collapsing them into
a single one. This partially undoes that to fix the problem, while
still attempting to retain some of the benefits by caching the
expensive hints check.

---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/134287-no-taint created. v5.31.2-12-g5d4811b7d3

2019-07-21 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/134287-no-taint has been created



at  5d4811b7d3f9d02cec0a6abeb9ca3937eba3c62d (commit)

- Log -
commit 5d4811b7d3f9d02cec0a6abeb9ca3937eba3c62d
Author: James E Keenan 
Date:   Sun Jul 21 10:58:53 2019 -0400

Skip all if built with -DSILENT_NO_TAINT_SUPPORT

For: RT # 134287

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.2-11-g36bb8f6885

2019-07-21 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 36bb8f6885bdecb513ebff0983944397885d5cfa
Author: James E Keenan 
Date:   Sun Jul 21 09:34:05 2019 -0400

perldelta for 6b62d97b14ca2894417d0297a435c63e056e31fe

commit 6b62d97b14ca2894417d0297a435c63e056e31fe
Author: E.Choroba 
Date:   Thu Jul 18 15:02:19 2019 +0200

Fix pod formatting

> is an HTML entity, not pod.

Committer: increment $VERSION

For: RT # 134300

---

Summary of changes:
 lib/Thread.pm | 6 +++---
 pod/perldelta.pod | 4 
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/lib/Thread.pm b/lib/Thread.pm
index dbe0719bf5..70bcac3898 100644
--- a/lib/Thread.pm
+++ b/lib/Thread.pm
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 no warnings 'redefine';
 
-our $VERSION = '3.04';
+our $VERSION = '3.05';
 $VERSION = eval $VERSION;
 
 BEGIN {
@@ -117,7 +117,7 @@ C starts a new thread of execution in the referenced 
subroutine. The
 optional list is passed as parameters to the subroutine. Execution
 continues in both the subroutine and the code after the C call.
 
-C returns a thread object representing the newly created
+C<< Thread->new >> returns a thread object representing the newly created
 thread.
 
 =item lock VARIABLE
@@ -148,7 +148,7 @@ C is equivalent to C, while 
C is not.
 
 C creates a thread to execute the block immediately following
 it.  This block is treated as an anonymous sub, and so must have a
-semi-colon after the closing brace. Like C, C
+semi-colon after the closing brace. Like C<< Thread->new >>, C
 returns a thread object.
 
 =item Thread->self
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 14c8d5bc49..18ec24eb6f 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -125,6 +125,10 @@ XXX Remove this section if not applicable.
 
 =item *
 
+L has been upgraded from version 3.04 to 3.05.
+
+=item *
+
 L has been upgraded from version A.xx to B.yy.
 
 If there was something important to note about this change, include that here.

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134272-posix deleted. v5.31.1-143-g6d914bd3f7

2019-07-10 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134272-posix has been deleted



   was  6d914bd3f7956cb5b987fbfcfe53e05198b2ca62

- Log -
6d914bd3f7956cb5b987fbfcfe53e05198b2ca62 Correct typo in POSIX.pod
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.1-144-g387e2cd4d0

2019-07-10 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 387e2cd4d0d0ac027048044a6c2f046eb1be946f
Author: James E Keenan 
Date:   Tue Jul 9 22:33:42 2019 -0400

Correct typo in POSIX.pod

For RT #134272, as suggested by Paul Townsend.

---

Summary of changes:
 ext/POSIX/lib/POSIX.pod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod
index e4f9a3d18f..cab1501dab 100644
--- a/ext/POSIX/lib/POSIX.pod
+++ b/ext/POSIX/lib/POSIX.pod
@@ -468,7 +468,7 @@ integer value less than or equal to the numerical argument.
 
 Returns the current floating point rounding mode, one of
 
-  FE_TONEAREST FE_TOWARDZERO FE_UPWARD FE_UPWARD
+  FE_TONEAREST FE_TOWARDZERO FE_UPWARD FE_DOWNWARD
 
 C is like L, C is like L [C99].
 

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134272-posix updated. v5.31.1-143-g6d914bd3f7

2019-07-09 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134272-posix has been updated



- Log -
commit 6d914bd3f7956cb5b987fbfcfe53e05198b2ca62
Author: James E Keenan 
Date:   Tue Jul 9 22:33:42 2019 -0400

Correct typo in POSIX.pod

For RT #134272, as suggested by Paul Townsend.

---

Summary of changes:
 ext/POSIX/lib/POSIX.pod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/POSIX/lib/POSIX.pod b/ext/POSIX/lib/POSIX.pod
index e4f9a3d18f..cab1501dab 100644
--- a/ext/POSIX/lib/POSIX.pod
+++ b/ext/POSIX/lib/POSIX.pod
@@ -468,7 +468,7 @@ integer value less than or equal to the numerical argument.
 
 Returns the current floating point rounding mode, one of
 
-  FE_TONEAREST FE_TOWARDZERO FE_UPWARD FE_UPWARD
+  FE_TONEAREST FE_TOWARDZERO FE_UPWARD FE_DOWNWARD
 
 C is like L, C is like L [C99].
 

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/134272-posix created. v5.31.1-142-gdc65f37092

2019-07-09 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/134272-posix has been created



at  dc65f37092690cb834e2b1030cd905ed0a0066dd (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/133771-file-find updated. v5.31.1-154-g9dd4075583

2019-07-09 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/133771-file-find has been updated



- Log -
commit 9dd4075583a4dc41b322e2f65380a78232073f12
Author: James E Keenan 
Date:   Wed Jul 10 02:14:17 2019 +

whitespace only

---

Summary of changes:
 ext/File-Find/t/taint.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/File-Find/t/taint.t b/ext/File-Find/t/taint.t
index bb4f4dc480..ff43a0620c 100644
--- a/ext/File-Find/t/taint.t
+++ b/ext/File-Find/t/taint.t
@@ -321,3 +321,4 @@ SKIP: {
 chdir($cwd_untainted);
 }
 
+

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/133771-file-find updated. v5.31.1-153-gf8548a29ea

2019-07-09 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/133771-file-find has been updated



- Log -
commit f8548a29ea2301eb3acde938d889c45b84c69842
Author: James E Keenan 
Date:   Tue Jul 9 16:20:53 2019 +

Again comment out failing test temporarily.

---

Summary of changes:
 t/op/sprintf2.t | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/t/op/sprintf2.t b/t/op/sprintf2.t
index 5fee8efede..27315d0382 100644
--- a/t/op/sprintf2.t
+++ b/t/op/sprintf2.t
@@ -1153,11 +1153,11 @@ foreach(
 is sprintf("%.0f", $_), sprintf("%-.0f", $_), "special-case %.0f on $_";
 }
 
-# large uvsize needed so the large width is parsed properly
-# large sizesize needed so the STRLEN check doesn't
-if ($Config{intsize} == 4 && $Config{uvsize} > 4 && $Config{sizesize} > 4) {
-eval { my $x = sprintf("%70E", 0) };
-like($@, qr/^Numeric format result too large at /,
- "croak for very large numeric format results");
-}
+## large uvsize needed so the large width is parsed properly
+## large sizesize needed so the STRLEN check doesn't
+#if ($Config{intsize} == 4 && $Config{uvsize} > 4 && $Config{sizesize} > 4) {
+#eval { my $x = sprintf("%70E", 0) };
+#like($@, qr/^Numeric format result too large at /,
+# "croak for very large numeric format results");
+#}
 done_testing();

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/133771-file-find updated. v5.31.1-152-g38be248847

2019-07-09 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/133771-file-find has been updated



- Log -
commit 38be248847162d2070f72bd7d8ef3f3b0189c313
Author: James E Keenan 
Date:   Tue Jul 9 12:12:06 2019 -0400

Get make minitest working

commit 3f7ab9aa2466822b67750e74635475c67c39c94c
Author: James E Keenan 
Date:   Tue Jul 9 12:09:13 2019 -0400

Get make minitest working

---

Summary of changes:
 MANIFEST |  404 ++
 t/base/cond.t|   17 +
 t/base/if.t  |9 +
 t/base/lex.t |  588 +
 t/base/num.t |  213 +++
 t/base/pat.t |9 +
 t/base/rs.t  |  312 +
 t/base/term.t|   52 +
 t/base/translate.t   |   26 +
 t/base/while.t   |   33 +
 t/cmd/elsif.t|   23 +
 t/cmd/for.t  |  108 ++
 t/cmd/mod.t  |   56 +
 t/cmd/subval.t   |  184 +++
 t/cmd/switch.t   |   73 ++
 t/comp/bproto.t  |   55 +
 t/comp/cmdopt.t  |   88 ++
 t/comp/colon.t   |  135 ++
 t/comp/decl.t|   61 +
 t/comp/filter_exception.t|   32 +
 t/comp/final_line_num.t  |   13 +
 t/comp/fold.t|  194 +++
 t/comp/form_scope.t  |  160 +++
 t/comp/hints.t   |  290 +
 t/comp/line_debug.t  |   37 +
 t/comp/multiline.t   |   90 ++
 t/comp/opsubs.t  |  209 +++
 t/comp/our.t |   75 ++
 t/comp/package.t |   74 ++
 t/comp/package_block.t   |   92 ++
 t/comp/parser.t  |  759 +++
 t/comp/parser_run.t  |   59 +
 t/comp/proto.t   |  894 +
 t/comp/redef.t   |   86 ++
 t/comp/require.t |  389 ++
 t/comp/retainedlines.t   |  176 +++
 t/comp/term.t|   72 ++
 t/comp/uproto.t  |  127 ++
 t/comp/use.t |  299 +
 t/comp/utf.t |  104 ++
 t/io/argv.t  |  268 
 t/io/binmode.t   |   40 +
 t/io/bom.t   |   27 +
 t/io/closepid.t  |   48 +
 t/io/crlf.t  |  112 ++
 t/io/crlf_through.t  |   10 +
 t/io/data.t  |   90 ++
 t/io/defout.t|   55 +
 t/io/dup.t   |  144 +++
 t/io/eintr.t |  162 +++
 t/io/eintr_print.t   |   95 ++
 t/io/errno.t |   47 +
 t/io/errnosig.t  |   30 +
 t/io/fflush.t|  131 ++
 t/io/fs.t|  534 
 t/io/getcwd.t|   22 +
 t/io/inplace.t   |  111 ++
 t/io/iofile.t|   26 +
 t/io/iprefix.t   |   38 +
 t/io/layers.t|  253 
 t/io/nargv.t |  140 ++
 t/io/open.t  |  563 
 t/io/openpid.t   |  108 ++
 t/io/paragraph_mode.t|  504 
 t/io/perlio.t|  259 
 t/io/perlio_fail.t   |   49 +
 t/io/perlio_leaks.t  |   35 +
 t/io/perlio_open.t   |   36 +
 t/io/pipe.t  |  273 
 t/io/print.t |   78 ++
 t/io/pvbm.t  |   84 ++
 t/io/read.t  |   37 +
 t/io/say.t   |   60 +
 t/io/sem.t   |   72 ++
 t/io/semctl.t|   27 +
 t/io/shm.t   |   90 ++
 t/io/socket.t|  302 +
 t/io/socketpair.t|   51 +
 t/io/tell.t  |  196 +++
 t/io/through.t   |  175 +++
 t/io/utf8.t  |  400 ++
 t/lib/Count.pm   |8 +
 t/lib/Devel/nodb.pm  |3 +
 t/lib/Devel/switchd.pm   |9 +
 t/lib/Devel/switchd_empty.pm |2 +
 t/lib/Devel/switchd_goto.pm  |6 +
 t/lib/test_require.pm|6 +
 t/lib/test_use.pm|   11 +
 t/lib/test_use_14937.pm  |1 +
 t/op/64bitint.t  |  463 +++
 t/op/aassign.t   |  597 +
 t/op/alarm.t |   63 +
 t/op/anonconst.t |   51 +
 t/op/anonsub.t   |  114 ++
 t/op/append.t|   72 ++
 t/op/args.t  |  110 ++
 t/op/array.t |  691 ++
 t/op/assignwarn.t|   64 +
 t/op/attrhand.t  |   63 +
 t/op/attrproto.t |  135 ++
 t/op/attrs.t |  513 
 t/op/auto.t  |   65 +
 t/op/avhv.t  |  284 
 t/op/bless.t |  236 
 t/op/blocks.t|  267 
 t/op/bop.t   |  642 +
 t/op/caller.pl   

[perl.git] branch jkeenan/133771-file-find created. v5.31.1-150-g63641d8ad9

2019-07-09 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/133771-file-find has been created



at  63641d8ad931fed56a4cca11844f4de9ed50a6a2 (commit)

- Log -
commit 63641d8ad931fed56a4cca11844f4de9ed50a6a2
Author: James E Keenan 
Date:   Tue Jul 9 09:30:38 2019 -0400

Screw around with MANIFEST and .gitignore

commit 7482bc3eae91e8ec714d71642c4c1bc2b1cf39f1
Author: James E Keenan 
Date:   Tue Jul 9 09:21:15 2019 -0400

Remove a lot of tests

commit 650c8564cf63650c523e1ea71fabb42d13820085
Author: James E Keenan 
Date:   Mon Jul 8 13:50:41 2019 -0400

whitespace only

commit 469b47042d706fadcac11acb4added16134fb875
Author: James E Keenan 
Date:   Mon Jul 8 08:28:19 2019 -0400

whitespace only

commit f0206f828c5692966377abaaa670296affd1
Author: James E Keenan 
Date:   Sun Jul 7 19:35:13 2019 -0400

whitespace only

commit b04c949360cf86bff06fdf790dfb83269de301e4
Author: James E Keenan 
Date:   Sun Jul 7 09:34:55 2019 -0400

Increment $VERSION to keep make test_porting happy

commit 2cb0634a0e9dbb8bd51b5649cc8ffd19f2241d13
Author: James E Keenan 
Date:   Sun Jul 7 08:36:37 2019 -0400

More debugging code

Standardize indentation in relevant subroutine.

commit 66d159d9d75f222c322e7602062ff8db165d
Author: James E Keenan 
Date:   Sun Jul 7 01:44:38 2019 +

Comment out failing test temporarily

commit c3fe6753e8ca4cdb81ac43d5dcd4390693362219
Author: James E Keenan 
Date:   Sat Jul 6 20:50:06 2019 -0400

Debugging code only.

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint updated. v5.31.1-145-gbdc8dbfdfe

2019-07-08 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been updated



  discards  a9c98c4ec34649055fad876effa0f675314644a8 (commit)
  discards  e724baddb7406cc437d124a97e0413fab74b23f0 (commit)
  discards  1559574722c88bbbda15307fd568325280891cc2 (commit)
  discards  a0762eb9364a1eac621c864e10d1617ec16cbf16 (commit)
  discards  67b7d10e63fbdfa64fa4d479035147d0cc573c2e (commit)
  discards  32d79802d3ec5d125baa9a7e1ced2082eec5d33c (commit)
  discards  d9783b2762e83cf9ae9801550c74827df84e7cfb (commit)
  discards  26b896faacca73de0840c20d618f94ac86fd2d36 (commit)
- Log -
commit bdc8dbfdfe54fe52faac289384d4dada7a74b2f1
Author: James E Keenan 
Date:   Mon Jul 8 13:50:41 2019 -0400

whitespace only

commit 5fb7b632c885e2ab8a3c3e18274df1dd1dcd19f3
Author: James E Keenan 
Date:   Mon Jul 8 08:28:19 2019 -0400

whitespace only

commit 63ac49e376d7c89b5ac76bc032e624a584195cb4
Author: James E Keenan 
Date:   Sun Jul 7 19:35:13 2019 -0400

whitespace only

commit 3a8c4e10ed5bd033dd9fce739948995e7e838d36
Author: James E Keenan 
Date:   Sun Jul 7 09:34:55 2019 -0400

Increment $VERSION to keep make test_porting happy

commit 0627899d3ed910677a61a5614b6f97d193b2bde2
Author: James E Keenan 
Date:   Sun Jul 7 08:36:37 2019 -0400

More debugging code

Standardize indentation in relevant subroutine.

commit 0cf356a09654f1fd170eafadc0750ca8d5f83d8d
Author: James E Keenan 
Date:   Sun Jul 7 01:44:38 2019 +

Comment out failing test temporarily

commit 1c1b7bcbf68eb91d7df6dd2f8a68e90bc13cb2d1
Author: James E Keenan 
Date:   Sat Jul 6 20:50:06 2019 -0400

Debugging code only.

---

Summary of changes:
 autodoc.pl |  8 
 cop.h  | 23 +++---
 ext/XS-APItest/Makefile.PL |  2 +-
 ext/XS-APItest/t/call.t| 26 -
 perl.c | 25 +++-
 perl.h | 48 ++
 pod/perldelta.pod  | 12 
 7 files changed, 122 insertions(+), 22 deletions(-)

diff --git a/autodoc.pl b/autodoc.pl
index 919da5e063..c72861accb 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -111,6 +111,14 @@ HDR_DOC:
 my $proto = $proto_in_file;
 $proto = "||$proto" unless $proto =~ /\|/;
 my($flags, $ret, $name, @args) = split /\s*\|\s*/, $proto;
+$name or die <.
 #define G_WANT 3
 
 /* extra flags for Perl_call_* routines */
-#define G_DISCARD  4   /* Call FREETMPS.
+#define G_DISCARD 0x4  /* Call FREETMPS.
   Don't change this without consulting the
   hash actions codes defined in hv.h */
-#define G_EVAL 8   /* Assume eval {} around subroutine call. */
-#define G_NOARGS   16  /* Don't construct a @_ array. */
-#define G_KEEPERR  32  /* Warn for errors, don't overwrite $@ */
-#define G_NODEBUG  64  /* Disable debugging at toplevel.  */
-#define G_METHOD  128   /* Calling method. */
-#define G_FAKINGEVAL  256  /* Faking an eval context for call_sv or
+#define G_EVAL   0x8   /* Assume eval {} around subroutine call. */
+#define G_NOARGS 0x10  /* Don't construct a @_ array. */
+#define G_KEEPERR0x20  /* Warn for errors, don't overwrite $@ */
+#define G_NODEBUG0x40  /* Disable debugging at toplevel.  */
+#define G_METHOD 0x80   /* Calling method. */
+#define G_FAKINGEVAL0x100  /* Faking an eval context for call_sv or
   fold_constants. */
-#define G_UNDEF_FILL  512  /* Fill the stack with &PL_sv_undef
+#define G_UNDEF_FILL0x200  /* Fill the stack with &PL_sv_undef
   A special case for UNSHIFT in
   Perl_magic_methcall().  */
-#define G_WRITING_TO_STDERR 1024 /* Perl_write_to_stderr() is calling
+#define G_WRITING_TO_STDERR 0x400 /* Perl_write_to_stderr() is calling
Perl_magic_methcall().  */
-#define G_RE_REPARSING 0x800 /* compiling a run-time /(?{..})/ */
-#define G_METHOD_NAMED 4096/* calling named method, eg without :: or ' */
+#define G_RE_REPARSING  0x800   /* compiling a run-time /(?{..})/ */
+#define G_METHOD_NAMED 0x1000  /* calling named method, eg without :: or ' */
+#define G_RETHROW  0x2000  /* eval_sv(): re-throw any error */
 
 /* flag bits for PL_in_eval */
 #define EVAL_NULL  0   /* not in an eval */
diff --git a/ext/XS-APItest/Makefile.PL b/ext/XS-APItest/Makefile.PL
index d79ba1150e..3fe5e397a8 100644
--- a/ext/XS-APItest/Makefile.PL
+++ b/ext/XS-APItest/Makefile.PL
@@ -23,7 +

[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint updated. v5.31.1-140-ga9c98c4ec3

2019-07-08 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been updated



- Log -
commit a9c98c4ec34649055fad876effa0f675314644a8
Author: James E Keenan 
Date:   Mon Jul 8 13:50:41 2019 -0400

whitespace only

---

Summary of changes:
 ext/File-Find/t/taint.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/File-Find/t/taint.t b/ext/File-Find/t/taint.t
index f3a3915be8..bb4f4dc480 100644
--- a/ext/File-Find/t/taint.t
+++ b/ext/File-Find/t/taint.t
@@ -320,3 +320,4 @@ SKIP: {
 
 chdir($cwd_untainted);
 }
+

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint updated. v5.31.1-139-ge724baddb7

2019-07-08 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been updated



- Log -
commit e724baddb7406cc437d124a97e0413fab74b23f0
Author: James E Keenan 
Date:   Mon Jul 8 08:28:19 2019 -0400

whitespace only

---

Summary of changes:
 ext/File-Find/t/taint.t | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ext/File-Find/t/taint.t b/ext/File-Find/t/taint.t
index bb4f4dc480..f3a3915be8 100644
--- a/ext/File-Find/t/taint.t
+++ b/ext/File-Find/t/taint.t
@@ -320,4 +320,3 @@ SKIP: {
 
 chdir($cwd_untainted);
 }
-

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint updated. v5.31.1-138-g1559574722

2019-07-07 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been updated



- Log -
commit 1559574722c88bbbda15307fd568325280891cc2
Author: James E Keenan 
Date:   Sun Jul 7 19:35:13 2019 -0400

whitespace only

---

Summary of changes:
 ext/File-Find/t/taint.t | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ext/File-Find/t/taint.t b/ext/File-Find/t/taint.t
index f3a3915be8..bb4f4dc480 100644
--- a/ext/File-Find/t/taint.t
+++ b/ext/File-Find/t/taint.t
@@ -320,3 +320,4 @@ SKIP: {
 
 chdir($cwd_untainted);
 }
+

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint updated. v5.31.1-137-ga0762eb936

2019-07-07 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been updated



- Log -
commit a0762eb9364a1eac621c864e10d1617ec16cbf16
Author: James E Keenan 
Date:   Sun Jul 7 09:34:55 2019 -0400

Increment $VERSION to keep make test_porting happy

---

Summary of changes:
 ext/File-Find/lib/File/Find.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/File-Find/lib/File/Find.pm b/ext/File-Find/lib/File/Find.pm
index 6145fada0d..e6aaaba2f3 100644
--- a/ext/File-Find/lib/File/Find.pm
+++ b/ext/File-Find/lib/File/Find.pm
@@ -3,7 +3,7 @@ use 5.006;
 use strict;
 use warnings;
 use warnings::register;
-our $VERSION = '1.36';
+our $VERSION = '1.37_01';
 require Exporter;
 require Cwd;
 use Carp;

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint updated. v5.31.1-136-g67b7d10e63

2019-07-07 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been updated



- Log -
commit 67b7d10e63fbdfa64fa4d479035147d0cc573c2e
Merge: 32d79802d3 d9783b2762
Author: James E Keenan 
Date:   Sun Jul 7 08:38:50 2019 -0400

Merge branch 'smoke-me/jkeenan/133771-file-fine-taint' of 
git://perl5.git.perl.org/perl into 133771-file-fine-taint

commit 32d79802d3ec5d125baa9a7e1ced2082eec5d33c
Author: James E Keenan 
Date:   Sun Jul 7 08:36:37 2019 -0400

More debugging code

Standardize indentation in relevant subroutine.

---

Summary of changes:
 ext/File-Find/lib/File/Find.pm | 118 ++---
 1 file changed, 64 insertions(+), 54 deletions(-)

diff --git a/ext/File-Find/lib/File/Find.pm b/ext/File-Find/lib/File/Find.pm
index 5fb9ee02fe..6145fada0d 100644
--- a/ext/File-Find/lib/File/Find.pm
+++ b/ext/File-Find/lib/File/Find.pm
@@ -6,6 +6,7 @@ use warnings::register;
 our $VERSION = '1.36';
 require Exporter;
 require Cwd;
+use Carp;
 
 our @ISA = qw(Exporter);
 our @EXPORT = qw(find finddepth);
@@ -457,64 +458,73 @@ sub _find_dir($$$) {
}
 }
 continue {
-   while ( defined ($SE = pop @Stack) ) {
-   ($Level, $p_dir, $dir_rel, $nlink) = @$SE;
-   if ($CdLvl > $Level && !$no_chdir) {
-   my $tmp;
-   if ($Is_VMS) {
-   $tmp = '[' . ('-' x ($CdLvl-$Level)) . ']';
-   }
-   else {
-   $tmp = join('/',('..') x ($CdLvl-$Level));
-   }
-   die "Can't cd to $tmp from $dir_name: $!"
-   unless chdir ($tmp);
-   $CdLvl = $Level;
-   }
-
-   if ($Is_Win32) {
-   $dir_name = ($p_dir =~ m{^(?:\w:[/\\]?|[/\\])$}
-   ? "$p_dir$dir_rel" : "$p_dir/$dir_rel");
-   $dir_pref = "$dir_name/";
-   }
-   elsif ($^O eq 'VMS') {
-if ($p_dir =~ m/[\]>]+$/) {
-$dir_name = $p_dir;
-$dir_name =~ s/([\]>]+)$/.$dir_rel$1/;
-$dir_pref = $dir_name;
+while ( defined ($SE = pop @Stack) ) {
+($Level, $p_dir, $dir_rel, $nlink) = @$SE;
+if ($CdLvl > $Level && !$no_chdir) {
+my $tmp;
+if ($Is_VMS) {
+$tmp = '[' . ('-' x ($CdLvl-$Level)) . ']';
 }
 else {
-$dir_name = "$p_dir/$dir_rel";
-$dir_pref = "$dir_name/";
+$tmp = join('/',('..') x ($CdLvl-$Level));
 }
-   }
-   else {
-   $dir_name = ($p_dir eq '/' ? "/$dir_rel" : "$p_dir/$dir_rel");
-   $dir_pref = "$dir_name/";
-   }
+#print STDERR "PPP: \$CdLvl: $CdLvl\t\$Level: $Level\n";
+#my @caller = caller();
+#print STDERR "QQQ: @caller\n";
+#die "Can't cd to $tmp from $dir_name: $!"
+#unless chdir ($tmp);
+#croak "Can't cd to $tmp from $dir_name: $!"
+#unless chdir ($tmp);
+unless (chdir ($tmp)) {
+print STDERR "PPP: \$CdLvl: $CdLvl\t\$Level: $Level\n";
+croak "Can't cd to $tmp from $dir_name: $!";
+}
+$CdLvl = $Level;
+}
 
-   if ( $nlink == -2 ) {
-   $name = $dir = $p_dir; # $File::Find::name / dir
-$_ = $File::Find::current_dir;
-   $post_process->();  # End-of-directory processing
-   }
-   elsif ( $nlink < 0 ) {  # must be finddepth, report dirname now
-   $name = $dir_name;
-   if ( substr($name,-2) eq '/.' ) {
-   substr($name, length($name) == 2 ? -1 : -2) = '';
-   }
-   $dir = $p_dir;
-   $_ = ($no_chdir ? $dir_name : $dir_rel );
-   if ( substr($_,-2) eq '/.' ) {
-   substr($_, length($_) == 2 ? -1 : -2) = '';
-   }
-   { $wanted_callback->() }; # protect against wild "next"
-}
-else {
-   push @Stack,[$CdLvl,$p_dir,$dir_rel,-1]  if  $bydepth;
-   last;
-   }
-   }
+if ($Is_Win32) {
+$dir_name = ($p_dir =~ m{^(?:\w:[/\\]?|[/\\])$}
+? "$p_dir$dir_rel" : "$p_dir/$dir_rel");
+$dir_pref = "$dir_name/";
+}
+elsif ($^O eq 'VMS') {
+if ($p_dir =~ m/[\]>]+$/) {
+$dir_name = $p_dir;
+$dir_name =~ s/([\]>]+)$/.$dir_rel$1/;
+$dir_pref = $dir_nam

[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint updated. v5.31.1-134-gd9783b2762

2019-07-06 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been updated



- Log -
commit d9783b2762e83cf9ae9801550c74827df84e7cfb
Author: James E Keenan 
Date:   Sun Jul 7 01:44:38 2019 +

Comment out failing test temporarily

---

Summary of changes:
 t/op/sprintf2.t | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/t/op/sprintf2.t b/t/op/sprintf2.t
index 5fee8efede..27315d0382 100644
--- a/t/op/sprintf2.t
+++ b/t/op/sprintf2.t
@@ -1153,11 +1153,11 @@ foreach(
 is sprintf("%.0f", $_), sprintf("%-.0f", $_), "special-case %.0f on $_";
 }
 
-# large uvsize needed so the large width is parsed properly
-# large sizesize needed so the STRLEN check doesn't
-if ($Config{intsize} == 4 && $Config{uvsize} > 4 && $Config{sizesize} > 4) {
-eval { my $x = sprintf("%70E", 0) };
-like($@, qr/^Numeric format result too large at /,
- "croak for very large numeric format results");
-}
+## large uvsize needed so the large width is parsed properly
+## large sizesize needed so the STRLEN check doesn't
+#if ($Config{intsize} == 4 && $Config{uvsize} > 4 && $Config{sizesize} > 4) {
+#eval { my $x = sprintf("%70E", 0) };
+#like($@, qr/^Numeric format result too large at /,
+# "croak for very large numeric format results");
+#}
 done_testing();

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/133771-file-fine-taint created. v5.31.1-133-g26b896faac

2019-07-06 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/133771-file-fine-taint has been created



at  26b896faacca73de0840c20d618f94ac86fd2d36 (commit)

- Log -
commit 26b896faacca73de0840c20d618f94ac86fd2d36
Author: James E Keenan 
Date:   Sat Jul 6 20:50:06 2019 -0400

Debugging code only.

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.1-132-g51d22a816e

2019-07-06 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 51d22a816ecfc587acee9913de2de6a113718dcd
Author: James E Keenan 
Date:   Sat Jul 6 18:31:35 2019 -0400

Commit df09255f was by new contributor

Update AUTHORS to keep make test_porting happy.

---

Summary of changes:
 AUTHORS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/AUTHORS b/AUTHORS
index da9ff89189..a2b6d8c15a 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1190,6 +1190,7 @@ Steven Parkes 
 Steven Schubiger   
 Stian Seeberg  
 Sullivan Beck  
+Svyatoslav 
 Sven Strickroth
 Sven Verdoolaege   
 syber  

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/haarg/134265-storable created. v5.31.1-131-g052bf3ea47

2019-07-05 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/haarg/134265-storable has been created



at  052bf3ea478f1e981347b34ab49e5a9a1b940707 (commit)

- Log -
commit 052bf3ea478f1e981347b34ab49e5a9a1b940707
Author: Graham Knop 
Date:   Sat Apr 20 12:53:06 2019 +0200

move Storable CAN_FLOCK computation into XS

At build time, Storable would check if it could use flock based on some
Config values, and generate the final Storable.pm file using tha value.
This was done to avoid needing to load Config at runtime.  This adds
complexity to the build process.

A simpler option is to build the constant in the XS code.  This means
the build process can be entirely standard for XS.

Some slight adjustments to the code are needed to load the XS module at
BEGIN time, so that the contant is available in the rest of the file.

commit 2ca8946b971b7fd855275cd1006d1a6e93e61532
Author: Graham Knop 
Date:   Sat Apr 20 12:44:52 2019 +0200

remove remains of Storable stack size detection

At build time, Storable used to detect the stack limits and store them.
This was removed in 2a0bbd31bbcc94c7c511f9575df619c5fdf3164c.  That
removed the Limit module and the setup for building it, but left behind
the script used to detect the limits.

Clean up the script and some related bits in the Makefile.PL.

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.1-9-g6fb00fb48d

2019-06-21 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 6fb00fb48d4ca94d23129be6067584adba629961
Author: James E Keenan 
Date:   Fri Jun 21 10:54:37 2019 -0400

Run regen/opcode.pl to increment $VERSION in lib/B/Op_private.pm

Thereby keeping t/porting/regen.t happy.

---

Summary of changes:
 lib/B/Op_private.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/B/Op_private.pm b/lib/B/Op_private.pm
index 34ca1a7de8..77ca2caff4 100644
--- a/lib/B/Op_private.pm
+++ b/lib/B/Op_private.pm
@@ -118,7 +118,7 @@ package B::Op_private;
 our %bits;
 
 
-our $VERSION = "5.031001";
+our $VERSION = "5.031002";
 
 $bits{$_}{3} = 'OPpENTERSUB_AMPER' for qw(entersub rv2cv);
 $bits{$_}{6} = 'OPpENTERSUB_DB' for qw(entersub rv2cv);

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.1-8-ge29a253e18

2019-06-21 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit e29a253e189dde26f93283ee93b3b8e44d46b7a3
Author: James E Keenan 
Date:   Fri Jun 21 10:48:42 2019 -0400

Add two entries to pod issues database

Two diagnostic one-liners were added to release manager's guide.  They
exceeded POD line length limits and were not easily breakable.  Hence,
added to list of exceptions.

---

Summary of changes:
 t/porting/known_pod_issues.dat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/porting/known_pod_issues.dat b/t/porting/known_pod_issues.dat
index 1c648a27af..45e1491a0d 100644
--- a/t/porting/known_pod_issues.dat
+++ b/t/porting/known_pod_issues.dat
@@ -388,7 +388,7 @@ pod/perltie.pod Verbatim line length including indents 
exceeds 79 by3
 pod/perltru64.pod  Verbatim line length including indents exceeds 79 by
1
 pod/perlwin32.pod  Verbatim line length including indents exceeds 79 by
7
 porting/epigraphs.pod  Verbatim line length including indents exceeds 79 by
-1
-porting/release_managers_guide.pod Verbatim line length including indents 
exceeds 79 by1
+porting/release_managers_guide.pod Verbatim line length including indents 
exceeds 79 by2
 porting/todo.pod   ? Should you be using F<...> or maybe L<...> instead of 
1
 lib/benchmark.pm   Verbatim line length including indents exceeds 79 by
2
 lib/config.pod ? Should you be using L<...> instead of -1

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/tonyc/133936-more-socket-send created. v5.31.0-168-g1cd58fbe94

2019-06-18 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/tonyc/133936-more-socket-send has been created



at  1cd58fbe94e083531b4cd36c6241e19be1afa048 (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/131867-capture-all updated. v5.31.0-152-g5eed0e3887

2019-06-12 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/131867-capture-all has been updated



  discards  300bb635db607ae35498c9b07109e57882d2 (commit)
- Log -
commit 5eed0e3887b01d80917489730f1bb0268793a19c
Author: Vickenty Fesunov 
Date:   Fri Sep 22 19:00:46 2017 -0400

%{^CAPTURE_ALL} was intended to be an alias for %-; make it so.

For: RT #131867

Committer: Increment $VERSION in ext/Tie-Hash-NamedCapture/NamedCapture.pm.
Add Vickenty Fesunov to AUTHORS.

---

Summary of changes:
 .gitignore |  2 +
 .lgtm.yml  | 15 +
 .metaconf-exclusions.txt   | 27 +
 .travis.yml| 59 +-
 AUTHORS| 86 +-
 Artistic   |  2 +-
 Configure  |   2275 +-
 Cross/Makefile-cross-SH|  4 -
 Cross/cflags-cross-arm |  1 -
 Cross/config.sh-arm-linux  |101 +-
 Cross/config.sh-arm-linux-n770 |252 +-
 EXTERN.h   | 22 +-
 INSTALL|143 +-
 INTERN.h   |  3 +-
 MANIFEST   |   1094 +-
 META.json  |  5 +-
 META.yml   |  3 +-
 Makefile.SH|144 +-
 Makefile.micro |  3 +-
 NetWare/Makefile   |  4 +-
 NetWare/config.wc  | 55 +-
 NetWare/config_H.wc|231 +-
 NetWare/interface.c| 15 +-
 NetWare/interface.cpp  | 16 +-
 NetWare/interface.h|  2 +-
 NetWare/iperlhost.h|  2 +-
 PACKAGING  | 50 +
 Porting/Glossary   |286 +-
 Porting/Maintainers.pl |241 +-
 Porting/Maintainers.pm |  9 +-
 Porting/README.pod |  4 +
 Porting/README.y2038   |  2 +-
 Porting/acknowledgements.pl|  4 +-
 Porting/bench.pl   |323 +-
 Porting/bisect-runner.pl   |112 +-
 Porting/checkAUTHORS.pl| 13 +-
 Porting/checkcfgvar.pl |  1 +
 Porting/cmpVERSION.pl  |  1 -
 Porting/config.sh  |507 +-
 Porting/config_H   |   6439 +-
 Porting/corelist-perldelta.pl  | 35 +-
 Porting/corelist.pl|  1 +
 Porting/deparse-skips.txt  | 11 +-
 Porting/epigraphs.pod  |588 +-
 Porting/exec-bit.txt   |  6 +
 Porting/how_to_write_a_perldelta.pod   |  4 +-
 Porting/makerel| 25 +-
 Porting/mksample   | 33 +
 Porting/perldelta_template.pod | 16 +-
 Porting/pod_rules.pl   |  2 +-
 Porting/pumpkin.pod| 80 +-
 Porting/release_announcement_template.txt  |  5 +-
 Porting/release_managers_guide.pod |183 +-
 Porting/release_schedule.pod   | 70 +-
 Porting/sync-with-cpan | 40 +-
 Porting/timecheck.c|  8 +-
 Porting/todo.pod   |  2 +-
 README |  3 +-
 README.aix |  2 +-
 README.haiku   |  4 +-
 README.hpux| 74 +-
 README.macosx  |  8 +-
 README.os2 | 12 +-
 README.solaris |  2 +-
 README.symbian |  2 +-
 README.vms |  4 +-
 README.win32

[perl.git] branch smoke-me/jkeenan/hv/134172-hack created. v5.31.0-143-g66d7dcb9af

2019-06-10 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/hv/134172-hack has been created



at  66d7dcb9af43a7646a6d8cdc26e1abfd49a3ed89 (commit)

- Log -
commit 66d7dcb9af43a7646a6d8cdc26e1abfd49a3ed89
Author: Hugo van der Sanden 
Date:   Mon Jun 10 11:44:25 2019 +

Hack to RESTORE_LC_NUMERIC before croak

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/dom/134182-mb created. v5.31.0-143-g98a32d107a

2019-06-08 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/dom/134182-mb has been created



at  98a32d107a5c00b2c6a716e11bfdc525c1faaa32 (commit)

- Log -
commit 98a32d107a5c00b2c6a716e11bfdc525c1faaa32
Author: Dominic Hargreaves 
Date:   Fri Jun 7 10:04:26 2019 +0100

Fix edge case test failure in ext/POSIX/t/mb.t

This new test fails in an environment where LANG is set to one thing and
LC_ALL is set to another, and where LANG is set to a locale which is
not installed in the environment in question.

Such a test environment is arguably broken, but appears in common
chroot setups such as Debian's sbuild tool where LANG is inherited from
the parent environment, and LC_ALL is used to override it.

Committer: removed one non-printing character from patch

For: RT # 134182
Signed-off-by: James E Keenan 

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-142-g7948efd469

2019-06-08 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
---

Summary of changes:
 ext/POSIX/t/mb.t | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/ext/POSIX/t/mb.t b/ext/POSIX/t/mb.t
index c10ea1a01e..053693e611 100644
--- a/ext/POSIX/t/mb.t
+++ b/ext/POSIX/t/mb.t
@@ -34,13 +34,9 @@ SKIP: {
 my $utf8_locale = find_utf8_ctype_locale();
 skip("no utf8 locale available", 3) unless $utf8_locale;
 
-# Here we need to influence LC_CTYPE, but it's not enough to just
-# set this because LC_ALL could override it. It's also not enough
-# to delete LC_ALL because it could be used to override other
-# variables such as LANG in the underlying test environment.
-# Continue to set LC_CTYPE just in case...
 local $ENV{LC_CTYPE} = $utf8_locale;
-local $ENV{LC_ALL} = $utf8_locale;
+local $ENV{LC_ALL};
+delete $ENV{LC_ALL};
 
 fresh_perl_like(
 'use POSIX; print &POSIX::MB_CUR_MAX',

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/134182-xyz created. v5.31.0-142-g7948efd469

2019-06-08 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/134182-xyz has been created



at  7948efd4698ec5639b8de124f836d9d3064798cb (commit)

- Log -
commit 7948efd4698ec5639b8de124f836d9d3064798cb
Author: James E Keenan 
Date:   Sat Jun 8 17:45:24 2019 -0400

Revert "Fix edge case test failure in ext/POSIX/t/mb.t"

This reverts commit 69b89a0f0bb2cbb4c1607e78c3b414bf45244bea.

This commit generated two test failures on Linux when perl was built
with config_args like these:

'-des -Dusedevel -Dcc=clang -Accflags=-Werror=declaration-after-statement 
-g -fno-omit-frame-pointer -fsanitize=address  -fno-common 
-fsanitize-blacklist=/home/jkeenan/gitwork/perl/asan_ignore 
-Aldflags=-fsanitize=address'

See: https://rt.perl.org/Ticket/Display.html?id=134182#txn-1639258

Reverting from blead; will create branch for testing.

Signed-off-by: James E Keenan 

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-140-g69b89a0f0b

2019-06-07 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 69b89a0f0bb2cbb4c1607e78c3b414bf45244bea
Author: Dominic Hargreaves 
Date:   Fri Jun 7 10:04:26 2019 +0100

Fix edge case test failure in ext/POSIX/t/mb.t

This new test fails in an environment where LANG is set to one thing and
LC_ALL is set to another, and where LANG is set to a locale which is
not installed in the environment in question.

Such a test environment is arguably broken, but appears in common
chroot setups such as Debian's sbuild tool where LANG is inherited from
the parent environment, and LC_ALL is used to override it.

Committer: removed one non-printing character from patch

For: RT # 134182

---

Summary of changes:
 ext/POSIX/t/mb.t | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ext/POSIX/t/mb.t b/ext/POSIX/t/mb.t
index 053693e611..c10ea1a01e 100644
--- a/ext/POSIX/t/mb.t
+++ b/ext/POSIX/t/mb.t
@@ -34,9 +34,13 @@ SKIP: {
 my $utf8_locale = find_utf8_ctype_locale();
 skip("no utf8 locale available", 3) unless $utf8_locale;
 
+# Here we need to influence LC_CTYPE, but it's not enough to just
+# set this because LC_ALL could override it. It's also not enough
+# to delete LC_ALL because it could be used to override other
+# variables such as LANG in the underlying test environment.
+# Continue to set LC_CTYPE just in case...
 local $ENV{LC_CTYPE} = $utf8_locale;
-local $ENV{LC_ALL};
-delete $ENV{LC_ALL};
+local $ENV{LC_ALL} = $utf8_locale;
 
 fresh_perl_like(
 'use POSIX; print &POSIX::MB_CUR_MAX',

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134138-constants-in-variable deleted. v5.31.0-38-g083d8eb22b

2019-06-04 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134138-constants-in-variable has 
been deleted



   was  083d8eb22b2e6884eb8d99b7677d3ff4b0f1f5f6

- Log -
083d8eb22b2e6884eb8d99b7677d3ff4b0f1f5f6 Eliminate modifiable variables in 
constants
---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134137-hostname deleted. v5.31.0-36-g811314492d

2019-06-04 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134137-hostname has been deleted



   was  811314492d0ed875a2622bb1f030f711ac5399bb

- Log -
811314492d0ed875a2622bb1f030f711ac5399bb Prevent hostname() from accepting 
arguments
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-136-g82b53111b2

2019-06-04 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 82b53111b29b7b8060044482d261a31ccd5ac001
Author: James E Keenan 
Date:   Fri May 24 22:37:40 2019 -0400

Prevent hostname() from accepting arguments

Previously deprecated; now fatal.

Incorporate feedback from Tony Cook and Richard Leach as to wording of
exception and how it is invoked.

For: RT 134137

---

Summary of changes:
 ext/Sys-Hostname/Hostname.pm  |  4 ++--
 ext/Sys-Hostname/t/Hostname.t | 19 +++
 2 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/ext/Sys-Hostname/Hostname.pm b/ext/Sys-Hostname/Hostname.pm
index 8b5dde1445..2284e1f81c 100644
--- a/ext/Sys-Hostname/Hostname.pm
+++ b/ext/Sys-Hostname/Hostname.pm
@@ -16,7 +16,7 @@ use warnings ();
 our $host;
 
 BEGIN {
-$VERSION = '1.22';
+$VERSION = '1.23';
 {
local $SIG{__DIE__};
eval {
@@ -29,7 +29,7 @@ BEGIN {
 
 
 sub hostname {
-  @_ and warnings::warnif("deprecated", "hostname() doesn't accept any 
arguments. This will become fatal in Perl 5.32");
+  @_ and croak("hostname() does not accepts arguments (it used to silently 
discard any provided)");
 
   # method 1 - we already know it
   return $host if defined $host;
diff --git a/ext/Sys-Hostname/t/Hostname.t b/ext/Sys-Hostname/t/Hostname.t
index a8c259d7c9..99f9e562c7 100644
--- a/ext/Sys-Hostname/t/Hostname.t
+++ b/ext/Sys-Hostname/t/Hostname.t
@@ -10,7 +10,7 @@ BEGIN {
 
 use Sys::Hostname;
 
-use Test::More tests => 4;
+use Test::More tests => 2;
 
 SKIP:
 {
@@ -23,15 +23,10 @@ SKIP:
 }
 
 {
-use warnings;
-my $warn;
-local $SIG{__WARN__} = sub { $warn = "@_" };
-eval { hostname("dummy") };
-ok($warn, "warns with an argument");
-like($warn, qr/hostname\(\) doesn't accept any arguments/,
- "appropriate message");
-no warnings "deprecated";
-undef $warn;
-eval { hostname("dummy") };
-is($warn, undef, "no warning when disabled");
+local $@;
+eval { hostname("dummy"); };
+like($@,
+qr/hostname\(\) does not accepts arguments \(it used to silently 
discard any provided\)/,
+"hostname no longer accepts arguments"
+);
 }

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-131-g6aed8e2d2d

2019-06-03 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit 6aed8e2d2d20b43fbdcd898f56cd758774b15195
Author: James E Keenan 
Date:   Sat Jun 1 21:29:22 2019 -0400

Clarify documentation for bisect runner.

The -D, -A and -U switches should be spelled as if you were normally
giving them to ./Configure.

For: RT # 134164

---

Summary of changes:
 Porting/bisect-runner.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl
index 16caab6638..d8e08c2b06 100755
--- a/Porting/bisect-runner.pl
+++ b/Porting/bisect-runner.pl
@@ -440,7 +440,9 @@ as exiting with a signal or a core dump.)
 
 -A I
 
-Arguments (C<-A>, C<-D>, C<-U>) to pass to F. For example,
+Arguments (C<-A>, C<-D>, C<-U>) to pass to F.  The C<-D>, C<-A> and
+C<-U> switches should be spelled as if you were normally giving them to
+F<./Configure>.  For example,
 
 -Dnoextensions=Encode
 -Uusedevel

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-132577-module-install created. v5.31.0-106-g7c9e46b24c

2019-05-31 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-132577-module-install has been 
created



at  7c9e46b24c2e9a2f91aa284690c274ad768fad2b (commit)

- Log -
commit 7c9e46b24c2e9a2f91aa284690c274ad768fad2b
Author: James E Keenan 
Date:   Fri May 31 08:21:16 2019 -0400

Revert "revert perl_run() 0 -> 256 return mapping"

This reverts commit 9f9606382c45ba5e9600dddf96abfe956762af99.

This reversion is for the purpose of seeing what CPAN breakage results.
In RT 132577, Dave Mitchell wrote:

"The change in blead, v5.27.6-180-g0301e89953, that broke M::I [was]
reverted by v5.28.0-RC1-15-g9f9606382c, due to the M::I breakage. But in
theory we would like to reapply athe change at some point in the future
when a fixed M::I has been included in all the distributions which
include it and are affected by it. I'm going to move this from 5.30.0
blocker to 5.32.0 blocker."

Signed-off-by: James E Keenan 

---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-105-ge3c1dc81bd

2019-05-30 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit e3c1dc81bda4523bfc897fec8afe25b162e29cb6
Author: Richard Leach 
Date:   Thu May 30 21:06:19 2019 -0400

[PATCH] Remove vestiges of mpeix support (removed in 5.17.x)

---

Summary of changes:
 Configure   | 2 +-
 dist/IO/t/io_poll.t | 5 -
 dist/Time-HiRes/Makefile.PL | 3 ---
 plan9/mkfile| 2 +-
 4 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/Configure b/Configure
index 684a9c0768..0edf516642 100755
--- a/Configure
+++ b/Configure
@@ -22989,7 +22989,7 @@ M68000 m68k m88100 m88k M88KBCS_TARGET MACH machine 
MachTen
 MATH_HAS_NO_SIDE_EFFECTS mc300 mc500 mc68000 mc68010 mc68020
 mc68030 mc68040 mc68060 mc68k mc68k32 mc700 mc88000 mc88100
 merlin mert MiNT mips MIPSEB MIPSEL MIPS_FPSET MIPS_ISA MIPS_SIM
-MIPS_SZINT MIPS_SZLONG MIPS_SZPTR MODERN_C motorola mpeix MSDOS
+MIPS_SZINT MIPS_SZLONG MIPS_SZPTR MODERN_C motorola MSDOS
 MTXINU MULTIMAX MVS mvs M_AMD64 M_ARM M_ARMT M_COFF M_I186 M_I286
 M_I386 M_I8086 M_I86 M_I86SM M_IA64 M_IX86 M_PPC M_SYS3 M_SYS5
 M_SYSIII M_SYSV M_UNIX M_X86 M_XENIX
diff --git a/dist/IO/t/io_poll.t b/dist/IO/t/io_poll.t
index c58467c0bd..ec32eb6ad9 100644
--- a/dist/IO/t/io_poll.t
+++ b/dist/IO/t/io_poll.t
@@ -1,10 +1,5 @@
 #!./perl
 
-if ($^O eq 'mpeix') {
-print "1..0 # Skip: broken on MPE/iX\n";
-exit 0;
-}
-
 select(STDERR); $| = 1;
 select(STDOUT); $| = 1;
 
diff --git a/dist/Time-HiRes/Makefile.PL b/dist/Time-HiRes/Makefile.PL
index 4e7018a073..b973c695d5 100644
--- a/dist/Time-HiRes/Makefile.PL
+++ b/dist/Time-HiRes/Makefile.PL
@@ -577,9 +577,6 @@ EOD
$has_nanosleep++;
$DEFINE .= ' -DTIME_HIRES_NANOSLEEP';
}
-} elsif ($^O =~ /^(mpeix)$/) {
-   # MPE/iX falsely finds nanosleep from its libc equivalent.
-   print "skipping because in $^O... ";
 } else {
if (has_nanosleep()) {
$has_nanosleep++;
diff --git a/plan9/mkfile b/plan9/mkfile
index 621a04cb3a..505ec1174c 100644
--- a/plan9/mkfile
+++ b/plan9/mkfile
@@ -23,7 +23,7 @@ installman3dir = /sys/man/2
 podnames = perl perlbook perldata perldebtut perldiag perldsc perlform 
perlfunc perlipc perllexwarn perllol perlmod perlmodlib perlmodinstall 
perlnewmod perlop perlootut perlopentut perlpacktut perlpod perlport 
perlrequick perlretut perlref perlreftut perlrequick perlrun perlsec perlstyle 
perlsub perlsyn perltie perltrap perlutil perlunifaq perluniintro perlvar
 faqpodnames = perlfaq perlfaq1 perlfaq2 perlfaq3 perlfaq4 perlfaq5 perlfaq6 
perlfaq7 perlfaq8 perlfaq9
 advpodnames = perlapi perlapio perlcall perlclib perlcompile perldebguts 
perldbmfilter perldebug perldelta perldiag perlebcdic perlembed perlfilter 
perlfork perlguts perlhack perlintern perliol perllocale perlnumber perlobj 
perlpodspec perlre perlthrtut perltodo perlunicode perlunicook perlxs perlxs 
perlxstut
-archpodnames = perlaix perlamiga perlbeos perlbs2000 perlce perlcygwin 
perldgux perldos perlfreebsd perlhpux perlhurd perlirix perlmacos perlmpeix 
perlnetware perlos2 perlos390 perlos400 perlplan9 perlqnx perlsolaris perltru64 
perlvms perlvos perlwin32
+archpodnames = perlaix perlamiga perlbeos perlbs2000 perlce perlcygwin 
perldgux perldos perlfreebsd perlhpux perlhurd perlirix perlmacos perlnetware 
perlos2 perlos390 perlos400 perlplan9 perlqnx perlsolaris perltru64 perlvms 
perlvos perlwin32
 histpods = perl5004delta perl5005delta perl561delta perl56delta perl570delta 
perl571delta perl572delta perl573delta perl58delta perlhist
 
 libpods = ${podnames:%=pod/%.pod}

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134139-vec deleted. v5.31.0-67-gfd37ad673d

2019-05-30 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134139-vec has been deleted



   was  fd37ad673dc20ff2ac92118ab3ef81c8683c697c

- Log -
fd37ad673dc20ff2ac92118ab3ef81c8683c697c updates to vec patch
---

-- 
Perl5 Master Repository


[perl.git] branch blead updated. v5.31.0-82-gda5a0da22e

2019-05-30 Thread James Keenan via perl5-changes
In perl.git, the branch blead has been updated



- Log -
commit da5a0da22ef5f5dd64e1fcdcac2c5ed1c0398085
Author: James E Keenan 
Date:   Sun May 26 22:30:40 2019 -0400

Use of strings with code points over 0xFF as arguments to "vec"

Implement scheduled fatalization.  Adapt existing tests in t/op/vec.t.
Eliminate t/lib/warnings/doop and move one test to t/op/vec.t.

Document this fatalization in perldiag and perlfunc.

Documentation improvement recommended by Karl Williamson.

For: RT # 134139

---

Summary of changes:
 MANIFEST|  1 -
 doop.c  |  5 +
 pod/perldeprecation.pod |  2 +-
 pod/perldiag.pod|  7 +++
 pod/perlfunc.pod|  6 ++
 t/lib/warnings/doop | 14 --
 t/op/vec.t  | 25 -
 7 files changed, 23 insertions(+), 37 deletions(-)
 delete mode 100644 t/lib/warnings/doop

diff --git a/MANIFEST b/MANIFEST
index 4bc05003a4..6d49721f86 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -5468,7 +5468,6 @@ t/lib/warnings/9enabled   Tests warnings
 t/lib/warnings/9uninit Tests "Use of uninitialized" warnings
 t/lib/warnings/av  Tests for av.c for warnings.t
 t/lib/warnings/doioTests for doio.c for warnings.t
-t/lib/warnings/doopTests for doop.c for warnings.t
 t/lib/warnings/gv  Tests for gv.c for warnings.t
 t/lib/warnings/hv  Tests for hv.c for warnings.t
 t/lib/warnings/malloc  Tests for malloc.c for warnings.t
diff --git a/doop.c b/doop.c
index 772c158e1b..8b341713a5 100644
--- a/doop.c
+++ b/doop.c
@@ -763,10 +763,7 @@ Perl_do_vecget(pTHX_ SV *sv, STRLEN offset, int size)
 s = (unsigned char *) SvPV_flags(sv, srclen, svpv_flags);
 }
 else {
-Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED),
-"Use of strings with code points over 0xFF as"
-" arguments to vec is deprecated. This will"
-" be a fatal error in Perl 5.32");
+   Perl_croak(aTHX_ "Use of strings with code points over 0xFF as 
arguments to vec is forbidden");
 }
 }
 
diff --git a/pod/perldeprecation.pod b/pod/perldeprecation.pod
index 5213eca229..d14c55877f 100644
--- a/pod/perldeprecation.pod
+++ b/pod/perldeprecation.pod
@@ -54,7 +54,7 @@ This usage has been deprecated, and will no longer be allowed 
in Perl 5.32.
 
 C views its string argument as a sequence of bits.  A string
 containing a code point over 0xFF is nonsensical.  This usage is
-deprecated in Perl 5.28, and will be removed in Perl 5.32.
+deprecated in Perl 5.28, and was removed in Perl 5.32.
 
 =head3 Use of code points over 0xFF in string bitwise operators
 
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index f69b1b8367..11339f0e9b 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -7340,13 +7340,12 @@ operators treat their operands as strings of bytes, and 
values beyond
 
 This became fatal in Perl 5.28.
 
-=item Use of strings with code points over 0xFF as arguments to C
-is deprecated. This will be a fatal error in Perl 5.32
+=item Use of strings with code points over 0xFF as arguments to vec is 
forbidden
 
-(D deprecated) You tried to use L|perlfunc/vec EXPR,OFFSET,BITS>
+(F) You tried to use L|perlfunc/vec EXPR,OFFSET,BITS>
 on a string containing a code point over 0xFF, which is nonsensical here.
 
-Such usage will be a fatal error in Perl 5.32.
+This became fatal in Perl 5.32.
 
 =item Use of tainted arguments in %s is deprecated
 
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 196a88d71f..0e50132907 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -9669,10 +9669,8 @@ to try to write off the beginning of the string (i.e., 
negative OFFSET).
 If the string happens to be encoded as UTF-8 internally (and thus has
 the UTF8 flag set), L|/vec EXPR,OFFSET,BITS> tries to convert it
 to use a one-byte-per-character internal representation. However, if the
-string contains characters with values of 256 or higher, that conversion
-will fail, and a deprecation message will be raised.  In that situation,
-C will operate on the underlying buffer regardless, in its internal
-UTF-8 representation.  In Perl 5.32, this will be a fatal error.
+string contains characters with values of 256 or higher, a fatal error
+will occur.
 
 Strings created with L|/vec EXPR,OFFSET,BITS> can also be
 manipulated with the logical
diff --git a/t/lib/warnings/doop b/t/lib/warnings/doop
deleted file mode 100644
index 09db146737..00
--- a/t/lib/warnings/doop
+++ /dev/null
@@ -1,14 +0,0 @@
-__END__
-# doop.c
-use utf8 ;
-$_ = "\x80  \xff" ;
-

[perl.git] branch smoke-me/jkeenan/rt-134140-bitwise created. v5.31.0-72-g9c60d4d1fc

2019-05-27 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134140-bitwise has been created



at  9c60d4d1fc88f4c92b7dd6b09691e8ef5828109d (commit)

- Log -
commit 9c60d4d1fc88f4c92b7dd6b09691e8ef5828109d
Author: James E Keenan 
Date:   Mon May 27 13:18:10 2019 -0400

Use of code points over 0xFF in string bitwise operators

Implement complete fatalization.  Some instances of these were fatalized
in 5.28.  However, in cases where the wide characters did not affect the
end result, no deprecation notice was raised.  So they remained legal,
though deprecated.  Now, all occurrences are fatal (as of 5.32).

Modify source code in doop.c.  Adapt test file.  Update perldiag and
perldeprecation.

For:  RT 134140

---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/rt-134146-unicode created. v5.31.0-66-g1d31efef7d

2019-05-27 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/rt-134146-unicode has been created



at  1d31efef7dd4388fd606972e67bda3318e8838fe (commit)

- Log -
---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/rt-134139-vec created. v5.31.0-66-gea6919a997

2019-05-26 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/rt-134139-vec has been created



at  ea6919a997659b5368c8ed3828393cf9ac76e824 (commit)

- Log -
commit ea6919a997659b5368c8ed3828393cf9ac76e824
Author: James E Keenan 
Date:   Sun May 26 22:30:40 2019 -0400

Use of strings with code points over 0xFF as arguments to "vec"

Implement scheduled fatalization.  Adapt existing tests in t/op/vec.t.
Eliminate t/lib/warnings/doop and move one test to t/op/vec.t.

TODO:  documentation

For: RT # 134139

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134138-constants-in-variable created. v5.31.0-38-g083d8eb22b

2019-05-25 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134138-constants-in-variable has 
been created



at  083d8eb22b2e6884eb8d99b7677d3ff4b0f1f5f6 (commit)

- Log -
commit 083d8eb22b2e6884eb8d99b7677d3ff4b0f1f5f6
Author: James E Keenan 
Date:   Sat May 25 21:40:00 2019 -0400

Eliminate modifiable variables in constants

Transform previously deprecated cases into exceptions.

Update diagnostic; change D to F

For: RT 134138

---

-- 
Perl5 Master Repository


[perl.git] branch smoke-me/jkeenan/rt-134137-hostname created. v5.31.0-36-g811314492d

2019-05-24 Thread James Keenan via perl5-changes
In perl.git, the branch smoke-me/jkeenan/rt-134137-hostname has been created



at  811314492d0ed875a2622bb1f030f711ac5399bb (commit)

- Log -
commit 811314492d0ed875a2622bb1f030f711ac5399bb
Author: James E Keenan 
Date:   Fri May 24 22:37:40 2019 -0400

Prevent hostname() from accepting arguments

Increment $VERSION.

For: RT 134137

---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/correctsymlink deleted. v5.31.0-2-g7906537a51

2019-05-24 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/correctsymlink has been deleted



   was  7906537a51726a4d7c0db4a25e040e3915f934f3

- Log -
7906537a51726a4d7c0db4a25e040e3915f934f3 Correct symlink error.
---

-- 
Perl5 Master Repository


[perl.git] branch jkeenan/correctsymlink created. v5.31.0-2-g7906537a51

2019-05-24 Thread James Keenan via perl5-changes
In perl.git, the branch jkeenan/correctsymlink has been created



at  7906537a51726a4d7c0db4a25e040e3915f934f3 (commit)

- Log -
commit 7906537a51726a4d7c0db4a25e040e3915f934f3
Author: James E Keenan 
Date:   Fri May 24 16:44:08 2019 -0400

Correct symlink error.

---

-- 
Perl5 Master Repository


  1   2   >