This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoPVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so moving
Nicholas Clark [Mon, 20 Feb 2006 17:48:21 +0000 (17:48 +0000)]
PVFMs don't need CvDEPTH, and PVCVs don't use SvIVX, so moving
xcv_depth into the IV union saves 4(ish) bytes per CV and format.
"ish" because it was a long, but has been changed to I32 (along with
the corresponding field in struct block_sub) so as not to enlarge the
IV union on platforms where sizeof(long) > sizeof(IV), or struct
block_sub where sizeof(long) > sizeof(I32)

p4raw-id: //depot/perl@27247

15 years agoFix sv_dump to dump formats without the (non-existent) NVX.
Nicholas Clark [Mon, 20 Feb 2006 14:01:59 +0000 (14:01 +0000)]
Fix sv_dump to dump formats without the (non-existent) NVX.

p4raw-id: //depot/perl@27245

15 years agoxcv_root and xcv_xsub can also be merged into a union, providing a new
Nicholas Clark [Mon, 20 Feb 2006 13:42:47 +0000 (13:42 +0000)]
xcv_root and xcv_xsub can also be merged into a union, providing a new
flag is added to denote whether the PVCV is perl or XSUB.

p4raw-id: //depot/perl@27244

15 years agoxcv_start and xcv_xsubany can be merged into a union, as they are never
Nicholas Clark [Mon, 20 Feb 2006 11:54:38 +0000 (11:54 +0000)]
xcv_start and xcv_xsubany can be merged into a union, as they are never
both needed.

p4raw-id: //depot/perl@27243

15 years agoNeed to clear CvXSUBANY() too to turn a constant sub into a prototype.
Nicholas Clark [Mon, 20 Feb 2006 11:54:03 +0000 (11:54 +0000)]
Need to clear CvXSUBANY() too to turn a constant sub into a prototype.

p4raw-id: //depot/perl@27242

15 years agoAdd a new CvISXSUB() macro, for abstracting the test as to whether a
Nicholas Clark [Mon, 20 Feb 2006 10:40:59 +0000 (10:40 +0000)]
Add a new CvISXSUB() macro, for abstracting the test as to whether a
PVCV is perl or XS.

p4raw-id: //depot/perl@27241

15 years agoAbolish BROKEN_UNION_INIT in B::C, as it works around problems in
Nicholas Clark [Mon, 20 Feb 2006 10:10:11 +0000 (10:10 +0000)]
Abolish BROKEN_UNION_INIT in B::C, as it works around problems in
pre-ANSI C compilers, but pays in code duplication.

p4raw-id: //depot/perl@27240

15 years agopatch@27236 vms glob/readdir/chdir EFS/long filename support
John E. Malmberg [Mon, 20 Feb 2006 03:43:00 +0000 (03:43 +0000)]
patch@27236 vms glob/readdir/chdir EFS/long filename support
Message-ID: <43F92CE6.5040704@qsl.net>

p4raw-id: //depot/perl@27239

15 years agoMore NullXXX macro removal from Andy Lester
Rafael Garcia-Suarez [Mon, 20 Feb 2006 09:26:15 +0000 (09:26 +0000)]
More NullXXX macro removal from Andy Lester

p4raw-id: //depot/perl@27238

15 years agoYitzchak points out that the perldiag entry for "Integer overflow in
Rafael Garcia-Suarez [Mon, 20 Feb 2006 08:54:22 +0000 (08:54 +0000)]
Yitzchak points out that the perldiag entry for "Integer overflow in
division" is no longer useful.

p4raw-id: //depot/perl@27237

15 years agoutftaint.t won't be able to run tests with -T if you have
Nicholas Clark [Mon, 20 Feb 2006 00:36:34 +0000 (00:36 +0000)]
utftaint.t won't be able to run tests with -T if you have
Insecure directory in $ENV{PATH}
so skip them. (Probably this means you have . in your PATH)

p4raw-id: //depot/perl@27236

15 years agoRemove the last (U16) cast for CV depths, missed by change 17835.
Nicholas Clark [Mon, 20 Feb 2006 00:21:09 +0000 (00:21 +0000)]
Remove the last (U16) cast for CV depths, missed by change 17835.

p4raw-id: //depot/perl@27235

