This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoMake sure Win32CORE.pm gets cleaned up
Steve Hay [Thu, 22 Mar 2007 17:46:43 +0000 (17:46 +0000)]
Make sure Win32CORE.pm gets cleaned up

Normally it happens anyway, but sometimes when running 'distclean'
on a half-built source tree it gets left behind.

p4raw-id: //depot/perl@30691

14 years agoMisc. L<> fixes in core docs : don't link to man pages;
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:45:36 +0000 (14:45 +0000)]
Misc. L<> fixes in core docs : don't link to man pages;
provide full urls when linking to web sites.

p4raw-id: //depot/perl@30688

14 years agoFix to threads::shared t/waithires.t
Jerry D. Hedden [Thu, 22 Mar 2007 07:34:23 +0000 (00:34 -0700)]
Fix to threads::shared t/waithires.t
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <381102.32342.qm@web30207.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30687

14 years agoFix a broken link and a meaningless phrase in perldebguts
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:41:17 +0000 (14:41 +0000)]
Fix a broken link and a meaningless phrase in perldebguts

p4raw-id: //depot/perl@30686

14 years agoRemove references to perlcc from the core docs.
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:37:43 +0000 (14:37 +0000)]
Remove references to perlcc from the core docs.

p4raw-id: //depot/perl@30685

14 years agoFix internal POD link
Rafael Garcia-Suarez [Thu, 22 Mar 2007 14:25:54 +0000 (14:25 +0000)]
Fix internal POD link

p4raw-id: //depot/perl@30684

14 years agoRe-order the flags values for struct refcounted_he to allow the
Nicholas Clark [Thu, 22 Mar 2007 14:00:14 +0000 (14:00 +0000)]
Re-order the flags values for struct refcounted_he to allow the
possibility of storing 2 futher types. Add a void * to the union
as it won't increase the size, but may become useful.

p4raw-id: //depot/perl@30683

14 years agoRe: [PATCH] lib/Pod/Html.pm plus a funky UT8-8 regex bug
Jarkko Hietaniemi [Wed, 21 Mar 2007 08:01:14 +0000 (04:01 -0400)]
Re: [PATCH] lib/Pod/Html.pm plus a funky UT8-8 regex bug
Message-ID: <46011E8A.1080009@iki.fi>

p4raw-id: //depot/perl@30681

14 years agoregexp refcount is an integer, not a pointer
Rafael Garcia-Suarez [Thu, 22 Mar 2007 09:19:22 +0000 (09:19 +0000)]
regexp refcount is an integer, not a pointer

p4raw-id: //depot/perl@30680

14 years agoFix error message for re::regnames_iterinit()
Rafael Garcia-Suarez [Thu, 22 Mar 2007 09:16:37 +0000 (09:16 +0000)]
Fix error message for re::regnames_iterinit()

p4raw-id: //depot/perl@30679

14 years agoResolve PL_curpm issues with (??{}) and fix corruption of match results when pattern...
Yves Orton [Wed, 21 Mar 2007 10:39:24 +0000 (11:39 +0100)]
Resolve PL_curpm issues with (??{}) and fix corruption of match results when pattern is a qr.
Message-ID: <9b18b3110703210239x540f5ad9mdb41c2ea6229ac31@mail.gmail.com>

plus two follow-up patches (minor tweaks)

p4raw-id: //depot/perl@30678

14 years agothreads 1.61
Jerry D. Hedden [Wed, 21 Mar 2007 13:15:53 +0000 (06:15 -0700)]
threads 1.61
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <999680.51877.qm@web30208.mail.mud.yahoo.com>

Fix 'list/array' context - both keywords are supported

p4raw-id: //depot/perl@30677

14 years agofix MAD compilation of C-style for loop
Gerard Goossen [Wed, 21 Mar 2007 19:18:52 +0000 (20:18 +0100)]
fix MAD compilation of C-style for loop

Subject:  [PATCH] MAD C-style for loop
Message-Id:  <20070321181852.GD31539@ostwald>

p4raw-id: //depot/perl@30676

14 years agoSilence a couple of warnings caused by change #30672.
Steve Peters [Wed, 21 Mar 2007 23:21:46 +0000 (23:21 +0000)]
Silence a couple of warnings caused by change #30672.
p4raw-link: @30672 on //depot/perl: c94db568e030a227855e08f584b1bff860be0cf5

