| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Clean up a lot of the less efficient uses of various Perl
macros and functions, mostly from bulk88@hotmail.com. Also
deal with the fact that older Perl's were not handling locale
setting in a consistent manner. This means going back to the
less efficient but always correct method of ALWAYS copying the
old locale and switch to C and then restoring, for all Perl
releases prior to 5.19.0. Discontinue support for Perl's prior
to v5.6.2.
|
|
|
|
|
|
| |
On VMS only, because rarely but occasionally (such as with
perl5db.t) runperl produces multiple lines of output and they
all need the same treatment.
|
|
|
|
|
|
| |
We're getting newlines in between items, and the easiest way to
deal with it is make them explicit so we expect what we're getting
and it's done the same everywhere.
|
|
|
|
|
| |
On Android, all locales are simply disabled, which broke the assumption
that LC_TIME is always available.
|
| |
|
|
|
|
|
|
| |
If a platform has getppid() but not getconf and we're building a
threaded perl, this file would've shown undef warnings, although
no tests were affected.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is somewhat obscure. Previously, mod2fname would've tried
accessing $Config{dlext} each time it was called. The reason this
can be problematic is that mod2fname can be called during global destruction,
after %Config is freed but before its magic is. This was causing
Devel::GlobalDestruction's tests to fail on builds with -Dd_libname_unique.
This commit grabs the data we need when DynaLoader.pm is being built in
DynaLoader_pm.PL, so it no longer need to depend on %Config.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The Scalar::Util documentation has changed, so the links are broken.
But we cannot just update the link targets, as threads::shared is
living a double life and may be installed along with an older
Scalar::Util.
|
|
|
|
| |
for better splain output
|
| |
|
| |
|
|
|
|
|
| |
Using git's --attach with perlbug -f actually mangled the patches,
making them harder to apply, but now we have a better way to do it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Try to do input in whatever the locale wants and output raw in
hopes that will best survive mail transport.
Except when reading in a patch file, we'll also use raw for input
because there may be multiple encodings in the patch, and we'll
also use raw for input when reading in the report file that we've
written out raw.
We attempt to detect the locale encoding using the private and
undocumented _get_locale_encoding() function of the deprecated
encoding pragma module. But it's what the open pragma does and
we protect ourselves by checking that it's available and falling
back to an empty layer specification ("<:") if we can't load that
function. That should also give us something workable when there
is no dynamic loading, such as under miniperl.
|
|
|
|
|
|
|
|
|
|
|
| |
The VMS mail utility can't do attachments because it always adds
a blank line in front of any headers you add. So use the Send
From File utility, which has been documented and supported for
any release in the last decade and was latently present before
that.
It takes the whole message verbatim just like sendmail, but also
needs the envelope prepended.
|
|
|
|
|
|
|
|
|
|
|
| |
Log files and other text attachments should also be fine as long
as they aren't big enough to be rejected by RT.
Only text attachments are supported, as other kinds would involve
wrestling with myriad MIME types and possibly content transfer
encodings. This should be fine for binary patches, though, as
git format-patch encodes those in Base85, so the patch file itself
is still text.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This makes it so that the values for MEM_ALIGNBYTES and BYTEORDER
are taken from config.sh, instead of always getting a default.
|
| |
|
| |
|
|
|
|
|
| |
Such as when using user networking on qemu and redirecting a local port
to the emulator ssh
|
| |
|
|
|
|
| |
This doesn't seem to be of much use.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
If the user specified -Dsysroot but we don't use it, then the results can
be entirely off.
This also introduces an internal variable for Configure, _sysroot,
which is just "--sysroot=$sysroot", for use in places like checkccflags that
need --sysroot but don't need the other flags.
|
|
|
|
|
| |
This skip was added in 2001, but under the current model there's no
real reason to skip it.
|
| |
|
|
|
|
|
|
| |
Ditto with g++. This allows us to use, for example, ntox86-gcc or
x86_64-w64-mingw32-g++.exe to cross-compile, and have Configure detect
most things automatically.
|
|
|
|
|
| |
This means that osnames that look like *linux*, like linux-androideabi
or linux-gnueabihf are treated like linux systems.
|
|
|
|
|
| |
sv_buf_to_ro needs to be non-static because op.c uses it, but
sv_buf_to_rw is only called from sv.c.
|
|
|
|
|
|
|
|
|
| |
I broke the threaded build in b001a0d149 by assuming that sTHX was
always set to 0 when memory debug headers were not in use. That is
an easy assumption to make, so this commit makes that assumption true.
(And there is no reason it cannot be made true. There is no need for
sTHX to be set under PERL_IMPLICIT_CONTEXT but not PERL_TRACK_MEMPOOL,
where sTHX was not even used before b001a0d149.)
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This branch provides a PERL_DEBUG_READONLY_COW mode that turns COW
violations into crashes. It also add documentation to perlguts
explaining how to handle COW strings in XS code.
There are two ‘known’ failures in IO::Compress’ tests. A patch has
been sent upstream.
(Apologies to Gary Larson.)
|
| |
| |
| |
| |
| | |
No real simplification in terms of the number of #ifdefs, but more
readability (hopefully).
|
| |
| |
| |
| |
| | |
Under Linux, using mmap for all memory allocation stops working when we
get up to 70,000 lines of code. So just skip it.
|
| |
| |
| |
| |
| |
| |
| | |
Otherwise pp_uc (and presumably other pieces of code) will end up mod-
ifying shared buffers.
Brought to you by PERL_DEBUG_READONLY_COW.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
plus read-only documentation, since hysterically the two are
intertwined.
|