This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoAttempt at making IO::Handle backwards compatible again
Rafael Garcia-Suarez [Mon, 19 Dec 2005 18:43:04 +0000 (18:43 +0000)]
Attempt at making IO::Handle backwards compatible again

p4raw-id: //depot/perl@26405

16 years agoMake sv_dump (and therefore Devel::Peek) report the value of the
Nicholas Clark [Mon, 19 Dec 2005 18:28:03 +0000 (18:28 +0000)]
Make sv_dump (and therefore Devel::Peek) report the value of the
constant in inlineable constant subroutines.

p4raw-id: //depot/perl@26404

16 years agosort.pm deserves a new version number
Rafael Garcia-Suarez [Mon, 19 Dec 2005 18:20:48 +0000 (18:20 +0000)]
sort.pm deserves a new version number

p4raw-id: //depot/perl@26403

16 years agoRe: [PATCH] Make the 'sort' pragma lexically scoped
Robin Houston [Mon, 19 Dec 2005 18:46:00 +0000 (18:46 +0000)]
Re: [PATCH] Make the 'sort' pragma lexically scoped
Message-ID: <20051219174620.GA17940@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26402

16 years agoMissing file from last change
Rafael Garcia-Suarez [Mon, 19 Dec 2005 16:39:44 +0000 (16:39 +0000)]
Missing file from last change

p4raw-id: //depot/perl@26401

16 years agolatest switch/say/~~
Robin Houston [Sat, 17 Dec 2005 20:44:31 +0000 (20:44 +0000)]
latest switch/say/~~
Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26400

16 years agoUn-TODO a fixed test
Yves Orton [Sat, 17 Dec 2005 17:23:23 +0000 (18:23 +0100)]
Un-TODO a fixed test

Subject: Re: Change 26165 broke ext/threads/t/stress_re.t test on Win32 (and patch to t/test.pl and/or Test::Harness)
Message-ID: <9b18b3110512170823q1bb2cd27h838b4d4dcdba72c9@mail.gmail.com>

p4raw-id: //depot/perl@26399

16 years agoTODO-SKIP tests must be "not ok", or else the test harness will think
Yves Orton [Sat, 17 Dec 2005 17:23:23 +0000 (18:23 +0100)]
TODO-SKIP tests must be "not ok", or else the test harness will think
it's an unexpected success

Subject: Re: Change 26165 broke ext/threads/t/stress_re.t test on Win32 (and patch to t/test.pl and/or Test::Harness)
Message-ID: <9b18b3110512170823q1bb2cd27h838b4d4dcdba72c9@mail.gmail.com>

p4raw-id: //depot/perl@26398

16 years agoMake script embedded in patchlevel.h work on win32.
Yves Orton [Sat, 17 Dec 2005 19:52:00 +0000 (19:52 +0000)]
Make script embedded in patchlevel.h work on win32.
Message-ID: <9b18b3110512171052h2052d598rdf038f1d38560317@mail.gmail.com>

p4raw-id: //depot/perl@26397

16 years agoTwo test workarounds for VMS
Craig A. Berry [Sun, 18 Dec 2005 00:16:42 +0000 (00:16 +0000)]
Two test workarounds for VMS

p4raw-id: //depot/perl@26396

16 years agoAdd some paranoia to check that GP accesses aren't being done on the
Nicholas Clark [Sat, 17 Dec 2005 23:22:31 +0000 (23:22 +0000)]
Add some paranoia to check that GP accesses aren't being done on the
wrong types of SV.

p4raw-id: //depot/perl@26395

16 years agoUpgrade to Time-HiRes-1.86
Steve Peters [Sat, 17 Dec 2005 19:21:35 +0000 (19:21 +0000)]
Upgrade to Time-HiRes-1.86

p4raw-id: //depot/perl@26394

16 years agoTwo it's => its grammar fixes.
Nicholas Clark [Sat, 17 Dec 2005 18:50:08 +0000 (18:50 +0000)]
Two it's => its grammar fixes.

p4raw-id: //depot/perl@26393

16 years agoMove and const some definitions of variables used to save errno.
Nicholas Clark [Sat, 17 Dec 2005 18:25:59 +0000 (18:25 +0000)]
Move and const some definitions of variables used to save errno.

