This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
7 years agoUpdate B-Debug to CPAN version 1.21
Chris 'BinGOs' Williams [Tue, 5 Aug 2014 14:14:01 +0000 (15:14 +0100)]
Update B-Debug to CPAN version 1.21

7 years agoAdd syber to AUTHORS
Rafael Garcia-Suarez [Tue, 5 Aug 2014 08:15:58 +0000 (10:15 +0200)]
Add syber to AUTHORS

7 years agoRegenerate local Safe MANIFEST
Rafael Garcia-Suarez [Tue, 5 Aug 2014 08:02:09 +0000 (10:02 +0200)]
Regenerate local Safe MANIFEST

7 years agoFix MANIFEST and Safe's changelog
Rafael Garcia-Suarez [Tue, 5 Aug 2014 07:27:29 +0000 (09:27 +0200)]
Fix MANIFEST and Safe's changelog

7 years agoCritical bugfix in module Safe (Opcode). Version increased, changelog and test added.
syber [Mon, 4 Aug 2014 19:47:23 +0000 (23:47 +0400)]
Critical bugfix in module Safe (Opcode). Version increased, changelog and test added.

This example hacks outside environment:

package My::Controller;
use strict;

sub jopa { return "jopa\n"; }

package main;
use Safe;

my $s = new Safe;

my $ok = $s->reval(q{
    package My::Controller;
    sub jopa { return "hacked\n"; }

    My::Controller->jopa();
});

print My::Controller->jopa();

