This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
3 years agoadd new release to perlhist release-7.0.0 v5.32.0
Sawyer X [Sat, 20 Jun 2020 13:07:37 +0000 (16:07 +0300)]
add new release to perlhist

3 years agoUpdate perldelta
Sawyer X [Sat, 20 Jun 2020 12:44:51 +0000 (15:44 +0300)]
Update perldelta

3 years agoskip the failing hexfloat test if it fails on NetBSD
Tony Cook [Wed, 17 Jun 2020 02:07:19 +0000 (02:07 +0000)]
skip the failing hexfloat test if it fails on NetBSD

perl (in theory) supports C89, where expl() doesn't exist (though
long doubles do), so our tests shouldn't fail if expl() isn't
available.

Of course, the NetBSD libm does supply an implementation of expl(),
it's just not a long double implementation.

3 years agowarn the user that NetBSD's long double support isn't very good
Tony Cook [Wed, 17 Jun 2020 02:06:51 +0000 (02:06 +0000)]
warn the user that NetBSD's long double support isn't very good

3 years agoop.h: Add additional padding to struct opslab to ensure proper alignment
John Paul Adrian Glaubitz [Fri, 19 Jun 2020 14:40:38 +0000 (16:40 +0200)]
op.h: Add additional padding to struct opslab to ensure proper alignment

On m68k, the natural alignment is 16 bits which causes the opslab_opslot
member of struct opslab to be aligned at a 16-bit offset. Other 32-bit
and 64-bit architectures have a natural alignment of at least 32 bits, so
the offset is always guaranteed to be at least 32-bit-aligned.

Fix this by adding additional padding bytes before the opslab_opslot
member, both for cases when PERL_DEBUG_READONLY_OPS defined and not
defined to ensure the offset of oplab_slots is always 32-bit-aligned.
On architectures which have a natural alignment of at least 32 bits,
the padding does not affect the alignment, offsets or struct size.

3 years ago[Doc] GH #17868: Fix a few things on perlcommunity:
Sawyer X [Sat, 20 Jun 2020 08:14:32 +0000 (11:14 +0300)]
[Doc] GH #17868: Fix a few things on perlcommunity:

* YAPC was rebranded.
* OSCON and OSDC are discontinued.
* The Perl Review calendar link doesn't work.

3 years agoSmall fixup to explain conference names
Sawyer X [Sat, 20 Jun 2020 08:01:44 +0000 (11:01 +0300)]
Small fixup to explain conference names

3 years agoperldelta: Update advice for z/OS
Karl Williamson [Fri, 19 Jun 2020 00:29:32 +0000 (18:29 -0600)]
perldelta: Update advice for z/OS

3 years agoperldelta: minor pod fix
SHIRAKATA Kentaro [Thu, 18 Jun 2020 18:25:06 +0000 (03:25 +0900)]
perldelta: minor pod fix

3 years agoFix cygwin Perl_utf16_to_utf8 parameter types
Dagfinn Ilmari Mannsåker [Wed, 17 Jun 2020 14:08:06 +0000 (15:08 +0100)]
Fix cygwin Perl_utf16_to_utf8 parameter types

Commit f46dcac2d383af532d3e8c014488fba83a514309 changed the I32
arguments of Perl_utf16_to_utf8() to Size_t and updated all callers
that called it via the utf16_to_utf8 macro, but missed the
fully-qualified call in cygwin.c.

3 years agoperlhist: Fix typo in maint-5.32 description
Dagfinn Ilmari Mannsåker [Mon, 15 Jun 2020 10:37:07 +0000 (11:37 +0100)]
perlhist: Fix typo in maint-5.32 description

3 years agoperldelta: add shorter heading for POSIX::mblen() etc.
SHIRAKATA Kentaro [Sat, 13 Jun 2020 16:52:38 +0000 (01:52 +0900)]
perldelta: add shorter heading for POSIX::mblen() etc.

3 years agoAdd Thibault Duponchelle to AUTHORS file
Thibault DUPONCHELLE [Tue, 9 Jun 2020 08:48:38 +0000 (10:48 +0200)]
Add Thibault Duponchelle to AUTHORS file