p4raw-id: //depot/perl@26392

16 years agoAdd t/op/negate.t to MANIFEST.
Nicholas Clark [Sat, 17 Dec 2005 17:46:06 +0000 (17:46 +0000)]
Add t/op/negate.t to MANIFEST.

p4raw-id: //depot/perl@26391

16 years agoPull the definition of olderrno in sv_2pv_flags into the block where
Nicholas Clark [Sat, 17 Dec 2005 17:40:44 +0000 (17:40 +0000)]
Pull the definition of olderrno in sv_2pv_flags into the block where
it's used.

p4raw-id: //depot/perl@26390

16 years agoCorrect typo in Time::HiRes tests introduced by patch 26383
Dominic Dunlop [Sat, 17 Dec 2005 15:57:54 +0000 (16:57 +0100)]
Correct typo in Time::HiRes tests introduced by patch 26383
Message-Id: <B364C747-F2BB-446F-887E-06EA2989888C@mac.com>

p4raw-id: //depot/perl@26389

16 years agoFix a typo and add some clarification to change #26387.
Steve Peters [Sat, 17 Dec 2005 15:41:38 +0000 (15:41 +0000)]
Fix a typo and add some clarification to change #26387.
p4raw-link: @26387 on //depot/perl: 8705167b57c0f17d383e9e8ced641c8a486046b2

p4raw-id: //depot/perl@26388

16 years agoAddition documentation explaining aritmetic negation on strings. Also,
Steve Peters [Sat, 17 Dec 2005 15:35:45 +0000 (15:35 +0000)]
Addition documentation explaining aritmetic negation on strings.  Also,
additional test cases based partially on code by Piotr Fusik in
RT #36675: -'-10' eq '+10'.

p4raw-id: //depot/perl@26387

16 years agoThe IV/UV choice can be made inside uiv_2buf rather than sv_2pv_flags.
Nicholas Clark [Sat, 17 Dec 2005 12:00:51 +0000 (12:00 +0000)]
The IV/UV choice can be made inside uiv_2buf rather than sv_2pv_flags.

p4raw-id: //depot/perl@26386

16 years agoThe THINKFIRST check after the GMAGICAL check in sv_2iv_flags and
Nicholas Clark [Sat, 17 Dec 2005 11:44:47 +0000 (11:44 +0000)]
The THINKFIRST check after the GMAGICAL check in sv_2iv_flags and
sv_2uv_flags should have been else if.

p4raw-id: //depot/perl@26385

16 years agoFix for ext/POSIX/t/time.t so the strftime() test works on systems
Steve Peters [Sat, 17 Dec 2005 04:03:05 +0000 (04:03 +0000)]
Fix for ext/POSIX/t/time.t so the strftime() test works on systems
that aren't quite up to SUS3.  Based on a patch by David Dyck in
RT #37960: POSIX/t/time fails bleadperl

p4raw-id: //depot/perl@26384

16 years agoUpgrade to Time-HiRes-1.85
Steve Peters [Sat, 17 Dec 2005 01:46:58 +0000 (01:46 +0000)]
Upgrade to Time-HiRes-1.85

p4raw-id: //depot/perl@26383

16 years agoTypo fixes from Robin Houston in
Nicholas Clark [Fri, 16 Dec 2005 22:41:01 +0000 (22:41 +0000)]
Typo fixes from Robin Houston in
<20051216201446.GA24709@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26382

16 years agos/Nullhv/NULL/g;
Nicholas Clark [Fri, 16 Dec 2005 21:54:13 +0000 (21:54 +0000)]
s/Nullhv/NULL/g;
# Although I see that Robin is proposing to add some :-)

p4raw-id: //depot/perl@26381

16 years agos/Nullav/NULL/g
Nicholas Clark [Fri, 16 Dec 2005 21:30:34 +0000 (21:30 +0000)]
s/Nullav/NULL/g

p4raw-id: //depot/perl@26380

16 years agoRE: PeekMessage() call in win32\win32.c win32_async_check
Jan Dubois [Fri, 16 Dec 2005 07:12:00 +0000 (07:12 +0000)]
RE: PeekMessage() call in win32\win32.c win32_async_check
Message-ID: <015901c60207$abd64210$d563a8c0@candy>