7 years ago[perl #121404] tied hashes are different
Tony Cook [Tue, 5 Aug 2014 05:18:25 +0000 (15:18 +1000)]
[perl #121404] tied hashes are different

7 years agoFix hint typo: No leading underscore in PERL_USE_SAFE_PUTENV
Andy Dougherty [Mon, 4 Aug 2014 14:38:48 +0000 (10:38 -0400)]
Fix hint typo: No leading underscore in PERL_USE_SAFE_PUTENV

hints/solaris_2.sh generates a config.over script intended to add
PERL_USE_SAFE_PUTENV to ccflags, if it is not already present.  An extra
leading underscore in the check meant that the test always failed and
PERL_USE_SAFE_PUTENV always got added.

7 years agoUpdate perlfaq to CPAN version 5.0150045
Chris 'BinGOs' Williams [Mon, 4 Aug 2014 11:47:34 +0000 (12:47 +0100)]
Update perlfaq to CPAN version 5.0150045

  [DELTA]

5.0150045 Sun 3 Aug 2014 18:16:06 +0100
  * Improve example, use File::Spec (Brian Fraser)
  * Typo in perlfaq7 (Rares Aioanei, via shlomif)
  * Typo in perlfaq1 (Xaerxess)

7 years agoUpdate B-Debug to CPAN version 1.20
Aaron Crane [Sun, 3 Aug 2014 16:33:02 +0000 (17:33 +0100)]
Update B-Debug to CPAN version 1.20

  [DELTA]
    1.20 2014-08-03 rurban
      * avoid exists on an array element (aaron crane)

7 years agoUpdate Config::Perl::V to version 0.22
H.Merijn Brand [Sat, 2 Aug 2014 11:09:16 +0000 (13:09 +0200)]
Update Config::Perl::V to version 0.22

7 years agoregcomp.c: Don't read outside array bound
Karl Williamson [Fri, 1 Aug 2014 17:19:06 +0000 (11:19 -0600)]
regcomp.c: Don't read outside array bound

This code is only in DEBUGGING builds had an off-by-one error
that would read beyond the end of the array.  This commit also removes
a redundant test

7 years agoFix bug in inlining some CORE::* subs
Aaron Crane [Tue, 15 Jul 2014 17:28:42 +0000 (18:28 +0100)]
Fix bug in inlining some CORE::* subs

As of 4aaa475724fbbc4ab2427743fa4d07a12e6ce0d9, when Perl compiles code like

    BEGIN { *entangle = \&CORE::tie }
    entangle $foo, $package

the apparent call to "entangle" is replaced with an inlined invocation of
the "tie" builtin.

For unary ops, the OPf_SPECIAL flag was set on the generated inlined op iff
the op's argument was surrounded by parens. But that's incorrect for ops
which have their own interpretation of OPf_SPECIAL. In particular:

  keys, values, each
    OPf_SPECIAL is set for lvalue usage; this shows up when the compile-time
    argument is a reference to be subjected to the autoderef feature, and
    the run-time argument is an array ref. The existing tests didn't execute
    the code (and didn't combine inlining with array autoderefs), so didn't
    catch this case.

  delete, exists
    OPf_SPECIAL is set when the argument is an array element rather than a
    hash element; this doesn't directly cause any obvious problems, because
    pp_delete and pp_exists consider OPf_SPECIAL only when they've already
    determined that their argument is an array element, but it did break
    deparsing (because B::Deparse considers OPf_SPECIAL in all cases): the
    hash element argument got deparsed as an array element. Further, the
    inlining tests themselves rely on deparsing to ensure that the op was
    inlined. The existing inlining tests happened to use array elements, so
    didn't catch this problem.

This commit fixes those cases, by avoiding setting OPf_SPECIAL when inlining
an invocation of one of those ops. The list of op types is hard-coded; this
seems a little icky, but I don't see a better alternative.

I believe that no other ops are affected by this issue, but my confidence in
that statement isn't as high as it might be; it seems hard to work out
exactly which ops use OPf_SPECIAL.

7 years agot/op/coresubs.t: factor out an internal routine
Aaron Crane [Tue, 15 Jul 2014 17:25:22 +0000 (18:25 +0100)]
t/op/coresubs.t: factor out an internal routine

This routine will be used in the next commit. I believe that the behaviour
of the tests remains unchanged after this commit.

7 years agoTest file had been renamed. remove old cruft
H.Merijn Brand [Fri, 1 Aug 2014 11:49:11 +0000 (13:49 +0200)]
Test file had been renamed. remove old cruft

7 years agoSync Config::Perl::V to version 0.21
H.Merijn Brand [Fri, 1 Aug 2014 11:14:09 +0000 (13:14 +0200)]
Sync Config::Perl::V to version 0.21

 * Add tests for each major distribution since 5.6.2
 * Better detect build times
 * Sync with 5.20.1

7 years agoadd --help to Porting/sync-with-cpan
H.Merijn Brand [Fri, 1 Aug 2014 10:39:06 +0000 (12:39 +0200)]
add --help to Porting/sync-with-cpan

7 years agoUpdate CPAN-Meta-Requirements to CPAN version 2.126
Chris 'BinGOs' Williams [Fri, 1 Aug 2014 08:28:53 +0000 (09:28 +0100)]
Update CPAN-Meta-Requirements to CPAN version 2.126

  [DELTA]

2.126     2014-07-30 16:26:29-04:00 America/New_York

    [FIXED]

    - Fixed compatibility with version.pm 0.77

    [DOCUMENTED]

    - Minor documentation fixes

    [CHANGED]

    - Modernized distribution meta files

7 years agoCorrect double mention of winpid_to_pid.
James E Keenan [Wed, 30 Jul 2014 11:45:40 +0000 (07:45 -0400)]
Correct double mention of winpid_to_pid.

As reported by graham at wdlabs dot com.

For: RT #122430

7 years agoAvoid pack/unpack to produce the binary form of a utf8 string
Rafael Garcia-Suarez [Wed, 30 Jul 2014 14:40:46 +0000 (16:40 +0200)]
Avoid pack/unpack to produce the binary form of a utf8 string

7 years agoFix tabs in MANIFEST
Rafael Garcia-Suarez [Wed, 30 Jul 2014 14:13:20 +0000 (16:13 +0200)]
Fix tabs in MANIFEST

7 years agomake "require" handle no argument more gracefully, and add tests
Yves Orton [Wed, 30 Jul 2014 13:44:44 +0000 (15:44 +0200)]
make "require" handle no argument more gracefully, and add tests

in Perl 5.14 the following segfaults:

    *CORE::GLOBAL::require = sub { }; eval "require";

in Perl 5.18

    perl -wle'eval "require";'

produces a spurious warning:

    Use of uninitialized value $_ in require at (eval 1) line 1.

In other perls:

    perl -e 'eval q/require $this/ or print $@'

produces:

    Null filename used at (eval 1) line 1.

The error message is crappy, totally unfit for a perl audience,
and the spurious warning is just confusing. There is no $_ in use
here, why do we warn about it.

It looks like 9e3fb20c fixed the segfault (by accident), and also
somehow meant that the "Null filename" error would not ever be
produced.

So this patch ditches the crappy error and replaces it with something
meaningful and informative, and tests that we do not regress and start
segfaulting again.

7 years agoUpdate HTTP-Tiny to CPAN version 0.047
Chris 'BinGOs' Williams [Wed, 30 Jul 2014 08:12:58 +0000 (09:12 +0100)]
Update HTTP-Tiny to CPAN version 0.047

  [DELTA]

0.047     2014-07-29 14:09:05-04:00 America/New_York

    [CHANGED]

    - Updated Mozilla::CA module recommendation version to 20130114

    [FIXED]

    - Fixed t/00-report-prereqs.t when CPAN::Meta is not installed

0.046     2014-07-21 10:32:32-04:00 America/New_York

    [FIXED]

    - Empty header fields are now allowed; headers with the 'undef' value
      will be rendered as an empty header.

    [DOCUMENTED]

    - Updated HTTP/1.1 spec description from RFC 2616 to RFC 7230-7235

0.045     2014-07-19 23:17:28-04:00 America/New_York (TRIAL RELEASE)

    [FIXED]

    - Fixed t/002_croakage.t for various operating systems.

7 years agoUpdate CPAN-Meta to CPAN version 2.142060
Chris 'BinGOs' Williams [Wed, 30 Jul 2014 08:05:06 +0000 (09:05 +0100)]
Update CPAN-Meta to CPAN version 2.142060

  [DELTA]

2.142060  2014-07-25 13:30:06-04:00 America/New_York

  [ADDED]

  - CPAN::Meta::Merge is a new class for merging two possibly overlapping
    instances of metadata. It will accept both CPAN::Meta objects and
    (possibly incomplete) hashrefs of metadata.

7 years agoSync Module-CoreList version after CPAN release
Chris 'BinGOs' Williams [Wed, 30 Jul 2014 07:57:06 +0000 (08:57 +0100)]
Sync Module-CoreList version after CPAN release

7 years agoMention sv_gets as the Perl-ish fgets-ish API.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:10:47 +0000 (22:10 -0400)]
Mention sv_gets as the Perl-ish fgets-ish API.

7 years agoAdd atol, atoll, strtoq to avoidables.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:36:44 +0000 (22:36 -0400)]
Add atol, atoll, strtoq to avoidables.

7 years agoAdd system to avoidables.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:09:34 +0000 (22:09 -0400)]
Add system to avoidables.