15 years agoRe-order CV flags to bring the 4 CVf_BUILTIN_ATTRS into adjacent bits,
Nicholas Clark [Mon, 20 Feb 2006 00:02:53 +0000 (00:02 +0000)]
Re-order CV flags to bring the 4 CVf_BUILTIN_ATTRS into adjacent bits,
and make other flag bits that are paired in the code adjacent.
Will produce tighter code on ARM; might help on other platforms too.

p4raw-id: //depot/perl@27234

15 years agoMinistry of Truth removes typo in description of Change 26166.
Nicholas Clark [Sun, 19 Feb 2006 23:59:52 +0000 (23:59 +0000)]
Ministry of Truth removes typo in description of Change 26166.
Change 26166 was correct from the start.
Nothing to see. Move along.
We thank Big Brother for raising the chocolate ration to 20g per week.

p4raw-id: //depot/perl@27233

15 years agoShave sizeof(NV) bytes from formats, by using the same offset
Nicholas Clark [Sun, 19 Feb 2006 22:35:24 +0000 (22:35 +0000)]
Shave sizeof(NV) bytes from formats, by using the same offset
manoeuvre as PVs, PVIVs, PVAVs and PVHVs.

p4raw-id: //depot/perl@27231

15 years agoAVs and HVs don't have IVXs or NVXs, so assert this too.
Nicholas Clark [Sun, 19 Feb 2006 20:30:24 +0000 (20:30 +0000)]
AVs and HVs don't have IVXs or NVXs, so assert this too.

p4raw-id: //depot/perl@27230

15 years agoUnder -DDEBUGGING, assert that SvIVX, SvUVX and SvNVX aren't being
Nicholas Clark [Sun, 19 Feb 2006 20:10:34 +0000 (20:10 +0000)]
Under -DDEBUGGING, assert that SvIVX, SvUVX and SvNVX aren't being
used on scalars that don't have the memory allocated. Correct
SvSTASH and SvMAGIC to only evaluate the sv argument once.

p4raw-id: //depot/perl@27229

15 years agoTo make arithmetic on tainted dualvars work properly requires that
Nicholas Clark [Sun, 19 Feb 2006 18:57:35 +0000 (18:57 +0000)]
To make arithmetic on tainted dualvars work properly requires that
sv_2nv uses SvIVX in preference to SvPVX, if SVp_IOK is true.

p4raw-id: //depot/perl@27228

15 years agoSvROK(sv) will never be true when SvIOKp() or SvNOKp() is true, so the
Nicholas Clark [Sun, 19 Feb 2006 12:14:15 +0000 (12:14 +0000)]
SvROK(sv) will never be true when SvIOKp() or SvNOKp() is true, so the
code inside the if() test in sv_2pv_flags is dead and can be removed.

p4raw-id: //depot/perl@27227

15 years agoAs Anno Siegel points out, mtime/ctime test should be skipped
Rafael Garcia-Suarez [Sat, 18 Feb 2006 20:13:51 +0000 (20:13 +0000)]
As Anno Siegel points out, mtime/ctime test should be skipped
on OS X on HFS+.

p4raw-id: //depot/perl@27223

15 years agosave_re_context() and even errsv_save = newSVsv(ERRSV); can turn
Nicholas Clark [Sat, 18 Feb 2006 19:01:48 +0000 (19:01 +0000)]
save_re_context() and even errsv_save = newSVsv(ERRSV); can turn
PL_tainted back on, so defer turning if off as late as possible.
This gets lib/locale.t working once more.

p4raw-id: //depot/perl@27222

15 years agoTurn of tainting locally inside swash_init(), as the internal
Nicholas Clark [Sat, 18 Feb 2006 18:23:43 +0000 (18:23 +0000)]
Turn of tainting locally inside swash_init(), as the internal
implementation of the regexp engine has nothing to do with user data,
so when and where it happens to call require is agnostic of the current
expression's taintedness.

p4raw-id: //depot/perl@27221

15 years agoAssume that if runperl is called under tainting, that the caller really
Nicholas Clark [Sat, 18 Feb 2006 18:22:13 +0000 (18:22 +0000)]
Assume that if runperl is called under tainting, that the caller really
really wanted to run perl, so brute force untaint everything.

p4raw-id: //depot/perl@27220

15 years agoConvert utftaint.t to test.pl (from Test.pm) and provide it with
Nicholas Clark [Sat, 18 Feb 2006 17:38:38 +0000 (17:38 +0000)]
Convert utftaint.t to test.pl (from Test.pm) and provide it with
tainted() from taint.t to remove the dependency on Scalar::Util.
(So it will now work with miniperl)