(Without the proposed alarm.t test)

p4raw-id: //depot/perl@26379

16 years agoPerl_sv_dup should be allocating bodies based on *size*, not the
Nicholas Clark [Fri, 16 Dec 2005 18:12:26 +0000 (18:12 +0000)]
Perl_sv_dup should be allocating bodies based on *size*, not the
length to copy.

p4raw-id: //depot/perl@26378

16 years agocomp/require.t exits early for the case of UTF-8 or EBCDIC, so need to
Nicholas Clark [Fri, 16 Dec 2005 15:55:51 +0000 (15:55 +0000)]
comp/require.t exits early for the case of UTF-8 or EBCDIC, so need to
add "new" tests before the end.

p4raw-id: //depot/perl@26377

16 years agochange #26373 broke threaded builds (aTHX_ now superfluous)
Dave Mitchell [Thu, 15 Dec 2005 22:03:57 +0000 (22:03 +0000)]
change #26373 broke threaded builds (aTHX_ now superfluous)
p4raw-link: @26373 on //depot/perl: ce8abf5f5d2e5b19646ab17c24a3ea87c70428c8

p4raw-id: //depot/perl@26376

16 years agoAdded test for change #26373.
Steve Peters [Thu, 15 Dec 2005 18:16:20 +0000 (18:16 +0000)]
Added test for change #26373.
p4raw-link: @26373 on //depot/perl: ce8abf5f5d2e5b19646ab17c24a3ea87c70428c8

p4raw-id: //depot/perl@26375

