This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoUpdate copyright years to include 2007. (Plus a couple of 2006s and
Nicholas Clark [Tue, 2 Jan 2007 21:45:08 +0000 (21:45 +0000)]
Update copyright years to include 2007. (Plus a couple of 2006s and
earlier we missed in av.h and hv.h)

p4raw-id: //depot/perl@29670

14 years agoAssignment to a tainted variable was causing confusion if the source
Nicholas Clark [Tue, 2 Jan 2007 21:10:13 +0000 (21:10 +0000)]
Assignment to a tainted variable was causing confusion if the source
value was an NV too large for an IV (bug #40708). Fix the confusion
by not promoting private flags to public flags in S_save_magic if
there are already public flags.

p4raw-id: //depot/perl@29669

14 years agoPVMG can be isUV too.
Nicholas Clark [Tue, 2 Jan 2007 20:47:31 +0000 (20:47 +0000)]
PVMG can be isUV too.

p4raw-id: //depot/perl@29668

14 years agofix -Mad build breakage
Dave Mitchell [Tue, 2 Jan 2007 19:44:23 +0000 (19:44 +0000)]
fix -Mad build breakage

p4raw-id: //depot/perl@29667

14 years agoCopying to FORMATs should work (and not fail assertions if the value
Nicholas Clark [Tue, 2 Jan 2007 18:14:26 +0000 (18:14 +0000)]
Copying to FORMATs should work (and not fail assertions if the value
is floating point). Copying to ARRAYs and HASHes can't work and should
croak.

p4raw-id: //depot/perl@29666

14 years agoIt's good to be able to dump FORMATs too :-)
Nicholas Clark [Tue, 2 Jan 2007 17:41:06 +0000 (17:41 +0000)]
It's good to be able to dump FORMATs too :-)

p4raw-id: //depot/perl@29665

14 years agoRemove the vestigal "#if 0"s from header files that defined same-sized
Nicholas Clark [Tue, 2 Jan 2007 16:28:48 +0000 (16:28 +0000)]
Remove the vestigal "#if 0"s from header files that defined same-sized
*allocated structs, as these are not going to be needed again.

p4raw-id: //depot/perl@29664

14 years agoProbably better to make PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI special
Nicholas Clark [Tue, 2 Jan 2007 16:05:02 +0000 (16:05 +0000)]
Probably better to make PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI special
cases, instead of scanning pad.h to find them, and picking up 3 other
superfluous definitions as a side effect.

p4raw-id: //depot/perl@29663

14 years agoNote that the examples for the structure copying bug example are no
Nicholas Clark [Tue, 2 Jan 2007 14:55:29 +0000 (14:55 +0000)]
Note that the examples for the structure copying bug example are no
longer relevant because of the XPVGV re-ordering.

p4raw-id: //depot/perl@29662

14 years agoFix a couple of linker errors on Win32
Steve Hay [Tue, 2 Jan 2007 14:50:56 +0000 (14:50 +0000)]
Fix a couple of linker errors on Win32

p4raw-id: //depot/perl@29661

14 years agoremove conflict in pending_ident function and field name
Dave Mitchell [Tue, 2 Jan 2007 14:02:40 +0000 (14:02 +0000)]
remove conflict in pending_ident function and field name

p4raw-id: //depot/perl@29660

14 years agoCheck miniperl exists before using it to run uupacktool.pl
Steve Hay [Tue, 2 Jan 2007 11:18:26 +0000 (11:18 +0000)]
Check miniperl exists before using it to run uupacktool.pl
during distclean

p4raw-id: //depot/perl@29659

14 years agoConfigure test code fails to compile if SIGFPE is undefined
Marcus Holland-Moritz [Tue, 2 Jan 2007 00:08:27 +0000 (01:08 +0100)]
Configure test code fails to compile if SIGFPE is undefined
Message-ID: <20070102000827.7acf11c8@r2d2>

p4raw-id: //depot/perl@29658

14 years agoreally should test compile in AIX or something (fixup after the Series 90 patch)
Jarkko Hietaniemi [Tue, 2 Jan 2007 03:15:42 +0000 (05:15 +0200)]
really should test compile in AIX or something (fixup after the Series 90 patch)
Message-Id:  <200701020115.l021FgtC495074@kosh.hut.fi>

p4raw-id: //depot/perl@29656

14 years agomove easy lexer state variables into PL_parser
Dave Mitchell [Tue, 2 Jan 2007 01:51:05 +0000 (01:51 +0000)]
move easy lexer state variables into PL_parser
(where "easy" == "only appear in toke.c")

p4raw-id: //depot/perl@29655

14 years agoQuiet a smoke warning in toke.c and bump the copyright year.
Steve Peters [Tue, 2 Jan 2007 00:07:52 +0000 (00:07 +0000)]
Quiet a smoke warning in toke.c and bump the copyright year.

p4raw-id: //depot/perl@29654

14 years agoWelcome to 2007! Time to update copyrights from changes earlier
Steve Peters [Mon, 1 Jan 2007 22:48:33 +0000 (22:48 +0000)]
Welcome to 2007!  Time to update copyrights from changes earlier
today.

p4raw-id: //depot/perl@29653

14 years agosplit parser initialisation from parser execution
Dave Mitchell [Mon, 1 Jan 2007 22:37:40 +0000 (22:37 +0000)]
split parser initialisation from parser execution

p4raw-id: //depot/perl@29652

14 years agoAdd file missed in change #29650.
Steve Peters [Mon, 1 Jan 2007 19:30:05 +0000 (19:30 +0000)]
Add file missed in change #29650.
p4raw-link: @29650 on //depot/perl: 53d44271720d88220a01b5620a93869665083b01

p4raw-id: //depot/perl@29651

14 years agoSymbian port: add Series 90 support
Jarkko Hietaniemi [Mon, 1 Jan 2007 08:49:03 +0000 (03:49 -0500)]
Symbian port: add Series 90 support
Message-ID: <4599114F.8020307@iki.fi>

p4raw-id: //depot/perl@29650

14 years agosplit parser stack from parser object
Dave Mitchell [Mon, 1 Jan 2007 11:24:07 +0000 (11:24 +0000)]
split parser stack from parser object

p4raw-id: //depot/perl@29649

14 years agoin lex_start(), ensure that all lexer state vars are saved
Dave Mitchell [Sun, 31 Dec 2006 18:56:37 +0000 (18:56 +0000)]
in lex_start(), ensure that all lexer state vars are saved
and re-initialised. This is mostly overkill, but mimicks the
effect of having all the vars in a single parser object.

p4raw-id: //depot/perl@29648

14 years agoRationalise the logic in lex_start for creating a new temporary if the
Nicholas Clark [Sun, 31 Dec 2006 16:58:18 +0000 (16:58 +0000)]
Rationalise the logic in lex_start for creating a new temporary if the
passed in SV is read only or doesn't end in ';'. Also, allow a NULL
pointer to imply a zero length string, which saves creating a mortal
in pp_require, only for it to be ignored in favour of a new SV.

p4raw-id: //depot/perl@29647

14 years agoFix to test failures caused by change #29606 when PERLIO=stdio.
Steve Peters [Sun, 31 Dec 2006 16:37:54 +0000 (16:37 +0000)]
Fix to test failures caused by change #29606 when PERLIO=stdio.
Based on suggestions from Ilya Zakharevich in
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-12/msg00646.html
p4raw-link: @29606 on //depot/perl: add1a1a3c3dc28dd49272f4754cfc04acae28e3b

p4raw-id: //depot/perl@29646

14 years agosmoke signs suppression
Jarkko Hietaniemi [Sun, 31 Dec 2006 08:51:52 +0000 (03:51 -0500)]
smoke signs suppression
Message-ID: <4597C078.4000503@iki.fi>

p4raw-id: //depot/perl@29645

14 years agoAs freeing up PL_linestr is now done via the scope stack, there's no
Nicholas Clark [Sun, 31 Dec 2006 12:31:09 +0000 (12:31 +0000)]
As freeing up PL_linestr is now done via the scope stack, there's no
need to make any temporary varariable a mortal, and waste effort on
the temp stack (not) clearing it up.

p4raw-id: //depot/perl@29644

14 years agoPL_linestr needs to survive until the end of scope, not just the next
Nicholas Clark [Sun, 31 Dec 2006 12:07:37 +0000 (12:07 +0000)]
PL_linestr needs to survive until the end of scope, not just the next
FREETMPS. Fixes the underlying cause of the thread cloning SEGV
reported in http://www.nntp.perl.org/group/perl.perl5.porters/63123

p4raw-id: //depot/perl@29643

14 years agoMove SVt_BIND to be the lowest type after SVt_NULL. This will force all
Nicholas Clark [Sun, 31 Dec 2006 00:08:00 +0000 (00:08 +0000)]
Move SVt_BIND to be the lowest type after SVt_NULL. This will force all
code attempting to upgrade a BIND to anything into sv_upgrade(), which
for now will croak, but in future can DTRT, for whatever TRT is decided
to be. Make SvOK() check the flags of the referenant for a BIND, as I
envisage that the only flag bit that will get set on a BIND is SVf_UTF8
even if the referant has a defined value.

p4raw-id: //depot/perl@29642

14 years agoUpdate Compress Modules to version 2.002
Paul Marquess [Fri, 29 Dec 2006 20:50:26 +0000 (20:50 +0000)]
Update Compress Modules to version 2.002
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <000501c72b8a$f96b2ba0$6401a8c0@myopwv.com>

p4raw-id: //depot/perl@29641

14 years agofix a test failing under -Dmad
Dave Mitchell [Sat, 30 Dec 2006 01:18:18 +0000 (01:18 +0000)]
fix a test failing under -Dmad

p4raw-id: //depot/perl@29640

14 years agoWith xlow and xhigh as U32, PAD_MAX shouldn't be IV_MAX, as on a 64 bit
Nicholas Clark [Fri, 29 Dec 2006 16:20:39 +0000 (16:20 +0000)]
With xlow and xhigh as U32, PAD_MAX shouldn't be IV_MAX, as on a 64 bit
system this can't be stored.

p4raw-id: //depot/perl@29639

14 years agoI failed to run regen.pl to propagate my pad.c changes to perlintern.pod
Nicholas Clark [Fri, 29 Dec 2006 14:42:03 +0000 (14:42 +0000)]
I failed to run regen.pl to propagate my pad.c changes to perlintern.pod

p4raw-id: //depot/perl@29638

14 years agoIn Perl_fbm_compile, really rarest should be U32 not I32, as it is
Nicholas Clark [Fri, 29 Dec 2006 00:17:18 +0000 (00:17 +0000)]
In Perl_fbm_compile, really rarest should be U32 not I32, as it is
set from a U32, and used as an array index.

p4raw-id: //depot/perl@29637

14 years agofurther fix for #29543: fix parser leaks caused by croaking
Dave Mitchell [Fri, 29 Dec 2006 00:08:35 +0000 (00:08 +0000)]
further fix for #29543: fix parser leaks caused by croaking

p4raw-id: //depot/perl@29636

14 years agoEliminate BmPREVIOUS_set - with the complexity gone from how the datum
Nicholas Clark [Thu, 28 Dec 2006 23:57:16 +0000 (23:57 +0000)]
Eliminate BmPREVIOUS_set - with the complexity gone from how the datum
is stored, there's no need for it.

p4raw-id: //depot/perl@29635

14 years agoMove all the FBM data fields from the table into a struct xbm_s which
Nicholas Clark [Thu, 28 Dec 2006 23:35:54 +0000 (23:35 +0000)]
Move all the FBM data fields from the table into a struct xbm_s which
is part of the xnv union.

p4raw-id: //depot/perl@29634

14 years agoWith PAD_COMPNAME_GEN in SvUVX, SvCUR is trustworthy once more.
Nicholas Clark [Thu, 28 Dec 2006 22:40:37 +0000 (22:40 +0000)]
With PAD_COMPNAME_GEN in SvUVX, SvCUR is trustworthy once more.

p4raw-id: //depot/perl@29633

14 years agoMove PAD_COMPNAME_GEN from SvCUR to SvUVX.
Nicholas Clark [Thu, 28 Dec 2006 22:03:56 +0000 (22:03 +0000)]
Move PAD_COMPNAME_GEN from SvCUR to SvUVX.

p4raw-id: //depot/perl@29632

14 years agoMove PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI to pad.h, export them via
Nicholas Clark [Thu, 28 Dec 2006 21:41:52 +0000 (21:41 +0000)]
Move PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI to pad.h, export them via
B.pm, so that B::Concise doesn't need to hard code magic numbers.

p4raw-id: //depot/perl@29631

14 years agoMove the low/high cop sequences from NVX/IVX to a two U32 structure
Nicholas Clark [Thu, 28 Dec 2006 21:21:22 +0000 (21:21 +0000)]
Move the low/high cop sequences from NVX/IVX to a two U32 structure
in the xnv union. This frees up IVX for the PL_generation code, which
in turn will allow SvCUR to return to its real purpose.

p4raw-id: //depot/perl@29630

14 years agoAbstract the pad code's overloaded use of SvNVX and SvIVX into
Nicholas Clark [Thu, 28 Dec 2006 20:02:03 +0000 (20:02 +0000)]
Abstract the pad code's overloaded use of SvNVX and SvIVX into
4 macros COP_SEQ_RANGE_LOW, COP_SEQ_RANGE_HIGH, PARENT_PAD_INDEX
and PARENT_FAKELEX_FLAGS

p4raw-id: //depot/perl@29629

14 years agoChange PAD_MAX to something a bit less FORTRAN-ish than 999999999.
Nicholas Clark [Thu, 28 Dec 2006 17:55:06 +0000 (17:55 +0000)]
Change PAD_MAX to something a bit less FORTRAN-ish than 999999999.

p4raw-id: //depot/perl@29628

14 years agoUpgrade to Errno-1.10 (!). I have left the core tests as is for
Steve Peters [Wed, 27 Dec 2006 19:36:13 +0000 (19:36 +0000)]
Upgrade to Errno-1.10 (!).  I have left the core tests as is for
now as well as for Makefile.PL, which need some looking into.

p4raw-id: //depot/perl@29627

14 years agoMacroize char class tests in case to remove duplicated code.
Yves Orton [Wed, 27 Dec 2006 11:37:36 +0000 (12:37 +0100)]
Macroize char class tests in case to remove duplicated code.
Message-ID: <9b18b3110612270237i40e5ef34ud80898459ee338eb@mail.gmail.com>
Date: Wed, 27 Dec 2006 11:37:36 +0100

p4raw-id: //depot/perl@29626

14 years agoUpgrade to CPAN-1.83_66.
Steve Peters [Wed, 27 Dec 2006 14:13:27 +0000 (14:13 +0000)]
Upgrade to CPAN-1.83_66.

p4raw-id: //depot/perl@29625

14 years agoCannot use a L<> within a preformatted section of a Pod document.
Steve Peters [Tue, 26 Dec 2006 15:53:57 +0000 (15:53 +0000)]
Cannot use a L<> within a preformatted section of a Pod document.

p4raw-id: //depot/perl@29624

14 years agoRe: Named-capture regex syntax
SADAHIRO Tomoyuki [Tue, 26 Dec 2006 23:11:38 +0000 (08:11 +0900)]
Re: Named-capture regex syntax
Message-Id: <20061226231027.8320.BQW10602@nifty.com>

p4raw-id: //depot/perl@29623

14 years agoFix a couple of warnings
Rafael Garcia-Suarez [Mon, 25 Dec 2006 17:09:07 +0000 (17:09 +0000)]
Fix a couple of warnings

p4raw-id: //depot/perl@29622

14 years agoRe: Named-capture regex syntax
Yves Orton [Sun, 24 Dec 2006 14:38:15 +0000 (15:38 +0100)]
Re: Named-capture regex syntax
Message-ID: <9b18b3110612240538m5c45654br7d27171835f6664@mail.gmail.com>

p4raw-id: //depot/perl@29621

14 years agoThe PERLIO environment variable, when unset, doesn't default to :stdio.
Rafael Garcia-Suarez [Sun, 24 Dec 2006 09:28:22 +0000 (09:28 +0000)]
The PERLIO environment variable, when unset, doesn't default to :stdio.

p4raw-id: //depot/perl@29620

14 years agoFix #6006 for taint mode too.
Rafael Garcia-Suarez [Sat, 23 Dec 2006 16:15:50 +0000 (16:15 +0000)]
Fix #6006 for taint mode too.

p4raw-id: //depot/perl@29619

14 years agoRemove -T from op/subst.t, and add a new test file, substT.t,
Rafael Garcia-Suarez [Sat, 23 Dec 2006 15:52:27 +0000 (15:52 +0000)]
Remove -T from op/subst.t, and add a new test file, substT.t,
to run the s/// tests under taint mode; mark the test for
RT #6006 as TODO, but only with -T.

p4raw-id: //depot/perl@29618

14 years agoA better fix for RT #6006: revert change 29616, which was bogus,
Rafael Garcia-Suarez [Sat, 23 Dec 2006 15:38:50 +0000 (15:38 +0000)]
A better fix for RT #6006: revert change 29616, which was bogus,
and add OP_SCOPE to the list of "dangerous" ops that might appear
on the right side of s///.
However, this fix does not work under taint mode, and op/subst.t
has -T.

p4raw-id: //depot/perl@29617

14 years agoFix RT #6006: Regexp replaces using large replacement variables fail
Rafael Garcia-Suarez [Sat, 23 Dec 2006 13:52:02 +0000 (13:52 +0000)]
Fix RT #6006: Regexp replaces using large replacement variables fail
some of the time (i.e. when the substitution contains something
like ${10}). Patch derived from a patch by Hugo van der Sanden;
added also a second test (Yves Orton already added a TODO test
for this.)

p4raw-id: //depot/perl@29616

14 years agoUpgrade to Module::Build 0.2806
Rafael Garcia-Suarez [Sat, 23 Dec 2006 12:31:26 +0000 (12:31 +0000)]
Upgrade to Module::Build 0.2806

p4raw-id: //depot/perl@29615

14 years agosyswrite() wasn't reporting a warning when writing to a filehandle
Rafael Garcia-Suarez [Sat, 23 Dec 2006 11:45:28 +0000 (11:45 +0000)]
syswrite() wasn't reporting a warning when writing to a filehandle
opened only for input.

p4raw-id: //depot/perl@29614

14 years agoThe Perl 6 specification is still evolving, so don't refer to it.
Rafael Garcia-Suarez [Fri, 22 Dec 2006 15:44:51 +0000 (15:44 +0000)]
The Perl 6 specification is still evolving, so don't refer to it.

p4raw-id: //depot/perl@29613

14 years agominiperl may not have been successfully built before running a
Steve Peters [Fri, 22 Dec 2006 15:18:02 +0000 (15:18 +0000)]
miniperl may not have been successfully built before running a
"make distclean".

p4raw-id: //depot/perl@29612

14 years agoSilence an unused variable warning in sv.c.
Steve Peters [Fri, 22 Dec 2006 14:53:17 +0000 (14:53 +0000)]
Silence an unused variable warning in sv.c.

p4raw-id: //depot/perl@29611

14 years agoUnshare the shared string gp_file_hek only if it exists in a GP.
Rafael Garcia-Suarez [Fri, 22 Dec 2006 11:30:47 +0000 (11:30 +0000)]
Unshare the shared string gp_file_hek only if it exists in a GP.
Not doing this will produce invalid frees in the global destruction
process, probably because the empty string will get freed several
times. This should be safe since gp_file_hek is only assigned a
new value with share_hek().

p4raw-id: //depot/perl@29610

14 years agoUpgrade to Text::Balanced 2.0.0
Rafael Garcia-Suarez [Thu, 21 Dec 2006 10:24:05 +0000 (10:24 +0000)]
Upgrade to Text::Balanced 2.0.0

p4raw-id: //depot/perl@29609

14 years agothreads 1.57
Jerry D. Hedden [Wed, 20 Dec 2006 10:30:21 +0000 (02:30 -0800)]
threads 1.57
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <20061220183021.79793.qmail@web30205.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29608

14 years agoallow blib.pm to be used for testing Win32 module (again)
Jan Dubois [Wed, 20 Dec 2006 18:53:51 +0000 (10:53 -0800)]
allow blib.pm to be used for testing Win32 module (again)
Message-ID: <vjtjo21l5ksgeab6k9l46d9pvlg5vf86rt@4ax.com>

p4raw-id: //depot/perl@29607

14 years agoSelfLoader after fork()
Ilya Zakharevich [Mon, 18 Dec 2006 01:13:59 +0000 (17:13 -0800)]
SelfLoader after fork()
Message-ID: <20061218091359.GA14985@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29606

14 years agoImplement killpg() for MSWin32
Jan Dubois [Wed, 20 Dec 2006 15:41:00 +0000 (07:41 -0800)]
Implement killpg() for MSWin32
Message-ID: <m8hjo2pasv3hdbhd1sj9sasen7tm38hrhp@4ax.com>

p4raw-id: //depot/perl@29605

14 years agoRe: [PATCH] Making adding binary files possible
Yves Orton [Wed, 20 Dec 2006 16:00:33 +0000 (17:00 +0100)]
Re: [PATCH] Making adding binary files possible
Message-ID: <9b18b3110612200700k48157cd1n1f2305f306b7de32@mail.gmail.com>

plus matching updates to Makefile.SH and patching.pod

p4raw-id: //depot/perl@29604

14 years agoOpen Configure to the world of 64bitonly environments
H.Merijn Brand [Wed, 20 Dec 2006 12:58:41 +0000 (12:58 +0000)]
Open Configure to the world of 64bitonly environments

p4raw-id: //depot/perl@29603

14 years agoFix leaks in label strings allocation in COPs
Rafael Garcia-Suarez [Wed, 20 Dec 2006 11:15:29 +0000 (11:15 +0000)]
Fix leaks in label strings allocation in COPs

p4raw-id: //depot/perl@29601

14 years agoDon't free the original label string when assigning it to cop_label,
Rafael Garcia-Suarez [Wed, 20 Dec 2006 09:30:06 +0000 (09:30 +0000)]
Don't free the original label string when assigning it to cop_label,
since it comes directly from the parser. (That was making op/goto.t
fail under threads and without debugging on some platforms.)

p4raw-id: //depot/perl@29600

14 years agothreads::shared 1.06
Jerry D. Hedden [Tue, 19 Dec 2006 10:30:47 +0000 (02:30 -0800)]
threads::shared 1.06
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <525867.40748.qm@web30207.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29599

14 years agoUpdate cwd() to return the "short" pathname if the long one doesn't fit the codepage
Jan Dubois [Mon, 18 Dec 2006 21:37:25 +0000 (13:37 -0800)]
Update cwd() to return the "short" pathname if the long one doesn't fit the codepage
Message-ID: <3rteo219or8hqr511e4vg1fnsgvgemb4sh@4ax.com>

p4raw-id: //depot/perl@29598

14 years agolet readdir() return the alternate (short) filename if the long name is outside the...
Jan Dubois [Tue, 19 Dec 2006 13:49:40 +0000 (05:49 -0800)]
let readdir() return the alternate (short) filename if the long name is outside the current codepage
Message-ID: <8nmgo2dr5gtmv00gtfu07g7rdgitr859jk@4ax.com>

p4raw-id: //depot/perl@29597

14 years agoRe: 'localtime' not thread-safe under HP-UX B.11.11/64
Jerry D. Hedden [Mon, 18 Dec 2006 10:18:28 +0000 (02:18 -0800)]
Re: 'localtime' not thread-safe under HP-UX B.11.11/64
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <31291.28361.qm@web30205.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29596

14 years agoProper cleanup for Errno.pm
Rafael Garcia-Suarez [Tue, 19 Dec 2006 15:22:24 +0000 (15:22 +0000)]
Proper cleanup for Errno.pm

p4raw-id: //depot/perl@29595

14 years agoFix paths of pack.pl in patching.pod
Rafael Garcia-Suarez [Tue, 19 Dec 2006 15:14:47 +0000 (15:14 +0000)]
Fix paths of pack.pl in patching.pod

p4raw-id: //depot/perl@29594

14 years agoMaking adding binary files possible
Jos I. Boumans [Fri, 15 Dec 2006 20:51:45 +0000 (21:51 +0100)]
Making adding binary files possible
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <19978.80.127.35.68.1166212305.squirrel@webmail.xs4all.nl>

with a few tweaks

p4raw-id: //depot/perl@29593

14 years agoAdd a regression test to verify that POSIX::AUTOLOAD works,
Rafael Garcia-Suarez [Tue, 19 Dec 2006 10:50:13 +0000 (10:50 +0000)]
Add a regression test to verify that POSIX::AUTOLOAD works,
and silence a potential warning from it.

p4raw-id: //depot/perl@29592

14 years agoDisable strictures in POSIX AUTOLOAD
Rafael Garcia-Suarez [Tue, 19 Dec 2006 10:23:29 +0000 (10:23 +0000)]
Disable strictures in POSIX AUTOLOAD

p4raw-id: //depot/perl@29591

14 years agoDon't destroy the Unicode system environment on Perl startup
Jan Dubois [Mon, 18 Dec 2006 16:34:33 +0000 (08:34 -0800)]
Don't destroy the Unicode system environment on Perl startup
Message-ID: <bsbeo2hama2sdo3kqdbrdhp505caeft6h9@4ax.com>

p4raw-id: //depot/perl@29590

14 years agomake -Dpv print 8 parser stack items, not 9
Dave Mitchell [Tue, 19 Dec 2006 02:25:19 +0000 (02:25 +0000)]
make -Dpv print 8 parser stack items, not 9

p4raw-id: //depot/perl@29589

14 years agoMaking strict et al propagate into autoloaded subroutines seems a
Nicholas Clark [Mon, 18 Dec 2006 22:12:36 +0000 (22:12 +0000)]
Making strict et al propagate into autoloaded subroutines seems a
worthy todo.

p4raw-id: //depot/perl@29588

14 years agoEnsure that POSIX.pm is strict and warnings compliant throughout if
Nicholas Clark [Mon, 18 Dec 2006 22:04:19 +0000 (22:04 +0000)]
Ensure that POSIX.pm is strict and warnings compliant throughout if
the __END__ is temporarily removed.

p4raw-id: //depot/perl@29587

14 years agoGiven that POSIX already has AutoLoader loaded, move as much as
Nicholas Clark [Mon, 18 Dec 2006 21:23:43 +0000 (21:23 +0000)]
Given that POSIX already has AutoLoader loaded, move as much as
possible of POSIX::SigRt out to AutoLoadLand, so that it won't be
loaded unless someone starts using the realtime signals interface.

p4raw-id: //depot/perl@29586

14 years agoRe: [PATCH] do not meddle in the affairs of PERL_TRACK_MEMPOOL
Jarkko Hietaniemi [Sun, 17 Dec 2006 22:17:34 +0000 (17:17 -0500)]
Re: [PATCH] do not meddle in the affairs of PERL_TRACK_MEMPOOL
Message-ID: <4586084E.8040706@iki.fi>

Introduce CopLABEL() macro to deal with labels attached to COPs.

p4raw-id: //depot/perl@29585

14 years agoRe: [perl #41071] require stringifies code references in tied @INC
Rick Delaney [Fri, 15 Dec 2006 23:28:25 +0000 (18:28 -0500)]
Re: [perl #41071] require stringifies code references in tied @INC
Message-ID: <20061216042825.GB23501@localhost.localdomain>

p4raw-id: //depot/perl@29584

14 years agoExtUtils/MakeMaker.pm: WriteEmptyMakefile() was ignoring FIRST_MAKEFILE
Ilya Zakharevich [Mon, 18 Dec 2006 01:20:12 +0000 (17:20 -0800)]
ExtUtils/MakeMaker.pm: WriteEmptyMakefile() was ignoring FIRST_MAKEFILE

Subject: [PATCH 5.8.8] OS/2 build, small change
Message-ID: <20061218092012.GA15022@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29583

14 years agolib/perl5db.pl: Remove code now moved to OS2::Process
Ilya Zakharevich [Mon, 18 Dec 2006 01:20:12 +0000 (17:20 -0800)]
lib/perl5db.pl: Remove code now moved to OS2::Process

Subject: [PATCH 5.8.8] OS/2 build, small change
Message-ID: <20061218092012.GA15022@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29582

14 years agoBump version number of ExtUtils::MM_Unix after last change
Rafael Garcia-Suarez [Mon, 18 Dec 2006 13:35:18 +0000 (13:35 +0000)]
Bump version number of ExtUtils::MM_Unix after last change

p4raw-id: //depot/perl@29581

14 years agoOS/2-specific fixes, round II
Ilya Zakharevich [Mon, 18 Dec 2006 00:45:24 +0000 (16:45 -0800)]
OS/2-specific fixes, round II
Message-ID: <20061218084524.GA14866@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29580

14 years agoExtUtils::Command is now maintained separately from MakeMaker
Rafael Garcia-Suarez [Mon, 18 Dec 2006 11:53:54 +0000 (11:53 +0000)]
ExtUtils::Command is now maintained separately from MakeMaker

p4raw-id: //depot/perl@29579

14 years agoFixes for the test suite on OS/2
Ilya Zakharevich [Wed, 13 Dec 2006 18:32:22 +0000 (10:32 -0800)]
Fixes for the test suite on OS/2
Message-ID: <20061214023222.GA29084@powdermilk.math.berkeley.edu>

p4raw-id: //depot/perl@29578

14 years agoOS/2: survive SIGCHLD
Ilya Zakharevich [Mon, 18 Dec 2006 00:55:19 +0000 (16:55 -0800)]
OS/2: survive SIGCHLD
Message-ID: <20061218085519.GA14893@powdermilk.math.berkeley.edu>

plus a perldiag entry for the new error,
"Maximal count of pending signals (%s) exceeded"

p4raw-id: //depot/perl@29577

14 years agoC++: regcomp.c and ext/Time/Piece/Piece.xs
Jarkko Hietaniemi [Sun, 17 Dec 2006 22:45:29 +0000 (17:45 -0500)]
C++: regcomp.c and ext/Time/Piece/Piece.xs
Message-ID: <45860ED9.9090808@iki.fi>

p4raw-id: //depot/perl@29576

14 years agoPATCH: Add =encoding directive to non-latin READMEs
Slaven Rezic [Sat, 16 Dec 2006 11:20:36 +0000 (12:20 +0100)]
PATCH: Add =encoding directive to non-latin READMEs
Message-ID: <87wt4sdtvv.fsf@biokovo.herceg.de>

p4raw-id: //depot/perl@29575

14 years agoperl.c: leak avoidance
Jarkko Hietaniemi [Sat, 16 Dec 2006 11:48:13 +0000 (06:48 -0500)]
perl.c: leak avoidance
Message-ID: <4584234D.7070209@iki.fi>

p4raw-id: //depot/perl@29574

14 years agoIn vms/vms.c, don't prototype decw$term_port until after
Craig A. Berry [Mon, 18 Dec 2006 01:15:43 +0000 (01:15 +0000)]
In vms/vms.c, don't prototype decw$term_port until after
config.h (via perl.h) is included.  That's where USE_VMS_DECTERM
is defined.

p4raw-id: //depot/perl@29573

14 years agoDon't try to build Win32 on VMS
Craig A. Berry [Mon, 18 Dec 2006 01:11:41 +0000 (01:11 +0000)]
Don't try to build Win32 on VMS

p4raw-id: //depot/perl@29572

14 years agoPOSIX::SigAction::new can be moved into the AUTOLOAD section.
Nicholas Clark [Mon, 18 Dec 2006 00:27:43 +0000 (00:27 +0000)]
POSIX::SigAction::new can be moved into the AUTOLOAD section.

p4raw-id: //depot/perl@29571

14 years agomove parser state into new parser object, PL_parser
Dave Mitchell [Mon, 18 Dec 2006 00:24:01 +0000 (00:24 +0000)]
move parser state into new parser object, PL_parser

p4raw-id: //depot/perl@29570

14 years agomerge the four parser stacks into one
Dave Mitchell [Sun, 17 Dec 2006 22:21:40 +0000 (22:21 +0000)]
merge the four parser stacks into one

p4raw-id: //depot/perl@29569