summaryrefslogtreecommitdiff
path: root/dist
Commit message (Collapse)AuthorAgeFilesLines
* Update Module::CoreList for 5.33.2Sawyer X2020-09-202-1/+132
|
* .PHONY is specific to Unix make utilities.Craig A. Berry2020-09-111-2/+4
| | | | | | And in MMS or MMK on VMS it's a syntax error. So only spell it with a dot when not using those utilities to run Devel::PPPort's Makefile.PL.
* Make security warnings in the Safe and Opcode modules more direct.John Lightsey2020-09-101-1/+8
| | | | | | | | | | | The current "no warranty" text warning against the use of Safe or Opcode for "security purposes" is somewhat ambiguous. These modules are not effective sandboxing mechanisms for evaluating untrusted perl code and should not be used in that manner. Safe and Opcode are, at best, hardening measures that could be used in combination with operating system level sandboxing of the perl interpreter.
* Stop implying "." belongs in $ENV{PATH}Tom Hukins2020-08-261-6/+7
| | | | | | | | Instead, use an arbitrary path that has less chance of encouraging people to allow the current directory in their path. This was prompted by #16951 and attached as a patch to that issue which was mistakenly closed without fixing the problem.
* Win32API::File::inc::ExtUtils::Myconst2perl is not indexedKaren Etheridge2020-08-201-3/+0
| | | | ..and Porting/corelist.pl warns about it
* add new Module::CoreList entriesKaren Etheridge2020-08-202-0/+26
|
* bump Module::CoreList versionKaren Etheridge2020-08-202-2/+2
|
* Update Module::CoreList for 5.33.1Karen Etheridge2020-08-201-4/+54
|
* dist/threads-shared: use PERL_VERSION compare macroNicolas R2020-08-172-3/+3
|
* dist/Data-Dumper: use PERL_VERSION compare macroNicolas R2020-08-171-19/+21
| | | | Convert one 'else if' statement to a '#if' check
* dist/Unicode-Normalize: use PERL_VERSION compare macroNicolas R2020-08-172-2/+2
|
* dist/IO: use PERL_VERSION compare macroNicolas R2020-08-171-3/+3
| | | | Note: VERSION was already bumped as part of e6aa2bc12e9cf0a0
* dist/ExtUtils-ParseXS: use PERL_VERSION compare macroNicolas R2020-08-175-7/+7
|
* bump $Data::Dumper::VERSIONTony Cook2020-08-161-2/+2
|
* Data::Dumper (XS): use mortals to prevent leaks if magic throwsTony Cook2020-08-161-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | For example: use Tie::Scalar; use Data::Dumper; sub T::TIESCALAR { bless {}, shift} sub T::FETCH { die } my $x; tie $x, "T" or die; while(1) { eval { () = Dumper( [ \$x ] ) }; } would leak various work SVs. I start a new scope (ENTER/LEAVE) for most recursive DD_dump() calls so that the work SVs don't accumulate on the temps stack, for example if we're dumping a large array we'd end up with several SVs on the temp stack for each member of the array. The exceptions are where I don't expect a large number of unreleased temps to accumulate, as with scalar or glob refs.
* make postav and valstr mortal so they're freed soonishTony Cook2020-08-161-3/+2
| | | | | | | | these can leak if the value being dumped (or any part of it) had get magic and that magic throws an exception. Several other SVs can also leak in that case, but cleaning those up is more complex.
* Data::Dumper: don't leak the working retvalTony Cook2020-08-161-4/+4
| | | | | do this by mortalizing the SV on creation, rather than when we push it on the stack
* skip flaky port test on windowsChristian Walde (Mithaldu)2020-08-152-2/+2
| | | | | | | | | | | Fix #17992 The test being skipped there is unreliable on windows. Possibly @leonerd has a better idea, but in the meantime I think it's fine to simply skip that one. (cherry picked from commit 10e96ffd8a056ee32854ea3dcb89d99d9411ac67) Signed-off-by: Nicolas R <atoomic@cpan.org>
* Update Devel-PPPort to release 3.60Nicolas R2020-08-1111-94/+134
| | | | | | This is mainly restoring the PERL_BCDVERSION macro. PERL_BCDVERSION is used by multiple CPAN distributions and should not have been renamed.
* IO::Handle: Fix a spurious error reported for regular file handlesPetr Písař2020-08-102-3/+11
| | | | | | | | | | | | | | | | | 89341f87 fix for GH #6799 introduced a regression when calling error() on an IO::Handle object that was opened for reading a regular file: $ perl -e 'open my $f, q{<}, q{/etc/hosts} or die; print qq{error\n} if $f->error' error In case of a regular file opened for reading, IoOFP() returns NULL and PerlIO_error(NULL) reports -1. Compare to the case of a file opened for writing when both IoIFP() and IoOFP() return non-NULL, equaled pointer. This patch fixes handling the case of the NULL output stream. GH #18019
* Update Devel-PPPort to release 3.59Nicolas R2020-08-10269-6447/+8463
| | | | | Note that test files are not under file version control anymore as they are generated files.
* Time-HiRes uses PERL compare macroNicolas R2020-08-101-1/+1
|
* Time-HiRes: update Changes and promote github URLsNicolas R2020-08-102-3/+17
|
* Restore 'our $VERSION' as a single line☢ ℕicolas ℝ2020-08-031-2/+1
| | | | | | | | | | This was changed recently to avoid potential warnings when using the variable outside of a BEGIN block. As this is a non issue at this date, let's restore the original syntax to avoid breaking poor man parsing for VERSION which can exist somewhere. References: #18024
* threads: use PERL_VERSION compare macrosNicolas R2020-08-032-11/+11
| | | | | | | Use new core PERL_VERSION compare macros. When bumping thread with this change we would need to make sure to use the last version of ppport.h
* Storable: use PERL_COMPARE macrosNicolas R2020-08-033-52/+51
| | | | | | When bumping Storable with this change we would need to make sure to use the last version of ppport.h
* Devel-PPPort: Bump to upstream at 7180c297Nicolas R2020-08-0260-641/+746
| | | | | | | | | These changes from Devel-PPPort are adding support for Perl 7.0 and fixes the testsuite with a Perl 7.0.0 binary. We would have to publish a new version of Devel-PPPort.
* Full revert of 894d8b10212a906402f4db9f9aac9efe9fa084fdNicolas R2020-07-301-1/+1
|
* Revert "Small changes to test on bugzilla and improve compatibility"Nicolas R2020-07-302-2/+2
| | | | | | | This is a partial revert to remove utf8->import which breaks Storable This reverts commit 894d8b10212a906402f4db9f9aac9efe9fa084fd.
* Time-HiRes: Remove obsolete vms codeKarl Williamson2020-07-301-187/+8
| | | | | | This code became irrelevant in 1996. See https://github.com/Perl/perl5/pull/17658#pullrequestreview-377796612
* Use quoted strings to compare 5.031006 in Safe.pmTodd Rinaldo2020-07-301-1/+1
|
* Do not load utf8_heavy.pl in Safe.pm above 5.31.6Todd Rinaldo2020-07-301-1/+1
| | | | | This is a fixup for #17969 which wanted to load utf8_heavy.pl but it is no longer available as of 5.31.6
* corelist - print a better error message if unknown versions are passed to ↵Dan Book2020-07-302-2/+10
| | | | corelist --diff
* Update Net-Ping from 2.72 to 2.73Nicolas R2020-07-302-19/+36
| | | | | | | Fix #17992 This is preserving customized tests and mark them as customized.
* put version directly in Exporter::HeavyGraham Knop2020-07-303-3/+8
| | | | | | | | | | | Modules should have their version number directly in the module, not try to pull it in from another module. The Exporter module that would be loaded may not correspond to the Exporter::Heavy that is having its version checked. Generally, pulling a version from another module would fail on something like PAUSE or a CPAN client, but because Exporter is probably already loaded, the old code would usually just pick the version of the currently installed Exporter, rather than the one corresponding to the Exporter::Heavy module that is being checked.
* IO::Socket::UNIX: synchronize behavior with module documentation (#17787)vividsnow2020-07-301-1/+5
| | | | | | | | * synchronize behavior with module documentation IO::Socket docs states that passing Blocking => 0 will be set socket to non-blocking mode * Update AUTHORS * bump version
* bump IO to 1.44Tony Cook2020-07-301-0/+13
| | | | and update the ChangeLog
* IO::Handle: clear the error on both input and output streamsTony Cook2020-07-302-6/+16
| | | | | Similarly to GH #6799 clearerr() only cleared the error status of the input stream, so clear both.
* make $fh->error report errors from both input and outputTony Cook2020-07-302-5/+26
| | | | | | | | | | | | For character devices and sockets perl uses separate PerlIO objects for input and output so they can be buffered separately. The IO::Handle::error() method only checked the input stream, so if a write error occurs error() would still returned false. Change this so both the input and output streams are checked. fixes #6799
* Small changes to test on bugzilla and improve compatibilityRyan Voots2020-07-302-2/+2
|
* Bump Safe.pm version with changeRyan Voots2020-07-301-2/+2
|
* Update Safe.pm to use tr/// to trigger loading utf8_heavy.pl.Ryan Voots2020-07-302-6/+2
| | | | Fixes GH #17271
* use absolute paths in ExtUtils::ParseXS tests on all platformsGraham Knop2020-07-303-11/+10
| | | | | | | | System perl on macOS also doesn't like linking libraries using relative paths. The tests for ExtUtils::ParseXS already converted to absolute paths on android, but it doesn't hurt to do that on all platforms. Remove the platform conditional, and update the comment.
* GNU/Hurd doesn't support SO_PROTOCOLSamuel Thibault2020-07-301-2/+2
|
* Merge branch 'blead' of github.com:Perl/perl5 into bleadSawyer X2020-07-1821-96/+100
|\
| * dist/IO no indirect, strict & warningsNicolas R2020-07-1718-73/+79
| | | | | | | | | | Make sure dist/IO is not using indirect calls.
| * Time-HiRes: Use core version compareKarl Williamson2020-07-172-7/+1
| | | | | | | | This had its own copy of some macros that are now in core.
| * Dumpvalue.t: Tighten scope of package variables.James E Keenan2020-07-171-16/+20
| | | | | | | | | | | | | | | | | | Rename some variables for clarity. In one place, get() is returning a list, so we should test for contents of list (via Test::More::is_deeply) rather than for string equality. Signed-off-by: James E Keenan <jkeenan@cpan.org>
* | Bump the perl version in various places for 5.33.1Sawyer X2020-07-183-2/+31
|/
* Update Module::CoreList for 5.33.0Sawyer X2020-07-173-4/+7
|