3 years agoMinor perldelta fix to link to the correct issue tracker numbers
Thibault DUPONCHELLE [Tue, 9 Jun 2020 07:49:18 +0000 (09:49 +0200)]
Minor perldelta fix to link to the correct issue tracker numbers

3 years agoRemove bogus 5.031012 release from Module::CoreList
Chris 'BinGOs' Williams [Tue, 9 Jun 2020 06:34:48 +0000 (07:34 +0100)]
Remove bogus 5.031012 release from Module::CoreList

3 years agoUpdate meta
Sawyer X [Sun, 7 Jun 2020 22:30:49 +0000 (01:30 +0300)]
Update meta

3 years agoDocument epigraph
Sawyer X [Sun, 7 Jun 2020 21:22:34 +0000 (00:22 +0300)]
Document epigraph

3 years agodisarm RC1 bump
Sawyer X [Sun, 7 Jun 2020 21:14:12 +0000 (00:14 +0300)]
disarm RC1 bump

3 years agoUpdate META files v5.32.0-RC1
Sawyer X [Sun, 7 Jun 2020 18:38:29 +0000 (21:38 +0300)]
Update META files

3 years agoBump version to RC1
Sawyer X [Sun, 7 Jun 2020 18:38:07 +0000 (21:38 +0300)]
Bump version to RC1

3 years agoadd new release to perlhist
Sawyer X [Sun, 7 Jun 2020 18:37:04 +0000 (21:37 +0300)]
add new release to perlhist

3 years agoUpdate perldelta
Sawyer X [Sun, 7 Jun 2020 18:36:56 +0000 (21:36 +0300)]
Update perldelta

3 years agoUpdate Module::CoreList for 5.32.0-RC2
Sawyer X [Sun, 7 Jun 2020 18:14:44 +0000 (21:14 +0300)]
Update Module::CoreList for 5.32.0-RC2

3 years agoAdd z/OS platform notes to 5.32 perldelta
Karl Williamson [Sun, 7 Jun 2020 14:25:14 +0000 (08:25 -0600)]
Add z/OS platform notes to 5.32 perldelta

3 years agoUpdate perldelta on security fixes:
Sawyer X [Sun, 7 Jun 2020 06:11:24 +0000 (09:11 +0300)]
Update perldelta on security fixes:

* CVE-2020-10543
* CVE-2020-10878
* CVE-2020-12723

They were fixed on v5.28.3 and 5.30.3 and the fixes were backported.

3 years agoAPItest/t/utf16_to_utf8.t: Skip on EBCDIC
Karl Williamson [Fri, 29 May 2020 15:54:37 +0000 (09:54 -0600)]
APItest/t/utf16_to_utf8.t: Skip on EBCDIC

How this should behave is not well defined.

3 years agoAPItest/t/svpv.t: Generalize for EBCDIC
Karl Williamson [Fri, 29 May 2020 14:51:46 +0000 (08:51 -0600)]
APItest/t/svpv.t: Generalize for EBCDIC

This had ASCII-centric tests, which have now been converted to work on
EBCDIC as well.

3 years agoGH #17826: Remove entire section, thanks @richardleach
Sawyer X [Mon, 1 Jun 2020 17:46:12 +0000 (20:46 +0300)]
GH #17826: Remove entire section, thanks @richardleach

3 years agoperlhacktips.pod - don't explicitly list supported ASan combinations
Richard Leach [Wed, 3 Jun 2020 21:28:14 +0000 (22:28 +0100)]
perlhacktips.pod - don't explicitly list supported ASan combinations

As suggested in #16910

3 years agoCorrect warning categories
Smylers [Wed, 3 Jun 2020 04:54:08 +0000 (05:54 +0100)]
Correct warning categories

The 2 no-longer-needed warning categories were mentioned with each other's changes.

3 years agoperlhacktips.pod - update ASan section
Richard Leach [Tue, 2 Jun 2020 20:33:47 +0000 (21:33 +0100)]
perlhacktips.pod - update ASan section

Addresses #16910 plus other minor updates.

