4 months agoupdate perldiag tonyc/smartmatch
Tony Cook [Thu, 31 Jul 2014 07:10:11 +0000]
update perldiag

4 months agofix when autoreffing
Tony Cook [Thu, 31 Jul 2014 07:09:03 +0000]
fix when autoreffing

4 months agofix $foo ~~ /re/, autoref and forbid anything not permitted
Tony Cook [Thu, 31 Jul 2014 05:24:24 +0000]
fix $foo ~~ /re/, autoref and forbid anything not permitted

The "Smart Match 3" patch removed conversion of:

  $foo ~~ /bar/

to:

  $foo ~~ qr/bar/

which this change reinstates.

Also this reinstates auto-reffing of the left-hand argument so that
code like:

  @foo ~~ \&bar

will call bar(\@foo).

Unfortunately this can lead to:

  @foo ~~ "".\@foo

matching, since the left is auto-reffed, then stringified for comparison
with the string on the right.

Additionally, we forbid:

  $foo ~~ @bar       # compile-time
  $foo ~~ %bar       # compile-time
  $foo ~~ @bar[0.1]  # compile-time
  $foo ~~ @bar{0.1}  # compile-time
  $foo ~~ $otherref  # run-time, disallow any unblessed reference not
                     # a code or regexp

4 months agoadd experimental smart-matching against numbers
Tony Cook [Thu, 31 Jul 2014 00:40:24 +0000]
add experimental smart-matching against numbers

This causes some tests to fail because $foo ~~ /bar/ is currently
broken and is treated as $foo == ($_ =~ /bar/)

4 months agoNew whirled order for givwhen/last/next
Father Chrysostomos [Thu, 13 Sep 2012 07:18:28 +0000]
New whirled order for givwhen/last/next

given now responds to last and next.

break only breaks out of given, and does not complain about an
inner foreach.

when and default do an implicit regular next, not a ‘special’ next
that only breaks out of foreach() and given.

4 months agotoke.c: use goto to reduce repetitition
Father Chrysostomos [Wed, 12 Sep 2012 23:33:49 +0000]
toke.c: use goto to reduce repetitition

I couldn’t think of a name for the label that didn’t just repeat what
the code was doing (increment_lex_allbrackets_and_set_PL_expect), so I
gave it an arbitrary short name.

4 months agoSmart Match 3™
Father Chrysostomos [Wed, 12 Sep 2012 07:21:12 +0000]
Smart Match 3™

I was persuaded by Smylers’ argument concerning string equivalence:
<20120905143040.GZ1742@stripey.com>

But it is not too late for me to be overruled since this is not in
blead yet.

The list is:

      RHS type
   1. undef
   2. ~~ overloading
   3. reftype eq CODE
   4. reftype eq REGEXP
   5. fall back to eq

One question still remains:  Should undef ~~ "string" give a warning?
Currently it doesn’t, but neither does it call eq overloading on the
RHS if we actually have undef ~~ $overloaded_object_without_smartmatch.

This cannot be merged until we solve the fact that smart match
is used in:

cpan/autodie/lib/Fatal.pm
cpan/autodie/t/exceptions.t

This does not deal with loop controls yet, just smartmatch and the
smartmatch aspects of of givwhen.

4 months agoAvoid pack/unpack to produce the binary form of a utf8 string
Rafael Garcia-Suarez [Wed, 30 Jul 2014 14:40:46 +0000]
Avoid pack/unpack to produce the binary form of a utf8 string

4 months agoFix tabs in MANIFEST
Rafael Garcia-Suarez [Wed, 30 Jul 2014 14:13:20 +0000]
Fix tabs in MANIFEST

4 months agomake "require" handle no argument more gracefully, and add tests
Yves Orton [Wed, 30 Jul 2014 13:44:44 +0000]
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.

4 months agoUpdate HTTP-Tiny to CPAN version 0.047
Chris 'BinGOs' Williams [Wed, 30 Jul 2014 08:12:58 +0000]
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.