7 years agogrok_atou() is UV now, not Size_t.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:06:08 +0000 (22:06 -0400)]
grok_atou() is UV now, not Size_t.

7 years agoMove return false out of switch default.
Jarkko Hietaniemi [Tue, 29 Jul 2014 11:54:57 +0000 (07:54 -0400)]
Move return false out of switch default.

7 years agoNOTREACHED goes at/in the unreachable, not after it.
Jarkko Hietaniemi [Tue, 29 Jul 2014 01:02:21 +0000 (21:02 -0400)]
NOTREACHED goes at/in the unreachable, not after it.

7 years agoNegatives as UVs: sign-extension intentional, add cast.
Jarkko Hietaniemi [Tue, 29 Jul 2014 00:55:31 +0000 (20:55 -0400)]
Negatives as UVs: sign-extension intentional, add cast.

7 years agoRevert part of b844a53a to fix ./perl -Ilib t/io/fs.t
Jarkko Hietaniemi [Mon, 28 Jul 2014 23:30:13 +0000 (19:30 -0400)]
Revert part of b844a53a to fix ./perl -Ilib t/io/fs.t

The temps are created in t, but $ENV{PWD} points to root.

The change was made for Android support, but is now obsoleted
by newer code for Android, just below.

7 years agoSkip ext/GDBM_File/t/fatal.t in Darwin, too flaky.
Jarkko Hietaniemi [Mon, 28 Jul 2014 19:52:56 +0000 (15:52 -0400)]
Skip ext/GDBM_File/t/fatal.t in Darwin, too flaky.