3 years agoTweak check_extended_testing job
Nicolas R [Tue, 2 Jun 2020 06:00:01 +0000 (00:00 -0600)]
Tweak check_extended_testing job

3 years agoAjust authors logic
Nicolas R [Tue, 2 Jun 2020 06:05:13 +0000 (00:05 -0600)]
Ajust authors logic

3 years agoSet CONFIGURE_ARGS env correctly for sanity check
Nicolas R [Fri, 22 May 2020 21:23:03 +0000 (15:23 -0600)]
Set CONFIGURE_ARGS env correctly for sanity check

also add a debug statement for viewing GitHub context

3 years agoMerge smoke informations to testsuite workflow
Nicolas R [Fri, 22 May 2020 20:24:17 +0000 (14:24 -0600)]
Merge smoke informations to testsuite workflow

Smoke informations should belong to the testsuite
and only display when run on the main repo.

Note: moved the 'if' condition in the run as a 'if:'
check, avoiding to start a VM when not needed.

3 years agoOnly smoke extra flavors when EXTENDED_TESTING=1
Nicolas R [Fri, 22 May 2020 20:23:51 +0000 (14:23 -0600)]
Only smoke extra flavors when EXTENDED_TESTING=1

This is avoiding using too much resources on fork repositories.

fixup

3 years agoRun a sanity check before running all jobs
Nicolas R [Fri, 22 May 2020 20:16:15 +0000 (14:16 -0600)]
Run a sanity check before running all jobs

Abort earlier if we cannot compile a simple
configuration on linux.

This is avoiding wasting resources and will come
back earlier on errors. Note that this is adding
the time of an extra runtime job as we are
waiting for the sanity_check workflow before starting
any other jobs.

3 years agoMerge all workflows as a single testsuite workflow
Nicolas R [Fri, 22 May 2020 20:02:41 +0000 (14:02 -0600)]
Merge all workflows as a single testsuite workflow

The existing smoke-* workflows are part of the testsuite.
By merging them together we can link them and add some
conditions to reduce resources usages.

3 years agoFix tiny POD syntax error
Aaron Crane [Tue, 2 Jun 2020 15:09:12 +0000 (16:09 +0100)]
Fix tiny POD syntax error

3 years agoMake PL_utf8_foldclosures interpreter level
Karl Williamson [Mon, 18 May 2020 20:40:04 +0000 (14:40 -0600)]
Make PL_utf8_foldclosures interpreter level

This resolves #17774.

This ticket is because the fixes in GH #17154 failed to get every case,
leaving this one outlier to be fixed by this commit.

The text in https://github.com/Perl/perl5/issues/17154 gives extensive
details as to the problem.  But briefly, in an attempt to speed up
interpreter cloning, I moved certain SVs from interpreter level to
global level in e80a0113c4a8036dfb22aec44d0a9feb65d36fed (v5.27.11,
March 2018).  This was doable, we thought, because the content of these
SVs is constant throughout the life of the program, so no need to copy
them when cloning a new interpreter or thread.  However when an
interpreter exits, all its SVs get cleaned up, which caused these to
become garbage in applications where another interpreter remains
running.  This circumstance is rare enough that the bug wasn't reported
until September 2019,  #17154.  I made an initial attempt to fix the
problem, and closed that ticket, but I overlooked one of the variables,
which was reported in #17774, which this commit addresses.

Effectively the behavior is reverted to the way it was before
e80a0113c4a8036dfb22aec44d0a9feb65d36fed.

3 years agoUpdate Scalar-List-Utils to 1.55
Sawyer X [Mon, 1 Jun 2020 07:05:08 +0000 (10:05 +0300)]
Update Scalar-List-Utils to 1.55

3 years ago5.30.3 on Monday
Steve Hay [Fri, 29 May 2020 20:25:08 +0000 (21:25 +0100)]
5.30.3 on Monday

(cherry picked from commit aaae777fa09e60c0fe9cb0c3e9f004c7c2a8f6ee)

3 years ago5.30.3-RC1 tomorrow
Steve Hay [Sun, 17 May 2020 09:50:13 +0000 (10:50 +0100)]
5.30.3-RC1 tomorrow