16 years agoFix for [perl #37886] strict 'refs' doesn't apply inside defined
Rafael Garcia-Suarez [Thu, 15 Dec 2005 18:00:34 +0000 (18:00 +0000)]
Fix for [perl #37886] strict 'refs' doesn't apply inside defined

p4raw-id: //depot/perl@26374

16 years agoPrevent require() from attempting to open directories and block
Steve Peters [Thu, 15 Dec 2005 17:48:42 +0000 (17:48 +0000)]
Prevent require() from attempting to open directories and block
devices.  This fixes RT #24404.

p4raw-id: //depot/perl@26373

16 years agoUse PL_op_desc rather than literal strings in pp_ioctl
Nicholas Clark [Thu, 15 Dec 2005 17:26:52 +0000 (17:26 +0000)]
Use PL_op_desc rather than literal strings in pp_ioctl

p4raw-id: //depot/perl@26372

16 years agoExpand the comment describing the intent of change 26370, and how it
Nicholas Clark [Thu, 15 Dec 2005 17:26:22 +0000 (17:26 +0000)]
Expand the comment describing the intent of change 26370, and how it
relates to change 24660.

p4raw-id: //depot/perl@26371

16 years agoDon't autovivify stashes as soon as the lexer sees them.
Rafael Garcia-Suarez [Thu, 15 Dec 2005 17:12:01 +0000 (17:12 +0000)]
Don't autovivify stashes as soon as the lexer sees them.
This makes defined %foo::bar:: work again.
Add tests for it, remove note in perldelta about having broken it.

p4raw-id: //depot/perl@26370

16 years agoIn Perl_apply, the name of the op can be found from PL_op_name, instead
Nicholas Clark [Thu, 15 Dec 2005 16:24:21 +0000 (16:24 +0000)]
In Perl_apply, the name of the op can be found from PL_op_name, instead
of using local string constants.

p4raw-id: //depot/perl@26369

16 years agoMore general fix for bug [perl #37915]
Rafael Garcia-Suarez [Thu, 15 Dec 2005 15:11:15 +0000 (15:11 +0000)]
More general fix for bug [perl #37915]
Make Net::Ping::mselect return undef on error instead of -1.

p4raw-id: //depot/perl@26368

16 years ago[perl #37915] Bad select error handling in Net::Ping
alexander_bluhm@genua.de [Tue, 13 Dec 2005 10:44:47 +0000 (02:44 -0800)]
[perl #37915] Bad select error handling in Net::Ping
From: alexander_bluhm@genua.de (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37915-125655.19.2646201463531@perl.org>

p4raw-id: //depot/perl@26367

16 years agoSilence test output to STDERR
Gisle Aas [Thu, 15 Dec 2005 12:34:12 +0000 (12:34 +0000)]
Silence test output to STDERR
because it makes the 'make test' output look ugly.

p4raw-id: //depot/perl@26366

16 years agoRe: [perl #37897] sprintf of version objects
John Peacock [Wed, 14 Dec 2005 10:12:56 +0000 (05:12 -0500)]
Re: [perl #37897] sprintf of version objects
Message-ID: <43A03678.2060700@rowman.com>

(with some formatting tweaks and extra test cases)

p4raw-id: //depot/perl@26365

16 years agoSome cleanups by Jarkko (and one by myself) to check83.pl
Rafael Garcia-Suarez [Thu, 15 Dec 2005 10:04:36 +0000 (10:04 +0000)]
Some cleanups by Jarkko (and one by myself) to check83.pl

p4raw-id: //depot/perl@26364

16 years agoOn VMS, put pods in [.lib.pods] rather than [.lib.pod]
Craig A. Berry [Thu, 15 Dec 2005 03:59:21 +0000 (03:59 +0000)]
On VMS, put pods in [.lib.pods] rather than [.lib.pod]
in order to avoid collisions with [.lib.Pod]

p4raw-id: //depot/perl@26363

16 years agoReverting change #26360 and #26361 since it appears that the bugs I
Steve Peters [Thu, 15 Dec 2005 02:33:11 +0000 (02:33 +0000)]
Reverting change #26360 and #26361 since it appears that the bugs I
thought I fixed had been previously fixed with change #25953.
p4raw-link: @26360 on //depot/perl: f7ae8051c95a2bdf42aad8ef8cbdb82f5608126f
p4raw-link: @25953 on //depot/perl: 9850bf21fc4ed69d8ddb0293df59411f891c62df

p4raw-id: //depot/perl@26362

16 years agoAgain, FREETMPS not SAVETMPS!
Steve Peters [Thu, 15 Dec 2005 02:02:25 +0000 (02:02 +0000)]
Again, FREETMPS not SAVETMPS!

p4raw-id: //depot/perl@26361

16 years agoAdd a missing FREETMPS to match up with a SAVETMPS. This change
Steve Peters [Thu, 15 Dec 2005 02:00:19 +0000 (02:00 +0000)]
Add a missing FREETMPS to match up with a SAVETMPS.  This change
fixes problems with nested sorts.  (RTs #7063 and #36430).

p4raw-id: //depot/perl@26360

16 years agoUpgrade to Getopt-Long-2.35
Steve Peters [Thu, 15 Dec 2005 00:36:25 +0000 (00:36 +0000)]
Upgrade to Getopt-Long-2.35

p4raw-id: //depot/perl@26359

16 years agoUsing the system's utime() requires a patch to vms/vmsish.h
Craig A. Berry [Wed, 14 Dec 2005 22:03:28 +0000 (22:03 +0000)]
Using the system's utime() requires a patch to vms/vmsish.h
that has not been submitted yet.

p4raw-id: //depot/perl@26358

16 years agolib/Pod/t/man.t should use TODO with not ok to express its intentions
Nicholas Clark [Wed, 14 Dec 2005 16:41:33 +0000 (16:41 +0000)]
lib/Pod/t/man.t should use TODO with not ok to express its intentions
correctly in TAP. (or alternatively if it really wants to skip, it
needs to print ok)

p4raw-id: //depot/perl@26357

16 years agoDuplicate the AMAGIC temporary variable consting from sv_2iv_flags into
Nicholas Clark [Wed, 14 Dec 2005 15:25:39 +0000 (15:25 +0000)]
Duplicate the AMAGIC temporary variable consting from sv_2iv_flags into
sv_2uv_flags, sv_2nv and sv_2pv_flags.

p4raw-id: //depot/perl@26355

16 years ago Simplify the SvGMAGIC code in sv_[ipu]v_flags.
Nicholas Clark [Wed, 14 Dec 2005 14:59:18 +0000 (14:59 +0000)]
 Simplify the SvGMAGIC code in sv_[ipu]v_flags.

p4raw-id: //depot/perl@26354

16 years agoSimplify the SvGMAGIC code in sv_2nv, removing duplicated checks to
Nicholas Clark [Wed, 14 Dec 2005 14:08:24 +0000 (14:08 +0000)]
Simplify the SvGMAGIC code in sv_2nv, removing duplicated checks to
warn for uninitialized values.

p4raw-id: //depot/perl@26353

16 years agoThe logic to use SVt_NV or SVt_PVNV is in sv_upgrade, so no need to
Nicholas Clark [Wed, 14 Dec 2005 13:22:14 +0000 (13:22 +0000)]
The logic to use SVt_NV or SVt_PVNV is in sv_upgrade, so no need to
dupliate it in sv_2nv. Also, the final sv_upgrade is never called.

p4raw-id: //depot/perl@26352

16 years agoforgot to add new file to change #26350
Dave Mitchell [Wed, 14 Dec 2005 12:46:29 +0000 (12:46 +0000)]
forgot to add new file to change #26350
p4raw-link: @26350 on //depot/perl: 402174ade5cfc00aa74adb59911c447ef485c570

p4raw-id: //depot/perl@26351

16 years ago[perl #37919] Blessed scalar refs with threads::shared
Jerry D. Hedden [Tue, 13 Dec 2005 15:11:20 +0000 (07:11 -0800)]
[perl #37919] Blessed scalar refs with threads::shared
From:  "Jerry D. Hedden" (via RT) <perlbug-followup@perl.org>
Message-Id:  <rt-3.0.11-37919-125690.15.3722450337035@perl.org>

Unlike arrays and hashes, coping blessed refs to shared scalars left
the copy unblessed

p4raw-id: //depot/perl@26350

16 years agoFix compilation error when building with -DPERL_MEM_LOG_STDERR
Steve Hay [Wed, 14 Dec 2005 12:41:02 +0000 (12:41 +0000)]
Fix compilation error when building with -DPERL_MEM_LOG_STDERR

p4raw-id: //depot/perl@26349

16 years agoConvert range.t to test.pl
Nicholas Clark [Tue, 13 Dec 2005 22:07:30 +0000 (22:07 +0000)]
Convert range.t to test.pl

p4raw-id: //depot/perl@26347

16 years agoUpdate embed.fnc and headers after change 26345 (spotted by Rafael)
Nicholas Clark [Tue, 13 Dec 2005 20:05:31 +0000 (20:05 +0000)]
Update embed.fnc and headers after change 26345 (spotted by Rafael)

p4raw-id: //depot/perl@26346

16 years agoInline asIV and asUV, as each is only used once, and it distracts from
Nicholas Clark [Tue, 13 Dec 2005 19:44:22 +0000 (19:44 +0000)]
Inline asIV and asUV, as each is only used once, and it distracts from
the patterns of repeated code in sv_2iv_flags, sv_2uv_flags, sv_2nv
and sv_2pv_flags. Add a comment noting the return path from the end of
the SvGMAGICAL case to all 4.

p4raw-id: //depot/perl@26345

16 years agoDon't include utime.h in vms.c -- it collides with
Craig A. Berry [Tue, 13 Dec 2005 17:27:48 +0000 (17:27 +0000)]
Don't include utime.h in vms.c -- it collides with
homegroun definitions in vmsish.h.

p4raw-id: //depot/perl@26344

16 years agoFix realclean target for Sys::Syslog
Rafael Garcia-Suarez [Tue, 13 Dec 2005 14:07:12 +0000 (14:07 +0000)]
Fix realclean target for Sys::Syslog

p4raw-id: //depot/perl@26343

16 years agoRemove tests that were not portable to 64bit ints.
Gisle Aas [Tue, 13 Dec 2005 13:54:44 +0000 (13:54 +0000)]
Remove tests that were not portable to 64bit ints.

p4raw-id: //depot/perl@26342

16 years agoRenaming of some of Pod::Simple's test files to make it more 8.3
Steve Peters [Tue, 13 Dec 2005 12:17:57 +0000 (12:17 +0000)]
Renaming of some of Pod::Simple's test files to make it more 8.3
friendly.

p4raw-id: //depot/perl@26341

16 years agoChanges to Pod::Simple's tests to get rid of the "^"s in the
Steve Peters [Tue, 13 Dec 2005 11:54:54 +0000 (11:54 +0000)]
Changes to Pod::Simple's tests to get rid of the "^"s in the
directory names.

p4raw-id: //depot/perl@26340

16 years agoAdd overflow check to EXPECT_NUMBER() used by sv_vcatpvfn().
Gisle Aas [Tue, 13 Dec 2005 11:40:26 +0000 (11:40 +0000)]
Add overflow check to EXPECT_NUMBER() used by sv_vcatpvfn().
sprintf() or printf() will now croak if any of the indexes and
widths specified in the format string are too large.

p4raw-id: //depot/perl@26339

16 years agoRe: check83.pl
Yitzchak Scott-Thoennes [Sun, 11 Dec 2005 07:19:58 +0000 (23:19 -0800)]
Re: check83.pl
Message-ID: <20051211151958.GA6188@efn.org>

p4raw-id: //depot/perl@26338

16 years agoFix lib/File/Compare.t test failures on Win32
Steve Hay [Tue, 13 Dec 2005 09:41:29 +0000 (09:41 +0000)]
Fix lib/File/Compare.t test failures on Win32

Change 26225, updated by 26245, added a test for another filename with
a trailing space but failed to open the new filehandle in binary mode

To compound matters, creating a file called "foo " on Win32 "succeeds"
but actually creates a file called just "foo", so we have actually
overwritten the original file with this non-binary mode version, and
hence some of the original tests started failing too!

(And because of this the new test doesn't actually add anything new on
Win32 at the moment, but right now I can't think of a filename that
would have failed under 2-arg open but succeeds with 3-arg open, which
was the purpose of this test)

p4raw-id: //depot/perl@26337

16 years agoDon't try to export Perl_pad_sv when it isn't defined
Steve Hay [Tue, 13 Dec 2005 08:54:45 +0000 (08:54 +0000)]
Don't try to export Perl_pad_sv when it isn't defined

Fixes a Win32 linker error in non-DEBUGGING builds following 26316

p4raw-id: //depot/perl@26336

16 years agoA suggestion by Yamashina Hio to speed up substitutions
YAMASHINA Hio [Tue, 30 Aug 2005 17:17:23 +0000 (02:17 +0900)]
A suggestion by Yamashina Hio to speed up substitutions
with right-hand side expressions by freeing temporaries.
See :

Subject: s///ge; consumes PL_tmps_stack in its loop
Message-Id: <20050830160113.9716.HIO@ymir.co.jp>

p4raw-id: //depot/perl@26334

16 years agoCheck that %v$foo does not crash.
Nicholas Clark [Mon, 12 Dec 2005 15:24:06 +0000 (15:24 +0000)]
Check that %v$foo does not crash.

p4raw-id: //depot/perl@26332

16 years agoUse load_module() instead of perl_eval_sv("require $mod") to
Gisle Aas [Mon, 12 Dec 2005 13:55:14 +0000 (13:55 +0000)]
Use load_module() instead of perl_eval_sv("require $mod") to
load modules.  This is safer since $mod comes from an external
source.

p4raw-id: //depot/perl@26330

16 years agoPod::Man's tests aren't Unicode friendly. Let's skip the unfriendly
Steve Peters [Mon, 12 Dec 2005 13:21:03 +0000 (13:21 +0000)]
Pod::Man's tests aren't Unicode friendly.  Let's skip the unfriendly
test for now.

p4raw-id: //depot/perl@26329

16 years agoRobin Houston points out a better way to replace
Rafael Garcia-Suarez [Mon, 12 Dec 2005 13:18:21 +0000 (13:18 +0000)]
Robin Houston points out a better way to replace
the C<defined %foo::bar::> construct.

p4raw-id: //depot/perl@26328

16 years agoOops, change 26326 broke t/run/switches.t
Gisle Aas [Mon, 12 Dec 2005 12:21:39 +0000 (12:21 +0000)]
Oops, change 26326 broke t/run/switches.t
Reverting change 24912 fixes it.

p4raw-id: //depot/perl@26327

16 years agoDrop "v" prefix from sprintf("%vd", $^V).
Gisle Aas [Mon, 12 Dec 2005 10:41:04 +0000 (10:41 +0000)]
Drop "v" prefix from sprintf("%vd", $^V).

The sprintf documentation has this example:

   printf "version is v%vd\n", $^V;

and it printed 'version is vv5.9.3\n'.

p4raw-id: //depot/perl@26326

16 years agoFix *printf %*vd with mixed Latin 1/UTF-8. (Fixes bug 37889)
Nicholas Clark [Sun, 11 Dec 2005 22:37:40 +0000 (22:37 +0000)]
Fix *printf %*vd with mixed Latin 1/UTF-8. (Fixes bug 37889)

p4raw-id: //depot/perl@26325

16 years agoMove the rest of the data munging into the test preparation loop.
Nicholas Clark [Sun, 11 Dec 2005 20:34:33 +0000 (20:34 +0000)]
Move the rest of the data munging into the test preparation loop.

p4raw-id: //depot/perl@26324

16 years agoMove the $data and $result munging into the test preparation loop.
Nicholas Clark [Sun, 11 Dec 2005 19:49:53 +0000 (19:49 +0000)]
Move the $data and $result munging into the test preparation loop.

p4raw-id: //depot/perl@26323

16 years agoDisallow sprintf's vector handling for non-integer formats.
Gisle Aas [Sun, 11 Dec 2005 18:14:24 +0000 (18:14 +0000)]
Disallow sprintf's vector handling for non-integer formats.
Avoids core dump for printf("%vs") and similar.

p4raw-id: //depot/perl@26321

16 years agoQuench the other 2 ways obscure ways of abusing positional parameters
Nicholas Clark [Sun, 11 Dec 2005 12:54:14 +0000 (12:54 +0000)]
Quench the other 2 ways obscure ways of abusing positional parameters
to generate bogus array indexes. These two are inside the vector
formatting code.

p4raw-id: //depot/perl@26320

16 years agoRe-instate the old perl getcwd as _perl_getcwd, and use it if loading
Nicholas Clark [Sat, 10 Dec 2005 18:13:33 +0000 (18:13 +0000)]
Re-instate the old perl getcwd as _perl_getcwd, and use it if loading
the XS fails. (Needed to bootstrap the core build)

p4raw-id: //depot/perl@26319

16 years agoUpgrade to PathTools-3.14_01
Steve Peters [Sat, 10 Dec 2005 15:42:39 +0000 (15:42 +0000)]
Upgrade to PathTools-3.14_01

p4raw-id: //depot/perl@26318

16 years agoCode tweaks in sv.c
Andy Lester [Fri, 9 Dec 2005 11:09:21 +0000 (05:09 -0600)]
Code tweaks in sv.c
Message-ID: <20051209170921.GC16943@petdance.com>

Includes a minor change the patch to account for code that moved
elsewhere.

p4raw-id: //depot/perl@26317

16 years agoExcluding pad funcs when not debugging
Andy Lester [Wed, 7 Dec 2005 21:58:05 +0000 (15:58 -0600)]
Excluding pad funcs when not debugging
Message-ID: <20051208035805.GA23007@petdance.com>

p4raw-id: //depot/perl@26316

16 years agoA better hash for PTR_TABLE_HASH (?)
Nicholas Clark [Fri, 9 Dec 2005 23:09:42 +0000 (23:09 +0000)]
A better hash for PTR_TABLE_HASH (?)

p4raw-id: //depot/perl@26315

16 years agopatch@26310 - Major step for > 256 char paths on VMS
John E. Malmberg [Fri, 9 Dec 2005 14:08:53 +0000 (09:08 -0500)]
patch@26310 - Major step for > 256 char paths on VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4399D645.8070803@qsl.net>

p4raw-id: //depot/perl@26314

16 years agoAn alternative way of structuring ptr_table_clear so that the variables
Nicholas Clark [Fri, 9 Dec 2005 19:18:32 +0000 (19:18 +0000)]
An alternative way of structuring ptr_table_clear so that the variables
can be assigned to at declaration time.

p4raw-id: //depot/perl@26313

16 years agoA more efficient way to loop in ptr_table_clear
Nicholas Clark [Fri, 9 Dec 2005 18:46:17 +0000 (18:46 +0000)]
A more efficient way to loop in ptr_table_clear

p4raw-id: //depot/perl@26312

16 years agoRe: Pod::Simple integration
Andreas König [Fri, 9 Dec 2005 07:06:00 +0000 (08:06 +0100)]
Re: Pod::Simple integration
Message-ID: <87k6ee7qk7.fsf@k75.linux.bogus>

These files are still giving problems after attempting to convert
them to text in p4.  The tests pass without them, so we'll remove them
from the Perl distribution.

p4raw-id: //depot/perl@26311

16 years agoFixes compile errors introduce with change #26301 when compiling
Steve Peters [Fri, 9 Dec 2005 03:39:17 +0000 (03:39 +0000)]
Fixes compile errors introduce with change #26301 when compiling
with ithreads and DEBUGGING.
p4raw-link: @26301 on //depot/perl: 7bf61b542bce8caca5f166daaf28742d80217049

p4raw-id: //depot/perl@26310

16 years agoUpgrade to Sys-Syslog-0.10
Steve Peters [Fri, 9 Dec 2005 02:07:32 +0000 (02:07 +0000)]
Upgrade to Sys-Syslog-0.10

p4raw-id: //depot/perl@26309

16 years agoUpgrade to CGI.pm-3.15
Steve Peters [Fri, 9 Dec 2005 01:41:44 +0000 (01:41 +0000)]
Upgrade to CGI.pm-3.15

p4raw-id: //depot/perl@26308

16 years agoAdd pointer to Pod::Simple for the Pod -> HTML task.
Steve Peters [Thu, 8 Dec 2005 19:40:33 +0000 (19:40 +0000)]
Add pointer to Pod::Simple for the Pod -> HTML task.

p4raw-id: //depot/perl@26307

16 years agoOne final Pod::Usage yak to shave...
Steve Peters [Thu, 8 Dec 2005 19:21:25 +0000 (19:21 +0000)]
One final Pod::Usage yak to shave...

p4raw-id: //depot/perl@26306

16 years agoVersion bump for Pod::Usage
Steve Peters [Thu, 8 Dec 2005 19:07:38 +0000 (19:07 +0000)]
Version bump for Pod::Usage

p4raw-id: //depot/perl@26305

16 years agoFurther yak-shaving on Pod::Usage. Now, t/pod/pod2usage2.t tests
Steve Peters [Thu, 8 Dec 2005 19:04:59 +0000 (19:04 +0000)]
Further yak-shaving on Pod::Usage.  Now, t/pod/pod2usage2.t tests
pass.

p4raw-id: //depot/perl@26304

16 years agoFix to Pod::Usage to work with all recent Pod::Text versions. Also
Steve Peters [Thu, 8 Dec 2005 15:53:36 +0000 (15:53 +0000)]
Fix to Pod::Usage to work with all recent Pod::Text versions.  Also
includes a change to the Pod::Usage test file for compatibility
purposes.

p4raw-id: //depot/perl@26303

16 years agoOn VMS, do not use Perl's memory allocator for the home-grown pipe
Craig A. Berry [Thu, 8 Dec 2005 14:47:57 +0000 (14:47 +0000)]
On VMS, do not use Perl's memory allocator for the home-grown pipe
structures.  They may be allocated during start-up and are torn down
in an exit handler, where thread context and other Perlish support
are iffy.

p4raw-id: //depot/perl@26302

16 years agoMerge common code from ptr_table_fetch and ptr_table_store into
Nicholas Clark [Thu, 8 Dec 2005 14:06:37 +0000 (14:06 +0000)]
Merge common code from ptr_table_fetch and ptr_table_store into
S_ptr_table_find.

p4raw-id: //depot/perl@26301

16 years agoFixup the setsockopt usage message; missing OPTVAL.
Gisle Aas [Thu, 8 Dec 2005 09:56:22 +0000 (09:56 +0000)]
Fixup the setsockopt usage message; missing OPTVAL.

p4raw-id: //depot/perl@26300