p4raw-id: //depot/perl@27219

15 years agoUpgrade to Digest-SHA-5.34.
Steve Peters [Sat, 18 Feb 2006 12:58:49 +0000 (12:58 +0000)]
Upgrade to Digest-SHA-5.34.

p4raw-id: //depot/perl@27218

15 years agoarena-rework : consolidated patch
Jim Cromie [Mon, 13 Feb 2006 14:12:41 +0000 (07:12 -0700)]
arena-rework : consolidated patch
Message-ID: <43F0F649.9040205@gmail.com>

Tweaked somewhat to split the arena boolean from the arena_size,
and with the PTE still doubling-up with one of the SV types in the
array.

p4raw-id: //depot/perl@27215

15 years agoRe: Smoke [5.9.4] 27195 FAIL(m) irix 6.2 (IP22/1 cpu)
Abe Timmerman [Fri, 17 Feb 2006 23:58:23 +0000 (00:58 +0100)]
Re: Smoke [5.9.4] 27195 FAIL(m) irix 6.2 (IP22/1 cpu)
Message-Id: <200602172358.23977.abe@ztreet.demon.nl>
Date: Fri, 17 Feb 2006 23:58:23 +0100

p4raw-id: //depot/perl@27214

15 years agoThe two whitespace changes from
Jim Cromie [Mon, 13 Feb 2006 14:12:41 +0000 (07:12 -0700)]
The two whitespace changes from

Subject: arena-rework : consolidated patch
Message-ID: <43F0F649.9040205@gmail.com>
Date: Mon, 13 Feb 2006 14:12:41 -0700

p4raw-id: //depot/perl@27213

15 years agoDon't add -fPIC if already present.
Brendan O'Dea [Sat, 11 Feb 2006 00:37:15 +0000 (11:37 +1100)]
Don't add -fPIC if already present.

Subject: [PATCH] 5.8.8: Debian patches
From: "Brendan O'Dea" <bod@debian.org>
Message-ID: <20060210133715.GA6826@londo.c47.org>

p4raw-id: //depot/perl@27212

15 years agoFix precedence.
Brendan O'Dea [Sat, 11 Feb 2006 00:37:15 +0000 (11:37 +1100)]
Fix precedence.

Subject: [PATCH] 5.8.8: Debian patches
From: "Brendan O'Dea" <bod@debian.org>
Message-ID: <20060210133715.GA6826@londo.c47.org>

p4raw-id: //depot/perl@27211

15 years agoFix quote typo.
Brendan O'Dea [Sat, 11 Feb 2006 00:37:15 +0000 (11:37 +1100)]
Fix quote typo.

Subject: [PATCH] 5.8.8: Debian patches
From: "Brendan O'Dea" <bod@debian.org>
Message-ID: <20060210133715.GA6826@londo.c47.org>

p4raw-id: //depot/perl@27210

15 years agoIn TODO: make encoding.pm lexical ?
Rafael Garcia-Suarez [Fri, 17 Feb 2006 15:48:59 +0000 (15:48 +0000)]
In TODO: make encoding.pm lexical ?

p4raw-id: //depot/perl@27209

15 years agocleaning up perly.c
Andy Lester [Sun, 12 Feb 2006 23:04:56 +0000 (17:04 -0600)]
cleaning up perly.c
Message-ID: <20060213050455.GA27993@petdance.com>

p4raw-id: //depot/perl@27208