(cherry picked from commit 05ddfb3ce88adc105dcaf875d4e0ae32f2f05048)

3 years ago5.28.3 on Monday
Steve Hay [Fri, 29 May 2020 20:24:53 +0000 (21:24 +0100)]
5.28.3 on Monday

(cherry picked from commit ae49126f3ca2352fb49d7121a769189bf31e6f72)

3 years ago5.28.3-RC1 tomorrow
Steve Hay [Sun, 17 May 2020 09:37:54 +0000 (10:37 +0100)]
5.28.3-RC1 tomorrow

(cherry picked from commit 2d489145cbf021228a2a819dab4208e16d1049c6)

3 years agoImport perl5283delta.pod and perl5303delta.pod
Steve Hay [Mon, 1 Jun 2020 20:24:05 +0000 (21:24 +0100)]
Import perl5283delta.pod and perl5303delta.pod

3 years agoUpdate Module-CoreList with data for 5.28.3 and 5.30.3
Steve Hay [Mon, 1 Jun 2020 19:53:08 +0000 (20:53 +0100)]
Update Module-CoreList with data for 5.28.3 and 5.30.3

3 years agoTick off 5.28.3 and 5.30.3
Steve Hay [Mon, 1 Jun 2020 19:44:38 +0000 (20:44 +0100)]
Tick off 5.28.3 and 5.30.3

3 years agoAdd epigraphs for 5.28.3 and 5.30.3
Steve Hay [Mon, 1 Jun 2020 19:43:21 +0000 (20:43 +0100)]
Add epigraphs for 5.28.3 and 5.30.3

3 years agostudy_chunk: honour mutate_ok over recursion
Hugo van der Sanden [Tue, 28 Apr 2020 17:52:44 +0000 (18:52 +0100)]
study_chunk: honour mutate_ok over recursion

As described in #17743, study_chunk can re-enter itself either by
simple recursion or by enframing. 089ad25d3f used the new mutate_ok
variable to track whether we were within the framing scope of GOSUB,
and to disallow mutating changes to ops if so.

This commit extends that logic to reentry by recursion, passing in
the current state as was_mutate_ok.

(CVE-2020-12723)

(cherry picked from commit 3445383845ed220eaa12cd406db2067eb7b8a741)

3 years agoregcomp.c: Prevent integer overflow from nested regex quantifiers.
John Lightsey [Thu, 21 Nov 2019 02:02:45 +0000 (20:02 -0600)]
regcomp.c: Prevent integer overflow from nested regex quantifiers.

(CVE-2020-10543) On 32bit systems the size calculations for nested regular
expression quantifiers could overflow causing heap memory corruption.

Fixes: Perl/perl5-security#125
(cherry picked from commit 670c54b00a47d930431dd470e72fd7d13643e169)

3 years agoregcomp: use long jumps if there is any possibility of overflow
Karl Williamson [Thu, 20 Feb 2020 17:49:36 +0000 (17:49 +0000)]
regcomp: use long jumps if there is any possibility of overflow

(CVE-2020-10878) Be conservative for backporting, we'll aim to do
something more aggressive for bleadperl.

(cherry picked from commit 8243e7d09fa7bd65b70935e3170c6abda3e34917)

3 years agostudy_chunk: extract rck_elide_nothing
Hugo van der Sanden [Tue, 18 Feb 2020 13:51:16 +0000 (13:51 +0000)]
study_chunk: extract rck_elide_nothing

(CVE-2020-10878)

(cherry picked from commit 4fccd2d99bdeb28c2937c3220ea5334999564aa8)

3 years agoMinor tweaks to perldelta.pod
Richard Leach [Mon, 1 Jun 2020 16:59:30 +0000 (17:59 +0100)]
Minor tweaks to perldelta.pod

Remove duplicate entry of "It is now possible to write C<qr/\p{Name=...}/>, or C<\p{Na=...}>"
Fix probably typo in "features *we* set outside of a feature bundle"
Move streamzip entry from "Configure and Compilation" to "Utility Changes"

3 years agoperldelta: remove blead-only regressions from changelog
Sergey Aleynikov [Sun, 31 May 2020 14:47:28 +0000 (17:47 +0300)]
perldelta: remove blead-only regressions from changelog