p4raw-id: //depot/perl@30675

14 years agoAdjust test count for 5.8.x
Nicholas Clark [Wed, 21 Mar 2007 22:59:47 +0000 (22:59 +0000)]
Adjust test count for 5.8.x

p4raw-id: //depot/perl@30673

14 years agoMake gcc warn in case code is not C++ compatible.
Steve Peters [Wed, 21 Mar 2007 22:44:10 +0000 (22:44 +0000)]
Make gcc warn in case code is not C++ compatible.

p4raw-id: //depot/perl@30672

14 years agoOnly use proxy constant subroutines for 5.9.x.
Nicholas Clark [Wed, 21 Mar 2007 22:01:32 +0000 (22:01 +0000)]
Only use proxy constant subroutines for 5.9.x.

p4raw-id: //depot/perl@30671

14 years agoChange 30661 could result in undefined variable
Jerry D. Hedden [Wed, 21 Mar 2007 12:47:52 +0000 (05:47 -0700)]
Change 30661 could result in undefined variable
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <915076.64236.qm@web30212.mail.mud.yahoo.com>
Date: Wed, 21 Mar 2007 12:47:52 -0700 (PDT)

p4raw-id: //depot/perl@30670

14 years agoAdd some PERL_MEM* defines to the -V output that were missing.
Nicholas Clark [Wed, 21 Mar 2007 19:02:50 +0000 (19:02 +0000)]
Add some PERL_MEM* defines to the -V output that were missing.
"Correct" the whitespace on the only inconsistent #ifdef/#endif

p4raw-id: //depot/perl@30667

14 years agoRemove the (sometimes) unused variable from change 30652.
Nicholas Clark [Wed, 21 Mar 2007 16:31:52 +0000 (16:31 +0000)]
Remove the (sometimes) unused variable from change 30652.

p4raw-id: //depot/perl@30661

14 years agoPod fix to h2ph from John Morrissey on the Debian bug list.
Steve Peters [Wed, 21 Mar 2007 13:32:22 +0000 (13:32 +0000)]
Pod fix to h2ph from John Morrissey on the Debian bug list.

p4raw-id: //depot/perl@30660

14 years agoDon't try to set the NV on a typeglob-in-action. Should cure bug
Nicholas Clark [Wed, 21 Mar 2007 12:53:56 +0000 (12:53 +0000)]
Don't try to set the NV on a typeglob-in-action. Should cure bug
41920.

p4raw-id: //depot/perl@30659

