platform/upstream/perl.git
17 years agoFix bug #40407: after a seek on a PerlIO::scalar filehandle,
Rafael Garcia-Suarez [Thu, 11 Jan 2007 10:34:02 +0000 (10:34 +0000)]
Fix bug #40407: after a seek on a PerlIO::scalar filehandle,
ensure there's a string buffer in the scalar

p4raw-id: //depot/perl@29751

17 years agoAutoLoader fix, part 2
Steffen Müller [Wed, 10 Jan 2007 18:52:23 +0000 (19:52 +0100)]
AutoLoader fix, part 2
Message-ID: <20070110175148.26694.qmail@lists.develooper.com>

p4raw-id: //depot/perl@29750

17 years agoIn toke.c, merge S_update_debugger_info_pv() and
Nicholas Clark [Thu, 11 Jan 2007 00:24:48 +0000 (00:24 +0000)]
In toke.c, merge S_update_debugger_info_pv() and
S_update_debugger_info_sv() into S_update_debugger_info().

p4raw-id: //depot/perl@29749

17 years agoAn implementation of change 29735 for blead (PL_curcop could be NULL)
Nicholas Clark [Wed, 10 Jan 2007 16:24:27 +0000 (16:24 +0000)]
An implementation of change 29735 for blead (PL_curcop could be NULL)
given that blead's refactoring is not yet in maint.

p4raw-id: //depot/perl@29748

17 years agoRegenerate all files
Rafael Garcia-Suarez [Wed, 10 Jan 2007 16:00:17 +0000 (16:00 +0000)]
Regenerate all files

p4raw-id: //depot/perl@29747

17 years agoPATCH: perlfunc.pod / warn
Peter Scott [Wed, 10 Jan 2007 05:18:52 +0000 (21:18 -0800)]
PATCH: perlfunc.pod / warn
Message-Id: <pan.2007.01.10.13.18.52.834683@PSDT.com>

p4raw-id: //depot/perl@29745