3 years agos/Github/GitHub/
Karen Etheridge [Sat, 30 May 2020 22:43:14 +0000 (15:43 -0700)]
s/Github/GitHub/

3 years agoperldelta: move windows-specific bugfix to the right section
Tomasz Konojacki [Sat, 30 May 2020 21:13:07 +0000 (23:13 +0200)]
perldelta: move windows-specific bugfix to the right section

3 years agoperldelta: mention sort optimization
Tomasz Konojacki [Sat, 30 May 2020 21:09:51 +0000 (23:09 +0200)]
perldelta: mention sort optimization

3 years agofix the remaining whitespace changes made in error
Karen Etheridge [Sat, 30 May 2020 19:59:34 +0000 (12:59 -0700)]
fix the remaining whitespace changes made in error

3 years agofix whitespace in error message
Karen Etheridge [Sat, 30 May 2020 19:58:20 +0000 (12:58 -0700)]
fix whitespace in error message

3 years agoedit 5.32.0 perldelta for spelling, grammar, links
Karen Etheridge [Sat, 30 May 2020 19:52:49 +0000 (12:52 -0700)]
edit 5.32.0 perldelta for spelling, grammar, links

- outdated information on Unicode 13.0.0 (beta) removed
- links to RT and github issues added when missing, and normalized
- various small punctuation and grammar fixes
- some pod markup added where it was missing, and syntax mistakes fixed

3 years agodisarmed META.json
Sawyer X [Sat, 30 May 2020 19:36:32 +0000 (22:36 +0300)]
disarmed META.json

3 years agoUpdate epigraph
Sawyer X [Sat, 30 May 2020 18:55:04 +0000 (21:55 +0300)]
Update epigraph

3 years agoMerge branch 'release-5.32.0-RC0' into blead
Sawyer X [Sat, 30 May 2020 18:52:32 +0000 (21:52 +0300)]
Merge branch 'release-5.32.0-RC0' into blead

3 years agoMerge branch 'blead' of github.com:Perl/perl5 into blead
Sawyer X [Sat, 30 May 2020 18:52:15 +0000 (21:52 +0300)]
Merge branch 'blead' of github.com:Perl/perl5 into blead

3 years agodisarm RC0 bump
Sawyer X [Sat, 30 May 2020 18:51:26 +0000 (21:51 +0300)]
disarm RC0 bump

3 years agoUpdate hist v5.32.0-RC0
Sawyer X [Sat, 30 May 2020 15:57:07 +0000 (18:57 +0300)]
Update hist

3 years agoUpdate META files
Sawyer X [Sat, 30 May 2020 15:41:48 +0000 (18:41 +0300)]
Update META files

3 years agoBump version to RC0
Sawyer X [Sat, 30 May 2020 15:41:32 +0000 (18:41 +0300)]
Bump version to RC0

3 years agoPartially reinstate "Perl 6" instead of Raku for mro.pm and feature.pm:
Sawyer X [Sat, 30 May 2020 14:49:18 +0000 (17:49 +0300)]
Partially reinstate "Perl 6" instead of Raku for mro.pm and feature.pm:

Changing those will cause a version change.

3 years agoAdd gitignore
Sawyer X [Sat, 30 May 2020 14:34:29 +0000 (17:34 +0300)]
Add gitignore

3 years agoFixup perldelta files
Sawyer X [Sat, 30 May 2020 13:32:12 +0000 (16:32 +0300)]
Fixup perldelta files

3 years agoMerge all perldelta files
Sawyer X [Sat, 30 May 2020 13:21:17 +0000 (16:21 +0300)]
Merge all perldelta files

3 years agoUpdate Module::CoreList for 5.32.0
Sawyer X [Fri, 29 May 2020 12:24:22 +0000 (15:24 +0300)]
Update Module::CoreList for 5.32.0

3 years agoUpdate META
Sawyer X [Fri, 29 May 2020 12:23:32 +0000 (15:23 +0300)]
Update META

3 years agoBump perl version in various places for 5.32.0
Sawyer X [Fri, 29 May 2020 11:52:52 +0000 (14:52 +0300)]
Bump perl version in various places for 5.32.0