(random crashes at destruction time)

See https://rt.perl.org/Public/Bug/Display.html?id=117967
and jhi ran into this in OS 10.9.4 + blead + gdbm 1.11
(gdbm via macports, but shouldn't matter much: flaky is flaky).

7 years agoavoid passing large backreference numbers back as negative numbers
Tony Cook [Mon, 28 Jul 2014 06:40:49 +0000 (16:40 +1000)]
avoid passing large backreference numbers back as negative numbers

7 years agospell "SSize_t" correctly
Tony Cook [Mon, 28 Jul 2014 01:46:19 +0000 (11:46 +1000)]
spell "SSize_t" correctly

the same as the other place in that patch

7 years agoreadlink() result buffer is not zero-terminated.
Jarkko Hietaniemi [Sat, 26 Jul 2014 13:42:30 +0000 (09:42 -0400)]
readlink() result buffer is not zero-terminated.

Therefore, as an extra paranoia step, zero-terminate
the readlink result buffer even before the result SV is created.

Also, readlink returns SSize_t, not int.

7 years agoPOSIX.pod: Document correct redirect for 'atexit'.
Lukas Mai [Sun, 27 Jul 2014 13:09:50 +0000 (09:09 -0400)]
POSIX.pod: Document correct redirect for 'atexit'.

For: RT #122412

7 years agoSimplify cppsym dash problem
H.Merijn Brand [Sat, 26 Jul 2014 19:43:54 +0000 (21:43 +0200)]
Simplify cppsym dash problem

7 years agoutf8.c: Use slightly more efficient macro
Karl Williamson [Fri, 25 Jul 2014 20:57:33 +0000 (14:57 -0600)]
utf8.c: Use slightly more efficient macro

Lowercasing a Latin-1 range character results in a latin-1 range
character, so we can use the more restrictive macros that is slightly
more efficient than the general ones.  (This difference only is
applicable on EBCDIC platforms, as the macros all expand to nothing on
ASCII ones.

7 years agoperlop: Update to reflect 5.20 changes
Karl Williamson [Fri, 25 Jul 2014 20:56:46 +0000 (14:56 -0600)]
perlop: Update to reflect 5.20 changes

Some deprecations have become fatal in v5.20

7 years agoperlop: Nits
Karl Williamson [Fri, 25 Jul 2014 20:44:46 +0000 (14:44 -0600)]
perlop: Nits

7 years agoperlop: Update text to reflect code changes
Karl Williamson [Fri, 25 Jul 2014 17:31:26 +0000 (11:31 -0600)]
perlop: Update text to reflect code changes

The warning message is no longer misleading, so no need to point out
anything about it.

7 years agoOnly use setenv() on Solaris if it is available.
Andy Dougherty [Fri, 25 Jul 2014 17:55:32 +0000 (13:55 -0400)]
Only use setenv() on Solaris if it is available.

This is a followup to 07ad9e0e19891ec129e1a78e40a66ca19b51302d.
util.c:Perl_my_setenv() unconditionally used setenv() if #defined(__sun).
Solaris 8 had neither setenv() nor unsetenv(), so it failed.  Configure
does not currently check for setenv(), but the check for unsetenv()
is sufficient here since Solaris 9 and later have both.

7 years agoConfigure: Handle hyphens when searching cpp symbols
Brian Fraser [Fri, 25 Jul 2014 17:46:41 +0000 (19:46 +0200)]
Configure: Handle hyphens when searching cpp symbols

This is really just for Android, which in Configure is
known as linux-android; the hyphen is passes as-is to
the preprocessor, which handles it as a minus.

So don't do that.

7 years agoConfigure: Discard errors when testing for less -R
Brian Fraser [Fri, 25 Jul 2014 17:13:26 +0000 (19:13 +0200)]
Configure: Discard errors when testing for less -R

When we try replacing 'less' with 'less -R', it's possible
that less will output errors if the option is not supported;
this happens, for example, in busybox's less.

7 years agot/op/taint.t: Accommodate for systems without an inbuilt echo (android, blackberry)
Brian Fraser [Fri, 25 Jul 2014 16:34:03 +0000 (18:34 +0200)]
t/op/taint.t: Accommodate for systems without an inbuilt echo (android, blackberry)

7 years agoMakefile.SH: Add missing files for make test on cross builds
Brian Fraser [Thu, 24 Jul 2014 13:54:30 +0000 (15:54 +0200)]
Makefile.SH: Add missing files for make test on cross builds

7 years agoMakefile.SH: Fix cross builds with -Uhostgenerate
Brian Fraser [Thu, 24 Jul 2014 13:53:52 +0000 (15:53 +0200)]
Makefile.SH: Fix cross builds with -Uhostgenerate

7 years agot/re/subst.t: Proper skip for systems without locale
Brian Fraser [Thu, 24 Jul 2014 13:53:17 +0000 (15:53 +0200)]
t/re/subst.t: Proper skip for systems without locale

7 years agopp.c: Fixed a quotemeta bug on perls built without locale.
Brian Fraser [Thu, 24 Jul 2014 13:51:35 +0000 (15:51 +0200)]
pp.c: Fixed a quotemeta bug on perls built without locale.

This was causing quotemeta("\N{U+D7}") to not be quoted, as well as
some other codepoints in the latin1 range.

7 years agoMake PERL_GLOBAL_STRUCT_PRIVATE visible in -V.
Jarkko Hietaniemi [Fri, 25 Jul 2014 00:20:56 +0000 (20:20 -0400)]
Make PERL_GLOBAL_STRUCT_PRIVATE visible in -V.

7 years agoUnused dVARs found by g++ -DPERL_GLOBAL_STRUCT_PRIVATE.
Jarkko Hietaniemi [Thu, 24 Jul 2014 23:31:04 +0000 (19:31 -0400)]
Unused dVARs found by g++ -DPERL_GLOBAL_STRUCT_PRIVATE.

7 years agoShare common constants as file statics.
Jarkko Hietaniemi [Thu, 24 Jul 2014 02:32:45 +0000 (22:32 -0400)]
Share common constants as file statics.

7 years agoUse UV instead of Size_t.
Jarkko Hietaniemi [Wed, 23 Jul 2014 14:38:50 +0000 (10:38 -0400)]
Use UV instead of Size_t.

A strong reason for using UV are the promised custom codepoints,
they go beyond 32-bit.

The overflow logic didn't work if Size_t was 32-bit but the UV was 64-bit.
Steal the battle-proven logic from grok_number_flags().

The numeric.xs or grok.t were not right in 32-bit, either.

Add comments.

7 years agoRemove flagging OP_READLINE with OPf_SPECIAL
Rafael Garcia-Suarez [Thu, 24 Jul 2014 11:26:10 +0000 (13:26 +0200)]
Remove flagging OP_READLINE with OPf_SPECIAL

This was used to distinguish forms <FILE> from <$file>, but doesn't
seem to be used anymore by anything.

7 years agoapidoc fixes, comment tweaks.
Jarkko Hietaniemi [Wed, 23 Jul 2014 14:01:08 +0000 (10:01 -0400)]
apidoc fixes, comment tweaks.

7 years agoVladimir Marek is now a perl author
Tony Cook [Wed, 23 Jul 2014 07:11:42 +0000 (17:11 +1000)]
Vladimir Marek is now a perl author

7 years agouse setenv() on Solaris
Vladimir Marek [Wed, 23 Jul 2014 07:05:59 +0000 (17:05 +1000)]
use setenv() on Solaris

7 years agobump $XS::APItest::VERSION for the grok_atou() merge
Tony Cook [Wed, 23 Jul 2014 04:21:42 +0000 (14:21 +1000)]
bump $XS::APItest::VERSION for the grok_atou() merge

7 years agoChad Granum is now a perl author
Tony Cook [Wed, 23 Jul 2014 03:51:30 +0000 (13:51 +1000)]
Chad Granum is now a perl author

7 years agoFix ok() that should be a like()
Chad Granum [Wed, 16 Jul 2014 06:10:37 +0000 (23:10 -0700)]
Fix ok() that should be a like()

7 years agoDelay loading Test::More
Chad Granum [Wed, 16 Jul 2014 06:10:20 +0000 (23:10 -0700)]
Delay loading Test::More

7 years agoFix legacy VMS feature checking status.
Craig A. Berry [Wed, 23 Jul 2014 01:38:29 +0000 (20:38 -0500)]
Fix legacy VMS feature checking status.

Back in 8dc9d3390b257b I consolidated two routines that were
almost identical -- except for their return values.  The routine
I kept returns the length of the equivalence name after logical
name translation, but some uses of it were checking it to see if
it was a successful VMS condition value.  Which means an odd length
(such as from "1") was successful but an even length (such as from
"ENABLE", the value recommended in the documentation) failed. So
fix those uses to check for a non-zero from simple_trnlnm.

For most features this only affected pre-7.3 systems, i.e., VMS
releases more than thirteen years old.  However, it also affected
features such as PERL_VMS_POSIX_EXIT that we have made up on our
own and are not tracking a CRTL feature.

7 years agoIntroduce maxend for paranoia. Also, comments.
Jarkko Hietaniemi [Tue, 22 Jul 2014 11:46:26 +0000 (07:46 -0400)]
Introduce maxend for paranoia.  Also, comments.

7 years agoAtol can be strtol in disguise, so grok_atou.
Jarkko Hietaniemi [Tue, 22 Jul 2014 01:29:22 +0000 (21:29 -0400)]
Atol can be strtol in disguise, so grok_atou.

7 years agoAdd strtoul and strtol to avoidables.
Jarkko Hietaniemi [Mon, 21 Jul 2014 19:16:33 +0000 (15:16 -0400)]
Add strtoul and strtol to avoidables.

7 years agoDocument grok_atou as strtoul replacement.
Jarkko Hietaniemi [Mon, 21 Jul 2014 19:15:42 +0000 (15:15 -0400)]
Document grok_atou as strtoul replacement.

7 years agoUse grok_atou instead of strtoul (no explicit strtol uses).
Jarkko Hietaniemi [Mon, 21 Jul 2014 18:59:58 +0000 (14:59 -0400)]
Use grok_atou instead of strtoul (no explicit strtol uses).

7 years agoAdvertise grok_atou.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:56:49 +0000 (10:56 -0400)]
Advertise grok_atou.

7 years agoAdd atoi to avoidables.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:53:10 +0000 (10:53 -0400)]
Add atoi to avoidables.

