This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
17 years agoFix for [perl #28919] : sometimes the function ck_ftst was trying
Rafael Garcia-Suarez [Mon, 19 Apr 2004 12:26:35 +0000 (12:26 +0000)]
Fix for [perl #28919] : sometimes the function ck_ftst was trying
to read an op that was just freed, which was obviously illegal.

p4raw-id: //depot/perl@22716

17 years agoUpgrade to FileCache 1.04.
Rafael Garcia-Suarez [Mon, 19 Apr 2004 09:34:01 +0000 (09:34 +0000)]
Upgrade to FileCache 1.04.

p4raw-id: //depot/perl@22715

17 years agoNew file left out of the last commit.
Rafael Garcia-Suarez [Mon, 19 Apr 2004 08:57:17 +0000 (08:57 +0000)]
New file left out of the last commit.

p4raw-id: //depot/perl@22714

17 years agoRe: [PATCH] lib/utf8_heavy.pl -- cascading classes and '&' support
Jeff Pinyan [Wed, 14 Apr 2004 17:01:38 +0000 (13:01 -0400)]
Re: [PATCH] lib/utf8_heavy.pl -- cascading classes and '&' support
From: "Jeff 'japhy' Pinyan" <japhy@perlmonk.org>
Message-ID: <Pine.LNX.4.44.0404141659480.11423-301000@perlmonk.org>

p4raw-id: //depot/perl@22713

17 years agoRe: [perl #28532] optional match of an anchor gets ignored
Hugo van der Sanden [Wed, 14 Apr 2004 19:30:46 +0000 (20:30 +0100)]
Re: [perl #28532] optional match of an anchor gets ignored
Message-Id: <200404141830.i3EIUko03728@zen.crypt.org>

p4raw-id: //depot/perl@22712

17 years agoIntegrate:
Nicholas Clark [Sat, 17 Apr 2004 13:25:41 +0000 (13:25 +0000)]
Integrate:
[ 22661]
This is RC1

[ 22705]
This is RC2
p4raw-link: @22705 on //depot/maint-5.8/perl: e751ff178b2baa2734f0669d7b9c8ce84aad87c5
p4raw-link: @22661 on //depot/maint-5.8/perl: 319ea70d56d9c0640c0d86bd1ff1f2ea788d9568

p4raw-id: //depot/perl@22708
p4raw-integrated: from //depot/maint-5.8/perl@22706 'copy in'
pod/perlhist.pod (@22555..)

17 years agoOn Linux-PPC, using gcc, downgrade to the -O1 optimisation
Rafael Garcia-Suarez [Fri, 16 Apr 2004 15:53:37 +0000 (15:53 +0000)]
On Linux-PPC, using gcc, downgrade to the -O1 optimisation
level (with -O2 miniperl behaves really badly.)

p4raw-id: //depot/perl@22706

17 years agod_getservbyname_r undef up to at least OpenBSD 3.5
H.Merijn Brand [Thu, 15 Apr 2004 11:56:32 +0000 (11:56 +0000)]
d_getservbyname_r undef up to at least OpenBSD 3.5
Thanks to Campo Weijerman and Gerard Gerritsen off-list

p4raw-id: //depot/perl@22697

17 years ago#24121: Configure under turkish locale fails
H.Merijn Brand [Wed, 14 Apr 2004 16:04:40 +0000 (16:04 +0000)]
#24121: Configure under turkish locale fails
       toupper (i) != I  in turkish, but U+0130
       \N{LATIN CAPITAL LETTER I WITH DOT ABOVE}
       Patch supplied by Rafael

p4raw-id: //depot/perl@22696

17 years agolib/utf8_heavy.pl -- cascading classes and '&' support
Jeff Pinyan [Mon, 12 Apr 2004 20:24:48 +0000 (16:24 -0400)]
lib/utf8_heavy.pl -- cascading classes and '&' support
Message-ID: <Pine.LNX.4.44.0404122011160.3038-200000@perlmonk.org>

p4raw-id: //depot/perl@22693

17 years ago's to bring bleadperl up to version-0.39
John Peacock [Tue, 13 Apr 2004 20:51:31 +0000 (16:51 -0400)]
's to bring bleadperl up to version-0.39
Message-ID: <407C8B13.9020104@rowman.com>

p4raw-id: //depot/perl@22692

17 years agore: [PATCH] for bug 28525: Buffer overflow issue in the Win32 distribution of 5.8.3
Jan Dubois [Tue, 13 Apr 2004 19:49:32 +0000 (12:49 -0700)]
re: [PATCH] for bug 28525: Buffer overflow issue in the Win32 distribution of 5.8.3
Message-ID: <vm7p70h7au8unrnq4jp85oich7n71ar5ab@4ax.com

p4raw-id: //depot/perl@22691

17 years agoBorland C doesn't like PERL_MALLOC_WRAP.
Marcus Holland-Moritz [Mon, 12 Apr 2004 06:53:24 +0000 (06:53 +0000)]
Borland C doesn't like PERL_MALLOC_WRAP.
Until I know why, the fix is to disable it.

p4raw-id: //depot/perl@22689

17 years agoStop PL_comppad pointing to a freed pad during global destruction
Dave Mitchell [Sun, 11 Apr 2004 14:27:26 +0000 (14:27 +0000)]
Stop PL_comppad pointing to a freed pad during global destruction

p4raw-id: //depot/perl@22688

17 years agoMake global cleanup fractionally faster by giving S_visit()
Dave Mitchell [Sun, 11 Apr 2004 13:13:35 +0000 (13:13 +0000)]
Make global cleanup fractionally faster by giving S_visit()
flags/mask to compare SVs against.

p4raw-id: //depot/perl@22687

17 years agoSync with libnet 1.18
Graham Barr [Sat, 10 Apr 2004 08:08:42 +0000 (08:08 +0000)]
Sync with libnet 1.18

p4raw-id: //depot/perl@22686

17 years agoRemove two unused variables that gcc used to warn about.
Marcus Holland-Moritz [Sat, 10 Apr 2004 06:37:30 +0000 (06:37 +0000)]
Remove two unused variables that gcc used to warn about.

p4raw-id: //depot/perl@22685

17 years agoRe: #28386: UNIVERSAL::VERSION segfaults if $VERSION not defined (w/ patch to fix...
David Dyck [Thu, 8 Apr 2004 19:02:26 +0000 (12:02 -0700)]
Re: #28386: UNIVERSAL::VERSION segfaults if $VERSION not defined (w/ patch to fix universal.c)
Message-ID: <Pine.LNX.4.51.0404081843290.29618@dd.tc.fluke.com>

p4raw-id: //depot/perl@22682

17 years agofind2perl should not default to -print when -eval is specified.
Rafael Garcia-Suarez [Fri, 9 Apr 2004 07:04:48 +0000 (07:04 +0000)]
find2perl should not default to -print when -eval is specified.
Noticed by David Dyck.

p4raw-id: //depot/perl@22681

17 years agoUpgrade to Time::HiRes 1.59.
Rafael Garcia-Suarez [Fri, 9 Apr 2004 06:58:51 +0000 (06:58 +0000)]
Upgrade to Time::HiRes 1.59.

p4raw-id: //depot/perl@22680

17 years agoUpgrade to Digest 1.06.
Rafael Garcia-Suarez [Thu, 8 Apr 2004 13:00:59 +0000 (13:00 +0000)]
Upgrade to Digest 1.06.

p4raw-id: //depot/perl@22675

17 years agoUpgrade to Digest 1.06.
Rafael Garcia-Suarez [Thu, 8 Apr 2004 12:57:48 +0000 (12:57 +0000)]
Upgrade to Digest 1.06.

p4raw-id: //depot/perl@22674

17 years agoUpgrade to Time::HiRes 1.57.
Rafael Garcia-Suarez [Thu, 8 Apr 2004 09:59:22 +0000 (09:59 +0000)]
Upgrade to Time::HiRes 1.57.

p4raw-id: //depot/perl@22673

17 years agoMake gmtime and localtime cross reference each other.
Nicholas Clark [Wed, 7 Apr 2004 20:48:04 +0000 (20:48 +0000)]
Make gmtime and localtime cross reference each other.
Suggested by Dan Jacobson

p4raw-id: //depot/perl@22672

17 years agoIntegrated Time-Local-1.09 from Dave Rolsky
H.Merijn Brand [Wed, 7 Apr 2004 17:54:10 +0000 (17:54 +0000)]
Integrated Time-Local-1.09 from Dave Rolsky
Corrected a wrap error from the CPAN version to match #22670
Tested on AIX to make sure the skip is still needed

p4raw-id: //depot/perl@22671

17 years agoDisable the edge case tests for timegm and timelocal on
H.Merijn Brand [Wed, 7 Apr 2004 12:03:11 +0000 (12:03 +0000)]
Disable the edge case tests for timegm and timelocal on
AIX-4.3 since the OS is obsoleted, and fixes are not to
be expected

p4raw-id: //depot/perl@22670

17 years agoFix command-line quoting under Windows for the new optree tests
Steve Hay [Wed, 7 Apr 2004 09:46:01 +0000 (10:46 +0100)]
Fix command-line quoting under Windows for the new optree tests
Subject: Re: Smoke [5.9.2] 22666 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Message-ID: <4073BFC9.10707@uk.radan.com>

p4raw-id: //depot/perl@22669

17 years agoBleadperl to version 0.37
John Peacock [Tue, 6 Apr 2004 21:56:19 +0000 (17:56 -0400)]
Bleadperl to version 0.37
Message-ID: <40735FC3.5010305@rowman.com>

p4raw-id: //depot/perl@22668

17 years agoThe optree builder was looping when constructing the ops
Rafael Garcia-Suarez [Wed, 7 Apr 2004 07:37:59 +0000 (07:37 +0000)]
The optree builder was looping when constructing the ops
for a map/grep block containing a while(1).
(Bug reported by Pixel.)

p4raw-id: //depot/perl@22667

17 years agoTest drives are fun. Implement ccversion for Itanium HP-UX 11.23
H.Merijn Brand [Tue, 6 Apr 2004 14:44:29 +0000 (14:44 +0000)]
Test drives are fun. Implement ccversion for Itanium HP-UX 11.23

p4raw-id: //depot/perl@22666

17 years agoAIX-4 with xlc does not like malloc wrap
H.Merijn Brand [Tue, 6 Apr 2004 13:34:14 +0000 (13:34 +0000)]
AIX-4 with xlc does not like malloc wrap

p4raw-id: //depot/perl@22665

17 years agoRe: tests for change #22539
Jim Cromie [Tue, 30 Mar 2004 14:39:31 +0000 (07:39 -0700)]
Re: tests for change #22539
Message-ID: <4069E913.5040906@divsol.com>
(with some spelling tweaks)

p4raw-id: //depot/perl@22664

17 years agoMake the ! suffix handle n/N/v/V as signed integers
Marcus Holland-Moritz [Tue, 6 Apr 2004 03:40:10 +0000 (03:40 +0000)]
Make the ! suffix handle n/N/v/V as signed integers
within pack templates.

p4raw-id: //depot/perl@22663

17 years agoC<undef> doesn't look like a number. See also:
Marcus Holland-Moritz [Mon, 15 Mar 2004 22:16:26 +0000 (23:16 +0100)]
C<undef> doesn't look like a number. See also:

Subject: Re: [perl #27606] undef "looks like" a number
Message-Id: <20040315221626.48061c67@r2d2>

p4raw-id: //depot/perl@22662

17 years agoRe: perldelta584
Craig A. Berry [Mon, 5 Apr 2004 11:02:12 +0000 (06:02 -0500)]
Re: perldelta584
Message-ID: <12587569.1081180932766.JavaMail.craigberry@mac.com>

(makes malloc wrap the default on VMS)

p4raw-id: //depot/perl@22656

17 years agoref ($proto) || $proto patch
Ovid [Sat, 3 Apr 2004 18:59:22 +0000 (10:59 -0800)]
ref ($proto) || $proto patch
Message-ID: <406F7A0A.50702@yahoo.com>
(with minor reformatting)

p4raw-id: //depot/perl@22654

17 years agosv_pvutf8n_force and sv_pvbyten_force
SADAHIRO Tomoyuki [Wed, 24 Mar 2004 00:16:52 +0000 (09:16 +0900)]
sv_pvutf8n_force and sv_pvbyten_force
Message-Id: <20040324001126.098F.BQW10602@nifty.com>

p4raw-id: //depot/perl@22652

17 years ago[perl #28171] wantarray docs should mention effect of eval { wantarray }
Rafael Garcia-Suarez [Mon, 5 Apr 2004 11:50:10 +0000 (11:50 +0000)]
[perl #28171] wantarray docs should mention effect of eval { wantarray }
as reported by Tim Bunce. Add a note to this effect in perlfunc,
and regression tests for it.

p4raw-id: //depot/perl@22651

17 years agoMore AUTHORS who deserve credit for patches
Nicholas Clark [Mon, 5 Apr 2004 08:57:18 +0000 (08:57 +0000)]
More AUTHORS who deserve credit for patches

p4raw-id: //depot/perl@22649

17 years agoHand merge patch from maint back to blead.
Nicholas Clark [Sun, 4 Apr 2004 16:32:54 +0000 (16:32 +0000)]
Hand merge patch from maint back to blead.

p4raw-id: //depot/perl@22646

17 years agoBump version numbers for modules that have changed since 5.8.3
Nicholas Clark [Sun, 4 Apr 2004 13:07:50 +0000 (13:07 +0000)]
Bump version numbers for modules that have changed since 5.8.3

p4raw-id: //depot/perl@22642

17 years agoFix bug #27940 : \cX escapes weren't working correctly in regular
Rafael Garcia-Suarez [Fri, 2 Apr 2004 15:40:15 +0000 (15:40 +0000)]
Fix bug #27940 : \cX escapes weren't working correctly in regular
expression ranges.

p4raw-id: //depot/perl@22641

17 years agofix utils install problems on VMS
Craig A. Berry [Thu, 1 Apr 2004 20:19:53 +0000 (14:19 -0600)]
fix utils install problems on VMS
From:  "Craig A. Berry" <craigberry@mac.com>
Message-Id:  <406CCDC9.7000500@mac.com>

We were not running utils/instmodsh.PL or utils/xsubpp.PL during
the build, so installperl would not find the generated programs at
install time.
Also fixed several problems with the command definitions for the
utilities

p4raw-id: //depot/perl@22637

17 years agoarchname salad on VMS
Craig A. Berry [Thu, 1 Apr 2004 14:16:32 +0000 (08:16 -0600)]
archname salad on VMS
From:  "Craig A. Berry" <craigberry@mac.com>
Message-Id:  <406C78A0.2070009@mac.com>

sort out architecture-specific directory names for OpenVMS
Itanium port

p4raw-id: //depot/perl@22636

17 years agoFix change #22376. Only mark a const as short-circuited
Dave Mitchell [Thu, 1 Apr 2004 20:27:14 +0000 (20:27 +0000)]
Fix change #22376. Only mark a const as short-circuited
if it's actually a const!
p4raw-link: @22376 on //depot/perl: e7fec78e344a7fdea63b9a2551a3c57cc1a50f4d

p4raw-id: //depot/perl@22635

17 years agodebug the instructions on upgrading Unicode
Nicholas Clark [Thu, 1 Apr 2004 15:15:10 +0000 (15:15 +0000)]
debug the instructions on upgrading Unicode

p4raw-id: //depot/perl@22630

17 years agoFix and tests for [perl #28123] Perl optimizes // away incorrectly
Marcus Holland-Moritz [Thu, 1 Apr 2004 06:01:25 +0000 (06:01 +0000)]
Fix and tests for [perl #28123] Perl optimizes // away incorrectly

p4raw-id: //depot/perl@22625

17 years ago [perl #28032] delete $_[0] + (\$) prototype = bad free
Dave Mitchell [Wed, 31 Mar 2004 20:33:52 +0000 (20:33 +0000)]
 [perl #28032] delete $_[0] + (\$) prototype = bad free
 av_delete() didn't reify. I also updated its description

p4raw-id: //depot/perl@22624

17 years agoUpgrade to Unicode 4.0.1
Nicholas Clark [Wed, 31 Mar 2004 15:05:40 +0000 (15:05 +0000)]
Upgrade to Unicode 4.0.1

p4raw-id: //depot/perl@22621

17 years agoRegenerated Configure after backported #22571
H.Merijn Brand [Wed, 31 Mar 2004 13:02:32 +0000 (13:02 +0000)]
Regenerated Configure after backported #22571
Some indent leftovers from earlier patches
We don't like double negatives, not even in comment

p4raw-id: //depot/perl@22619

17 years agoRe: [PATCH] MIME::Base64 PERL_NO_GET_CONTEXT
Gisle Aas [Tue, 30 Mar 2004 04:29:18 +0000 (20:29 -0800)]
Re: [PATCH] MIME::Base64 PERL_NO_GET_CONTEXT
Message-ID: <lrk712bjs1.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@22617

17 years agoUnknowingly for years we've had a test that has assumed the order
Nicholas Clark [Wed, 31 Mar 2004 08:24:29 +0000 (08:24 +0000)]
Unknowingly for years we've had a test that has assumed the order
of results from readdir. Fixed.

p4raw-id: //depot/perl@22615

17 years agoZaurus SL-[78]60 native compile patch
Dan Kogai [Tue, 30 Mar 2004 00:53:52 +0000 (09:53 +0900)]
Zaurus SL-[78]60 native compile patch
Message-Id: <46DCC0BF-8199-11D8-8D5B-000A95DBB50A@dan.co.jp>
Date: Tue, 30 Mar 2004 00:53:52 +0900

p4raw-id: //depot/perl@22614

17 years agovarious win32 build fixes
Steve Hay [Tue, 23 Mar 2004 10:42:12 +0000 (10:42 +0000)]
various win32 build fixes

Subject: Re: [PATCH] Re: MinGW/GCC vs MSVC++ on Win32
Date: Tue, 23 Mar 2004 10:42:12 +0000
Message-ID: <40601484.7040905@uk.radan.com>

Subject: [PATCH] distclean on Win32 should delete perl.base
From: Steve Hay <steve.hay@uk.radan.com>
Date: Tue, 23 Mar 2004 11:35:56 +0000
Message-ID: <4060211C.8020704@uk.radan.com>

Subject: Re: [PATCH] Create debug symbols files on Windows even for release
From: Steve Hay <steve.hay@uk.radan.com>
Date: Fri, 26 Mar 2004 10:46:07 +0000
Message-ID: <406409EF.9020404@uk.radan.com>

p4raw-id: //depot/perl@22610

17 years ago[perl #27986] IPC::Open3 fails in mod_perl (tie bug)
Benjamin J. Tilly [Fri, 26 Mar 2004 21:02:19 +0000 (21:02 +0000)]
[perl #27986] IPC::Open3 fails in mod_perl (tie bug)
   From: "Benjamin J. Tilly" (via RT) <perlbug-followup@perl.org>
   Message-ID: <rt-3.0.8-27986-82842.3.55447645581215@perl.org>

   The forked child should make sure STDIN and STDOUT aren't tied
   before messing with them

p4raw-id: //depot/perl@22609

17 years agobackout change 22606 (make gv_fullname() include a literal '^')
Dave Mitchell [Mon, 29 Mar 2004 20:10:05 +0000 (20:10 +0000)]
backout change 22606 (make gv_fullname() include a literal '^')
it breaks select.

p4raw-id: //depot/perl@22608

17 years agoupdate -Dx to cope with lexical version of OP_AELEMFAST
Dave Mitchell [Sun, 28 Mar 2004 15:10:48 +0000 (15:10 +0000)]
update -Dx to cope with lexical version of OP_AELEMFAST

p4raw-id: //depot/perl@22607

17 years agomake gv_fullname() etc include a literal '^' for *^FOO style names
Dave Mitchell [Sun, 28 Mar 2004 15:08:23 +0000 (15:08 +0000)]
make gv_fullname() etc include a literal '^' for *^FOO style names

p4raw-id: //depot/perl@22606

17 years agopv_display() had code to display \n etc as escapes but it didn't
Dave Mitchell [Sun, 28 Mar 2004 13:11:30 +0000 (13:11 +0000)]
pv_display() had code to display \n etc as escapes but it didn't
actually work.

p4raw-id: //depot/perl@22605

17 years agofix typo in change 22597
Dave Mitchell [Sun, 28 Mar 2004 10:55:30 +0000 (10:55 +0000)]
fix typo in change 22597

p4raw-id: //depot/perl@22604

17 years ago-Dusemallocwrap for VMS)
Craig A. Berry [Fri, 26 Mar 2004 22:46:50 +0000 (16:46 -0600)]
-Dusemallocwrap for VMS)
From:  "Craig A. Berry" <craigberry@mac.com>
Message-Id:  <4065073A.30007@mac.com>

Mimic in configure.com what Configure does to enable or disable
the new feature -Dusemallocwrap

p4raw-id: //depot/perl@22601

17 years agodon't clean-up perly.* on VMS
Craig A. Berry [Fri, 26 Mar 2004 16:54:44 +0000 (10:54 -0600)]
don't clean-up perly.* on VMS
From:  "Craig A. Berry" <craigberry@mac.com>
Message-Id:  <4064B4B4.2030203@mac.com>

refrain from getting rid of perly.c and perly.h now that there are
no longer VMS-specific overrides for these files

p4raw-id: //depot/perl@22600

17 years ago[perl #24200] string corruption with lvalue sub
Dave Mitchell [Sat, 27 Mar 2004 01:54:09 +0000 (01:54 +0000)]
[perl #24200] string corruption with lvalue sub
Depending on the context, the same substr OP may want to return
a PVLV or an LV on subsequent invcations. If TARG is the wrong
type, use a mortal instead.

p4raw-id: //depot/perl@22599

17 years agoClarify op.h comments for which ops the OPpDEREF* private flags
Dave Mitchell [Fri, 26 Mar 2004 18:56:50 +0000 (18:56 +0000)]
Clarify op.h comments for which ops the OPpDEREF* private flags
are actually used; update Concise.pm to match

p4raw-id: //depot/perl@22597

17 years agofix for change #22594; if using test.pl, must tell perl where to
Dave Mitchell [Fri, 26 Mar 2004 18:53:09 +0000 (18:53 +0000)]
fix for change #22594; if using test.pl, must tell perl where to
find it!
p4raw-link: @22594 on //depot/perl: dfa41748806263fb8b5d5fcb051bd36be96fe93c

p4raw-id: //depot/perl@22596

17 years ago[perl #26839] document the return value of an empty sub
Dave Mitchell [Fri, 26 Mar 2004 17:28:48 +0000 (17:28 +0000)]
[perl #26839] document the return value of an empty sub

p4raw-id: //depot/perl@22595

17 years ago [perl #27040] - hints hash was being double freed on scope exit
Dave Mitchell [Fri, 26 Mar 2004 13:05:50 +0000 (13:05 +0000)]
 [perl #27040] - hints hash was being double freed on scope exit

p4raw-id: //depot/perl@22594

17 years agoRe: [perl #27906] stat documentation correction
Andy Lester [Wed, 24 Mar 2004 21:48:30 +0000 (15:48 -0600)]
Re: [perl #27906] stat documentation correction
Message-Id: <20040325034830.GA5865@petdance.com>
(Applied with a correction from Spider Boardman.)

p4raw-id: //depot/perl@22593

17 years agofix some comments in perly.y
Dave Mitchell [Fri, 26 Mar 2004 01:24:24 +0000 (01:24 +0000)]
fix some comments in perly.y

p4raw-id: //depot/perl@22592

17 years ago[perl #27268] Blessed reference to anonymous glob
Dave Mitchell [Fri, 26 Mar 2004 01:16:55 +0000 (01:16 +0000)]
[perl #27268] Blessed reference to anonymous glob
Stop *$$x=$x giving "Attempt to free unreferenced scalar" warning

p4raw-id: //depot/perl@22591

17 years ago[perl #27748] 'find2perl' bug: -exec causes chdir error
jdhedden@1979.usna.com [Thu, 18 Mar 2004 20:25:50 +0000 (20:25 +0000)]
[perl #27748] 'find2perl' bug: -exec causes chdir error
From: "jdhedden@1979.usna.com (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.8-27748-82270.2.99482909739062@perl.org>

Cwd code was planted in the output executable after the exit, so
was never run.

p4raw-id: //depot/perl@22586

17 years agoRemaining smoked platforms where malloc wrap is known to work.
Nicholas Clark [Wed, 24 Mar 2004 21:42:25 +0000 (21:42 +0000)]
Remaining smoked platforms where malloc wrap is known to work.
Data for Irix and NetBSD would be useful - they probably will work too.
Will Unicos work? Place bets now...

p4raw-id: //depot/perl@22585

17 years ago[perl #27790] split docs: say the string is EXPR
Dan Jacobson [Sat, 20 Mar 2004 05:21:07 +0000 (05:21 +0000)]
[perl #27790] split docs: say the string is EXPR
From: Dan Jacobson (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.8-27790-82358.14.5476352902536@perl.org>

Minor documentation nit in split

p4raw-id: //depot/perl@22584

17 years agomintest will pass if I skip the correct number of tests. D'oh!
Nicholas Clark [Wed, 24 Mar 2004 19:15:29 +0000 (19:15 +0000)]
mintest will pass if I skip the correct number of tests. D'oh!

p4raw-id: //depot/perl@22582

17 years agoRe: [PATCH] Fix PERL_MALLOC_WRAP change for Win32
Steve Hay [Wed, 24 Mar 2004 13:29:00 +0000 (13:29 +0000)]
Re: [PATCH] Fix PERL_MALLOC_WRAP change for Win32
Message-ID: <40618D1C.7000601@uk.radan.com>
Date: Wed, 24 Mar 2004 13:29:00 +0000

p4raw-id: //depot/perl@22579

17 years agoGood catch from Dave Mitchell; plus a null pointer protection.
Rafael Garcia-Suarez [Wed, 24 Mar 2004 13:54:31 +0000 (13:54 +0000)]
Good catch from Dave Mitchell; plus a null pointer protection.

p4raw-id: //depot/perl@22578

17 years agoUnlike perl, 0 in void context isn't special cased in C :-)
Nicholas Clark [Wed, 24 Mar 2004 11:51:46 +0000 (11:51 +0000)]
Unlike perl, 0 in void context isn't special cased in C :-)
(So it warns). Tweak the no-action malloc wrap checkers to avoid
warnings.

p4raw-id: //depot/perl@22577

17 years agoExport PL_memory_wrap based on PERL_MALLOC_WRAP rather than
Nicholas Clark [Wed, 24 Mar 2004 10:29:16 +0000 (10:29 +0000)]
Export PL_memory_wrap based on PERL_MALLOC_WRAP rather than
NO_MALLOC_WRAP following Configure changes. Identical patch to
mine supplied by Steve Hay while I was working on this.
IP shootout at dawn :-)

p4raw-id: //depot/perl@22576

17 years agoTidy up function prototypes in the light of suidpatch
Nicholas Clark [Wed, 24 Mar 2004 09:14:21 +0000 (09:14 +0000)]
Tidy up function prototypes in the light of suidpatch

p4raw-id: //depot/perl@22572

17 years agoMake usemallocwrap a Configure-time question. Default is yes for
Nicholas Clark [Tue, 23 Mar 2004 22:35:09 +0000 (22:35 +0000)]
Make usemallocwrap a Configure-time question. Default is yes for
usedevel, no otherwise, but I'm expecting hints files on known
good platforms to override this. (and known bad)
Demonstration hints file for darwin.

p4raw-id: //depot/perl@22571

17 years agohv_delete_common was freeing the key, then passing the freed pointer
Nicholas Clark [Tue, 23 Mar 2004 17:47:44 +0000 (17:47 +0000)]
hv_delete_common was freeing the key, then passing the freed pointer
to S_hv_notallowed. D'oh!

p4raw-id: //depot/perl@22569

17 years agoUnify 5.008 and 5.009's B::Concise 0.58
Nicholas Clark [Tue, 23 Mar 2004 16:23:58 +0000 (16:23 +0000)]
Unify 5.008 and 5.009's B::Concise 0.58

p4raw-id: //depot/perl@22566

17 years agoUnify 5.008 and 5.009's B::Concise 0.56
Nicholas Clark [Tue, 23 Mar 2004 16:05:28 +0000 (16:05 +0000)]
Unify 5.008 and 5.009's B::Concise 0.56

p4raw-id: //depot/perl@22565

17 years agoFix bug [perl #27839] returning @+ out of scope loses its value :
Hugo van der Sanden [Fri, 5 Mar 2004 17:42:25 +0000 (17:42 +0000)]
Fix bug [perl #27839] returning @+ out of scope loses its value :

Subject: Re: Wondering about returned regex special arrays on going out of scope
Message-Id: <200403051742.i25HgPd11240@zen.crypt.org>

plus a test case.

p4raw-id: //depot/perl@22564

17 years ago5.9.1 suidperl
Paul Szabo [Fri, 19 Mar 2004 08:17:56 +0000 (19:17 +1100)]
5.9.1 suidperl
Message-Id: <200403182117.i2ILHug513080@milan.maths.usyd.edu.au>

(which variables renamed as requested, plus tweaks to work on platforms
with no ST_NOEXEC)

p4raw-id: //depot/perl@22563

17 years agoUpdate the -v copyright notice.
Rafael Garcia-Suarez [Mon, 22 Mar 2004 21:29:51 +0000 (21:29 +0000)]
Update the -v copyright notice.

p4raw-id: //depot/perl@22560

17 years agoDon't assume that the chmod will always work.
Nicholas Clark [Mon, 22 Mar 2004 21:05:09 +0000 (21:05 +0000)]
Don't assume that the chmod will always work.
(It won't for files on *BSD where chflags has set uchg, which is
what the OS X perforce client does)

p4raw-id: //depot/perl@22559

17 years agoClarifications on constants subroutines, based on:
padre@elte.hu [Fri, 19 Mar 2004 14:56:09 +0000 (14:56 +0000)]
Clarifications on constants subroutines, based on:

Subject: [perl #27768] [patch] wrong examples in perlsub/"Constant Functions"
From: "padre@elte.hu (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.8-27768-82310.5.12766475665209@perl.org>

p4raw-id: //depot/perl@22557

17 years agoRe: ../lib/ExtUtils/t/Embed.t failure on Win32/GCC
Steve Hay [Mon, 22 Mar 2004 14:44:46 +0000 (14:44 +0000)]
Re: ../lib/ExtUtils/t/Embed.t failure on Win32/GCC
Message-ID: <405EFBDE.4090209@uk.radan.com>

p4raw-id: //depot/perl@22556

17 years agoRe: [PATCH] warn on !=~
Yitzchak Scott-Thoennes [Mon, 22 Mar 2004 10:32:05 +0000 (02:32 -0800)]
Re: [PATCH] warn on !=~
Message-ID: <20040322183106.GA1284@efn.org>

More warnings for this case.

p4raw-id: //depot/perl@22553

17 years agoFinally, this "Negative repeat count" warning wasn't such a great
Andy Lester [Sun, 21 Mar 2004 09:27:04 +0000 (03:27 -0600)]
Finally, this "Negative repeat count" warning wasn't such a great
idea. Disable it. But add tests for this :

Subject: Re: [perl #27811] (@x) x -1 is a panic
Message-ID: <20040321152704.GA9041@petdance.com>

p4raw-id: //depot/perl@22549

17 years agoNobody has used SvPVbyte_force?
SADAHIRO Tomoyuki [Sun, 21 Mar 2004 21:49:53 +0000 (06:49 +0900)]
Nobody has used SvPVbyte_force?
Message-Id: <20040321213628.2461.BQW10602@nifty.com>

p4raw-id: //depot/perl@22548

17 years agoI must be tired today.
Rafael Garcia-Suarez [Sun, 21 Mar 2004 13:36:27 +0000 (13:36 +0000)]
I must be tired today.

p4raw-id: //depot/perl@22547

17 years agoSilence a gcc warning.
Rafael Garcia-Suarez [Sun, 21 Mar 2004 13:26:33 +0000 (13:26 +0000)]
Silence a gcc warning.

p4raw-id: //depot/perl@22546

17 years agoRe: [perl #27803] perl crashes when utf8::upgrade($offsetOK_scalar)
SADAHIRO Tomoyuki [Sun, 21 Mar 2004 15:19:22 +0000 (00:19 +0900)]
Re: [perl #27803] perl crashes when utf8::upgrade($offsetOK_scalar)
Message-Id: <20040321151828.DAC6.BQW10602@nifty.com>

p4raw-id: //depot/perl@22545

17 years agofix memory bug in vms.c:mp_do_tounixspec
Craig A. Berry [Sat, 20 Mar 2004 21:51:45 +0000 (15:51 -0600)]
fix memory bug in vms.c:mp_do_tounixspec
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <405D1151.3040308@mac.com>

p4raw-id: //depot/perl@22544

17 years agoAdd a new warning "Negative repeat count"
Rafael Garcia-Suarez [Sun, 21 Mar 2004 13:06:20 +0000 (13:06 +0000)]
Add a new warning "Negative repeat count"
for the cases $x x -1.

p4raw-id: //depot/perl@22543

17 years agowarn on !=~
Yitzchak Scott-Thoennes [Thu, 18 Mar 2004 22:24:09 +0000 (14:24 -0800)]
warn on !=~
Message-ID: <20040319062035.GA3768@efn.org>

with an improvement suggested by Ton Hospel.

p4raw-id: //depot/perl@22542

17 years agomakefile.95 tweak
Greg Matheson [Fri, 19 Mar 2004 18:15:25 +0000 (02:15 +0800)]
makefile.95 tweak
Message-ID: <20040319181525.A6347@ms.chinmin.edu.tw>

p4raw-id: //depot/perl@22541

17 years ago\x80\xFF is not valid UTF-8.
Rafael Garcia-Suarez [Sat, 20 Mar 2004 10:15:36 +0000 (10:15 +0000)]
\x80\xFF is not valid UTF-8.

p4raw-id: //depot/perl@22540