3 years agoPerl 6 -> Raku where appropriate
H.Merijn Brand [Thu, 28 May 2020 12:38:52 +0000 (14:38 +0200)]
Perl 6 -> Raku where appropriate

3 years agoIssue template - Suggest putting perl configuration in fenced code block
Dan Book [Fri, 29 May 2020 20:31:27 +0000 (16:31 -0400)]
Issue template - Suggest putting perl configuration in fenced code block

3 years agoBump perl version in various places for 5.32.0
Sawyer X [Fri, 29 May 2020 11:52:52 +0000 (14:52 +0300)]
Bump perl version in various places for 5.32.0

3 years agoAaron Crane is a moderator
Sawyer X [Wed, 27 May 2020 14:28:30 +0000 (17:28 +0300)]
Aaron Crane is a moderator

3 years agocharnames: Explicitly return undef for empty input
Karl Williamson [Wed, 13 May 2020 04:18:54 +0000 (22:18 -0600)]
charnames: Explicitly return undef for empty input

Rather it returns an empty list for undefined or zero width input names.

This fixes #17768

3 years agoregcomp.c: Improve dump ANYOFR patterns
Karl Williamson [Wed, 12 Feb 2020 16:26:22 +0000 (09:26 -0700)]
regcomp.c: Improve dump ANYOFR patterns

On ASCII platforms, where its easy to calculate, when dumping a pattern,
don't output the lowest first UTF-8 byte when the entire range is ASCII.
The info about this minimum byte is carried in the node, but is ignored
unless the pattern is UTF-8, and in the case of UTF-8 invariant
characters gives no extra help.  The information is quite useful for
large code points, so we can quickly rule out large swaths of potential
matches without having to convert the target UTF-8 string to code point
format.  But for ASCII matches it isn't helpful and dumping it is just
extra noise.

3 years agoop/exec.t: ENOTDIR is a legit errno
Karl Williamson [Thu, 9 Apr 2020 18:02:12 +0000 (12:02 -0600)]
op/exec.t: ENOTDIR is a legit errno

This test file does a system() on a non-existent file, and checks
that an error happens, and that the errno is one that is expected.
Prior to this commit it didn't think that ENOTDIR could happen.

But it can If PATH contains a component that is plain file, or, on some
systems, a component simply doesn't exist.

I examined the possible errnos listed in a Linux man page for this, and
this looked to be the only one that is likely to come up that weren't
already covered.

This fixes GH #17515

3 years agot/re/speed.t: Adapt for sl-o-o-w boxes
Karl Williamson [Sun, 24 May 2020 18:48:35 +0000 (12:48 -0600)]
t/re/speed.t: Adapt for sl-o-o-w boxes

On some slow smokers, this test times out.  There is an existing
mechanism which allows a smoker to compensate for this, but which was
not being used by this test file.  Use it.

3 years agot/re/pat_advanced.t: Adapt for sl-o-o-w boxes
Karl Williamson [Sun, 24 May 2020 19:04:47 +0000 (13:04 -0600)]
t/re/pat_advanced.t: Adapt for sl-o-o-w boxes

On some slow smokers, this test times out.  There is an existing
mechanism which allows a smoker to compensate for this, but which was
not being used by this test file.  Use it.

3 years agore/regexp_nonull.t: Skip if no APItest built
Karl Williamson [Sat, 23 May 2020 14:12:48 +0000 (08:12 -0600)]
re/regexp_nonull.t: Skip if no APItest built

This moves the require to the file that actually uses it, and checks
that it succeeded.

3 years agoop/sub.t: Skip APItest test if that not built
Karl Williamson [Sat, 23 May 2020 13:56:46 +0000 (07:56 -0600)]
op/sub.t: Skip APItest test if that not built

3 years agot/re/anyof.t: Adapt a test for EBCDIC
Karl Williamson [Sun, 24 May 2020 18:42:10 +0000 (12:42 -0600)]
t/re/anyof.t: Adapt a test for EBCDIC

a-z is not contiguous on EBCDIC platforms