7 years agoAdd tests for grok_atou.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:07:05 +0000 (10:07 -0400)]
Add tests for grok_atou.

7 years agoUse grok_atou instead of atoi.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:50:54 +0000 (10:50 -0400)]
Use grok_atou instead of atoi.

Remaining atoi() uses include at least:
ext/DynaLoader/dl_aix.xs, os2/os2.c, vms/vms.c

7 years agoImplement grok_atou as safe/strict atoi replacement.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:41:20 +0000 (10:41 -0400)]
Implement grok_atou as safe/strict atoi replacement.

For earlier discussion, see:
http://www.nntp.perl.org/group/perl.perl5.porters/2013/10/msg208680.html
https://rt.perl.org/Public/Bug/Display.html?id=116118#txn-1250187

grok_atou is completely new code, instead of trying to bolt
new parameters/flags to grok_number.  This makes it easier to
be extremely strict, and not worry about breaking grok_number.

7 years agoUse %I64d instead of %lld for MinGW
Jan Dubois [Tue, 22 Jul 2014 23:50:24 +0000 (16:50 -0700)]
Use %I64d instead of %lld for MinGW

For older versions of MSVCRT.dll %lld is still using only 32 bits, breaking
32-bit builds defining USE_64_BIT_INT. %I64d is still supported on all newer
MSVCRT.dll releases, so there is really no reason to use %lld with MinGW at
all.

