| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Distro trends to customize @INC, and to maintain
patches to change the order of @INC or add custom entries.
The goal of this patch is to abstract calls to 'S_incpush_use_sep'
and simplify reordering @INC.
This commit makes the code from perl.c more comfortable to read
by introducing several 'INCPUSH_*' macros for every
'S_incpush_use_sep' call so we can easily reorder them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RT #132406
Avoid loading Config/Config_heavy from Storable.
Make Storable.pm a template file and check
if the system can use flock at compile time.
__Storable__.pm is the template file to edit,
whereas Storable.pm.PL is the script generating
Storable.pm from __Storable__.pm.
Using a separate file for the template make it
easier to edit.
Also note that Storable.pm is now ignored by git.
|
|
|
|
|
|
|
|
|
| |
When running this test under heavy load
we cannot assume the delta between two system calls...
even when using a (nano)sleep
Most Continuous Integration system will fail on this
test at one point or the other.
|
|
|
|
|
|
| |
On VMS, pipes often introduce extra newlines, so the test
infrastructure deduplicates them, which then makes it impossible
to check for more than one. So just check for one or more.
|
|
|
|
|
| |
run brew update before installing ccache
use TRAVIS_OS_NAME macro to check os
|
|
|
|
|
|
|
|
|
|
|
| |
Add plan to porting/authors.t
skip_plan was used but no plan or tap output was defined.
When the test is run by TravisCI, use a shorten
revision range. We do not want to have a pull request impacted
by the previous state of blead, and we do not want to check
the merge commit from travis which is using the github author
primary email address.
|
|
|
|
|
| |
Remove special logic for windows by using 'qx'.
Allow test to be run from main root directory.
|
|
|
|
|
|
|
|
| |
RT 132080: Remove perl 5.006 compatibilities with DynaLoader and use
XSLoader directly.
The traditional boiler plate to use XSLoader for Perl > 5.006 or
DynaLoader, does not make sense for core modules in perl 5.28+.
|
|
|
|
| |
in Perl
|
|
|
|
|
|
| |
- builds are now using ccache
- use multiline syntax for main script
- irc notifications are now enabled and sent to #p5p-qa channel
|
|
|
|
|
|
| |
Avoid duplicate definition of install.man and install.html
targets. We could then use in a later commit a Configure option
to disable doc installation on demand.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[DELTA]
1.23 Mon Nov 13 19:10:28 2017
- Now UCA_Version 36 (for Unicode 10.0.0) is supported.
* But the default UCA_Version is still 34.
- added nushu.t in t.
1.22 Sat Nov 11 10:53:35 2017
- internal: someone suggests using 'exists' for checking the truth of
$collator->{mapping}{$variable} and $collator->{maxlength}{$variable},
where $variable may stand for codepoints whose mapping is not defined;
though such a problem was not reproduced on my environment.
|
|
|
|
| |
Reported by geospeck
|
|
|
|
|
|
| |
$@ could be clobbered by source filters, screwing up the reporting of
errors in the filtered source. Prevent this by localising $@ around
each call to a source filter. Fixes [perl #38920].
|
|
|
|
|
|
|
| |
Change it from unsigned to unsigned since it makes the SP-adjusting code
in pp_multiconcat easier without hitting undefined behaviour (RT #132390);
and change its size from UV to SSize_t since it represents the number
of args on the stack.
|
|
|
|
|
|
|
| |
This part of the op_aux union was added for OP_MULTICONCAT; its actually
of type SSize_t, so rename it to ssize to better reflect that it's signed.
This should make no functional difference.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This file of old incorrectly had both
use vars '$Config_SH_expanded';
and
our $Config_SH_expanded;
lines. After a recent commit which did s/use vars/our/g, the duplicate
'our' declaration started warning.
|
|
|
|
|
|
|
|
|
| |
Configure … -Dman1dir=none -Dman3dir=none …
→
installman1dir=''
installman3dir=''
|
|
|
|
|
|
| |
Reduce Newxz() to Newx() where all relevant parts of the memory are
being explicitly initialised, and don't explicitly zero memory that was
already zeroed. [perl #36078]
|
| |
|
|
|
|
|
|
|
|
| |
The index in a SAVEt_AELEM save entry is now IV-sized, but only an I32
portion of it was being duplicated. This would lead to restoring the
wrong element if a pseudfork were done with a localised array element
on the stack, if the array index were above the 32-bit range or on a
big-endian architecture.
|
|
|
|
|
|
|
|
|
| |
If sysconf() failed to provide the page size, there was an attempt to
panic with an error message. But rather than generate an error message
from errno, the code would attempt to read it from ERRSV. Not only had
nothing put the error message into ERRSV, but the glob behind ERRSV
didn't even exist yet, so attempting to evaluate ERRSV would segv.
Change this to use Strerror() and never touch ERRSV. [perl #115880]
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If Time::HiRes exists and has utime support for setting hires
utime, use that so cross-device moves can keep time accurately.
Used by autoconf.
|
| |
| |
| |
| |
| |
| | |
The sprintf offset calculation was assigning to the 'uv' field of the
aux union, while the code was reading from the 'size' field, which leads
to all zeroes when sizeof(uv) > sizeof(size_t) on a big-endian system.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When giving a function-style prototype for a macro taking a literal string
parameter, put a string literal in place of a type for that parameter.
This goofy appearance makes it obvious that this isn't really a function,
and clues the reader in that the parameter can't actually be an arbitrary
expression of the right type. Also change the nonsensical "NUL-terminated
literal string" to "literal string" to describe these parameters.
Fixes [perl #116286].
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
do()ing a directory was returning false/empty string in $!, which isn't
an error, yet documentation says $! should have the error code in it.
Fix this by returning EISDIR for dirs, and EINVAL for block devices.
[perl #125774]
Remove "errno = 0" and comment added in b2da7ead68, since now there is no
scenario where errno is uninitialized, since the dir and block device
failure branches now set errno, where previously they didn't.
|
| |
| |
| |
| |
| | |
Reading errno can involve calling a function and indirecting through
its result, so cache the value of errno where possible. [perl #122096]
|
| |
| |
| |
| |
| | |
The gcc warning was already suppressed, but clang needs a different
formulation.
|
| |
| |
| |
| | |
This fixes t/porting/globvar.t.
|
| | |
|
| |
| |
| |
| | |
This reverts commit 6eed25e2537643b77650cb3e4514ec9dc2e97d74.
|
| |
| |
| |
| | |
This reverts commit 004073bac990d90244eb463f435c52d4040b36df.
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| | |
Incidentally remove the ->_cwd method from the subclassing interface of
File::Spec::Unix, in favour of direct calls to Cwd::getcwd().
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We previously used a lossy conversion of inode numbers to floating point,
where they're too big to fit the IV/UV format. That sucks; a rounded
inode number is nearly useless. Instead, fall back to returning a
string of decimal digits. That preserves the entire value, for code
that looks at it in the right way, and collapses to the former fallback
in other situations.
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | | |
then run ./regen_perly.pl to update perly files
|
| | | |
|