4 months agoUpdate CPAN-Meta to CPAN version 2.142060
Chris 'BinGOs' Williams [Wed, 30 Jul 2014 08:05:06 +0000]
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.

4 months agoSync Module-CoreList version after CPAN release
Chris 'BinGOs' Williams [Wed, 30 Jul 2014 07:57:06 +0000]
Sync Module-CoreList version after CPAN release

4 months agoMention sv_gets as the Perl-ish fgets-ish API.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:10:47 +0000]
Mention sv_gets as the Perl-ish fgets-ish API.

4 months agoAdd atol, atoll, strtoq to avoidables.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:36:44 +0000]
Add atol, atoll, strtoq to avoidables.

4 months agoAdd system to avoidables.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:09:34 +0000]
Add system to avoidables.

4 months agogrok_atou() is UV now, not Size_t.
Jarkko Hietaniemi [Tue, 29 Jul 2014 02:06:08 +0000]
grok_atou() is UV now, not Size_t.

4 months agoMove return false out of switch default.
Jarkko Hietaniemi [Tue, 29 Jul 2014 11:54:57 +0000]
Move return false out of switch default.

4 months agoNOTREACHED goes at/in the unreachable, not after it.
Jarkko Hietaniemi [Tue, 29 Jul 2014 01:02:21 +0000]
NOTREACHED goes at/in the unreachable, not after it.

4 months agoNegatives as UVs: sign-extension intentional, add cast.
Jarkko Hietaniemi [Tue, 29 Jul 2014 00:55:31 +0000]
Negatives as UVs: sign-extension intentional, add cast.

4 months agoRevert part of b844a53a to fix ./perl -Ilib t/io/fs.t
Jarkko Hietaniemi [Mon, 28 Jul 2014 23:30:13 +0000]
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.

4 months agoSkip ext/GDBM_File/t/fatal.t in Darwin, too flaky.
Jarkko Hietaniemi [Mon, 28 Jul 2014 19:52:56 +0000]
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).

4 months agoavoid passing large backreference numbers back as negative numbers
Tony Cook [Mon, 28 Jul 2014 06:40:49 +0000]
avoid passing large backreference numbers back as negative numbers

4 months agospell "SSize_t" correctly
Tony Cook [Mon, 28 Jul 2014 01:46:19 +0000]
spell "SSize_t" correctly

the same as the other place in that patch

4 months agoreadlink() result buffer is not zero-terminated.
Jarkko Hietaniemi [Sat, 26 Jul 2014 13:42:30 +0000]
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.

4 months agoPOSIX.pod: Document correct redirect for 'atexit'.
Lukas Mai [Sun, 27 Jul 2014 13:09:50 +0000]
POSIX.pod: Document correct redirect for 'atexit'.

For: RT #122412

4 months agoSimplify cppsym dash problem
H.Merijn Brand [Sat, 26 Jul 2014 19:43:54 +0000]
Simplify cppsym dash problem

4 months agoutf8.c: Use slightly more efficient macro
Karl Williamson [Fri, 25 Jul 2014 20:57:33 +0000]
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.

4 months agoperlop: Update to reflect 5.20 changes
Karl Williamson [Fri, 25 Jul 2014 20:56:46 +0000]
perlop: Update to reflect 5.20 changes

Some deprecations have become fatal in v5.20

4 months agoperlop: Nits
Karl Williamson [Fri, 25 Jul 2014 20:44:46 +0000]
perlop: Nits

4 months agoperlop: Update text to reflect code changes
Karl Williamson [Fri, 25 Jul 2014 17:31:26 +0000]
perlop: Update text to reflect code changes

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

4 months agoOnly use setenv() on Solaris if it is available.
Andy Dougherty [Fri, 25 Jul 2014 17:55:32 +0000]
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.

4 months agoConfigure: Handle hyphens when searching cpp symbols
Brian Fraser [Fri, 25 Jul 2014 17:46:41 +0000]
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.

4 months agoConfigure: Discard errors when testing for less -R
Brian Fraser [Fri, 25 Jul 2014 17:13:26 +0000]
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.

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