Fixes https://rt.perl.org/Ticket/Display.html?id=120851

7 years agoperlexperiment mentions features a lot, refer to the feature module
Alberto Simões [Tue, 22 Jul 2014 23:44:25 +0000 (09:44 +1000)]
perlexperiment mentions features a lot, refer to the feature module

7 years ago_LIB_VERSION scan was trying leading address twice.
Jarkko Hietaniemi [Tue, 22 Jul 2014 21:22:57 +0000 (17:22 -0400)]
_LIB_VERSION scan was trying leading address twice.

Important with PERL_GLOBAL_STRUCT_PRIVATE.

7 years agoMention libperl.t, and explain nm output some more.
Jarkko Hietaniemi [Tue, 22 Jul 2014 12:13:24 +0000 (08:13 -0400)]
Mention libperl.t, and explain nm output some more.

7 years agoMove two variable assignments outside of parens.
James E Keenan [Tue, 22 Jul 2014 01:02:53 +0000 (21:02 -0400)]
Move two variable assignments outside of parens.

Done for readability. Remove some unused variables. Move declaration of other
variable closer to where it is used. Rationalize indentation on lines
modified. Increment $VERSION.

For: RT #122282 (additional)

7 years agoOpen3.pm:spawn_with_handles remove alot of duplicate operators
Daniel Dragan [Sun, 13 Jul 2014 12:41:15 +0000 (08:41 -0400)]
Open3.pm:spawn_with_handles remove alot of duplicate operators