14 years agoAVs and HVs never had the NV slot. (Not that this error mattered, as
Nicholas Clark [Wed, 21 Mar 2007 12:20:03 +0000 (12:20 +0000)]
AVs and HVs never had the NV slot. (Not that this error mattered, as
you can't upgrade from them, and the only code path that uses the
flag in sv_upgrade isn't reached when upgrading to AVs or HVs)

p4raw-id: //depot/perl@30658

14 years agoSys::Syslog doesn't need ppport.h in core
Jerry D. Hedden [Tue, 20 Mar 2007 13:15:31 +0000 (06:15 -0700)]
Sys::Syslog doesn't need ppport.h in core
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <203426.48736.qm@web30214.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30657

14 years agoData::Dumper doesn't need ppport.h in core
Jerry D. Hedden [Tue, 20 Mar 2007 11:48:24 +0000 (04:48 -0700)]
Data::Dumper doesn't need ppport.h in core
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <627715.37131.qm@web30212.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30656

14 years agoCompress::Raw::Zlib doesn't need ppport.h in core [REVISED]
Jerry D. Hedden [Tue, 20 Mar 2007 14:05:46 +0000 (07:05 -0700)]
Compress::Raw::Zlib doesn't need ppport.h in core [REVISED]
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <855257.38889.qm@web30205.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30655

14 years agoRemove unneeded pragma line from B/t/OptreeCheck.pm
Jerry D. Hedden [Tue, 20 Mar 2007 16:43:02 +0000 (09:43 -0700)]
Remove unneeded pragma line from B/t/OptreeCheck.pm
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <376615.72521.qm@web30204.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30654

14 years agoDon't install XS::APItest and XS::Typemap
Rafael Garcia-Suarez [Wed, 21 Mar 2007 08:57:22 +0000 (08:57 +0000)]
Don't install XS::APItest and XS::Typemap

p4raw-id: //depot/perl@30653

14 years agoIn safecalloc, use the system calloc() for the non-DEBUGGING case, as
Nicholas Clark [Tue, 20 Mar 2007 23:20:46 +0000 (23:20 +0000)]
In safecalloc, use the system calloc() for the non-DEBUGGING case, as
it may be able to memset() to 0 for free.

p4raw-id: //depot/perl@30652

14 years agoRe: ppport.h in core
Jerry D. Hedden [Tue, 20 Mar 2007 09:08:19 +0000 (02:08 -0700)]
Re: ppport.h in core
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <319763.15276.qm@web30202.mail.mud.yahoo.com>

Digest::SHA no longer uses ppport.h

p4raw-id: //depot/perl@30651

14 years agomy email address changed
Michael Stevens [Tue, 20 Mar 2007 15:49:12 +0000 (15:49 +0000)]
my email address changed
Message-ID: <20070320154912.GE50318@etla.org>

p4raw-id: //depot/perl@30649

14 years agoMore nits in the PERL5LIB docs, suggested by Andreas.
Rafael Garcia-Suarez [Tue, 20 Mar 2007 11:39:16 +0000 (11:39 +0000)]
More nits in the PERL5LIB docs, suggested by Andreas.

p4raw-id: //depot/perl@30648

14 years agofeel the the baÃ\9f (encoding problems in the regex engine)
Yves Orton [Tue, 20 Mar 2007 01:40:34 +0000 (02:40 +0100)]
feel the the baÃ\9f (encoding problems in the regex engine)
Message-ID: <9b18b3110703191740m6bf21942p6521f3016ed8092f@mail.gmail.com>

p4raw-id: //depot/perl@30647

14 years agoBetter wording for the return value of select()
Rafael Garcia-Suarez [Mon, 19 Mar 2007 23:59:54 +0000 (23:59 +0000)]
Better wording for the return value of select()
(bug #41907)

p4raw-id: //depot/perl@30646

14 years agoMore adjustments to the PERL5LIB docs by Rick
Rafael Garcia-Suarez [Mon, 19 Mar 2007 23:34:50 +0000 (23:34 +0000)]
More adjustments to the PERL5LIB docs by Rick
Delaney and myself

p4raw-id: //depot/perl@30645

14 years agoLet %^H be modifiable in eval-strings (bug #41531),
Rafael Garcia-Suarez [Mon, 19 Mar 2007 23:11:12 +0000 (23:11 +0000)]
Let %^H be modifiable in eval-strings (bug #41531),
by adding a meaning for OPf_SPECIAL on OP_CONST.
Patch by Yves Orton.

p4raw-id: //depot/perl@30644

14 years agoRe: Composing @INC from PERL5LIB
Andreas J. Koenig [Mon, 19 Mar 2007 23:35:10 +0000 (00:35 +0100)]
Re: Composing @INC from PERL5LIB
Message-ID: <87ircwkgkh.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@30643

14 years agoAdjust timing tolerance in threads tests, by Jerry D. Hedden
Rafael Garcia-Suarez [Mon, 19 Mar 2007 15:42:58 +0000 (15:42 +0000)]
Adjust timing tolerance in threads tests, by Jerry D. Hedden

p4raw-id: //depot/perl@30634

14 years agoPerlIO_exportFILE() and PerlIO_releaseFILE() should manage the fd
Nicholas Clark [Mon, 19 Mar 2007 15:17:27 +0000 (15:17 +0000)]
PerlIO_exportFILE() and PerlIO_releaseFILE() should manage the fd
reference counts correctly.

p4raw-id: //depot/perl@30633

14 years agoRe: [perl #41691] [PATCH] v5.8.8 pod2html -- Convert RFC links to point ot IETF pages
Jari Aalto [Sat, 17 Mar 2007 11:11:17 +0000 (14:11 +0300)]
Re: [perl #41691] [PATCH] v5.8.8 pod2html -- Convert RFC links to point ot IETF pages
Message-ID: <87k5xg9tne.fsf@w2kpicasso.cante.net>

p4raw-id: //depot/perl@30631

14 years agoRe: perlreguts: Copy-editing and wishlist
Marvin Humphrey [Fri, 16 Mar 2007 12:44:55 +0000 (05:44 -0700)]
Re: perlreguts: Copy-editing and wishlist
Message-Id: <F6284B08-4B4E-467A-AFB2-8A71154FDD08@rectangular.com>

p4raw-id: //depot/perl@30630

14 years agoUpgrade to version.pm 0.71, by John Peacock
Rafael Garcia-Suarez [Mon, 19 Mar 2007 08:58:08 +0000 (08:58 +0000)]
Upgrade to version.pm 0.71, by John Peacock

p4raw-id: //depot/perl@30629

14 years agominor code simplification made possible by change #30627
Dave Mitchell [Mon, 19 Mar 2007 00:00:46 +0000 (00:00 +0000)]
minor code simplification made possible by change #30627
p4raw-link: @30627 on //depot/perl: e7cbf6c66722616e50aa4cda71d48adf3ae55201

p4raw-id: //depot/perl@30628

14 years agoWhen restoring localised values, call set only on container magic.
Dave Mitchell [Sun, 18 Mar 2007 23:43:05 +0000 (23:43 +0000)]
When restoring localised values, call set only on container magic.
Avoids (among other things), localised pos index being trashed at
scope exit.

p4raw-id: //depot/perl@30627

14 years agomove magic container/value test into separate function
Dave Mitchell [Sun, 18 Mar 2007 23:17:04 +0000 (23:17 +0000)]
move magic container/value test into separate function

p4raw-id: //depot/perl@30624

14 years agoThe test case applied in change 29502 really should have gone at the
Nicholas Clark [Sun, 18 Mar 2007 21:14:16 +0000 (21:14 +0000)]
The test case applied in change 29502 really should have gone at the
end of the file t/op/re_tests.

p4raw-id: //depot/perl@30618

14 years ago29044 broke Fatal.pm
Andreas J. Koenig [Sun, 18 Mar 2007 09:26:58 +0000 (10:26 +0100)]
29044 broke Fatal.pm
Message-ID: <87slc37y99.fsf@k75.linux.bogus>
Date: Sun, 18 Mar 2007 09:26:58 +0100

p4raw-id: //depot/perl@30614

14 years agoPerlIO_importFILE() should increase the reference count on the fd
Nicholas Clark [Sat, 17 Mar 2007 18:42:30 +0000 (18:42 +0000)]
PerlIO_importFILE() should increase the reference count on the fd
that it brings into PerlIO managed space. (A long standing problem
reported by Steve Hay)

p4raw-id: //depot/perl@30610

14 years agoperl5db.t: skip test when /dev/tty is not available
Alexey Tourbin [Sat, 17 Mar 2007 19:28:33 +0000 (22:28 +0300)]
perl5db.t: skip test when /dev/tty is not available
Message-ID: <20070317162833.GA10670@solemn.turbinal>

p4raw-id: //depot/perl@30609

14 years agoTest case from Karl Chen in RT #41831
Nicholas Clark [Sat, 17 Mar 2007 16:58:00 +0000 (16:58 +0000)]
Test case from Karl Chen in RT #41831
(The bug was already fixed in blead, merged to maint, and it seems
better to adapt the sample code rather than add the whole new test)

p4raw-id: //depot/perl@30608

14 years agoRemove the other 4 bits of MAD code designed to abort on local $^L.
Nicholas Clark [Sat, 17 Mar 2007 15:14:38 +0000 (15:14 +0000)]
Remove the other 4 bits of MAD code designed to abort on local $^L.

p4raw-id: //depot/perl@30607

14 years agoThe code in newCONDOP can be made visibly simpler by using intermediate
Nicholas Clark [Sat, 17 Mar 2007 13:01:18 +0000 (13:01 +0000)]
The code in newCONDOP can be made visibly simpler by using intermediate
variables. It's also 8 bytes smaller with -Os

p4raw-id: //depot/perl@30606

14 years agoUnder -Dmad, free the ops representing the dead code when a branch
Nicholas Clark [Fri, 16 Mar 2007 19:29:04 +0000 (19:29 +0000)]
Under -Dmad, free the ops representing the dead code when a branch
conditional value is actually a constant. Previously this was leaking
ops, and more visibly shared hash keys.

p4raw-id: //depot/perl@30605

14 years agoRe: [perl #41691] [PATCH] v5.8.8 pod2html -- Convert RFC links to point ot IETF pages
Jari Aalto [Wed, 14 Mar 2007 21:56:14 +0000 (00:56 +0300)]
Re: [perl #41691] [PATCH] v5.8.8 pod2html -- Convert RFC links to point ot IETF pages
Message-ID: <87hcsnbqnl.fsf@w2kpicasso.cante.net>

p4raw-id: //depot/perl@30604

14 years agoRemove the abort() trap, which Larry said was actually only ever
Nicholas Clark [Fri, 16 Mar 2007 08:41:02 +0000 (08:41 +0000)]
Remove the abort() trap, which Larry said was actually only ever
intended as a way to enter gdb by using local $^L

p4raw-id: //depot/perl@30603

14 years agoMake sure escaped dots in filenames are preserved when translating
Craig A. Berry [Fri, 16 Mar 2007 01:40:50 +0000 (01:40 +0000)]
Make sure escaped dots in filenames are preserved when translating
filenames from VMS to UNIX syntax.

p4raw-id: //depot/perl@30602

14 years agoPatch by Abigail to avoid using $& in diagnostics.pm.
Rafael Garcia-Suarez [Thu, 15 Mar 2007 17:43:43 +0000 (17:43 +0000)]
Patch by Abigail to avoid using $& in diagnostics.pm.

p4raw-id: //depot/perl@30601

14 years agoRe: Smoke [5.8.8] 30522 FAIL(XF) Solaris 2.10 (i386/1 cpu)
Abe Timmerman [Thu, 15 Mar 2007 18:06:25 +0000 (19:06 +0100)]
Re: Smoke [5.8.8] 30522 FAIL(XF) Solaris 2.10 (i386/1 cpu)
Message-ID: <45F97D11.2080009@ztreet.demon.nl>

skips some tests when perl is built without useperlio

p4raw-id: //depot/perl@30600

14 years agoPatch by Gerard Goossen to add madprops to "require" opcode
Rafael Garcia-Suarez [Thu, 15 Mar 2007 16:14:22 +0000 (16:14 +0000)]
Patch by Gerard Goossen to add madprops to "require" opcode

p4raw-id: //depot/perl@30599

14 years agoPatch by Gerard Goossen to have nomad print also
Rafael Garcia-Suarez [Thu, 15 Mar 2007 16:01:33 +0000 (16:01 +0000)]
Patch by Gerard Goossen to have nomad print also
the [ ] { } madprops.

p4raw-id: //depot/perl@30597

14 years agoDon't mention DynaLoader.a in INSTALL,
Rafael Garcia-Suarez [Thu, 15 Mar 2007 15:53:28 +0000 (15:53 +0000)]
Don't mention DynaLoader.a in INSTALL,
since it doesn't exist anymore

p4raw-id: //depot/perl@30596

14 years agoSeems that 5.6.x needs the same fix as 5.005_xx for dclone.t
Nicholas Clark [Thu, 15 Mar 2007 15:02:55 +0000 (15:02 +0000)]
Seems that 5.6.x needs the same fix as 5.005_xx for dclone.t

p4raw-id: //depot/perl@30595

14 years agoRe: [Patch] Fix some of the tests of Storable on Perl 5.004
Sébastien Aperghis-Tramoni [Thu, 15 Mar 2007 13:26:07 +0000 (14:26 +0100)]
Re: [Patch] Fix some of the tests of Storable on Perl 5.004
Message-ID: <1173961567.45f93b5f0fc9f@imp.free.fr>
Date: Thu, 15 Mar 2007 13:26:07 +0100

p4raw-id: //depot/perl@30594

14 years agoTweak to Storable to make dclone.t pass on 5.005_03.
Nicholas Clark [Thu, 15 Mar 2007 11:35:26 +0000 (11:35 +0000)]
Tweak to Storable to make dclone.t pass on 5.005_03.

p4raw-id: //depot/perl@30593

14 years agoRe: What is this MAD stuff all about?
Rick Delaney [Mon, 12 Mar 2007 20:15:12 +0000 (16:15 -0400)]
Re: What is this MAD stuff all about?
Message-ID: <20070313001511.GJ6001@bort.ca>
Date: Mon, 12 Mar 2007 20:15:12 -0400

p4raw-id: //depot/perl@30592

14 years agoUpgrade to threads::shared 1.08 :
Rafael Garcia-Suarez [Thu, 15 Mar 2007 09:52:05 +0000 (09:52 +0000)]
Upgrade to threads::shared 1.08 :
- Sub-second resolution for cont_timedwait under WIN32
  (courtesy of Dean Arnold)
- Fix compiler warnings

p4raw-id: //depot/perl@30591

14 years agoMake the isdst argument to asctime and mktime default to -1
Rafael Garcia-Suarez [Thu, 15 Mar 2007 09:35:14 +0000 (09:35 +0000)]
Make the isdst argument to asctime and mktime default to -1
instead of 0, as suggested by Mike Schilli.

p4raw-id: //depot/perl@30590

14 years agoChanges needed to get Storable to compile on 5.005_03.
Nicholas Clark [Wed, 14 Mar 2007 23:33:02 +0000 (23:33 +0000)]
Changes needed to get Storable to compile on 5.005_03.
Passing tests is a different matter...

p4raw-id: //depot/perl@30589

14 years agoRe: [perl #41687] [PATCH] v5.8.8 pod2html -- Add --[no]fragmentuniq to support more...
Jari Aalto [Wed, 7 Mar 2007 10:04:15 +0000 (12:04 +0200)]
Re: [perl #41687] [PATCH] v5.8.8 pod2html -- Add --[no]fragmentuniq to support more readable <a name=..> refs
Message-ID: <87y7m9scn4.fsf@w2kpicasso.cante.net>

with test adjustments

p4raw-id: //depot/perl@30584

14 years ago[perl #41698] [PATCH] v5.8.8 pod2html -- Add <div>..</div> around the outputted INDEX...
Jari Aalto [Sun, 4 Mar 2007 13:33:20 +0000 (05:33 -0800)]
[perl #41698] [PATCH] v5.8.8 pod2html -- Add <div>..</div> around the outputted INDEX section
From: Jari Aalto (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-2051-1173043999-1740.41698-75-0@perl.org>

plus test adjustments

p4raw-id: //depot/perl@30583

14 years ago[perl #41701] [PATCH] v5.8.8. pod2html -- F<filename> should add 'class="file"' in...
Jari Aalto [Mon, 5 Mar 2007 02:05:38 +0000 (18:05 -0800)]
[perl #41701] [PATCH] v5.8.8. pod2html -- F<filename> should add 'class="file"' in the HTML output
From: Jari Aalto (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-2051-1173089138-1801.41701-75-0@perl.org>

plus adjustments to tests

p4raw-id: //depot/perl@30582

14 years agoDe-hardcode a path in a Test::Simple test, so it works
Rafael Garcia-Suarez [Wed, 14 Mar 2007 13:38:15 +0000 (13:38 +0000)]
De-hardcode a path in a Test::Simple test, so it works
when integrated to the core.

p4raw-id: //depot/perl@30580

14 years agoUpgrade to Test-Simple-0.68. Includes a tweak to
Steve Peters [Wed, 14 Mar 2007 13:17:42 +0000 (13:17 +0000)]
Upgrade to Test-Simple-0.68.  Includes a tweak to
lib/Test/Simple/t/fail-more.t so that all of its tests pass within
the Perl core.

p4raw-id: //depot/perl@30578

14 years agouse a fresh stack when loading Errno.pm etc.
Dave Mitchell [Wed, 14 Mar 2007 12:34:05 +0000 (12:34 +0000)]
use a fresh stack when loading Errno.pm etc.
Stops 'use vars qw($!)' in lib/vars.t segfaulting.
(This can be reduced to 'my $sym = "!"; *$sym = \$$sym')

p4raw-id: //depot/perl@30577

14 years agoPatch by Sébastien Aperghis-Tramoni to avoid encoding
Rafael Garcia-Suarez [Wed, 14 Mar 2007 09:43:21 +0000 (09:43 +0000)]
Patch by Sébastien Aperghis-Tramoni to avoid encoding
everything that goes through Net::Cmd as UTF-8
(regression as of Net::Cmd 2.27, see CPAN RT #24835)

p4raw-id: //depot/perl@30576

14 years agoperlfunc.pod (ref results), perlop.pod (qr// result)
Wolfgang Laun [Wed, 14 Mar 2007 07:56:45 +0000 (08:56 +0100)]
perlfunc.pod (ref results), perlop.pod (qr// result)
Message-ID: <45F79CAD.5050005@thalesgroup.com>

p4raw-id: //depot/perl@30575

14 years agoThe dMY_CXT added in change 27938 isn't needed when in the PERL_CORE.
Nicholas Clark [Tue, 13 Mar 2007 23:10:11 +0000 (23:10 +0000)]
The dMY_CXT added in change 27938 isn't needed when in the PERL_CORE.

p4raw-id: //depot/perl@30574

14 years agoCheck that stat and -X favours the file handle over the directory
Nicholas Clark [Tue, 13 Mar 2007 22:48:46 +0000 (22:48 +0000)]
Check that stat and -X favours the file handle over the directory
handle when using *THINGY{IO} syntax too.

p4raw-id: //depot/perl@30572

14 years agoCheck that stat and -X on barewords favour the file handle over the
Nicholas Clark [Tue, 13 Mar 2007 22:24:54 +0000 (22:24 +0000)]
Check that stat and -X on barewords favour the file handle over the
directory handle for the ambiguous case.

p4raw-id: //depot/perl@30571

14 years agoBump versions of modules that are currently on "dev" releases in maint.
Nicholas Clark [Tue, 13 Mar 2007 20:48:17 +0000 (20:48 +0000)]
Bump versions of modules that are currently on "dev" releases in maint.

p4raw-id: //depot/perl@30569

14 years agoIntegrate:
Nicholas Clark [Tue, 13 Mar 2007 19:33:02 +0000 (19:33 +0000)]
Integrate:
[ 30565]
Make the constant AVf_REAL conditional on Perl version.
p4raw-link: @30565 on //depot/maint-5.8/perl: 5f8a8dc2063e97069e9cba3dcf0af31374112448

p4raw-id: //depot/perl@30566
p4raw-integrated: from //depot/maint-5.8/perl@30563 'copy in'
ext/B/defsubs_h.PL (@30564..)

14 years ago5.8's B.xs exports AVf_REAL, so need to jiggle the test count by 1.
Nicholas Clark [Tue, 13 Mar 2007 17:35:05 +0000 (17:35 +0000)]
5.8's B.xs exports AVf_REAL, so need to jiggle the test count by 1.
(And then merge the difference back into blead)

p4raw-id: //depot/perl@30563

14 years agoDB_File with g++ and db v1
Jarkko Hietaniemi [Mon, 12 Mar 2007 22:01:34 +0000 (18:01 -0400)]
DB_File with g++ and db v1
Message-ID: <45F605FE.1090606@iki.fi>

p4raw-id: //depot/perl@30562

14 years agoinform constant.pm about UNITCHECK
Joshua ben Jore [Tue, 13 Mar 2007 00:35:11 +0000 (17:35 -0700)]
inform constant.pm about UNITCHECK
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0703130035o1a739f45g1ea559d110bd5dd8@mail.gmail.com>

p4raw-id: //depot/perl@30561

14 years agoNeed a SPAGAIN here because the stack pointer might have
Rafael Garcia-Suarez [Tue, 13 Mar 2007 11:02:03 +0000 (11:02 +0000)]
Need a SPAGAIN here because the stack pointer might have
moved when evaluating a tied hash in scalar context.

p4raw-id: //depot/perl@30560

14 years agoGet B compiling and passing all tests on both 5.9.x and 5.8.x
Nicholas Clark [Tue, 13 Mar 2007 00:01:42 +0000 (00:01 +0000)]
Get B compiling and passing all tests on both 5.9.x and 5.8.x

p4raw-id: //depot/perl@30558

14 years agoFix a couple of minor typos in comments
Rafael Garcia-Suarez [Mon, 12 Mar 2007 22:14:27 +0000 (22:14 +0000)]
Fix a couple of minor typos in comments

p4raw-id: //depot/perl@30557

14 years agoBetter wording for (?|...) in perlre, from a suggestion by Ruud.
Rafael Garcia-Suarez [Mon, 12 Mar 2007 21:58:19 +0000 (21:58 +0000)]
Better wording for (?|...) in perlre, from a suggestion by Ruud.

p4raw-id: //depot/perl@30556

14 years agoRemove notes about experimental functions in the utf8 module.
Rafael Garcia-Suarez [Mon, 12 Mar 2007 21:22:55 +0000 (21:22 +0000)]
Remove notes about experimental functions in the utf8 module.
Also, document that the internal utf8 functions can be used
without loading utf8.pm. (Suggested by Juerd)

p4raw-id: //depot/perl@30555

14 years agowarn() without args doesn't take a default message in $_, but in $@
Rafael Garcia-Suarez [Mon, 12 Mar 2007 21:00:05 +0000 (21:00 +0000)]
warn() without args doesn't take a default message in $_, but in $@

p4raw-id: //depot/perl@30554

14 years agoFix the partially passing TODO test in optree_constants.t by
Nicholas Clark [Mon, 12 Mar 2007 18:21:56 +0000 (18:21 +0000)]
Fix the partially passing TODO test in optree_constants.t by
making the tests for PL_sv_yes and PL_sv_no run as separate programs,
rather than code eval'd in the current program, as under ithreads
whether you get the real thing or a copy depends on whether any
previous code has that SV in a PAD op.

p4raw-id: //depot/perl@30553

14 years agoWith the demise of ByteLoader in blead, unshare_hek can return to the
Nicholas Clark [Mon, 12 Mar 2007 15:30:39 +0000 (15:30 +0000)]
With the demise of ByteLoader in blead, unshare_hek can return to the
backwaters of 'p'. Not being visible to 'EX'tensions means that there's
less exposure to maintenance compatibility concerns.

p4raw-id: //depot/perl@30552

14 years agoUpgrade to CPAN-1.88_78
Steve Peters [Mon, 12 Mar 2007 15:12:39 +0000 (15:12 +0000)]
Upgrade to CPAN-1.88_78

p4raw-id: //depot/perl@30551

14 years agoBitten again by the snakes in the MANIFEST spec - tabs, not spaces.
Nicholas Clark [Mon, 12 Mar 2007 15:03:29 +0000 (15:03 +0000)]
Bitten again by the snakes in the MANIFEST spec - tabs, not spaces.

p4raw-id: //depot/perl@30550

14 years agoLike fake scalars, state variables shouldn't get new pad entries
Rafael Garcia-Suarez [Mon, 12 Mar 2007 14:33:01 +0000 (14:33 +0000)]
Like fake scalars, state variables shouldn't get new pad entries
at each recursion, in order to be truly stateful. (bug #41789)

p4raw-id: //depot/perl@30548

14 years agoExtUtils::Manifest fix-ups for VMS:
Craig A. Berry [Sun, 11 Mar 2007 23:42:14 +0000 (23:42 +0000)]
ExtUtils::Manifest fix-ups for VMS:
  - don't use multiple dots in .bak filenames
  - remove VMS-specific clobbering of keys with values in mkmanifest()
patch also in RT at <http://rt.cpan.org//Ticket/Display.html?id=25377>

p4raw-id: //depot/perl@30544

14 years agoUpgrade inplace.t and iprefix.t to use test.pl, avoiding a lot
Craig A. Berry [Sun, 11 Mar 2007 21:05:08 +0000 (21:05 +0000)]
Upgrade inplace.t and iprefix.t to use test.pl, avoiding a lot
of OS-specific shenanigans.

p4raw-id: //depot/perl@30543

14 years agoAdd directory depth check for older VMS systems to check83.pl
Craig A. Berry [Sun, 11 Mar 2007 21:01:35 +0000 (21:01 +0000)]
Add directory depth check for older VMS systems to check83.pl

p4raw-id: //depot/perl@30542

14 years agoTest that format references can't be wrongly dereferenced.
Nicholas Clark [Sat, 10 Mar 2007 16:56:21 +0000 (16:56 +0000)]
Test that format references can't be wrongly dereferenced.
Test that a glob dereference of a PVIO correctly sets the IO of the
temporary glob that it creates.

p4raw-id: //depot/perl@30537

14 years agoBump Exporter's $VERSION.
Nicholas Clark [Sat, 10 Mar 2007 16:20:31 +0000 (16:20 +0000)]
Bump Exporter's $VERSION.

p4raw-id: //depot/perl@30535