This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
20 years agoImplement stacked filetest operators (-f -w -x $file).
Rafael Garcia-Suarez [Mon, 9 Feb 2004 21:48:15 +0000 (21:48 +0000)]
Implement stacked filetest operators (-f -w -x $file).

p4raw-id: //depot/perl@22294

20 years agoRe: [perl #26073] sprintf miscounts padding when format is utf8
Hugo van der Sanden [Mon, 9 Feb 2004 03:21:21 +0000 (03:21 +0000)]
Re: [perl #26073] sprintf miscounts padding when format is utf8
Message-Id: <200402090321.i193LL907950@zen.crypt.org>

p4raw-id: //depot/perl@22292

20 years agoreduce overhead of charnames.pm, make op/pat.t work under miniperl
Yitzchak Scott-Thoennes [Mon, 9 Feb 2004 00:51:45 +0000 (16:51 -0800)]
reduce overhead of charnames.pm, make op/pat.t work under miniperl
Message-ID: <20040209085145.GA3204@efn.org>
(plus an etymological notice)

p4raw-id: //depot/perl@22291

20 years agoAdd the new private flag OPpGREP_LEX in B::Concise.
Rafael Garcia-Suarez [Sun, 8 Feb 2004 21:34:27 +0000 (21:34 +0000)]
Add the new private flag OPpGREP_LEX in B::Concise.

p4raw-id: //depot/perl@22290

20 years agomap and grep weren't working correctly with lexical $_ in
Rafael Garcia-Suarez [Sun, 8 Feb 2004 21:21:28 +0000 (21:21 +0000)]
map and grep weren't working correctly with lexical $_ in
scalar context, because pp_mapwhile and pp_grepwhile were using
their target as a temporary slot to store the return value.

p4raw-id: //depot/perl@22289

20 years agoRe: [PATCH] Add "Camel" logo icon to perl.exe on Windows
Greg Matheson [Mon, 2 Feb 2004 16:52:44 +0000 (00:52 +0800)]
Re: [PATCH] Add "Camel" logo icon to perl.exe on Windows
Message-ID: <20040202165244.A17415@ms.chinmin.edu.tw>

p4raw-id: //depot/perl@22287

20 years agoCorrect some prototypes in perlapi.pod
Steve Hay [Fri, 6 Feb 2004 12:44:05 +0000 (12:44 +0000)]
Correct some prototypes in perlapi.pod
Message-ID: <40238C15.2090200@uk.radan.com>

p4raw-id: //depot/perl@22286

20 years agoFix absolute path handling in installhtml
Steve Hay [Fri, 6 Feb 2004 16:14:14 +0000 (16:14 +0000)]
Fix absolute path handling in installhtml
Message-ID: <4023BD56.6090903@uk.radan.com>

p4raw-id: //depot/perl@22285

20 years agochomp() cares about Unicode
SADAHIRO Tomoyuki [Sat, 7 Feb 2004 00:08:36 +0000 (09:08 +0900)]
chomp() cares about Unicode
Message-Id: <20040206235116.0E36.BQW10602@nifty.com>

p4raw-id: //depot/perl@22284

20 years agoComment to record why we can't clear placeholders in hsplit
Nicholas Clark [Sat, 7 Feb 2004 22:32:44 +0000 (22:32 +0000)]
Comment to record why we can't clear placeholders in hsplit

p4raw-id: //depot/perl@22282

20 years agodeleting keys in restricted hashes was leaking the entry. Yow!
Nicholas Clark [Sat, 7 Feb 2004 21:46:59 +0000 (21:46 +0000)]
deleting keys in restricted hashes was leaking the entry. Yow!

p4raw-id: //depot/perl@22281

20 years agoNow hv_delete is able to ingore placeholders.
Nicholas Clark [Sat, 7 Feb 2004 21:20:16 +0000 (21:20 +0000)]
Now hv_delete is able to ingore placeholders.
(This is an XS visible change in the hash API. But not of documented
behaviour)

p4raw-id: //depot/perl@22280

20 years agoAll whitespace is equal, but some whitespace is more equal than others
Nicholas Clark [Sat, 7 Feb 2004 20:56:50 +0000 (20:56 +0000)]
All whitespace is equal, but some whitespace is more equal than others
(lib/DBM_Filter/Changes line had spaces. Spaces bad. Tabs better)

p4raw-id: //depot/perl@22279

20 years agohv_clear_placeholders now manipulates the linked lists directly, rather
Nicholas Clark [Sat, 7 Feb 2004 19:50:10 +0000 (19:50 +0000)]
hv_clear_placeholders now manipulates the linked lists directly, rather
than using the iterator interface and calling hv_delete
This will allow hv_delete to be simplified to remove most of the
special casing related to placeholders.

p4raw-id: //depot/perl@22278

20 years agoAdded hints_4.sh for specific AIX 4 support
H.Merijn Brand [Fri, 6 Feb 2004 11:47:14 +0000 (11:47 +0000)]
Added hints_4.sh for specific AIX 4 support
this is the next stage in the general cleanup process
for the AIX hints. More to come

p4raw-id: //depot/perl@22273

20 years agoFix a non-standard NAME pod section
Rafael Garcia-Suarez [Fri, 6 Feb 2004 07:32:15 +0000 (07:32 +0000)]
Fix a non-standard NAME pod section
(by Smylers and Casey West)

p4raw-id: //depot/perl@22272

20 years agoThe "my $_" wasn't nice with foreach loops.
Rafael Garcia-Suarez [Wed, 4 Feb 2004 19:50:05 +0000 (19:50 +0000)]
The "my $_" wasn't nice with foreach loops.

p4raw-id: //depot/perl@22268

20 years agoAIX 3 support removed from default hints after its separation
H.Merijn Brand [Wed, 4 Feb 2004 10:24:33 +0000 (10:24 +0000)]
AIX 3 support removed from default hints after its separation

p4raw-id: //depot/perl@22267

20 years agoAIX 3 hints split off from default hints in preparation
H.Merijn Brand [Wed, 4 Feb 2004 10:16:20 +0000 (10:16 +0000)]
AIX 3 hints split off from default hints in preparation
of a hint file cleanup. aix_4.sh will follow soon

p4raw-id: //depot/perl@22266

20 years agoMore docs and tests for "my $_".
Rafael Garcia-Suarez [Tue, 3 Feb 2004 21:54:23 +0000 (21:54 +0000)]
More docs and tests for "my $_".

p4raw-id: //depot/perl@22265

20 years agowas Re: [Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.36.tar.gz]
John Peacock [Sun, 1 Feb 2004 21:10:07 +0000 (16:10 -0500)]
was Re: [Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.36.tar.gz]
Message-ID: <401DB17F.5060808@rowman.com>

p4raw-id: //depot/perl@22264

20 years agoImplement "my $_".
Rafael Garcia-Suarez [Tue, 3 Feb 2004 19:41:11 +0000 (19:41 +0000)]
Implement "my $_".

p4raw-id: //depot/perl@22263

20 years agoRegenerate perlapi.pod.
Rafael Garcia-Suarez [Tue, 3 Feb 2004 16:38:25 +0000 (16:38 +0000)]
Regenerate perlapi.pod.

p4raw-id: //depot/perl@22262

20 years agoIf someone chooses xlc as default C compiler, threaded builds
H.Merijn Brand [Tue, 3 Feb 2004 12:57:37 +0000 (12:57 +0000)]
If someone chooses xlc as default C compiler, threaded builds
will fail, unless converted to cc_r

p4raw-id: //depot/perl@22261

20 years agopatch for IRIX/gcc link issues
Martin Pool [Wed, 28 Jan 2004 10:56:25 +0000 (21:56 +1100)]
patch for IRIX/gcc link issues
Message-ID: <20040127235624.GA32612@hp.com>

p4raw-id: //depot/perl@22260

20 years agoupdate fix to Shell.pm in change #22254: make /dev/null portable
Dave Mitchell [Sun, 1 Feb 2004 17:42:44 +0000 (17:42 +0000)]
update fix to Shell.pm in change #22254: make /dev/null portable
p4raw-link: @22254 on //depot/perl: c4a2e7a54bf494cff88f7c7c033f6b017d36f653

p4raw-id: //depot/perl@22259

20 years agoRe: [perl #15063] /tmp issues
Solar Designer [Mon, 26 Jan 2004 01:22:18 +0000 (04:22 +0300)]
Re: [perl #15063] /tmp issues
Message-ID: <20040125222218.GA13499@openwall.com>

Remove insecure usage of /tmp from code and documentation

p4raw-id: //depot/perl@22258

20 years agothreads documentation: fork on UNIX might not copy all threads.
Dave Mitchell [Sun, 1 Feb 2004 15:46:24 +0000 (15:46 +0000)]
threads documentation: fork on UNIX might not copy all threads.

p4raw-id: //depot/perl@22257

20 years agoadd test for Change 22194:
Dave Mitchell [Sun, 1 Feb 2004 15:34:59 +0000 (15:34 +0000)]
add test for Change 22194:
[perl #25147] "stmt if BAREWORD" bypasses strict 'subs' checks

p4raw-id: //depot/perl@22256

20 years agoPatch for Shell.pm
Manuel Valente [Tue, 27 Jan 2004 19:18:26 +0000 (20:18 +0100)]
Patch for Shell.pm
Message-Id:  <4016AB72.1080503@idealx.com>

New option for Shell.pm to discard stderr instead of capturing it

p4raw-id: //depot/perl@22254

20 years agoMake Time/HiRes/t/HiRes.t die more gracefully if its watchdog
Dave Mitchell [Sun, 1 Feb 2004 11:26:47 +0000 (11:26 +0000)]
Make Time/HiRes/t/HiRes.t die more gracefully if its watchdog
timeout triggers

p4raw-id: //depot/perl@22253

20 years agoDon't show code closing STD{IN,OUT} before reopening, because
Chip Salzenberg [Sat, 31 Jan 2004 17:29:05 +0000 (17:29 +0000)]
Don't show code closing STD{IN,OUT} before reopening, because
doing so is unnecessary and occasionally harmful.

p4raw-id: //depot/perl@22252

20 years agoAnother undocumented use of $_ : with reverse().
Rafael Garcia-Suarez [Fri, 30 Jan 2004 08:29:55 +0000 (08:29 +0000)]
Another undocumented use of $_ : with reverse().

p4raw-id: //depot/perl@22248

20 years agoDrop optimization for -O3 *and higher*
H.Merijn Brand [Fri, 30 Jan 2004 08:18:28 +0000 (08:18 +0000)]
Drop optimization for -O3 *and higher*

p4raw-id: //depot/perl@22247

20 years agoRegenerate perlapi.pod.
Rafael Garcia-Suarez [Thu, 29 Jan 2004 23:20:01 +0000 (23:20 +0000)]
Regenerate perlapi.pod.

p4raw-id: //depot/perl@22246

20 years agoRe: [perl #25269] panic: pp_match start/end pointers in m/^(?=.*(a)).*(bc)/
Hugo van der Sanden [Thu, 29 Jan 2004 15:12:12 +0000 (15:12 +0000)]
Re: [perl #25269] panic: pp_match start/end pointers in m/^(?=.*(a)).*(bc)/
Message-Id: <200401291512.i0TFCCr23736@zen.crypt.org>

p4raw-id: //depot/perl@22245

20 years agoI'm the new maintainer of Switch.
Rafael Garcia-Suarez [Wed, 28 Jan 2004 22:00:09 +0000 (22:00 +0000)]
I'm the new maintainer of Switch.
Sync with the CPAN version of Switch 2.10.

p4raw-id: //depot/perl@22244

20 years agoMessage-ID: <40113F7B.6050701@davidfavor.com>
David Favor [Fri, 23 Jan 2004 09:36:27 +0000 (03:36 -0600)]
Message-ID: <40113F7B.6050701@davidfavor.com>
Part I: In hints/aix.sh change -qmaxmem=16384 to -qmaxmem=-1
so no compilation stack limits are imposed.

p4raw-id: //depot/perl@22243

20 years agoUpdate perl591delta.pod with what we've done so far.
Rafael Garcia-Suarez [Tue, 27 Jan 2004 22:44:30 +0000 (22:44 +0000)]
Update perl591delta.pod with what we've done so far.

p4raw-id: //depot/perl@22242

20 years agoRegenerate Changes.
Rafael Garcia-Suarez [Tue, 27 Jan 2004 21:54:31 +0000 (21:54 +0000)]
Regenerate Changes.
Only include changes from the perl branch.

p4raw-id: //depot/perl@22239

20 years agoStorable's hints file shouldn't blanket set optimize to -O2 on Linux
Nicholas Clark [Tue, 27 Jan 2004 21:51:27 +0000 (21:51 +0000)]
Storable's hints file shouldn't blanket set optimize to -O2 on Linux
Only *drop* optimize to -O2 if it's -O3 on gcc on Linux

p4raw-id: //depot/perl@22238

20 years agoMore punctuation, good.
Rafael Garcia-Suarez [Tue, 27 Jan 2004 21:19:03 +0000 (21:19 +0000)]
More punctuation, good.

p4raw-id: //depot/perl@22235

20 years ago5.8.3 -- fix signal comments in L<perlfunc/system>
Brendan O'Dea [Sun, 25 Jan 2004 11:23:48 +0000 (22:23 +1100)]
5.8.3 -- fix signal comments in L<perlfunc/system>
Message-ID: <20040125002348.GA31407@londo.c47.org>

p4raw-id: //depot/perl@22228

20 years agomyconfig.SH
Daniel S. Lewart [Sun, 25 Jan 2004 22:11:25 +0000 (16:11 -0600)]
myconfig.SH
From:  "Daniel S. Lewart" <lewart@uiuc.edu>
Message-Id:  <20040125221125.A5390@staff1.cso.uiuc.edu>

make perl -V show the major release as 5 rather than 5.0

p4raw-id: //depot/perl@22227

20 years agoDocument change 22192
H.Merijn Brand [Mon, 26 Jan 2004 22:10:13 +0000 (22:10 +0000)]
Document change 22192
We still need tests!

p4raw-id: //depot/perl@22224

20 years agofix vmsish.t #25
Craig A. Berry [Sat, 24 Jan 2004 18:45:35 +0000 (12:45 -0600)]
fix vmsish.t #25
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <401311AF.1060706@mac.com>

p4raw-id: //depot/perl@22223

20 years agoMerge dynamic perldelta from maint (22081)
Nicholas Clark [Mon, 26 Jan 2004 21:18:31 +0000 (21:18 +0000)]
Merge dynamic perldelta from maint (22081)
So now perldelta.pod is copied at build time from perl591delta.pod
perl590delta.pod is as released to CPAN by Hugo
Regen lots of makefiles, pods and the MANIFEST

p4raw-id: //depot/perl@22221
p4raw-deleted: from //depot/maint-5.8/perl@22218 'delete in'
pod/perldelta.pod (@22072..)
p4raw-edited: from //depot/maint-5.8/perl@22081 'edit in' Makefile.SH
(@21777..) MANIFEST (@22072..) pod/perltoc.pod (@22073..)
vms/descrip_mms.template (@22078..)

20 years agoRemove the caveat about detached threads crashing on Windows
Rafael Garcia-Suarez [Sun, 25 Jan 2004 23:35:45 +0000 (23:35 +0000)]
Remove the caveat about detached threads crashing on Windows
(fixed by #22201). Bump up the version of threads.pm.

p4raw-id: //depot/perl@22218

20 years agoNeed to skip Storable's threads test on 5.8.2 with ithreads and
Nicholas Clark [Sun, 25 Jan 2004 22:17:47 +0000 (22:17 +0000)]
Need to skip Storable's threads test on 5.8.2 with ithreads and
-DDEBUGGING, because it tickles a bug. (The same bug that got DBI)

p4raw-id: //depot/perl@22217

20 years agoupdate MANIFEST for 2 new Storable test files introduced by 22205
Dave Mitchell [Sun, 25 Jan 2004 12:06:04 +0000 (12:06 +0000)]
update MANIFEST for 2 new Storable test files introduced by 22205

p4raw-id: //depot/perl@22216

20 years agoadd test for change 22209 (Remove small memory leak in newATTRSUB)
Dave Mitchell [Sun, 25 Jan 2004 12:00:04 +0000 (12:00 +0000)]
add test for change 22209 (Remove small memory leak in newATTRSUB)

p4raw-id: //depot/perl@22215

20 years agoRemove small memory leak in newATTRSUB that manifested as a
Dave Mitchell [Sun, 25 Jan 2004 02:04:23 +0000 (02:04 +0000)]
Remove small memory leak in newATTRSUB that manifested as a
leaking scalar after the interpeter was cloned

p4raw-id: //depot/perl@22209

20 years ago[perl #24942] fields::inherit doesn't bless derived
nothingmuch@woobling.org [Sun, 18 Jan 2004 15:15:46 +0000 (15:15 +0000)]
[perl #24942] fields::inherit doesn't bless derived
    package's \%FIELDS, results in phash deprecation errors.
From:  "nothingmuch@woobling.org (via RT)" <perlbug-followup@perl.org>
Message-Id:  <rt-3.0.8-24942-70144.16.7177902690315@perl.org>

p4raw-id: //depot/perl@22208

20 years agoRe: Doc patches for File::Find
Mark-Jason Dominus [Thu, 22 Jan 2004 09:30:58 +0000 (04:30 -0500)]
Re: Doc patches for File::Find
Message-Id:  <20040122143058.29226.qmail@plover.com>

Better document the fact that neither find() nor finddepth() do a
breath-first search.

p4raw-id: //depot/perl@22207

20 years agoStorable-2.08/t/code.t
Slaven Rezic [Sat, 8 Nov 2003 16:26:19 +0000 (17:26 +0100)]
Storable-2.08/t/code.t
Message-Id: <200311081526.hA8FQJgb011684@vran.herceg.de>

p4raw-id: //depot/perl@22206

20 years ago[patch] make Storable thread-safe
Abhijit Menon-Sen [Sat, 24 Jan 2004 11:03:36 +0000 (11:03 +0000)]
[patch] make Storable thread-safe
From: Stas Bekman <stas@stason.org>
Date: Mon, 19 Jan 2004 00:20:02 -0800
Message-Id: <400B9332.4070106@stason.org>

Subject: Re: Subroutine reference bug in Storable
From: Slaven Rezic <slaven@rezic.de>
Date: 14 Nov 2003 23:22:55 +0100
Message-Id: <874qx6zj28.fsf@vran.herceg.de>

Subject: Re: [perl #25145] [PATCH] Storable segfaults with B::Deparse +
         overload + cyclic structures
From: Sam Vilain <sam@vilain.net>
Date: Tue, 20 Jan 2004 22:30:15 +1300
Message-Id: <200401202230.15865.sam@vilain.net>

p4raw-id: //depot/perl@22205

20 years agoUpgrade to Locale::Maketext 1.08.
Abhijit Menon-Sen [Sat, 24 Jan 2004 08:59:11 +0000 (08:59 +0000)]
Upgrade to Locale::Maketext 1.08.

p4raw-id: //depot/perl@22204

20 years agomake some t/op/write.t failures more verbose
Dave Mitchell [Fri, 23 Jan 2004 23:06:49 +0000 (23:06 +0000)]
make some t/op/write.t failures more verbose

p4raw-id: //depot/perl@22203

20 years agoRe: threads::shared::queue;
Jan Dubois [Thu, 22 Jan 2004 19:18:46 +0000 (11:18 -0800)]
Re: threads::shared::queue;
Message-Id:  <fi41105602ds7a9o4fko2oae7aokbg6als@4ax.com>

Avoid threads+win32 crash by freeing Perl interpreter slightly later

p4raw-id: //depot/perl@22201

20 years agotest that use encoding; doesn't cause references to be stringified
Nicholas Clark [Fri, 23 Jan 2004 18:28:43 +0000 (18:28 +0000)]
test that use encoding; doesn't cause references to be stringified

p4raw-id: //depot/perl@22200

20 years agoDocument chomp's travels in the wonderful world of use encoding;
Nicholas Clark [Fri, 23 Jan 2004 18:03:41 +0000 (18:03 +0000)]
Document chomp's travels in the wonderful world of use encoding;

p4raw-id: //depot/perl@22199

20 years agoCheck the return values of chomp
Nicholas Clark [Fri, 23 Jan 2004 17:41:01 +0000 (17:41 +0000)]
Check the return values of chomp
(more tricky than it may seem, as the return value is unicode)

p4raw-id: //depot/perl@22198

20 years agoTest return values of all chomps
Nicholas Clark [Fri, 23 Jan 2004 13:57:46 +0000 (13:57 +0000)]
Test return values of all chomps

p4raw-id: //depot/perl@22197

20 years agoRe: [perl #24888] chomp ignores utf8
SADAHIRO Tomoyuki [Fri, 16 Jan 2004 04:13:00 +0000 (13:13 +0900)]
Re: [perl #24888] chomp ignores utf8
Message-Id: <20040116040355.A849.BQW10602@nifty.com>
Date: Fri, 16 Jan 2004 04:13:00 +0900

p4raw-id: //depot/perl@22196

20 years agoRe: [PATCH] Add "Camel" logo icon to perl.exe on Windows
Steve Hay [Thu, 22 Jan 2004 17:08:29 +0000 (17:08 +0000)]
Re: [PATCH] Add "Camel" logo icon to perl.exe on Windows
Message-ID: <4010038D.4070104@uk.radan.com>

p4raw-id: //depot/perl@22195

20 years ago[perl #25147] C<use strict; print if foo> didn't give the
Dave Mitchell [Thu, 22 Jan 2004 00:24:51 +0000 (00:24 +0000)]
[perl #25147] C<use strict; print if foo> didn't give the
"Bareword not allowed" error unless warnings were enabled

p4raw-id: //depot/perl@22194

20 years agoConvert the older parts of op/bop.t over to test.pl
Nicholas Clark [Wed, 21 Jan 2004 21:58:10 +0000 (21:58 +0000)]
Convert the older parts of op/bop.t over to test.pl

p4raw-id: //depot/perl@22193

20 years ago[perl #25160] ':flock' not recognized unless it's first
H.Merijn Brand [Wed, 21 Jan 2004 21:10:10 +0000 (21:10 +0000)]
[perl #25160] ':flock' not recognized unless it's first
Exporter::Heavy now will treat :, /, and ! special in
all arguments, not only if the _first_ arg starts with it
Date: Wed, 21 Jan 2004 08:32:47 -0500
Message-ID: <20040121133248.3359.qmail@plover.com>

p4raw-id: //depot/perl@22192

20 years agoPATCH for perl-5.8.4
Edward S. Peschko [Mon, 19 Jan 2004 17:21:18 +0000 (09:21 -0800)]
PATCH for perl-5.8.4
From:  "Edward S. Peschko" <esp5@pge.com>
Message-Id:  <20040120012118.GA29151@mdssdev05.comp.pge.com>

Add @DynaLoader::dl_shared_objects feature

p4raw-id: //depot/perl@22191

20 years agoremove the platform dependencies of the write.t tests introduced
Dave Mitchell [Wed, 21 Jan 2004 20:14:51 +0000 (20:14 +0000)]
remove the platform dependencies of the write.t tests introduced
by change #22161, by hard-coding the expected outputs rather
than using sprintf('%f').
p4raw-link: @22161 on //depot/perl: a1b950687051c32e26de8681b0ed639ad32adfb4

p4raw-id: //depot/perl@22190

20 years agoFix typo in patch #22188
Dave Mitchell [Tue, 20 Jan 2004 22:41:14 +0000 (22:41 +0000)]
Fix typo in patch #22188

p4raw-id: //depot/perl@22189

20 years agowarn that C<$x : unique> operates on the typeglob, so affects @x
Dave Mitchell [Tue, 20 Jan 2004 22:36:10 +0000 (22:36 +0000)]
warn that C<$x : unique> operates on the typeglob, so affects @x
and %x too.

p4raw-id: //depot/perl@22188

20 years ago[perl #24940] "sub foo :unique" segfaults
Dave Mitchell [Tue, 20 Jan 2004 22:27:50 +0000 (22:27 +0000)]
[perl #24940] "sub foo :unique" segfaults

Turn these two into compile-time errors until such time as
someone thinks of a useful meaning for them:
    my $x : unique
    sub foo : unique

p4raw-id: //depot/perl@22187

20 years agoAdd a new test file for situations where threads may interfere.
Stas Bekman [Tue, 23 Dec 2003 15:32:26 +0000 (07:32 -0800)]
Add a new test file for situations where threads may interfere.
Subject: Re: "restricted hashes" hit again !
Message-ID: <3FE8D08A.4090806@stason.org>

p4raw-id: //depot/perl@22186

20 years agoDocument CVf_UNIQUE flag better
Dave Mitchell [Tue, 20 Jan 2004 21:01:08 +0000 (21:01 +0000)]
Document CVf_UNIQUE flag better

p4raw-id: //depot/perl@22185

20 years agoFix precedence errors and add some cleanup in the new
Rafael Garcia-Suarez [Tue, 20 Jan 2004 20:26:18 +0000 (20:26 +0000)]
Fix precedence errors and add some cleanup in the new
DBM_Filter tests

p4raw-id: //depot/perl@22183

20 years agosecond attempt to fix [perl #24914] freeing a CV reference that was
Dave Mitchell [Tue, 20 Jan 2004 00:16:42 +0000 (00:16 +0000)]
second attempt to fix [perl #24914] freeing a CV reference that was
currently being executed caused coredumps. The dounwind called by
die unwinds all the contexts on the context stack before unwinding
the save stack.  To stop premature freeing of the CV, hold
references to it on both stacks.

p4raw-id: //depot/perl@22182

20 years agochange #22071 (taint bug in $^0) introduced a potential double
Dave Mitchell [Mon, 19 Jan 2004 23:41:37 +0000 (23:41 +0000)]
change #22071 (taint bug in $^0) introduced a potential double
free(), because PL_osname may get freed but not nulled if a taint
test fails in between. Mea cupla and all that...
p4raw-link: @22071 on //depot/perl: 3511154c18a0900e8873e8e72a4b74931525e718

p4raw-id: //depot/perl@22181

20 years agoRe: [perl #24926] chop/~ mangles UTF8 [PATCH]
Gisle Aas [Sat, 17 Jan 2004 01:29:02 +0000 (17:29 -0800)]
Re: [perl #24926] chop/~ mangles UTF8 [PATCH]
Message-ID: <lrn08m7wkh.fsf@caliper.activestate.com>
(test rewritten to fit in blead)

p4raw-id: //depot/perl@22180

20 years agodl_unload_file for HP-UX
Neil Watkiss [Mon, 12 Jan 2004 07:49:44 +0000 (23:49 -0800)]
dl_unload_file for HP-UX
Message-ID: <20040112154944.GA15412@ActiveState.com>

p4raw-id: //depot/perl@22179

20 years agoAllow -Uinc_version_list to mean -Dinc_version_list=none
H.Merijn Brand [Mon, 19 Jan 2004 16:11:22 +0000 (16:11 +0000)]
Allow -Uinc_version_list to mean -Dinc_version_list=none
See INSTALL for more details

p4raw-id: //depot/perl@22177

20 years agoDescribe how to limit the perl's default @INC during Configure
H.Merijn Brand [Mon, 19 Jan 2004 16:05:50 +0000 (16:05 +0000)]
Describe how to limit the perl's default @INC during Configure
to _not_ include older versions

p4raw-id: //depot/perl@22175

20 years agorescue PerlIO_getname for VMS
Craig A. Berry [Sun, 18 Jan 2004 12:51:23 +0000 (06:51 -0600)]
rescue PerlIO_getname for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <400AD5AB.3080708@mac.com>

p4raw-id: //depot/perl@22174

20 years agodetect nanosleep on VMS
Craig A. Berry [Sun, 18 Jan 2004 17:03:30 +0000 (11:03 -0600)]
detect nanosleep on VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <400B10C2.9060504@mac.com>

p4raw-id: //depot/perl@22173

20 years agoback out change #22167 "freeing a CV reference that was currently
Dave Mitchell [Sat, 17 Jan 2004 23:58:04 +0000 (23:58 +0000)]
back out change #22167 "freeing a CV reference that was currently
being executed caused coredumps".
The new test case sometimes locks up linux's malloc, and with
Perl's malloc the test code still coredumps :-(
p4raw-link: @22167 on //depot/perl: b3a3b3a1da8f5142edf3e194532b08316f895282

p4raw-id: //depot/perl@22172

20 years agoRefactor VOS patches for bleadperl and perl-5.8.x
Paul Green [Thu, 15 Jan 2004 16:00:15 +0000 (11:00 -0500)]
Refactor VOS patches for bleadperl and perl-5.8.x
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <A2A34F15EE916148BC4C4748223E67A4069FBB15@exna4.stratus.com>

p4raw-id: //depot/perl@22171

20 years agoRe: open/or inconsistency
SADAHIRO Tomoyuki [Sat, 17 Jan 2004 19:59:55 +0000 (04:59 +0900)]
Re: open/or inconsistency
Message-Id: <20040117195729.623A.BQW10602@nifty.com>
(plus a test.)
Don't produce the warning for constructs like
    open my $fh, $file or die;

p4raw-id: //depot/perl@22170

20 years agoPerl core dumps when running out of memory [PATCH]
Gisle Aas [Sat, 17 Jan 2004 06:18:13 +0000 (22:18 -0800)]
Perl core dumps when running out of memory [PATCH]
Message-Id:  <lrsmiebqvu.fsf@caliper.activestate.com>

Display 'out of memeory' errors using low-level I/O to avoid
recursive failure and so coredumps.

p4raw-id: //depot/perl@22169

20 years agoEnhanced DBM Filters
Paul Marquess [Sat, 17 Jan 2004 16:44:53 +0000 (16:44 +0000)]
Enhanced DBM Filters

From: "Paul Marquess" <Paul.Marquess@btinternet.com>
Message-ID: <AIEAJICLCBDNAAOLLOKLAEPPPHAA.Paul.Marquess@btinternet.com>

add DBM_Filter

p4raw-id: //depot/perl@22168

20 years ago [perl #24914] freeing a CV reference that was currently being
Dave Mitchell [Sat, 17 Jan 2004 16:12:32 +0000 (16:12 +0000)]
 [perl #24914] freeing a CV reference that was currently being
 executed caused coredumps

p4raw-id: //depot/perl@22167

20 years agoIntegrate final perl583delta
Nicholas Clark [Sat, 17 Jan 2004 15:07:31 +0000 (15:07 +0000)]
Integrate final perl583delta

p4raw-id: //depot/perl@22166
p4raw-integrated: from //depot/maint-5.8/perl@22163 'copy in'
pod/perl583delta.pod (@22142..)

20 years agoRe: [perl #24816] Magic vars seem unsure if they are purely numeric
Yitzchak Scott-Thoennes [Thu, 15 Jan 2004 14:10:37 +0000 (06:10 -0800)]
Re: [perl #24816] Magic vars seem unsure if they are purely numeric
Message-Id:  <20040115221037.GA2392@efn.org>

Add sv_2iv_flags() to allow magic to be optionally processed.

p4raw-id: //depot/perl@22163

20 years ago[perl #8698] format bug with undefined _TOP
Dave Mitchell [Fri, 16 Jan 2004 16:39:17 +0000 (16:39 +0000)]
[perl #8698] format bug with undefined _TOP
name of format_TOP now derived from the name of the current
filehandle rather then the name of the  format associetd with that
handle

p4raw-id: //depot/perl@22162

20 years agoformat/write (version 2)
LAUN Wolfgang [Fri, 16 Jan 2004 13:29:26 +0000 (13:29 +0000)]
format/write (version 2)
Message-ID: <DF27CDCBD2581D4B88431901094E4B4D02B0C4D3@attmsx1>

Fixes and additions to formats:

Improvement: NULL chars in picture line
Bugfix: C<@*> shown in output if not alone on a line
New feature: C<^*> for variable-width, one-line-at-a-time text
Improvement: Diagnostic on C<@#> and C<~~>
Bugfix: Segmentation fault on big numbers
Improvement (maybe): Truncation of numbers produces misleading output
Bugfix: "}" terminates format
Bugfix: Error when copying non-UTF to UTF (EBCDIC only)

p4raw-id: //depot/perl@22161

20 years agobuigid #24905 - the code planted to call glob() retained an
Dave Mitchell [Thu, 15 Jan 2004 23:49:02 +0000 (23:49 +0000)]
buigid #24905 - the code planted to call glob() retained an
extraneous targ index in a pushmark op, leasing to strangeness
when the op was freed

p4raw-id: //depot/perl@22160

20 years agoUpgrade to Time::HiRes 1.55
Rafael Garcia-Suarez [Thu, 15 Jan 2004 22:19:25 +0000 (22:19 +0000)]
Upgrade to Time::HiRes 1.55

p4raw-id: //depot/perl@22159

20 years agoMake chomp heed the utf8 flags on the target string and $/
Nicholas Clark [Thu, 15 Jan 2004 00:03:04 +0000 (00:03 +0000)]
Make chomp heed the utf8 flags on the target string and $/
[Fixes #24888]
More work still needed to make chomp heed the encoding pragma.

p4raw-id: //depot/perl@22155

20 years agoUpdate pod.lst with perl583delta,pod, and rerun pod/buildtoc
Nicholas Clark [Wed, 14 Jan 2004 21:14:14 +0000 (21:14 +0000)]
Update pod.lst with perl583delta,pod, and rerun pod/buildtoc
[Forgot to do this as part of the integration]

p4raw-id: //depot/perl@22154

20 years agoIntegrate:
Nicholas Clark [Wed, 14 Jan 2004 19:28:54 +0000 (19:28 +0000)]
Integrate:
[ 22143]
We're planning on making history today. Mind you, not that much -
only 1 line.

perl583delta.pod
p4raw-link: @22143 on //depot/maint-5.8/perl: f8c9a4ed5b8ced3f23c496610dbc509ed17b49fe

p4raw-id: //depot/perl@22153
p4raw-branched: from //depot/maint-5.8/perl@22150 'branch in'
pod/perl583delta.pod
p4raw-integrated: from //depot/maint-5.8/perl@22150 'copy in'
pod/perlhist.pod (@22098..)

20 years agoBump version number as file has changed since 5.8.2
Nicholas Clark [Wed, 14 Jan 2004 17:48:52 +0000 (17:48 +0000)]
Bump version number as file has changed since 5.8.2

p4raw-id: //depot/perl@22150