This is a live mirror of the Perl 5 development currently hosted at
21 months agoperlapi: Fix pod for perl_clone()
Karl Williamson [Sat, 31 Aug 2019 19:01:24 +0000 (13:01 -0600)]
perlapi: Fix pod for perl_clone()

There were grammar mistakes, and the example it cited is no longer

21 months agot/re/pat.t: Use ASCII ' in comment, not Unicode char
Karl Williamson [Fri, 30 Aug 2019 16:32:15 +0000 (10:32 -0600)]
t/re/pat.t: Use ASCII ' in comment, not Unicode char

21 months agoperldelta for 6c3320363f6cd
Tony Cook [Tue, 3 Sep 2019 01:15:23 +0000 (11:15 +1000)]
perldelta for 6c3320363f6cd

21 months ago(perl #133981) fix for Win32 setlocale() abort
Tony Cook [Wed, 24 Jul 2019 05:56:08 +0000 (15:56 +1000)]
(perl #133981) fix for Win32 setlocale() abort

This appears to abort because the supplied locale string isn't validly
encoded in the current code page, so we see the following steps:

1) an internal sizing call to mbstowcs_s() fails, but

2) the calling (CRT) code doesn't handle that, allocating a zero length

3) mbstowcs_s() is called with a buffer and a zero size, causing the

Since it's the conversion that fails, perform our own conversion.

Rather than using the current code page always use CP_UTF8, since
this is perl's typical non-Latin1 encoding.

Unfortunately we don't have the SVf_UTF8 flag at this point, so
all we can do is assume UTF-8.

This introduces a change in behaviour - previously locale names
were interpreted in the current code page, but most locale names
are ASCII, so it shouldn't matter.

One issue is that the return value is freed on the next LEAVE, but
all callers immediately use or copy the string.

21 months agoperldelta for 05a03c0da6f3
Tony Cook [Mon, 2 Sep 2019 23:19:52 +0000 (09:19 +1000)]
perldelta for 05a03c0da6f3