dont call fileno twice, don't deref key "open_as" 3 extra times.

7 years agoAvoid undefined warnings.
Jarkko Hietaniemi [Tue, 22 Jul 2014 01:12:09 +0000 (21:12 -0400)]
Avoid undefined warnings.

7 years agoIn FreeBSD memcmp symbol can disappear.
Jarkko Hietaniemi [Mon, 21 Jul 2014 17:29:27 +0000 (13:29 -0400)]
In FreeBSD memcmp symbol can disappear.

7 years agosv.h: Document SVt_INVLIST fields
Karl Williamson [Mon, 21 Jul 2014 15:43:04 +0000 (09:43 -0600)]
sv.h: Document SVt_INVLIST fields

7 years agoutf8_heavy.pl: Fix nit in comment
Karl Williamson [Tue, 8 Jul 2014 16:29:13 +0000 (10:29 -0600)]
utf8_heavy.pl: Fix nit in comment

7 years agocpan/Time-HiRes/t/itimer.t: better diagnostics
David Mitchell [Mon, 21 Jul 2014 15:02:23 +0000 (16:02 +0100)]
cpan/Time-HiRes/t/itimer.t: better diagnostics

This test is failing some smokes. Add better diagnostics to see what's
going on.

Since this is a CPAN-first module, this commit either needs backing out at
some point, or merging upstream.