4 months agoMakefile.SH: Add missing files for make test on cross builds
Brian Fraser [Thu, 24 Jul 2014 13:54:30 +0000]
Makefile.SH: Add missing files for make test on cross builds

4 months agoMakefile.SH: Fix cross builds with -Uhostgenerate
Brian Fraser [Thu, 24 Jul 2014 13:53:52 +0000]
Makefile.SH: Fix cross builds with -Uhostgenerate

4 months agot/re/subst.t: Proper skip for systems without locale
Brian Fraser [Thu, 24 Jul 2014 13:53:17 +0000]
t/re/subst.t: Proper skip for systems without locale

4 months agopp.c: Fixed a quotemeta bug on perls built without locale.
Brian Fraser [Thu, 24 Jul 2014 13:51:35 +0000]
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.

4 months agoMake PERL_GLOBAL_STRUCT_PRIVATE visible in -V.
Jarkko Hietaniemi [Fri, 25 Jul 2014 00:20:56 +0000]
Make PERL_GLOBAL_STRUCT_PRIVATE visible in -V.

4 months agoUnused dVARs found by g++ -DPERL_GLOBAL_STRUCT_PRIVATE.
Jarkko Hietaniemi [Thu, 24 Jul 2014 23:31:04 +0000]
Unused dVARs found by g++ -DPERL_GLOBAL_STRUCT_PRIVATE.

4 months agoShare common constants as file statics.
Jarkko Hietaniemi [Thu, 24 Jul 2014 02:32:45 +0000]
Share common constants as file statics.

4 months agoUse UV instead of Size_t.
Jarkko Hietaniemi [Wed, 23 Jul 2014 14:38:50 +0000]
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.

4 months agoRemove flagging OP_READLINE with OPf_SPECIAL
Rafael Garcia-Suarez [Thu, 24 Jul 2014 11:26:10 +0000]
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.

4 months agoapidoc fixes, comment tweaks.
Jarkko Hietaniemi [Wed, 23 Jul 2014 14:01:08 +0000]
apidoc fixes, comment tweaks.

4 months agoVladimir Marek is now a perl author
Tony Cook [Wed, 23 Jul 2014 07:11:42 +0000]
Vladimir Marek is now a perl author

4 months agouse setenv() on Solaris
Vladimir Marek [Wed, 23 Jul 2014 07:05:59 +0000]
use setenv() on Solaris

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

4 months agoChad Granum is now a perl author
Tony Cook [Wed, 23 Jul 2014 03:51:30 +0000]
Chad Granum is now a perl author

4 months agoFix ok() that should be a like()
Chad Granum [Wed, 16 Jul 2014 06:10:37 +0000]
Fix ok() that should be a like()

4 months agoDelay loading Test::More
Chad Granum [Wed, 16 Jul 2014 06:10:20 +0000]
Delay loading Test::More

4 months agoFix legacy VMS feature checking status.
Craig A. Berry [Wed, 23 Jul 2014 01:38:29 +0000]
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.

4 months agoIntroduce maxend for paranoia. Also, comments.
Jarkko Hietaniemi [Tue, 22 Jul 2014 11:46:26 +0000]
Introduce maxend for paranoia.  Also, comments.

4 months agoAtol can be strtol in disguise, so grok_atou.
Jarkko Hietaniemi [Tue, 22 Jul 2014 01:29:22 +0000]
Atol can be strtol in disguise, so grok_atou.

4 months agoAdd strtoul and strtol to avoidables.
Jarkko Hietaniemi [Mon, 21 Jul 2014 19:16:33 +0000]
Add strtoul and strtol to avoidables.

4 months agoDocument grok_atou as strtoul replacement.
Jarkko Hietaniemi [Mon, 21 Jul 2014 19:15:42 +0000]
Document grok_atou as strtoul replacement.

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

4 months agoAdvertise grok_atou.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:56:49 +0000]
Advertise grok_atou.

4 months agoAdd atoi to avoidables.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:53:10 +0000]
Add atoi to avoidables.