15 years agoRe: Perl_sighandler voodoo (was Re: Smoke [5.8.7] 26127 FAIL(XF) MSWin32 WinXP/.Net...
Robin Houston [Sun, 27 Nov 2005 00:43:13 +0000 (00:43 +0000)]
Re: Perl_sighandler voodoo (was Re: Smoke [5.8.7] 26127 FAIL(XF) MSWin32 WinXP/.Net SP2 (x86/2 cpu))
Message-ID: <20051127004313.GA7007@rpc142.cs.man.ac.uk>

Simplification of the code in my_exit_jump() that unwinds context
stacks

p4raw-id: //depot/perl@27207

15 years agoRe: [perl #38485] use integer; 0x80000000/-1; # coredump
Yitzchak Scott-Thoennes [Mon, 13 Feb 2006 01:39:25 +0000 (17:39 -0800)]
Re: [perl #38485] use integer; 0x80000000/-1; # coredump
Message-ID: <20060213093925.GA3476@efn.org>

p4raw-id: //depot/perl@27205

15 years agoRe: how to build with -DPERL_MEM_LOG ?
Andy Dougherty [Fri, 3 Feb 2006 11:55:58 +0000 (06:55 -0500)]
Re: how to build with -DPERL_MEM_LOG ?
Message-ID: <Pine.SOC.4.62.0602031129530.9630@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@27204

15 years agoProblem compiling swigged c++ code with 5.8.8
Merijn Broeren [Wed, 15 Feb 2006 13:51:49 +0000 (14:51 +0100)]
Problem compiling swigged c++ code with 5.8.8
Message-ID: <20060215125148.GA12535@brugman.iloquent.nl>

p4raw-id: //depot/perl@27203

15 years agoUpgrade to CGI-3.16, with version bump on CGI.pm for documentation
Steve Peters [Thu, 16 Feb 2006 12:54:08 +0000 (12:54 +0000)]
Upgrade to CGI-3.16, with version bump on CGI.pm for documentation
fixes not yet integrated.

p4raw-id: //depot/perl@27202

15 years agoRemove lib/Hash directory when doing make distclean
Rafael Garcia-Suarez [Thu, 16 Feb 2006 12:47:13 +0000 (12:47 +0000)]
Remove lib/Hash directory when doing make distclean

p4raw-id: //depot/perl@27201

15 years agostat() on Windows doesn't handle trailing slashes/backslashes correctly
Jan Dubois [Wed, 15 Feb 2006 17:19:29 +0000 (09:19 -0800)]
stat() on Windows doesn't handle trailing slashes/backslashes correctly
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <017901c63297$08e1e3f0$2217a8c0@candy>

p4raw-id: //depot/perl@27200

15 years ago[patch] t/lib/warnings/pp_sys
Paul Green [Wed, 15 Feb 2006 11:09:57 +0000 (06:09 -0500)]
[patch] t/lib/warnings/pp_sys
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <F5F42E77A43DD944B6D664B00A5401CB011A19AF@EXNA.corp.stratus.com>

p4raw-id: //depot/perl@27199

15 years agoCPAN::FirstTime can go as well from the untested module list
Rafael Garcia-Suarez [Thu, 16 Feb 2006 11:40:42 +0000 (11:40 +0000)]
CPAN::FirstTime can go as well from the untested module list

p4raw-id: //depot/perl@27198

15 years agoPod::Plainer is tested, actually (spotted by chromatic)
Rafael Garcia-Suarez [Thu, 16 Feb 2006 11:38:00 +0000 (11:38 +0000)]
Pod::Plainer is tested, actually (spotted by chromatic)

p4raw-id: //depot/perl@27197

15 years agoMake XCOPY not prompt every two seconds when rebuilding on Win32
Yves Orton [Mon, 13 Feb 2006 09:41:37 +0000 (10:41 +0100)]
Make XCOPY not prompt every two seconds when rebuilding on Win32
Message-ID: <9b18b3110602130041q2d64122am5c83392dd75e0413@mail.gmail.com>

p4raw-id: //depot/perl@27195

15 years agoGet perl_fini() running on HP-UX again.
Gisle Aas [Wed, 15 Feb 2006 15:25:36 +0000 (15:25 +0000)]
Get perl_fini() running on HP-UX again.
It was effectively disabled by change 24667 since
__ux_version is only available under DCE threads
which isn't used when perl is built on HP-UX 11
and later.

p4raw-id: //depot/perl@27194

15 years agoFix to run this test in the core
Rafael Garcia-Suarez [Wed, 15 Feb 2006 13:22:27 +0000 (13:22 +0000)]
Fix to run this test in the core

p4raw-id: //depot/perl@27193

15 years ago[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.84.tar.gz
Andreas König [Wed, 15 Feb 2006 09:19:56 +0000 (10:19 +0100)]
[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.84.tar.gz
Message-ID: <87oe19owyb.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@27192

15 years agoAdded hints/dragonfly.sh for #27189
H.Merijn Brand [Wed, 15 Feb 2006 09:11:12 +0000 (09:11 +0000)]
Added hints/dragonfly.sh for #27189

p4raw-id: //depot/perl@27190

15 years agoPatch for perl to compile/work on DragonFlyBSD
Robert Sebastian Gerus [Tue, 14 Feb 2006 17:27:52 +0000 (18:27 +0100)]
Patch for perl to compile/work on DragonFlyBSD
Message-ID: <4a1e16420602140827w17fd6595w@mail.gmail.com>

p4raw-id: //depot/perl@27189

15 years agopatch@27162 long path name support in readdir / cando_by_name
John E. Malmberg [Sun, 12 Feb 2006 15:24:58 +0000 (10:24 -0500)]
patch@27162 long path name support in readdir / cando_by_name
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <43EF999A.1020500@qsl.net>

p4raw-id: //depot/perl@27187

15 years agoVersion bump to go along with change #27185
Steve Peters [Wed, 15 Feb 2006 02:55:13 +0000 (02:55 +0000)]
Version bump to go along with change #27185
p4raw-link: @27185 on //depot/perl: 70e28ff32415da9c0786352e034cc6de6db9ec65

p4raw-id: //depot/perl@27186

15 years agoGetopt::Long::Configure 'no_getopt_compat'
Abigail [Tue, 14 Feb 2006 23:58:07 +0000 (00:58 +0100)]
Getopt::Long::Configure 'no_getopt_compat'
Message-ID: <20060214225806.GA4120@abigail.nl>

p4raw-id: //depot/perl@27185

15 years agoBack out change change 10214 (drop SVp_IOK from >> PRIVSHIFT) as it
Nicholas Clark [Tue, 14 Feb 2006 23:42:45 +0000 (23:42 +0000)]
Back out change change 10214 (drop SVp_IOK from >> PRIVSHIFT) as it
never felt quite correct, and other parts of the SV conversion
implementation have improved such that the symptoms 10214 covered
over are gone even without it.

p4raw-id: //depot/perl@27184

15 years agoUpgrade to Time-HiRes-1.87
Steve Peters [Tue, 14 Feb 2006 17:50:06 +0000 (17:50 +0000)]
Upgrade to Time-HiRes-1.87

p4raw-id: //depot/perl@27182

15 years agoHash::Util tests should check if Hash::Util has been built, not
Steve Peters [Tue, 14 Feb 2006 17:41:02 +0000 (17:41 +0000)]
Hash::Util tests should check if Hash::Util has been built, not
List::Util (spotted by Rafael).

p4raw-id: //depot/perl@27181

15 years ago[Patch] Enhance Hash::Util
Yves Orton [Mon, 13 Feb 2006 11:39:33 +0000 (12:39 +0100)]
[Patch] Enhance Hash::Util
Message-ID: <9b18b3110602130239w311d05fcr776ae8333776ca2e@mail.gmail.com>

p4raw-id: //depot/perl@27180

15 years agoOne shouldn't be able to dereference a GLOB as a SCALAR.
Yitzchak Scott-Thoennes [Sun, 12 Feb 2006 09:18:39 +0000 (01:18 -0800)]
One shouldn't be able to dereference a GLOB as a SCALAR.

Subject: Re: [perl #38484] Data::Dumper only warns on unhandled reference types
Message-ID: <20060212171839.GA3604@efn.org>

plus regression tests.

p4raw-id: //depot/perl@27179

15 years agoRemove a my_perl that slipped in
Rafael Garcia-Suarez [Tue, 14 Feb 2006 10:18:48 +0000 (10:18 +0000)]
Remove a my_perl that slipped in

p4raw-id: //depot/perl@27178

15 years agoSun Studio lint patches
Andy Lester [Mon, 13 Feb 2006 23:46:17 +0000 (17:46 -0600)]
Sun Studio lint patches
Message-ID: <20060214054617.GA8824@petdance.com>

p4raw-id: //depot/perl@27177

15 years agoEnsure that public I, N and P flags are off when SvTAINT is called on
Nicholas Clark [Mon, 13 Feb 2006 21:46:13 +0000 (21:46 +0000)]
Ensure that public I, N and P flags are off when SvTAINT is called on
something that already has taint magic.

p4raw-id: //depot/perl@27176

15 years agoperldiag.pod patching re: integer overflow
Andy Lester [Sun, 12 Feb 2006 23:08:48 +0000 (17:08 -0600)]
perldiag.pod patching re: integer overflow
Message-ID: <20060213050848.GB27993@petdance.com>

p4raw-id: //depot/perl@27174

15 years ago[perl #38346] [PATCH] Re: B::Deparse's bug?
Stephen McCamant [Wed, 8 Feb 2006 17:48:49 +0000 (09:48 -0800)]
[perl #38346] [PATCH] Re: B::Deparse's bug?
Message-ID: <17386.40833.64309.454938@conquest.OCF.Berkeley.EDU>

p4raw-id: //depot/perl@27173

15 years agoTeach checkAUTHORS.pl about Changelogs with leading tabs
Steve Hay [Mon, 13 Feb 2006 16:46:14 +0000 (16:46 +0000)]
Teach checkAUTHORS.pl about Changelogs with leading tabs
in the log entries, and fix a malformed log entry in Changes5.005

p4raw-id: //depot/perl@27172

15 years agoRevert an assert() fix in the light of change #27152
Steve Hay [Mon, 13 Feb 2006 16:03:23 +0000 (16:03 +0000)]
Revert an assert() fix in the light of change #27152

The MinGW problem described here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-01/msg00146.html
was fixed by change #26664. This is no longer relevant in the light of
change #27152, so revert it.

(The other problems with VC++ 6 and BCC, fixed by change #26634, have
not gone away, however.)
p4raw-link: @27152 on //depot/perl: b0e6ae5b51a7c163ac7cdb0d18b54bb1819f6c13
p4raw-link: @26664 on //depot/perl: fb9e8e97420770e8f89d9f2196e1b7b0c855e8bb
p4raw-link: @26634 on //depot/perl: 834268b87a8eb670d899a13106c8dfcdfc7c9b66

p4raw-id: //depot/perl@27171

15 years agoAll the bits of clone_params.flags need to be initialised, not just
Nicholas Clark [Mon, 13 Feb 2006 15:12:58 +0000 (15:12 +0000)]
All the bits of clone_params.flags need to be initialised, not just
CLONEf_JOIN_IN.

p4raw-id: //depot/perl@27169

15 years agoFix change 27059 so that it actually works with >16 file descriptors.
Nicholas Clark [Sun, 12 Feb 2006 19:03:47 +0000 (19:03 +0000)]
Fix change 27059 so that it actually works with >16 file descriptors.
With programmers like these, we need Stadler & Waldorf on code review.

p4raw-id: //depot/perl@27166

15 years agoIn perldiag.pod add an entry for the error message that change 27155
Nicholas Clark [Sat, 11 Feb 2006 22:52:40 +0000 (22:52 +0000)]
In perldiag.pod add an entry for the error message that change 27155
introduced.

p4raw-id: //depot/perl@27162

15 years agoRemove SOFT_CAST() as it no longer does anything useful.
Nicholas Clark [Sat, 11 Feb 2006 16:10:22 +0000 (16:10 +0000)]
Remove SOFT_CAST() as it no longer does anything useful.

p4raw-id: //depot/perl@27161

15 years agoCoalesce 2 if blocks with duplicated conditions in Perl_sv_dup.
Nicholas Clark [Sat, 11 Feb 2006 15:10:32 +0000 (15:10 +0000)]
Coalesce 2 if blocks with duplicated conditions in Perl_sv_dup.

p4raw-id: //depot/perl@27159

15 years agoTest to go with change #27155.
Steve Peters [Sat, 11 Feb 2006 14:16:45 +0000 (14:16 +0000)]
Test to go with change #27155.
p4raw-link: @27155 on //depot/perl: ece1bcefc6e1d5c666cb173e3db4fb5c6663a8b9

p4raw-id: //depot/perl@27158

15 years agoDie when integer overflow condition is detected in division under
Steve Peters [Sat, 11 Feb 2006 06:14:02 +0000 (06:14 +0000)]
Die when integer overflow condition is detected in division under
C<use integer>.  Hopefully fixes RT #38485.

p4raw-id: //depot/perl@27155

15 years agoassert() that we can't reach two unreachable code paths
Nicholas Clark [Sat, 11 Feb 2006 00:40:04 +0000 (00:40 +0000)]
assert() that we can't reach two unreachable code paths
(in Perl_magic_get and Perl_pp_shift).

p4raw-id: //depot/perl@27154

15 years agoThe return value from S_hv_auxinit can be ignored, as it's also stored
Nicholas Clark [Fri, 10 Feb 2006 22:37:23 +0000 (22:37 +0000)]
The return value from S_hv_auxinit can be ignored, as it's also stored
within the passed in hv parameter.

p4raw-id: //depot/perl@27153

15 years agoA better fix than 27148
Steve Hay [Fri, 10 Feb 2006 17:46:35 +0000 (17:46 +0000)]
A better fix than 27148

Subject: Win32 assert (was Re: Smoke [5.9.4] 27145 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu))
From: Nicholas Clark <nick@ccl4.org>
Date: Fri, 10 Feb 2006 14:58:47 +0000
Message-ID: <20060210145847.GA85020@plum.flirble.org>

Subject: RE: Win32 assert (was Re: Smoke [5.9.4] 27145 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu))
From: "Jan Dubois" <jand@ActiveState.com>
Date: Fri, 10 Feb 2006 09:03:41 -0800
Message-ID: <024401c62e63$f1e53c10$6062a8c0@candy>

p4raw-id: //depot/perl@27152

15 years agoWith PERL_POISON defined, ensure freshly malloc()ed memory isn't zeros,
Nicholas Clark [Fri, 10 Feb 2006 14:25:33 +0000 (14:25 +0000)]
With PERL_POISON defined, ensure freshly malloc()ed memory isn't zeros,
and when PERL_TRACK_MEMPOOL is also defined scribble on any extension
added by realloc().

p4raw-id: //depot/perl@27151

15 years agoFix the effects of 27136 on Win32 with DEBUGGING and PERL_IMPLICIT_SYS
Steve Hay [Fri, 10 Feb 2006 11:20:23 +0000 (11:20 +0000)]
Fix the effects of 27136 on Win32 with DEBUGGING and PERL_IMPLICIT_SYS

p4raw-id: //depot/perl@27148

15 years agoChange 27136 seems to have inadvertently upset some compilers,
Nicholas Clark [Thu, 9 Feb 2006 23:23:59 +0000 (23:23 +0000)]
Change 27136 seems to have inadvertently upset some compilers,
presumably where NULL was defined as 0, not (void *)0

p4raw-id: //depot/perl@27145

15 years agoFix breakage in S_set_csh() from change #27136.
Steve Peters [Thu, 9 Feb 2006 18:25:02 +0000 (18:25 +0000)]
Fix breakage in S_set_csh() from change #27136.
p4raw-link: @27136 on //depot/perl: 5f66b61cbe1f2ea985f00c0d9a66153e7a3b6ee1

p4raw-id: //depot/perl@27140

15 years agoDocument incompatible interpretation of chdir FOO.
Gisle Aas [Thu, 9 Feb 2006 18:09:01 +0000 (18:09 +0000)]
Document incompatible interpretation of chdir FOO.
Ref change 27125.

p4raw-id: //depot/perl@27139

15 years agoReally regenerate headers
Rafael Garcia-Suarez [Thu, 9 Feb 2006 17:49:18 +0000 (17:49 +0000)]
Really regenerate headers

p4raw-id: //depot/perl@27138

15 years agoRegenerated headers for change #27136.
Steve Peters [Thu, 9 Feb 2006 17:40:02 +0000 (17:40 +0000)]
Regenerated headers for change #27136.
p4raw-link: @27136 on //depot/perl: 5f66b61cbe1f2ea985f00c0d9a66153e7a3b6ee1

p4raw-id: //depot/perl@27137

15 years agoTrying my "remove the pTHXes" patch again
Andy Lester [Thu, 9 Feb 2006 09:40:18 +0000 (03:40 -0600)]
Trying my "remove the pTHXes" patch again
Message-ID: <20060209154018.GA14610@petdance.com>

p4raw-id: //depot/perl@27136

15 years agoSkip new chdir warning test if fchdir is not available
Rafael Garcia-Suarez [Thu, 9 Feb 2006 12:38:35 +0000 (12:38 +0000)]
Skip new chdir warning test if fchdir is not available

p4raw-id: //depot/perl@27135

15 years agoAvoid calling all the scanning code in gv_fetchpvn_flags when saving
Nicholas Clark [Thu, 9 Feb 2006 12:37:13 +0000 (12:37 +0000)]
Avoid calling all the scanning code in gv_fetchpvn_flags when saving
$1 etc, as we can perfom a hash lookup on %:: directly.

p4raw-id: //depot/perl@27134

15 years agolastparen in the regexp structure is never initialised, and so will
Nicholas Clark [Wed, 8 Feb 2006 20:57:24 +0000 (20:57 +0000)]
lastparen in the regexp structure is never initialised, and so will
still be uninitialised after a failed match, yet various points in
mg.c read it come what may. Should fix bug 38461.

p4raw-id: //depot/perl@27133

15 years agoBareword file handles not supported for chown/chmod/utime.
Gisle Aas [Wed, 8 Feb 2006 17:52:16 +0000 (17:52 +0000)]
Bareword file handles not supported for chown/chmod/utime.

p4raw-id: //depot/perl@27132

15 years agoWave hands about encoding::warnings
Rafael Garcia-Suarez [Wed, 8 Feb 2006 16:57:48 +0000 (16:57 +0000)]
Wave hands about encoding::warnings

p4raw-id: //depot/perl@27131

15 years ago[perl #38464] chdir() on closed handles
Peter Dintelmann [Wed, 8 Feb 2006 01:33:54 +0000 (17:33 -0800)]
[perl #38464] chdir() on closed handles
From: Peter Dintelmann (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38464-129771.3.46114092925276@perl.org>

Plus a regression test.

p4raw-id: //depot/perl@27130

15 years agoHandle unused args
Andy Lester [Tue, 7 Feb 2006 16:36:56 +0000 (10:36 -0600)]
Handle unused args
Message-ID: <20060207223656.GA5177@petdance.com>

p4raw-id: //depot/perl@27129

15 years ago[patch] several broken make *.valgrind targets
Jim Cromie [Tue, 7 Feb 2006 15:11:54 +0000 (08:11 -0700)]
[patch] several broken make *.valgrind targets
Message-ID: <43E91B2A.4060700@gmail.com>

p4raw-id: //depot/perl@27128

15 years agoBorland's C compiler warns that the & is unnecessary.
Nicholas Clark [Wed, 8 Feb 2006 00:05:44 +0000 (00:05 +0000)]
Borland's C compiler warns that the & is unnecessary.

p4raw-id: //depot/perl@27127

15 years agoMerging pp_bit_or and pp_bit_xor shrinks the object code by about .7K.
Nicholas Clark [Tue, 7 Feb 2006 18:01:26 +0000 (18:01 +0000)]
Merging pp_bit_or and pp_bit_xor shrinks the object code by about .7K.
The overloading tests are not free.

p4raw-id: //depot/perl@27126

15 years agoAllow bareword file handle as argument to chdir().
Gisle Aas [Tue, 7 Feb 2006 17:32:50 +0000 (17:32 +0000)]
Allow bareword file handle as argument to chdir().
This copies the mechanism used by truncate().
Fixes bug #38457.

p4raw-id: //depot/perl@27125

15 years agoAll the trancendental unary operators can be merged into PP_sin
Nicholas Clark [Tue, 7 Feb 2006 17:12:08 +0000 (17:12 +0000)]
All the trancendental unary operators can be merged into PP_sin
(cos, exp, log, sqrt)

p4raw-id: //depot/perl@27124

15 years agoAvoid gcc warning about possibly uninitialised variables.
Nicholas Clark [Tue, 7 Feb 2006 15:52:18 +0000 (15:52 +0000)]
Avoid gcc warning about possibly uninitialised variables.

p4raw-id: //depot/perl@27123

15 years agoCreate new macros AMG_CALLun_var, AMG_CALLun_var and tryAMAGICun_var
Nicholas Clark [Tue, 7 Feb 2006 15:28:41 +0000 (15:28 +0000)]
Create new macros AMG_CALLun_var, AMG_CALLun_var and tryAMAGICun_var
which don't do the pre-processor string manipulation internally.

p4raw-id: //depot/perl@27122

15 years agopp_pop can be implemented by pp_shift.
Nicholas Clark [Tue, 7 Feb 2006 14:57:36 +0000 (14:57 +0000)]
pp_pop can be implemented by pp_shift.

p4raw-id: //depot/perl@27121

15 years agoRe: [PATCH] Documentation patch for overload
Steffen Müller [Mon, 6 Feb 2006 10:58:44 +0000 (11:58 +0100)]
Re: [PATCH] Documentation patch for overload
Message-ID: <43E71DD4.5010108@sneakemail.com>

p4raw-id: //depot/perl@27120

15 years agopp_hex can be implemented trivially by pp_oct, making pp_hex a mathom.
Nicholas Clark [Tue, 7 Feb 2006 14:11:42 +0000 (14:11 +0000)]
pp_hex can be implemented trivially by pp_oct, making pp_hex a mathom.

p4raw-id: //depot/perl@27119

15 years agoMerge pp_index and pp_rindex - we have another mathom.
Nicholas Clark [Tue, 7 Feb 2006 13:13:44 +0000 (13:13 +0000)]
Merge pp_index and pp_rindex - we have another mathom.

p4raw-id: //depot/perl@27118