3 years agolib/DBM_Filter/t/encode.t: TODO a test on EBCDIC
Karl Williamson [Sun, 24 May 2020 18:55:17 +0000 (12:55 -0600)]
lib/DBM_Filter/t/encode.t: TODO a test on EBCDIC

This depends on Encode which has some problems

3 years agodist/IO/t/cachepropagate-unix.t: Add os390 to TODO list
Karl Williamson [Sun, 24 May 2020 18:51:18 +0000 (12:51 -0600)]
dist/IO/t/cachepropagate-unix.t: Add os390 to TODO list

To TODO a test for

3 years agolib/warnings.t: Fix EBCDIC toke warning wording
Karl Williamson [Wed, 20 May 2020 20:27:41 +0000 (14:27 -0600)]
lib/warnings.t: Fix EBCDIC toke warning wording

3 years agopod/perluniprops: Split run-on lines before '\'
Karl Williamson [Fri, 22 May 2020 13:20:14 +0000 (07:20 -0600)]
pod/perluniprops: Split run-on lines before '\'

This changes mktables, which generates this pod, to consider long pod
lines to be splittable before most backslashes.  On os390, the lack of
this caused a line to not be split at all, creating a Porting test
failure.

There is also a current rule that you can split at a lowercase/uppercase
boundary.  This works for the limited domain this code is run on.  But
it shouldn't split \cK.  So don't do the split if the lowercase is a
single letter preceded by a backslash.

3 years agot/TEST: Skip some cpan module testing on EBCDIC
Karl Williamson [Sun, 24 May 2020 18:40:17 +0000 (12:40 -0600)]
t/TEST: Skip some cpan module testing on EBCDIC

These modules have known problems, varying from one test failing, to not
working at all.  This is a big improvement from earlier releases where
all of cpan testing was entirely ckipped.

3 years agohints/os390.sh: Handle no C optimizations
Karl Williamson [Wed, 27 May 2020 01:42:52 +0000 (19:42 -0600)]
hints/os390.sh: Handle no C optimizations

There is a bug in Configure where it doesn't handle 'none' properly for
platforms which have no flag to indicate don't optimize.  Instead of
fixing this for 5.32 at this late date, change the hints file for os390
to use the equivalent " ", that does work.

3 years agot/re/regexp.t: Fix to properly handle EBCDIC
Karl Williamson [Wed, 20 May 2020 20:27:10 +0000 (14:27 -0600)]
t/re/regexp.t: Fix to properly handle EBCDIC

5.31 commit 2b7f9bbf39f71c0d94db058b0110977a9470c1b2 caused this to not
work at all on EBCDIC platforms.

3 years agoFix tr/// determination of inplace editing for EBCDIC
Karl Williamson [Mon, 25 May 2020 17:15:01 +0000 (11:15 -0600)]
Fix tr/// determination of inplace editing for EBCDIC

I realized as a result of fixing GH #17654, that the code didn't
properly decide if a tr/// can be done in-place on EBCDIC platforms.
Since we didn't have an EBCDIC smoker at the time, I couldn't be sure
that the fix actually worked.  Now that we do have a smoker, I have
successfully tested it.

This patch is constructed so that the code generated on non-EBCDIC
platforms should not be changed by it.

3 years agoset magic on $lex for $lex = (index(...) == -1) and make it an lvalue
Tony Cook [Wed, 22 Apr 2020 05:01:40 +0000 (15:01 +1000)]
set magic on $lex for $lex = (index(...) == -1) and make it an lvalue

related to #17737 and fixes #17739

re-work of my original patch that only pushes the final result

3 years agofix utf8 length magic handling for scalar reverse
Tony Cook [Wed, 22 Apr 2020 01:02:16 +0000 (11:02 +1000)]
fix utf8 length magic handling for scalar reverse

fixes #17737

3 years agoRemove part of comment
Sawyer X [Sun, 24 May 2020 22:02:22 +0000 (01:02 +0300)]
Remove part of comment

3 years agoRevision to hvds patch for #17775
Karl Williamson [Tue, 12 May 2020 17:45:29 +0000 (11:45 -0600)]
Revision to hvds patch for #17775