4 months agoAdd tests for grok_atou.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:07:05 +0000]
Add tests for grok_atou.

4 months agoUse grok_atou instead of atoi.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:50:54 +0000]
Use grok_atou instead of atoi.

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

4 months agoImplement grok_atou as safe/strict atoi replacement.
Jarkko Hietaniemi [Mon, 21 Jul 2014 14:41:20 +0000]
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.

5 months agoUse %I64d instead of %lld for MinGW
Jan Dubois [Tue, 22 Jul 2014 23:50:24 +0000]
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

5 months agoperlexperiment mentions features a lot, refer to the feature module
Alberto Simões [Tue, 22 Jul 2014 23:44:25 +0000]
perlexperiment mentions features a lot, refer to the feature module

5 months ago_LIB_VERSION scan was trying leading address twice.
Jarkko Hietaniemi [Tue, 22 Jul 2014 21:22:57 +0000]
_LIB_VERSION scan was trying leading address twice.

Important with PERL_GLOBAL_STRUCT_PRIVATE.

5 months agoMention libperl.t, and explain nm output some more.
Jarkko Hietaniemi [Tue, 22 Jul 2014 12:13:24 +0000]
Mention libperl.t, and explain nm output some more.

5 months agoMove two variable assignments outside of parens.
James E Keenan [Tue, 22 Jul 2014 01:02:53 +0000]
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)

5 months agoOpen3.pm:spawn_with_handles remove alot of duplicate operators
Daniel Dragan [Sun, 13 Jul 2014 12:41:15 +0000]
Open3.pm:spawn_with_handles remove alot of duplicate operators

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

5 months agoAvoid undefined warnings.
Jarkko Hietaniemi [Tue, 22 Jul 2014 01:12:09 +0000]
Avoid undefined warnings.

5 months agoIn FreeBSD memcmp symbol can disappear.
Jarkko Hietaniemi [Mon, 21 Jul 2014 17:29:27 +0000]
In FreeBSD memcmp symbol can disappear.

5 months agosv.h: Document SVt_INVLIST fields
Karl Williamson [Mon, 21 Jul 2014 15:43:04 +0000]
sv.h: Document SVt_INVLIST fields

5 months agoutf8_heavy.pl: Fix nit in comment
Karl Williamson [Tue, 8 Jul 2014 16:29:13 +0000]
utf8_heavy.pl: Fix nit in comment

5 months agocpan/Time-HiRes/t/itimer.t: better diagnostics
David Mitchell [Mon, 21 Jul 2014 15:02:23 +0000]
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.

5 months agoDisallow importing functions from UNIVERSAL
Dagfinn Ilmari Mannsåker [Sun, 8 Jun 2014 00:37:32 +0000]
Disallow importing functions from UNIVERSAL

It's been deprecated since v5.12.

5 months agoRegen podcheck db for new long verbatims in perlepigraph
Karl Williamson [Sun, 20 Jul 2014 16:38:25 +0000]
Regen podcheck db for new long verbatims in perlepigraph

5 months agoperlop: Grammatical nit.
Karl Williamson [Tue, 15 Jul 2014 22:05:12 +0000]
perlop: Grammatical nit.

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

5 months agoUpped version numbers for ModuleList
Abigail [Sun, 20 Jul 2014 15:25:04 +0000]
Upped version numbers for ModuleList

5 months agoBump version number from 5.21.2 to 5.21.3
Abigail [Sun, 20 Jul 2014 15:12:05 +0000]
Bump version number from 5.21.2 to 5.21.3

5 months agoNew perldelta.
Abigail [Sun, 20 Jul 2014 14:51:11 +0000]
New perldelta.

5 months agoInstalling Inline no longer installs Inline::C.
Abigail [Sun, 20 Jul 2014 12:43:59 +0000]
Installing Inline no longer installs Inline::C.

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

5 months agoEpigraph for 5.21.2
Abigail [Sun, 20 Jul 2014 14:36:36 +0000]
Epigraph for 5.21.2