17 years agoRe: [perl #41215] % on scalars sometimes throws away fractions
SADAHIRO Tomoyuki [Tue, 9 Jan 2007 23:39:42 +0000 (08:39 +0900)]
Re: [perl #41215] % on scalars sometimes throws away fractions
Message-Id: <20070109233928.07AF.BQW10602@nifty.com>

plus nits by Dominic Dunlop

p4raw-id: //depot/perl@29744

17 years agoBug in AutoLoader.pm causing endless loop
Steffen Müller [Tue, 9 Jan 2007 19:15:36 +0000 (20:15 +0100)]
Bug in AutoLoader.pm causing endless loop
Message-ID: <45A3DBC8.4010203@sneakemail.com>

p4raw-id: //depot/perl@29743

17 years ago./miniperl minimod.pl ... Can't locate strict.pm
Andreas J. Koenig [Wed, 10 Jan 2007 04:55:55 +0000 (05:55 +0100)]
./miniperl minimod.pl ... Can't locate strict.pm
Message-ID: <87lkkbk01g.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@29742

17 years agoMake minimod.pl warnings and strict clean.
Nicholas Clark [Tue, 9 Jan 2007 21:46:28 +0000 (21:46 +0000)]
Make minimod.pl warnings and strict clean.

p4raw-id: //depot/perl@29741

17 years agoMake makedef.pl warnings and strict clean.
Nicholas Clark [Tue, 9 Jan 2007 21:44:05 +0000 (21:44 +0000)]
Make makedef.pl warnings and strict clean.

p4raw-id: //depot/perl@29740

17 years agoMake keywords.pl strict and warnings clean.
Nicholas Clark [Tue, 9 Jan 2007 21:37:31 +0000 (21:37 +0000)]
Make keywords.pl strict and warnings clean.

p4raw-id: //depot/perl@29739

17 years agoMake autodoc.pl strict clean.
Nicholas Clark [Tue, 9 Jan 2007 21:34:50 +0000 (21:34 +0000)]
Make autodoc.pl strict clean.

p4raw-id: //depot/perl@29738

17 years agoMake opcode.pl strict and warnings clean.
Nicholas Clark [Tue, 9 Jan 2007 21:21:56 +0000 (21:21 +0000)]
Make opcode.pl strict and warnings clean.

p4raw-id: //depot/perl@29736

17 years agoRe: Change 29723 breaks t/op/inccode-tie.t on Win32
Nicholas Clark [Tue, 9 Jan 2007 12:31:17 +0000 (12:31 +0000)]
Re: Change 29723 breaks t/op/inccode-tie.t on Win32
Message-ID: <20070109123116.GC30742@plum.flirble.org>

p4raw-id: //depot/perl@29734

17 years agoRe: [PATCH] ANSIfy the PATH environment variable on Windows
Jan Dubois [Mon, 8 Jan 2007 14:58:12 +0000 (06:58 -0800)]
Re: [PATCH] ANSIfy the PATH environment variable on Windows
Message-ID: <eei5q29hrchpam2i5g0000mbvu0b1hrm83@4ax.com>

Fixes the Borland build, in which the PATH was getting corrupted
when the variable that was just putenv()'d got free()'d

p4raw-id: //depot/perl@29732

17 years agoChange #29711 broke tr//c on Win32.
Yves Orton [Mon, 8 Jan 2007 20:31:26 +0000 (21:31 +0100)]
Change #29711 broke tr//c on Win32.
Message-ID: <9b18b3110701081131v392597c6veed493407c1eede7@mail.gmail.com>

p4raw-id: //depot/perl@29731

17 years agoLet the regex parser decide if we have a special pattern or not.
Yves Orton [Tue, 9 Jan 2007 00:46:31 +0000 (01:46 +0100)]
Let the regex parser decide if we have a special pattern or not.
Message-ID: <9b18b3110701081546n2c3f19acy29adc0d233bb848c@mail.gmail.com>

p4raw-id: //depot/perl@29730

17 years agosocketpair.t was written in 2001. At that time, Test::More got confused
Nicholas Clark [Tue, 9 Jan 2007 09:58:17 +0000 (09:58 +0000)]
socketpair.t was written in 2001. At that time, Test::More got confused
if you forked under it. Test::More 0.47 added support to detect forking
which resolves this. Hence there is now no need to fork() in a BEGIN
block, which causes issues on Win32 due to how pseudofork works.

p4raw-id: //depot/perl@29729

17 years agoRevert change #29708 (useless)
Rafael Garcia-Suarez [Tue, 9 Jan 2007 09:28:52 +0000 (09:28 +0000)]
Revert change #29708 (useless)
p4raw-link: @29708 on //depot/perl: 2ba2769ea20cab9d830589a267b2b38118c75056

p4raw-id: //depot/perl@29728

17 years agoEliminate pp_threadsv, as it was only ever used by 5005 threads.
Nicholas Clark [Mon, 8 Jan 2007 23:27:26 +0000 (23:27 +0000)]
Eliminate pp_threadsv, as it was only ever used by 5005 threads.

p4raw-id: //depot/perl@29727

17 years agodo or die; for all the List::Util pure perl tests.
Nicholas Clark [Mon, 8 Jan 2007 21:52:32 +0000 (21:52 +0000)]
do or die; for all the List::Util pure perl tests.

p4raw-id: //depot/perl@29724

17 years agodo $file; won't propagate errors from die, as do is an implicit eval.
Nicholas Clark [Mon, 8 Jan 2007 21:20:26 +0000 (21:20 +0000)]
do $file; won't propagate errors from die, as do is an implicit eval.
So need to propagate errors with $@.

p4raw-id: //depot/perl@29723

17 years agoMention -C on #! line in perltodo. Remove some trailing whitespace that
Nicholas Clark [Mon, 8 Jan 2007 14:28:17 +0000 (14:28 +0000)]
Mention -C on #! line in perltodo. Remove some trailing whitespace that
podchecker warned over.

p4raw-id: //depot/perl@29719

17 years agoChange the API doc for some of the SvXXX testing macros.
Rafael Garcia-Suarez [Mon, 8 Jan 2007 11:09:10 +0000 (11:09 +0000)]
Change the API doc for some of the SvXXX testing macros.
Often, those macros simply test a bit in sv_flags, so
the return value should be assigned to a U32 instead of
a bool to avoid truncation. (bug perl #32884)

p4raw-id: //depot/perl@29718

17 years agoTurn taint warnings (-t) into severe warnings, so they're
Rafael Garcia-Suarez [Mon, 8 Jan 2007 10:35:04 +0000 (10:35 +0000)]
Turn taint warnings (-t) into severe warnings, so they're
on by default, without having to play games with the
warning bits. Add a test for -t.

p4raw-id: //depot/perl@29717

17 years agoSilence casting warnings
Rafael Garcia-Suarez [Mon, 8 Jan 2007 09:26:01 +0000 (09:26 +0000)]
Silence casting warnings

p4raw-id: //depot/perl@29716

17 years agoDefault "$undef" for NV_PRESERVES_UV_BITS causes compilation
Marcus Holland-Moritz [Mon, 8 Jan 2007 00:49:11 +0000 (01:49 +0100)]
Default "$undef" for NV_PRESERVES_UV_BITS causes compilation
  failure of sv.c when triggered
Message-ID: <20070108004911.7022445c@r2d2>

p4raw-id: //depot/perl@29715

17 years agohelp cygwin find its dlls even on taint tests with no path
Yitzchak Scott-Thoennes [Sun, 7 Jan 2007 16:56:28 +0000 (08:56 -0800)]
help cygwin find its dlls even on taint tests with no path
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <2437.63.226.247.31.1168217788.squirrel@63.226.247.31>

p4raw-id: //depot/perl@29713

17 years agofix occasional op/time.t failure
Dave Mitchell [Mon, 8 Jan 2007 00:14:22 +0000 (00:14 +0000)]
fix occasional op/time.t failure
test 2 uses far more sys than user time, so it's possible to burn
20 secs of wall time without an apparent increase in user time

p4raw-id: //depot/perl@29712

17 years agoallocate op_pv strings from shared mem pool
Dave Mitchell [Mon, 8 Jan 2007 00:06:44 +0000 (00:06 +0000)]
allocate op_pv strings from shared mem pool

p4raw-id: //depot/perl@29711

17 years agoIn the new test for less.pm, call use_ok at compile-time
Rafael Garcia-Suarez [Sun, 7 Jan 2007 23:27:03 +0000 (23:27 +0000)]
In the new test for less.pm, call use_ok at compile-time
and add -w.

p4raw-id: //depot/perl@29710

17 years agoless useful
Joshua ben Jore [Sat, 6 Jan 2007 13:33:15 +0000 (05:33 -0800)]
less useful
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0701061333w7b89ea48kf5c8993e3de19b44@mail.gmail.com>

p4raw-id: //depot/perl@29709

17 years agoRe: [PATCH] ANSIfy the PATH environment variable on Windows
Yves Orton [Sun, 7 Jan 2007 20:51:43 +0000 (21:51 +0100)]
Re: [PATCH] ANSIfy the PATH environment variable on Windows
Message-ID: <9b18b3110701071151y13eaa554w257d2d5016ee0983@mail.gmail.com>

p4raw-id: //depot/perl@29708

17 years agoDynaLoader test failure on cygwin
Yitzchak Scott-Thoennes [Sun, 7 Jan 2007 11:56:21 +0000 (03:56 -0800)]
DynaLoader test failure on cygwin
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <1675.63.226.247.31.1168199781.squirrel@63.226.247.31>

p4raw-id: //depot/perl@29707

17 years agosilence a warning in perly.c
Dave Mitchell [Sun, 7 Jan 2007 14:55:27 +0000 (14:55 +0000)]
silence a warning in perly.c

p4raw-id: //depot/perl@29706

17 years agopatch: shorten perl.h by six lines
David Nicol [Sat, 6 Jan 2007 00:02:24 +0000 (18:02 -0600)]
patch: shorten perl.h by six lines
From: "David Nicol" <davidnicol@gmail.com>
Message-ID: <934f64a20701052202p1c77a226w32634a1c69f584c7@mail.gmail.com>

p4raw-id: //depot/perl@29705

17 years agoAdd 2007 copyrights in a few more .pl files that
Rafael Garcia-Suarez [Sat, 6 Jan 2007 06:58:41 +0000 (06:58 +0000)]
Add 2007 copyrights in a few more .pl files that
generate code (thanks to Jarkko)

p4raw-id: //depot/perl@29704

17 years agoSilence a gcc warning, spotted by Tels
Rafael Garcia-Suarez [Fri, 5 Jan 2007 23:15:38 +0000 (23:15 +0000)]
Silence a gcc warning, spotted by Tels

p4raw-id: //depot/perl@29703

17 years agoBump version of PerlIO::via after last change
Rafael Garcia-Suarez [Fri, 5 Jan 2007 18:30:52 +0000 (18:30 +0000)]
Bump version of PerlIO::via after last change

p4raw-id: //depot/perl@29702

17 years agoext/PerlIO/via/via.xs freeing the wrong thing
Bo Lindbergh [Fri, 5 Jan 2007 19:19:53 +0000 (20:19 +0100)]
ext/PerlIO/via/via.xs freeing the wrong thing
Message-Id: <C7070BEE-BFB6-4FA2-A50B-BF20CDB3B61F@hagernas.com>

p4raw-id: //depot/perl@29701

17 years agoNormalize copyright of perlio.c for years >= 2006
Rafael Garcia-Suarez [Fri, 5 Jan 2007 15:37:54 +0000 (15:37 +0000)]
Normalize copyright of perlio.c for years >= 2006

p4raw-id: //depot/perl@29700

17 years agoDo the same as #29697 for Win32
Steve Hay [Fri, 5 Jan 2007 15:04:59 +0000 (15:04 +0000)]
Do the same as #29697 for Win32

p4raw-id: //depot/perl@29699

17 years agoFix the interaction of -w and -t when provided on the command-line
Rafael Garcia-Suarez [Fri, 5 Jan 2007 14:37:31 +0000 (14:37 +0000)]
Fix the interaction of -w and -t when provided on the command-line
and/or on the shebang line : do not reset the warning bits to
'only taint'.

p4raw-id: //depot/perl@29698

17 years agoFix distclean now that we have re::Tie::Hash::NamedCapture
Rafael Garcia-Suarez [Fri, 5 Jan 2007 12:27:22 +0000 (12:27 +0000)]
Fix distclean now that we have re::Tie::Hash::NamedCapture

p4raw-id: //depot/perl@29697

17 years agoUpdate copyright years in .c files
Rafael Garcia-Suarez [Fri, 5 Jan 2007 10:47:58 +0000 (10:47 +0000)]
Update copyright years in .c files

p4raw-id: //depot/perl@29696

17 years agoUpdate copyright years in .h files. Also, in .pl
Rafael Garcia-Suarez [Fri, 5 Jan 2007 10:34:36 +0000 (10:34 +0000)]
Update copyright years in .h files. Also, in .pl
files that generate .h files, so they'll be ready
next time.

p4raw-id: //depot/perl@29695

17 years agoUpdate copyright for perlio.c
Rafael Garcia-Suarez [Fri, 5 Jan 2007 10:21:58 +0000 (10:21 +0000)]
Update copyright for perlio.c

p4raw-id: //depot/perl@29694

17 years agoRe: What if NV_PRESERVES_UV_BITS is undef? (was: Re: [PATCH] Configure test code...
SADAHIRO Tomoyuki [Thu, 4 Jan 2007 00:21:02 +0000 (09:21 +0900)]
Re: What if NV_PRESERVES_UV_BITS is undef? (was: Re: [PATCH] Configure test code fails to compile if SIGFPE is undefined)
Message-Id: <20070104001943.6BC2.BQW10602@nifty.com>

p4raw-id: //depot/perl@29693

17 years agoSilence various VC6 warnings
Steve Hay [Fri, 5 Jan 2007 09:45:08 +0000 (09:45 +0000)]
Silence various VC6 warnings

p4raw-id: //depot/perl@29692

17 years agoRe: [PATCH] perlio.c repair
Bo Lindbergh [Thu, 4 Jan 2007 18:22:09 +0000 (19:22 +0100)]
Re: [PATCH] perlio.c repair
Message-Id: <E22DC961-6821-4AC2-BA2F-9B5B06927758@hagernas.com>

p4raw-id: //depot/perl@29691

17 years agoANSIfy the PATH environment variable on Windows
Jan Dubois [Thu, 4 Jan 2007 12:37:48 +0000 (04:37 -0800)]
ANSIfy the PATH environment variable on Windows
Message-ID: <7coqp2pme3r30qaonticuv6c6licieg4cg@4ax.com>

p4raw-id: //depot/perl@29690

17 years agoAdd error handling to win32_ansipath
Jan Dubois [Thu, 4 Jan 2007 12:20:21 +0000 (04:20 -0800)]
Add error handling to win32_ansipath
Message-ID: <f2oqp2dbdglim8bda4q1kajt9k3cvpqqga@4ax.com>

p4raw-id: //depot/perl@29689

17 years agoUpgrade Module::Load::Conditional to 0.14
Rafael Garcia-Suarez [Thu, 4 Jan 2007 17:04:11 +0000 (17:04 +0000)]
Upgrade Module::Load::Conditional to 0.14

p4raw-id: //depot/perl@29688

17 years ago4th patch from:
Marcus Holland-Moritz [Mon, 1 Jan 2007 20:16:13 +0000 (21:16 +0100)]
4th patch from:

Subject: [PATCH] Cleanup SVf arguments (2nd try)
Message-ID: <20070101201613.4120d9ef@r2d2>

Introduce an SVfARG() macro for %SVf (%-p here) arguments to
perl's printf

p4raw-id: //depot/perl@29687

17 years agoThe first three patches from:
Marcus Holland-Moritz [Mon, 1 Jan 2007 20:16:13 +0000 (21:16 +0100)]
The first three patches from:

Subject: [PATCH] Cleanup SVf arguments (2nd try)
Message-ID: <20070101201613.4120d9ef@r2d2>

Adds (void*) casts to %-p and %p printf arguments

p4raw-id: //depot/perl@29686

17 years agoRe: [PATCH] Symbian port: add Series 90 support
Jarkko Hietaniemi [Thu, 4 Jan 2007 03:35:54 +0000 (22:35 -0500)]
Re: [PATCH] Symbian port: add Series 90 support
Message-ID: <459CBC6A.4060806@iki.fi>

Fixes a VC7/VC7.1 linker error following #29650/#29651

p4raw-id: //depot/perl@29685

17 years agoRemove no longer used magic vtable
Rafael Garcia-Suarez [Thu, 4 Jan 2007 14:40:18 +0000 (14:40 +0000)]
Remove no longer used magic vtable

p4raw-id: //depot/perl@29684

17 years agoSilence a 'null argument' warning
Rafael Garcia-Suarez [Thu, 4 Jan 2007 14:39:08 +0000 (14:39 +0000)]
Silence a 'null argument' warning

p4raw-id: //depot/perl@29683

17 years agoRe: [PATCH] Change implementation of %+ to use a proper tied hash interface and add...
Yves Orton [Fri, 29 Dec 2006 21:45:51 +0000 (22:45 +0100)]
Re: [PATCH] Change implementation of %+ to use a proper tied hash interface and add support for %-
Message-ID: <9b18b3110612291245q792fe91cu69422d2b81bb4f0b@mail.gmail.com>

p4raw-id: //depot/perl@29682

17 years agoAdd note to perltodo.pod about Unicode and file globbing
Jan Dubois [Thu, 28 Dec 2006 19:06:00 +0000 (11:06 -0800)]
Add note to perltodo.pod about Unicode and file globbing
Message-ID: <4e19p2lgme9qbqjkv78q7154vg6hlaar19@4ax.com>

p4raw-id: //depot/perl@29681

17 years agomake parser_free actually free the parser!
Dave Mitchell [Thu, 4 Jan 2007 01:03:22 +0000 (01:03 +0000)]
make parser_free actually free the parser!
also remove two SAVEs left over from #29655

p4raw-id: //depot/perl@29680

17 years agoRename OURSTASH to SvOURSTASH and OURSTASH_set to SvOURSTASH_set.
Nicholas Clark [Wed, 3 Jan 2007 23:13:43 +0000 (23:13 +0000)]
Rename OURSTASH to SvOURSTASH and OURSTASH_set to SvOURSTASH_set.

p4raw-id: //depot/perl@29679

17 years agohandle cloning of parsers on the save stack
Dave Mitchell [Wed, 3 Jan 2007 22:17:48 +0000 (22:17 +0000)]
handle cloning of parsers on the save stack

p4raw-id: //depot/perl@29678

17 years agoTeach dump about OURSTASH and COP ranges stored in the NV union.
Nicholas Clark [Wed, 3 Jan 2007 22:02:49 +0000 (22:02 +0000)]
Teach dump about OURSTASH and COP ranges stored in the NV union.

p4raw-id: //depot/perl@29677

17 years agoUpdate change 29607 to affect only Win32
Jan Dubois [Wed, 3 Jan 2007 08:48:22 +0000 (00:48 -0800)]
Update change 29607 to affect only Win32
Message-ID: <f9nnp2lf4hsb74jf9unlsj59ahsf4f1o1v@4ax.com>

p4raw-id: //depot/perl@29676

17 years ago[PATCH] Use short pathnames in $^X and @INC if the long form cannot be represented...
Jan Dubois [Thu, 28 Dec 2006 18:59:40 +0000 (10:59 -0800)]
[PATCH] Use short pathnames in $^X and @INC if the long form cannot be represented in the current codepage
Date: Thu, 28 Dec 2006 18:59:40 -0800
Message-ID: <vq09p2p09k6rcu6c9t0mab3vnc335ghg9m@4ax.com>

Subject: Re: [PATCH] Use short pathnames in $^X and @INC if the long form cannot be represented in the current codepage
From: Jan Dubois <jand@ActiveState.com>
Date: Wed, 03 Jan 2007 08:12:35 -0800
Message-ID: <orknp2pj17265modfosjkp2qtt4bdgtgjp@4ax.com>

p4raw-id: //depot/perl@29675

17 years agoRe: g++ unhappy
Jarkko Hietaniemi [Mon, 1 Jan 2007 14:35:46 +0000 (09:35 -0500)]
Re: g++ unhappy
Message-ID: <45996292.5090000@iki.fi>

p4raw-id: //depot/perl@29674

17 years agoMake the ptr_table functions available in an unthreaded perl, as other
Nicholas Clark [Wed, 3 Jan 2007 15:17:29 +0000 (15:17 +0000)]
Make the ptr_table functions available in an unthreaded perl, as other
code (such as Storable) can take advantage of them.

p4raw-id: //depot/perl@29673

17 years agoIO::Compress::* 2.003
Paul Marquess [Tue, 2 Jan 2007 13:14:26 +0000 (13:14 +0000)]
IO::Compress::* 2.003
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <02ca01c72e6f$eef88360$6401a8c0@myopwv.com>

p4raw-id: //depot/perl@29672

17 years agoUpgrade to Time-HiRes-1.9704
Steve Peters [Wed, 3 Jan 2007 01:46:41 +0000 (01:46 +0000)]
Upgrade to Time-HiRes-1.9704

p4raw-id: //depot/perl@29671

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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