21 months ago(perl #134390) don't leak the SV we just created on an early return
Tony Cook [Mon, 2 Sep 2019 05:35:36 +0000 (15:35 +1000)]
(perl #134390) don't leak the SV we just created on an early return

21 months agoMore SvPV* macros
Tony Cook [Mon, 2 Sep 2019 01:35:47 +0000 (11:35 +1000)]
More SvPV* macros

21 months agobump $XS::APItest::VERSION
Tony Cook [Mon, 2 Sep 2019 01:28:16 +0000 (11:28 +1000)]
bump $XS::APItest::VERSION

21 months agoImplement SvPV*_or_null*
Pali [Sat, 10 Feb 2018 14:10:04 +0000 (15:10 +0100)]
Implement SvPV*_or_null*

21 months agoImplement SvPVutf8_nomg and SvPVbyte_nomg
Pali [Sat, 10 Feb 2018 12:41:46 +0000 (13:41 +0100)]
Implement SvPVutf8_nomg and SvPVbyte_nomg

21 months agotest for desired magic fetches/stores for vec()
Tony Cook [Tue, 19 Mar 2019 23:53:17 +0000 (10:53 +1100)]
test for desired magic fetches/stores for vec()

for #132782

21 months agoFix do_vecget and do_vecset to process GET magic only once
Pali [Sat, 10 Feb 2018 12:41:19 +0000 (13:41 +0100)]
Fix do_vecget and do_vecset to process GET magic only once

21 months agoImplement sv_utf8_downgrade_nomg
Pali [Sat, 10 Feb 2018 12:40:47 +0000 (13:40 +0100)]
Implement sv_utf8_downgrade_nomg

21 months agoSupply missing right brace in regex example
James E Keenan [Sat, 31 Aug 2019 23:18:36 +0000 (19:18 -0400)]
Supply missing right brace in regex example

As suggested by Jim Avera in RT 134395.

21 months ago-DDEBUGGING does not go in ccflags on VMS.
Craig A. Berry [Sat, 31 Aug 2019 19:10:07 +0000 (14:10 -0500)]
-DDEBUGGING does not go in ccflags on VMS.

But there is a platform-specific %Config entry for it so use that
and avoid the assertion-induced failure of uv.t in debugging builds.

21 months agoFix parent directory in pod2usage auxiliary script.
Craig A. Berry [Fri, 30 Aug 2019 16:28:42 +0000 (11:28 -0500)]
Fix parent directory in pod2usage auxiliary script.

File::Basename::dirname does not always remove the last component
of the path if that component is already a directory, depending on
platform.  This behavior is documented. pod2usage.t has been
failing on VMS because we get the wrong directory into @INC.

So, since we already have File::Spec loaded, just use the more
obvious and portable method for getting the parent directory.

Reported upstream at:


21 months ago(perl #134365) IFF -> iff and talk about strict a bit
Tony Cook [Tue, 27 Aug 2019 04:44:35 +0000 (14:44 +1000)]
(perl #134365) IFF -> iff and talk about strict a bit

The IFF can be confusing, since "iff" for "if and only if" is
normally presented in lower case.

Since we really want people using strict, firstly tell users about
the behaviour under strict.

21 months agoAvoid 2 arg open and bareword handles
Dan Book [Wed, 28 Aug 2019 22:41:34 +0000 (18:41 -0400)]
Avoid 2 arg open and bareword handles

21 months agoRewrite paragraph on using strict and warnings
Dan Book [Wed, 28 Aug 2019 22:34:51 +0000 (18:34 -0400)]
Rewrite paragraph on using strict and warnings

21 months agoPATCH: [perl #134329] Use after free in regcomp.c
Karl Williamson [Fri, 23 Aug 2019 18:40:24 +0000 (12:40 -0600)]
PATCH: [perl #134329] Use after free in regcomp.c

A compiled regex is composed of nodes, forming a linked list, with
normally a maximum of 16 bits used to specify the offset of the next
link.  For patterns that require more space than this, the nodes that
jump around are replaced with ones that have wider offsets.  Most nodes
are unaffected, as they just contain the offset of the next node, and
that number is always small.  The jump nodes are the ones affected.

When compiling a pattern, the 16 bit mechanism is used, until it
overflows, at which point the pattern is recompiled with the long jumps

When I rewrote the compiler last year to make it generally one pass, I
noticed a lot of the cases where a node was added didn't check if the
result overflowed (the function that does this returns FALSE in that
case).  I presumed the prior authors knew better, and did not change
things, except to put in a bogus value in the link (offset) field that
should cause a crash if it were used.  That's what's happening in this

But seeing this example, it's clear that the return value should be
checked every time, because you can reach the limit at any time.  This
commit changes to do that, and to require the function's return value to
not be ignored, to guard against future changes.

My guess is that the reason it generally worked when there were multiple
passes is that the first pass didn't do anything except count space, and
that at some point before the end of the pass the return value did get
checked, so by the time the nodes were allocated for real, it knew
enough to use the long jumps.

21 months agoElvis has left the building
Chris 'BinGOs' Williams [Tue, 27 Aug 2019 15:42:37 +0000 (16:42 +0100)]
Elvis has left the building

21 months agoPATCH: [perl #134325] Heap buffer overflow
Karl Williamson [Sun, 25 Aug 2019 01:17:19 +0000 (19:17 -0600)]
PATCH: [perl #134325] Heap buffer overflow

This was the result of trying to continue to parse after realizing that
we were going to have to reparse using long jumps.  This continuing only
happened when we realized we were going to have to reparse in order to
count parentheses anyway, and it was an attempt to save a pass in the
regex compiler, as without doing the continuing we'd restart the parse
to use long jumps from the beginning, and then when finished, would
restart the parse to count the parentheses.

However, in most cases this doesn't help, as when we get towards the end
of the parse (as in the test case in this ticket), we need the long
jump, and will segfault because we don't have it.  So we need the extra
pass anyway.

So this commit restarts the parse as soon as we discover we are going to
need longjumps

21 months agoNVMANTBITS is 64 on mingw-w64 'long double' builds
sisyphus [Fri, 23 Aug 2019 11:58:00 +0000 (21:58 +1000)]
NVMANTBITS is 64 on mingw-w64 'long double' builds

21 months agoperldelta: Fix typo
Karl Williamson [Mon, 26 Aug 2019 18:18:01 +0000 (12:18 -0600)]
perldelta: Fix typo

21 months agoAdd ability to dump pre-optimized compiled pattern
Karl Williamson [Mon, 26 Aug 2019 17:53:06 +0000 (11:53 -0600)]
Add ability to dump pre-optimized compiled pattern

in qr//

21 months agoext/re/ Clarify pod slightly
Karl Williamson [Mon, 26 Aug 2019 17:48:50 +0000 (11:48 -0600)]
ext/re/ Clarify pod slightly

21 months agoext/re/ White-space only, bump version
Karl Williamson [Mon, 26 Aug 2019 17:47:40 +0000 (11:47 -0600)]
ext/re/ White-space only, bump version

21 months agoembed.fnc: Add caution about R flag
Karl Williamson [Fri, 23 Aug 2019 18:38:50 +0000 (12:38 -0600)]
embed.fnc: Add caution about R flag

21 months agoregcomp.c: Add FAIL3 macro
Karl Williamson [Mon, 26 Aug 2019 16:02:28 +0000 (10:02 -0600)]
regcomp.c: Add FAIL3 macro

This should have been included in 0e9b0dc26af667dfb49d2d2a9537ebda6f50c6db

21 months agoregcomp.c: Emit more info if we have it in a panic msg
Karl Williamson [Mon, 26 Aug 2019 15:21:11 +0000 (09:21 -0600)]
regcomp.c: Emit more info if we have it in a panic msg

21 months agoregcomp.c: Change message into a panic
Karl Williamson [Mon, 26 Aug 2019 15:15:09 +0000 (09:15 -0600)]
regcomp.c: Change message into a panic

Because that's what is happening, and the next commit would otherwise
say we need to document this diagnostic, but it's one that the observer
can do nothing about except file a bug report

21 months agoregcomp.c: Move code within #ifdef
Karl Williamson [Mon, 26 Aug 2019 14:35:21 +0000 (08:35 -0600)]
regcomp.c: Move code within #ifdef

This code does nothing except an 'if' without acting on it, as a result
of an #ifdef within it, so might as well move the whole thing inside the

21 months agoutil.c: Correct spelling in rarely compiled code
Karl Williamson [Mon, 26 Aug 2019 04:14:52 +0000 (22:14 -0600)]
util.c: Correct spelling in rarely compiled code

On Z/OS, this does get compiled, and fails due to the missepllings.

21 months agoregen/ Fix /i rules for non-ASCII machines
Karl Williamson [Mon, 26 Aug 2019 00:49:02 +0000 (18:49 -0600)]
regen/ Fix /i rules for non-ASCII machines

Two variable weren't getting initialized properly in one code path, with
the result that the case folding tables were pretty much garbage, but
not on ASCII platforms.

21 months agoregen/ Never remap 0
Karl Williamson [Mon, 26 Aug 2019 00:41:44 +0000 (18:41 -0600)]
regen/ Never remap 0

0 is a special marker, and shouldn't be remapped.  It would be
unlikely to be so, but this makes sure.

21 months agoregen/ inversion map requires a final entry
Karl Williamson [Mon, 26 Aug 2019 00:21:54 +0000 (18:21 -0600)]
regen/ inversion map requires a final entry

Inversion maps are supposed to have an entry for what to do above the
Unicode range.  This subroutine crafts a custom map that was missing

21 months agoregcomp.c: Use macro to remove some #ifdef EBCDIC lines
Karl Williamson [Mon, 26 Aug 2019 00:19:02 +0000 (18:19 -0600)]
regcomp.c: Use macro to remove some #ifdef EBCDIC lines

21 months agoregcomp.c: Some code paths didn't terminate an inversion list iteration
Karl Williamson [Mon, 26 Aug 2019 00:13:07 +0000 (18:13 -0600)]
regcomp.c: Some code paths didn't terminate an inversion list iteration

There were a couple paths through the code that failed to call
invlist_iterfinish().  This was a bug everywhere, but prevented z/OS
from completely compiling.

21 months agocompile perl with -O2 on DragonFly BSD
Tomasz Konojacki [Sun, 18 Aug 2019 02:54:53 +0000 (04:54 +0200)]
compile perl with -O2 on DragonFly BSD

[perl #134372]

21 months agoChange "--sysroot X" to "--sysroot=X" in Configure
Hauke D [Tue, 13 Aug 2019 20:05:47 +0000 (22:05 +0200)]
Change "--sysroot X" to "--sysroot=X" in Configure

21 months agoperldelta for 14d26b44a1d7
Tony Cook [Mon, 26 Aug 2019 00:27:10 +0000 (10:27 +1000)]
perldelta for 14d26b44a1d7

21 months ago(perl #134230) don't interpret 0x, 0b when numifying strings
Tony Cook [Tue, 20 Aug 2019 05:43:05 +0000 (15:43 +1000)]
(perl #134230) don't interpret 0x, 0b when numifying strings

21 months agoMake find.t work on VMS by trimming trailing dots.
Craig A. Berry [Sun, 25 Aug 2019 19:26:11 +0000 (14:26 -0500)]
Make find.t work on VMS by trimming trailing dots.

For whatever reason, find.t uses a lot of filenames with no
extension for testing purposes, but on VMS there is no such thing
as a file with no extension, so, for example 'faba' is returned
as 'faba.' with the zero-length extension explicitly specified.

For comparison purposes we have to trim that trailing dot, and
there is code to do that sprinkled throughout the test; we just
hadn't (until now) added it for a couple of the more recent tests.

21 months agoPrepare VMS linker GSMATCH for 5.32.
Craig A. Berry [Sun, 25 Aug 2019 18:50:46 +0000 (13:50 -0500)]
Prepare VMS linker GSMATCH for 5.32.

GSMATCH in the linker options file tells the image activator
whether a dynamic library being loaded is compatible with what it
originally linked against.  Ideally we would like to encode the
version number and all the options that can make a build binary
incompatible with another build of the same version, but there
are about 30 such options and only 8 bits (on Alpha) in which to
store both the version number and the options.

We've lived with only 3 bits reserved for 3 options, but as of
version 32 of Perl 5, we'll need 6 bits for the version number:

    $ perl -e "$v = 31; printf('%b', $v);"
    $ perl -e "$v = 32; printf('%b', $v);"

leaving us only 2 bits for options.

The code modified here only kicks in when PERLSHR_USE_GSMATCH is
defined in the environment.

22 months agoPATCH: [perl #134133] read beyond end of buffer
Karl Williamson [Fri, 24 May 2019 15:01:46 +0000 (09:01 -0600)]
PATCH: [perl #134133] read beyond end of buffer

The code was using the wrong limit variable.

22 months agoregcomp.c: Fix wrong limit test
Karl Williamson [Thu, 22 Aug 2019 16:16:14 +0000 (10:16 -0600)]
regcomp.c: Fix wrong limit test

Spotted by Hugo van der Sanden in code reading.

22 months agouni_keywords.h: Fix to work on EBCDIC
Karl Williamson [Wed, 21 Aug 2019 18:52:23 +0000 (12:52 -0600)]
uni_keywords.h: Fix to work on EBCDIC

The table is collated in ASCII, so convert to that when looking things

This change does not affect the binary of ASCII platform compilations

22 months agoinline.h: Return proper value on EBCDIC
Karl Williamson [Wed, 21 Aug 2019 15:14:05 +0000 (09:14 -0600)]
inline.h: Return proper value on EBCDIC

The final step was missing in the conversion from UTF-EBCDIC to uv.

This adds a macro call that expands to its argument on non-EBCDIC
platforms, so this commit makes no changes to the compiled binary on
those systems.

22 months agoReset xxx_convert to empty string if none of 3 utilities is found
James E Keenan [Sun, 18 Aug 2019 13:16:56 +0000 (13:16 +0000)]
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

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

22 months agoI18N::Langinfo: Add doc heading
Karl Williamson [Thu, 4 Jul 2019 17:49:14 +0000 (11:49 -0600)]
I18N::Langinfo: Add doc heading

This resolves

22 months agoBump version to 5.31.4 and update Module::Corelist
Tom Hukins [Tue, 20 Aug 2019 15:20:27 +0000 (16:20 +0100)]
Bump version to 5.31.4 and update Module::Corelist

22 months agoNew perldelta for 5.31.4
Tom Hukins [Tue, 20 Aug 2019 15:13:57 +0000 (16:13 +0100)]
New perldelta for 5.31.4

22 months agoTick off 5.31.3
Tom Hukins [Tue, 20 Aug 2019 15:05:57 +0000 (16:05 +0100)]
Tick off 5.31.3

22 months ago5.31.3 today v5.31.3
Tom Hukins [Tue, 20 Aug 2019 13:12:13 +0000 (13:12 +0000)]
5.31.3 today

22 months agoperldelta - module versions
Tom Hukins [Tue, 20 Aug 2019 11:37:32 +0000 (11:37 +0000)]
perldelta - module versions

22 months agoperldelta - acknowledgements
Tom Hukins [Tue, 20 Aug 2019 11:31:44 +0000 (11:31 +0000)]
perldelta - acknowledgements

22 months agoUpdate Module::CoreList for 5.31.3
Tom Hukins [Tue, 20 Aug 2019 11:28:07 +0000 (11:28 +0000)]
Update Module::CoreList for 5.31.3

22 months agoperldelta - remove boilerplate
Tom Hukins [Tue, 20 Aug 2019 11:22:19 +0000 (11:22 +0000)]
perldelta - remove boilerplate

22 months agoPerl_quadmath_format_single(): fix off-by-1 err
David Mitchell [Tue, 20 Aug 2019 12:03:58 +0000 (13:03 +0100)]
Perl_quadmath_format_single(): fix off-by-1 err

RT #134369

This function checks that a floating format string (%f, %e etc) on
-Dusequadmath builds has the 'Q' qualifier , and if not adds it.

However, the "adding" code  allocates a new buffer that is one byte too
short, which this commit fixes.

In practice it doesn't matter, as in core, this function is only ever
called when the 'Q' is already present.

22 months agoperldelta for 442d4b523eda1 (opslot)
David Mitchell [Tue, 20 Aug 2019 07:43:48 +0000 (08:43 +0100)]
perldelta for 442d4b523eda1 (opslot)

22 months agoFix utf8_to_uvchr_buf to match docs
Karl Williamson [Mon, 19 Aug 2019 20:43:30 +0000 (14:43 -0600)]
Fix utf8_to_uvchr_buf to match docs

It did so already except when passed a zero length input on
non-debugging builds.  This caused test failures in Devel::PPPort, and
commit 4a5ab54a18679ab24ca03190884d326c2ca85288 was used to customize
that module in blead to get the tests to pass.

This commit avoids the possibility of having to bump the version again,
which is what that commit did.

22 months agoperldelta for ab7a3d991f6e4eb554d12bf4f083c352fe40452f
James E Keenan [Mon, 19 Aug 2019 21:36:36 +0000 (17:36 -0400)]
perldelta for ab7a3d991f6e4eb554d12bf4f083c352fe40452f

22 months agoUpdate Test-Simple to CPAN version 1.302166
Chad Granum [Mon, 19 Aug 2019 21:32:29 +0000 (17:32 -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

22 months agoutfebcdic.h: Fix EBCDIC compilation error
Karl Williamson [Mon, 19 Aug 2019 15:05:05 +0000 (09:05 -0600)]
utfebcdic.h: Fix EBCDIC compilation error

The #include needs to always be done, so remove the #ifdef.  The
included file has the proper setup anyway for the variables that were

22 months agoperldelta: Document I8N::LangTags noteworthy change
Karl Williamson [Mon, 19 Aug 2019 15:02:56 +0000 (09:02 -0600)]
perldelta: Document I8N::LangTags noteworthy change

22 months agoperldelta: Fix typo
Karl Williamson [Mon, 19 Aug 2019 15:02:23 +0000 (09:02 -0600)]
perldelta: Fix typo

22 months agoperldelta for 105c827d9a0f
Tony Cook [Mon, 19 Aug 2019 05:49:35 +0000 (15:49 +1000)]
perldelta for 105c827d9a0f

though if anyone has a better description, please update it

22 months ago(perl #124256) disallow \K in lookahead and lookbehind
Tony Cook [Thu, 28 Sep 2017 04:40:24 +0000 (14:40 +1000)]
(perl #124256) disallow \K in lookahead and lookbehind

\K can cause infinite loops in matching in these, and we're not sure
how it really should behave, so forbid it.

22 months agoRevert "Update Scalar-List-Utils to CPAN version 1.51"
Chris 'BinGOs' Williams [Sat, 17 Aug 2019 17:38:54 +0000 (18:38 +0100)]
Revert "Update Scalar-List-Utils to CPAN version 1.51"

This reverts commit 96684a73b5f81ca2a88309182dbc2dca9ab1601a.

Failures with uselongdouble

22 months agoUpdate release schdule, still missing some
Sawyer X [Sat, 17 Aug 2019 13:46:30 +0000 (16:46 +0300)]
Update release schdule, still missing some

22 months agoperldelta for merge commit 17154110146f
Tony Cook [Thu, 15 Aug 2019 04:24:44 +0000 (14:24 +1000)]
perldelta for merge commit 17154110146f

22 months agoCleanup Time::HiRes
Tony Cook [Thu, 15 Aug 2019 04:17:49 +0000 (14:17 +1000)]
Cleanup Time::HiRes

22 months agobump $Time::HiRes::VERSION
Tony Cook [Thu, 15 Aug 2019 04:16:19 +0000 (14:16 +1000)]
bump $Time::HiRes::VERSION

22 months agoTime::HiRes: remove workaround for an ancient Devel::PPPort bug
Tomasz Konojacki [Mon, 15 Jul 2019 23:42:07 +0000 (01:42 +0200)]
Time::HiRes: remove workaround for an ancient Devel::PPPort bug

It was fixed in Devel::PPPort 3.13_02.

[perl #134288]

22 months agoTime::HiRes: remove the remains of MacOS classic support
Tomasz Konojacki [Mon, 15 Jul 2019 21:44:08 +0000 (23:44 +0200)]
Time::HiRes: remove the remains of MacOS classic support

Perl dropped MacOS classic support ages ago.

[perl #134288]

22 months agoTime::HiRes: remove code for perls older than 5.6
Tomasz Konojacki [Mon, 15 Jul 2019 21:36:40 +0000 (23:36 +0200)]
Time::HiRes: remove code for perls older than 5.6

Both Makefile.PL and contain "use 5.006", so it was dead
code anyway.

[perl #134288]

22 months agoTime::HiRes: normalize indentation
Tomasz Konojacki [Mon, 15 Jul 2019 04:57:48 +0000 (06:57 +0200)]
Time::HiRes: normalize indentation

The indendation style now (roughly) matches what was specified
in the style guide in perlhack.

This commit doesn't contain any functional changes. If you're
seeing it in "git blame" output, try using -w switch, it will
hide whitespace-only changes.

[perl #134288]

22 months agoperldelta for 2f36de812bad297aa2393aee5b13ed2e3acd00e8
James E Keenan [Thu, 15 Aug 2019 00:57:44 +0000 (20:57 -0400)]
perldelta for 2f36de812bad297aa2393aee5b13ed2e3acd00e8

22 months agoGetopt::Long: sync with CPAN version 2.51
Johan Vromans [Thu, 15 Aug 2019 00:55:34 +0000 (20:55 -0400)]
Getopt::Long: sync with CPAN version 2.51

22 months agoPATCH: [perl #134357] embed.fnc missing flag for docs
Karl Williamson [Tue, 13 Aug 2019 01:14:30 +0000 (19:14 -0600)]
PATCH: [perl #134357] embed.fnc missing flag for docs

A check was recently added if a function had documentation that
embed.fnc accurately reflected that.  Commit
c1a02ccad9a1ea91206b97e66056ee354ac761c1 missed this function

22 months agoRun tests in ext/File-Find/t in series
James E Keenan [Wed, 7 Aug 2019 13:39:56 +0000 (09:39 -0400)]
Run tests in ext/File-Find/t in series

For: RT # 133771

22 months agoUpdate IO-Compress to CPAN version 2.087
Chris 'BinGOs' Williams [Mon, 12 Aug 2019 18:48:50 +0000 (19:48 +0100)]
Update IO-Compress to CPAN version 2.087


  2.087 10 August 2019

      * IO::Uncompress::Unzip
        nextStream not updating filehandle correctly

      * Added travis & appveyor files for CI in GitHub

22 months agoUpdate Compress-Raw-Bzip2 to CPAN version 2.087
Chris 'BinGOs' Williams [Mon, 12 Aug 2019 18:47:03 +0000 (19:47 +0100)]
Update Compress-Raw-Bzip2 to CPAN version 2.087


  2.087 10 August 2019

      * No Changes

22 months agoUpdate Compress-Raw-Zlib to CPAN version 2.087
Chris 'BinGOs' Williams [Mon, 12 Aug 2019 18:45:34 +0000 (19:45 +0100)]
Update Compress-Raw-Zlib to CPAN version 2.087


2.087 10 August 2019

      * clang warning in ppport.h
        update to latest ppport.h

22 months agoUpdate Scalar-List-Utils to CPAN version 1.51
Chris 'BinGOs' Williams [Mon, 12 Aug 2019 09:27:18 +0000 (10:27 +0100)]
Update Scalar-List-Utils to CPAN version 1.51


1.51 -- 2019-08-08 14:31:32
   * Add TO_JSON to List::Util::_Pair (thanks ilmari)
   * Various minor docs fixes

   * Don't segfault in subname() on deleted stashes (thanks ilmari)
   * Fix uniqnum for large floats and numeric strings (thanks ilmari)

22 months agoperlapi: Document isALNUMC and variants
Karl Williamson [Fri, 9 Aug 2019 17:01:45 +0000 (11:01 -0600)]
perlapi: Document isALNUMC and variants

22 months agoperlapi: my_sprintf is a Miscellaneous function
Karl Williamson [Mon, 5 Aug 2019 00:13:39 +0000 (18:13 -0600)]
perlapi: my_sprintf is a Miscellaneous function

22 months agoperlapi: sortsv_flags is an SV function
Karl Williamson [Mon, 5 Aug 2019 00:06:07 +0000 (18:06 -0600)]
perlapi: sortsv_flags is an SV function

22 months agoperlapi: save_gp is a GV function
Karl Williamson [Mon, 5 Aug 2019 00:03:57 +0000 (18:03 -0600)]
perlapi: save_gp is a GV function

22 months agoperlapi: Reword some isFOO char classification docs
Karl Williamson [Mon, 5 Aug 2019 03:00:36 +0000 (21:00 -0600)]
perlapi: Reword some isFOO char classification docs

The input to these isn't restricted to a byte, and some minor

22 months agoperlapi: 5.30 promise not met; change to 5.32
Karl Williamson [Sat, 3 Aug 2019 15:17:43 +0000 (09:17 -0600)]
perlapi: 5.30 promise not met; change to 5.32

We delayed this change, but I forgot to change this documentation

22 months agoregcomp.c: Don't read off the end of buffer
Karl Williamson [Thu, 27 Jun 2019 21:39:11 +0000 (15:39 -0600)]
regcomp.c: Don't read off the end of buffer

Until this commit, it was possible that \p{nv=3/} would cause the right
brace to be considered part of the property name.

Spotted by Hugo van der Sanden

22 months agofix size-miscalculation upgrading LISTOP TO LOOPOP
David Mitchell [Fri, 9 Aug 2019 10:11:19 +0000 (11:11 +0100)]
fix size-miscalculation upgrading LISTOP TO LOOPOP

RT #134344

My recent commit v5.31.2-54-g8c47b5bce7 broke some CAN modules because
the code in Perl_newFOROP() wasn't accounting for the overhead in the
opslot struct when deciding whether an allocated LISTOP was large enough
to be upgraded in-place to a LOOPOP.

22 months agoAPIify and document several interpreter variables
Tony Cook [Thu, 8 Aug 2019 05:56:58 +0000 (15:56 +1000)]
APIify and document several interpreter variables

22 months agoPERL_DESTRUCT_LEVEL no longer requires a -DDEBUGGING build
Tony Cook [Thu, 8 Aug 2019 05:53:31 +0000 (15:53 +1000)]
PERL_DESTRUCT_LEVEL no longer requires a -DDEBUGGING build

22 months ago(perl #132777) APIify and document PL_perl_destruct_level
Tony Cook [Thu, 31 Jan 2019 04:39:39 +0000 (15:39 +1100)]
(perl #132777) APIify and document PL_perl_destruct_level

This is documented in perlembed.  It's only rarely used on CPAN
but it's pretty basic.

22 months ago(perl #132777) document (sort of) and APIify PL_runops
Tony Cook [Thu, 31 Jan 2019 04:25:05 +0000 (15:25 +1100)]
(perl #132777) document (sort of) and APIify PL_runops

This is documented in perlguts in such a way that it appears be
effectively API, so APIify it.

It's used on CPAN in a small number of modules.

22 months ago(perl #132777) document and APIify PL_parser
Tony Cook [Thu, 31 Jan 2019 04:06:41 +0000 (15:06 +1100)]
(perl #132777) document and APIify PL_parser

Used in a few places on CPAN, either to check or modify the
compilation error count, or to do a little parsing via bufptr.

22 months ago(perl #132777) document and APIify PL_defgv
Tony Cook [Thu, 31 Jan 2019 03:52:14 +0000 (14:52 +1100)]
(perl #132777) document and APIify PL_defgv

This is used occasionally on CPAN, typically to access $_.

22 months ago(perl #132777) APIify and document PL_curstash
Tony Cook [Thu, 31 Jan 2019 03:35:52 +0000 (14:35 +1100)]
(perl #132777) APIify and document PL_curstash

per leont: I can't think of any reason not to make PL_curstash API,
it's both common, useful, simple, and highly unlikely to ever need