5 months agoMerge branch 'release-5.21.2' into blead
Abigail [Sun, 20 Jul 2014 14:16:38 +0000]
Merge branch 'release-5.21.2' into blead

Conflicts:
t/porting/libperl.t

5 months agoWarn against tmpfile, and mention perlclib.
Jarkko Hietaniemi [Sun, 20 Jul 2014 13:10:27 +0000]
Warn against tmpfile, and mention perlclib.

5 months agoSkip symbols for which Configure found no support.
Jarkko Hietaniemi [Sun, 20 Jul 2014 12:00:59 +0000]
Skip symbols for which Configure found no support.

5 months agoComments for dlopen.
Jarkko Hietaniemi [Sun, 20 Jul 2014 11:33:12 +0000]
Comments for dlopen.

5 months agoExpect sqrtl instead of sqrt if applicable.
Jarkko Hietaniemi [Sun, 20 Jul 2014 11:30:17 +0000]
Expect sqrtl instead of sqrt if applicable.

5 months agoAdjust 31e62fa1f35be3aceacc7fa62ce72d7131299a9a v5.21.2
Abigail [Sun, 20 Jul 2014 11:33:42 +0000]
Adjust 31e62fa1f35be3aceacc7fa62ce72d7131299a9a

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

5 months agoAdd new release to perlhist
Abigail [Sun, 20 Jul 2014 02:08:08 +0000]
Add new release to perlhist

5 months agoAcknowledgement section of perldelta
Abigail [Sun, 20 Jul 2014 01:50:54 +0000]
Acknowledgement section of perldelta

5 months agoListed updated modules.
Abigail [Sun, 20 Jul 2014 01:42:20 +0000]
Listed updated modules.

5 months agoUpdate Module::CoreList for 5.21.2
Abigail [Sun, 20 Jul 2014 01:05:59 +0000]
Update Module::CoreList for 5.21.2

5 months agoRevert "Update HTTP-Tiny to CPAN version 0.044"
Abigail [Sat, 19 Jul 2014 22:50:34 +0000]
Revert "Update HTTP-Tiny to CPAN version 0.044"

This reverts commit 43bf4e6652b9fc743b1dbbc5153ced8b08779e84.

HTTP::Tiny contains tests that requires a connection to www.example.com.
These tests fail if run behind a firewall.

5 months agoAdd fgets+tmpfile to avoidables, and add comments.
Jarkko Hietaniemi [Sat, 19 Jul 2014 14:03:15 +0000]
Add fgets+tmpfile to avoidables, and add comments.

5 months agoAdd freebsd support.
Jarkko Hietaniemi [Sat, 19 Jul 2014 13:51:38 +0000]
Add freebsd support.

5 months agoParsing linux input in darwin, and vice versa.
Jarkko Hietaniemi [Thu, 17 Jul 2014 10:23:21 +0000]
Parsing linux input in darwin, and vice versa.

5 months agoAdd comments.
Jarkko Hietaniemi [Wed, 16 Jul 2014 07:17:06 +0000]
Add comments.

5 months agoScan for expected and unwanted undef (libc) symbols.
Jarkko Hietaniemi [Sun, 13 Jul 2014 13:13:30 +0000]
Scan for expected and unwanted undef (libc) symbols.

We would expect to see e.g. chmod() being used,
but we do not want to see e.g. gets() being used, ever.

5 months agoSometimes Darwin has the string constants in cstring section.
Jarkko Hietaniemi [Mon, 14 Jul 2014 21:31:19 +0000]
Sometimes Darwin has the string constants in cstring section.

At least in OS X 10.7.

Resolves the darwin x86 part of RT #12267 (the failing PL_no_mem test).

5 months agotest.pl:eq_array() is enough.
Jarkko Hietaniemi [Sun, 13 Jul 2014 12:44:33 +0000]
test.pl:eq_array() is enough.

No bad is_deeply() emulation necessary.

5 months agoMore debugging output.
Jarkko Hietaniemi [Sun, 13 Jul 2014 06:00:58 +0000]
More debugging output.