7 years agoDisallow importing functions from UNIVERSAL
Dagfinn Ilmari Mannsåker [Sun, 8 Jun 2014 00:37:32 +0000 (01:37 +0100)]
Disallow importing functions from UNIVERSAL

It's been deprecated since v5.12.

7 years agoRegen podcheck db for new long verbatims in perlepigraph
Karl Williamson [Sun, 20 Jul 2014 16:38:25 +0000 (10:38 -0600)]
Regen podcheck db for new long verbatims in perlepigraph

7 years agoperlop: Grammatical nit.
Karl Williamson [Tue, 15 Jul 2014 22:05:12 +0000 (16:05 -0600)]
perlop: Grammatical nit.

'either' refers only to one of two possibilities.  Since this
has more than that, 'either' is grammatically incorrect.

7 years agoUpped version numbers for ModuleList
Abigail [Sun, 20 Jul 2014 15:25:04 +0000 (17:25 +0200)]
Upped version numbers for ModuleList

7 years agoBump version number from 5.21.2 to 5.21.3
Abigail [Sun, 20 Jul 2014 15:12:05 +0000 (17:12 +0200)]
Bump version number from 5.21.2 to 5.21.3

7 years agoNew perldelta.
Abigail [Sun, 20 Jul 2014 14:51:11 +0000 (16:51 +0200)]
New perldelta.

7 years agoInstalling Inline no longer installs Inline::C.
Abigail [Sun, 20 Jul 2014 12:43:59 +0000 (14:43 +0200)]
Installing Inline no longer installs Inline::C.

So, when testing cpan, install Inline::C.

7 years agoEpigraph for 5.21.2
Abigail [Sun, 20 Jul 2014 14:36:36 +0000 (16:36 +0200)]
Epigraph for 5.21.2

7 years agoMerge branch 'release-5.21.2' into blead
Abigail [Sun, 20 Jul 2014 14:16:38 +0000 (16:16 +0200)]
Merge branch 'release-5.21.2' into blead

Conflicts:
t/porting/libperl.t

7 years agoWarn against tmpfile, and mention perlclib.
Jarkko Hietaniemi [Sun, 20 Jul 2014 13:10:27 +0000 (09:10 -0400)]
Warn against tmpfile, and mention perlclib.

7 years agoSkip symbols for which Configure found no support.
Jarkko Hietaniemi [Sun, 20 Jul 2014 12:00:59 +0000 (08:00 -0400)]
Skip symbols for which Configure found no support.

7 years agoComments for dlopen.
Jarkko Hietaniemi [Sun, 20 Jul 2014 11:33:12 +0000 (07:33 -0400)]
Comments for dlopen.

7 years agoExpect sqrtl instead of sqrt if applicable.
Jarkko Hietaniemi [Sun, 20 Jul 2014 11:30:17 +0000 (07:30 -0400)]
Expect sqrtl instead of sqrt if applicable.

7 years agoAdjust 31e62fa1f35be3aceacc7fa62ce72d7131299a9a v5.21.2
Abigail [Sun, 20 Jul 2014 11:33:42 +0000 (13:33 +0200)]
Adjust 31e62fa1f35be3aceacc7fa62ce72d7131299a9a

It seems that 'sqrt' is not always called as a system call, in particular,
when compiling with -Dusemorebits

7 years agoAdd new release to perlhist
Abigail [Sun, 20 Jul 2014 02:08:08 +0000 (04:08 +0200)]
Add new release to perlhist

7 years agoAcknowledgement section of perldelta
Abigail [Sun, 20 Jul 2014 01:50:54 +0000 (03:50 +0200)]
Acknowledgement section of perldelta