This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
18 years agoweak references aren't UVs, do don't show this in the dump flags.
Nicholas Clark [Tue, 21 Jun 2005 10:58:22 +0000 (10:58 +0000)]
weak references aren't UVs, do don't show this in the dump flags.

p4raw-id: //depot/perl@24921

18 years agoternary operator cond ? foo : bar being parsed as ?...?
Salvador Fandiño [Fri, 17 Jun 2005 14:06:30 +0000 (15:06 +0100)]
ternary operator cond ? foo : bar being parsed as ?...?
Message-ID: <20050617130548.18776.qmail@lists.develooper.com>

with wordings improvements suggested by Ronald J Kimball

p4raw-id: //depot/perl@24920

18 years agoNo need to set flags twice.
Nicholas Clark [Tue, 21 Jun 2005 10:35:09 +0000 (10:35 +0000)]
No need to set flags twice.

p4raw-id: //depot/perl@24919

18 years agoAs there will be no old body to dispose of, we can return immediately.
Nicholas Clark [Tue, 21 Jun 2005 09:44:08 +0000 (09:44 +0000)]
As there will be no old body to dispose of, we can return immediately.

p4raw-id: //depot/perl@24918

18 years agoFix [perl #36102] Data::Dumper Doesn't Stringify Numeric Labels
Rafael Garcia-Suarez [Tue, 21 Jun 2005 09:40:46 +0000 (09:40 +0000)]
Fix [perl #36102] Data::Dumper Doesn't Stringify Numeric Labels

p4raw-id: //depot/perl@24917

18 years agoRe: [perl #36310] sv_vcatpvfn() fails on some (very limited) situations
Tsutomu IKEGAMI [Fri, 17 Jun 2005 17:55:10 +0000 (02:55 +0900)]
Re: [perl #36310] sv_vcatpvfn() fails on some (very limited) situations
Message-Id: <20050617.175510.21285350.t-ikegami@aist.go.jp>

p4raw-id: //depot/perl@24916

18 years agoFPTR2DPTR/DPTR2FPTR
Robin Barker [Mon, 20 Jun 2005 13:47:37 +0000 (14:47 +0100)]
FPTR2DPTR/DPTR2FPTR
Message-ID: <533D273D4014D411AB1D00062938C4D90849C6E4@hotel.npl.co.uk>

p4raw-id: //depot/perl@24915

18 years agoReplace the non-const initialiser block + loop with a series of calls
Nicholas Clark [Mon, 20 Jun 2005 15:21:59 +0000 (15:21 +0000)]
Replace the non-const initialiser block + loop with a series of calls
to a small static function.
c.f. "I will replace you with a small shell script..."

p4raw-id: //depot/perl@24914

18 years agoThe continuing adventures of Constman and Localize Boy
Andy Lester [Mon, 20 Jun 2005 10:22:37 +0000 (05:22 -0500)]
The continuing adventures of Constman and Localize Boy
Message-ID: <20050620152237.GA5032@petdance.com>

p4raw-id: //depot/perl@24913

18 years agoSame fix, for the test, now.
Rafael Garcia-Suarez [Mon, 20 Jun 2005 13:32:52 +0000 (13:32 +0000)]
Same fix, for the test, now.

p4raw-id: //depot/perl@24912

18 years agoperl -v was outputting a double v (spotted by Jarkko)
Rafael Garcia-Suarez [Mon, 20 Jun 2005 13:06:13 +0000 (13:06 +0000)]
perl -v was outputting a double v (spotted by Jarkko)

p4raw-id: //depot/perl@24911

18 years agoRemove signature test, which is always skipped
Rafael Garcia-Suarez [Mon, 20 Jun 2005 11:58:32 +0000 (11:58 +0000)]
Remove signature test, which is always skipped

p4raw-id: //depot/perl@24910

18 years agoRecommend Against UNIVERSAL:: Methods as Functions, take 2
chromatic [Sat, 18 Jun 2005 12:15:41 +0000 (05:15 -0700)]
Recommend Against UNIVERSAL:: Methods as Functions, take 2
Message-Id: <1119122141.21521.9.camel@localhost>

p4raw-id: //depot/perl@24909

18 years agoRemove the deprecated $# variable
Rafael Garcia-Suarez [Mon, 20 Jun 2005 11:00:31 +0000 (11:00 +0000)]
Remove the deprecated $# variable

p4raw-id: //depot/perl@24908

18 years agoSilence warning in debug printf
Nicholas Clark [Mon, 20 Jun 2005 10:35:41 +0000 (10:35 +0000)]
Silence warning in debug printf

p4raw-id: //depot/perl@24907

18 years agoMore random cleanups
Andy Lester [Fri, 17 Jun 2005 09:50:29 +0000 (04:50 -0500)]
More random cleanups
Message-ID: <20050617145029.GC11769@petdance.com>

p4raw-id: //depot/perl@24906

18 years agoSupport NV_ZERO_IS_ALLBITS_ZERO on Win32 (re: change 24898)
Steve Hay [Mon, 20 Jun 2005 09:30:23 +0000 (09:30 +0000)]
Support NV_ZERO_IS_ALLBITS_ZERO on Win32 (re: change 24898)

The try.c test program added to Configure by change 24898 outputs
"Yes" using each of VC++, GCC and BCC32, so here goes...

p4raw-id: //depot/perl@24905

18 years agoHugo suggests this.
Rafael Garcia-Suarez [Mon, 20 Jun 2005 09:23:33 +0000 (09:23 +0000)]
Hugo suggests this.

p4raw-id: //depot/perl@24904

18 years agoMissed a chunk in previous commit
Rafael Garcia-Suarez [Mon, 20 Jun 2005 09:20:40 +0000 (09:20 +0000)]
Missed a chunk in previous commit

p4raw-id: //depot/perl@24903

18 years ago[perl #36328] Until Statement Undocumented
Eric Amick [Sat, 18 Jun 2005 03:47:32 +0000 (03:47 +0000)]
[perl #36328] Until Statement Undocumented
From: Eric Amick (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36328-115949.3.38667506136829@perl.org>

p4raw-id: //depot/perl@24902

18 years agoRe: [PATCH replacement] Re: [perl #36313] perl -e "1for$[=0" crash
Rick Delaney [Sun, 19 Jun 2005 09:47:22 +0000 (05:47 -0400)]
Re: [PATCH replacement] Re: [perl #36313] perl -e "1for$[=0" crash
Message-ID: <20050619134722.GB31592@localhost.localdomain>

p4raw-id: //depot/perl@24901

18 years agoS_del_body is sufficiently small that inlining it is a space win.
Nicholas Clark [Mon, 20 Jun 2005 08:19:52 +0000 (08:19 +0000)]
S_del_body is sufficiently small that inlining it is a space win.

p4raw-id: //depot/perl@24900

18 years agoIf NV_ZERO_IS_ALLBITS_ZERO there's no need to explicitly set the NVX
Nicholas Clark [Sun, 19 Jun 2005 15:12:26 +0000 (15:12 +0000)]
If NV_ZERO_IS_ALLBITS_ZERO there's no need to explicitly set the NVX
to 0.0, as the memset has already done it.

p4raw-id: //depot/perl@24899

18 years agoAdd a Configure test to see if NV 0.0 is stored as all bits zero, and
Craig A. Berry [Sat, 18 Jun 2005 18:23:59 +0000 (13:23 -0500)]
Add a Configure test to see if NV 0.0 is stored as all bits zero, and
#define NV_ZERO_IS_ALLBITS_ZERO if so.  This is always true on VMS:

Subject: Re: Configure check for whether 0.0 is stored as all bits zero
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <p06210214beda5bf31c4c@[172.16.52.1]>
Date: Sat, 18 Jun 2005 18:23:59 -0500

p4raw-id: //depot/perl@24898

18 years agoMove the offset calculations outside of new_body/del_body.
Nicholas Clark [Sun, 19 Jun 2005 10:22:58 +0000 (10:22 +0000)]
Move the offset calculations outside of new_body/del_body.
This makes some of the upgrade code slightly simpler.

p4raw-id: //depot/perl@24897

18 years agoRefactor sv_dup to memcpy from source to destination, and only
Nicholas Clark [Sat, 18 Jun 2005 22:43:58 +0000 (22:43 +0000)]
Refactor sv_dup to memcpy from source to destination, and only
explicitly copy the structure members that need explicit duplication.

p4raw-id: //depot/perl@24896

18 years agoSqueeze a little more savings by moving pte and he arenas into the
Nicholas Clark [Sat, 18 Jun 2005 16:33:41 +0000 (16:33 +0000)]
Squeeze a little more savings by moving pte and he arenas into the
common arena free code.

p4raw-id: //depot/perl@24895

18 years agosqueeze repetition out of Perl_sv_free_arenas
Jim Cromie [Sat, 18 Jun 2005 00:47:36 +0000 (18:47 -0600)]
squeeze repetition out of Perl_sv_free_arenas
Message-ID: <42B3C388.2090902@divsol.com>
Date: Sat, 18 Jun 2005 00:47:36 -0600

p4raw-id: //depot/perl@24894

18 years agoupdate AVs and HVs using the old_body, and remove all of the local
Nicholas Clark [Sat, 18 Jun 2005 14:28:04 +0000 (14:28 +0000)]
update AVs and HVs using the old_body, and remove all of the local
variables used to hold the SV body piecemeal.

p4raw-id: //depot/perl@24893

18 years agosv_upgrade by memcpy
Nicholas Clark [Sat, 18 Jun 2005 10:57:02 +0000 (10:57 +0000)]
sv_upgrade by memcpy
AV and HV cases need tidyup

p4raw-id: //depot/perl@24892

18 years agoFix compiling with -DPURIFY
Nicholas Clark [Fri, 17 Jun 2005 19:37:56 +0000 (19:37 +0000)]
Fix compiling with -DPURIFY

p4raw-id: //depot/perl@24891

18 years agoChange 24886 was buggy - should be taking (and passing in) the
Nicholas Clark [Fri, 17 Jun 2005 17:30:19 +0000 (17:30 +0000)]
Change 24886 was buggy - should be taking (and passing in) the
address of the arena.

p4raw-id: //depot/perl@24890

18 years agoAdd new internal error message to perldiag
Rafael Garcia-Suarez [Fri, 17 Jun 2005 15:43:11 +0000 (15:43 +0000)]
Add new internal error message to perldiag

p4raw-id: //depot/perl@24889

18 years agoCollect a little more information about the body we're getting rid of
Nicholas Clark [Fri, 17 Jun 2005 15:37:50 +0000 (15:37 +0000)]
Collect a little more information about the body we're getting rid of

p4raw-id: //depot/perl@24888

18 years agoMissing aTHX_ (noticed by Jim Cromie)
Rafael Garcia-Suarez [Fri, 17 Jun 2005 14:44:43 +0000 (14:44 +0000)]
Missing aTHX_ (noticed by Jim Cromie)

p4raw-id: //depot/perl@24887

18 years agoMove freeing the old body after the creating of the new body.
Nicholas Clark [Fri, 17 Jun 2005 14:28:07 +0000 (14:28 +0000)]
Move freeing the old body after the creating of the new body.

p4raw-id: //depot/perl@24886

18 years agoThe only way is up!
Nicholas Clark [Fri, 17 Jun 2005 13:42:03 +0000 (13:42 +0000)]
The only way is up!
(*up*grades. Or croak)

p4raw-id: //depot/perl@24885

18 years ago[perl #36199] [PATCH] 5.8.7 fails to build with parallel make
Steve Peters [Thu, 16 Jun 2005 17:11:14 +0000 (17:11 +0000)]
[perl #36199] [PATCH] 5.8.7 fails to build with parallel make
From: "Steve Peters via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36199-115872.8.39962488213992@perl.org>

p4raw-id: //depot/perl@24884

18 years agoSilence STDERR grumblings from Borland's math library.
Steve Hay [Fri, 17 Jun 2005 11:36:45 +0000 (11:36 +0000)]
Silence STDERR grumblings from Borland's math library.

This fixes failures in ext/B/t/deparse.t and lib/warnings.t (and
renders change 24870 obsolete, hence it is reverted here).

p4raw-id: //depot/perl@24883

18 years agoUpgrade to PathTools 3.09
Rafael Garcia-Suarez [Fri, 17 Jun 2005 09:26:25 +0000 (09:26 +0000)]
Upgrade to PathTools 3.09

p4raw-id: //depot/perl@24882

18 years agonew_pte/del_pte can use new_body/del_body too
Nicholas Clark [Fri, 17 Jun 2005 08:35:48 +0000 (08:35 +0000)]
new_pte/del_pte can use new_body/del_body too

p4raw-id: //depot/perl@24881

18 years agoStrip \\?\ prefix from Perl path in win32/win32.c:set_w32_module_name()
Jan Dubois [Thu, 16 Jun 2005 11:43:15 +0000 (04:43 -0700)]
Strip \\?\ prefix from Perl path in win32/win32.c:set_w32_module_name()
From: "Jan Dubois" <jand@ActiveState.com>
Message-Id: <200506161843.j5GIhKhL024472@smtp3.ActiveState.com>

p4raw-id: //depot/perl@24880

18 years agoStoring the ixv for magic arrays seems to cause double free errors on
Nicholas Clark [Thu, 16 Jun 2005 22:08:29 +0000 (22:08 +0000)]
Storing the ixv for magic arrays seems to cause double free errors on
OS X. This all feels like voodoo.

p4raw-id: //depot/perl@24879

18 years agoReplace all the new/del static functions with calls to a single pair
Nicholas Clark [Thu, 16 Jun 2005 22:06:57 +0000 (22:06 +0000)]
Replace all the new/del static functions with calls to a single pair
of functions that uproot/plant bodies

p4raw-id: //depot/perl@24878

18 years agoMaking more_* return a pointer, and swapping to a ternary ?: in
Nicholas Clark [Thu, 16 Jun 2005 19:28:20 +0000 (19:28 +0000)]
Making more_* return a pointer, and swapping to a ternary ?: in
new_* seems to generate slightly terser object code.

p4raw-id: //depot/perl@24877

18 years agoReplace all the S_more_* functions with a single function.
Nicholas Clark [Thu, 16 Jun 2005 18:37:55 +0000 (18:37 +0000)]
Replace all the S_more_* functions with a single function.
Saves 1.5K on the object file in OS X when built with -Os

p4raw-id: //depot/perl@24876

18 years agoRe: [perl #36048] Refactor S_more_*v into one function
Jim Cromie [Mon, 13 Jun 2005 11:57:01 +0000 (05:57 -0600)]
Re: [perl #36048] Refactor S_more_*v into one function
Message-ID: <42ADC8ED.4090009@divsol.com>
Date: Mon, 13 Jun 2005 11:57:01 -0600

p4raw-id: //depot/perl@24875

18 years agoI'm not convinced that manually creating HVs via sv_upgrade is a great
Nicholas Clark [Thu, 16 Jun 2005 15:09:00 +0000 (15:09 +0000)]
I'm not convinced that manually creating HVs via sv_upgrade is a great
idea, but as we are, turning on shared keys makes sense.

p4raw-id: //depot/perl@24874

18 years agoLint support
Andy Lester [Thu, 16 Jun 2005 09:35:21 +0000 (04:35 -0500)]
Lint support
Message-ID: <20050616143521.GB22188@petdance.com>

p4raw-id: //depot/perl@24873

18 years agoRe: a warning for a ExtUtils::ParseXS test
Ken Williams [Wed, 15 Jun 2005 20:00:42 +0000 (15:00 -0500)]
Re: a warning for a ExtUtils::ParseXS test
Message-Id: <29d2a69650cb39059c9af487069b941c@mathforum.org>

p4raw-id: //depot/perl@24872

18 years agoRemoving /*SUPPRESS xxx*/
Andy Lester [Thu, 16 Jun 2005 09:13:42 +0000 (04:13 -0500)]
Removing /*SUPPRESS xxx*/
Message-ID: <20050616141342.GA22188@petdance.com>

p4raw-id: //depot/perl@24871

18 years agoTeach lib/warnings.t about Borland CRT error messages
Steve Hay [Thu, 16 Jun 2005 13:16:56 +0000 (13:16 +0000)]
Teach lib/warnings.t about Borland CRT error messages

p4raw-id: //depot/perl@24870

18 years ago[perl #36237] IO::File $fh->binmode($layer) is broken
Alexander Foken [Fri, 10 Jun 2005 12:46:41 +0000 (12:46 +0000)]
[perl #36237] IO::File $fh->binmode($layer) is broken
From: "Alexander Foken" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36237-115536.13.400290704223@perl.org>

and bump version number

p4raw-id: //depot/perl@24869

18 years agoUpdate README.win32
Steve Hay [Thu, 16 Jun 2005 11:10:01 +0000 (11:10 +0000)]
Update README.win32

(Mention Borland compiler is also free; update libwin32 link)

p4raw-id: //depot/perl@24868

18 years agoGive op/taint.t a helping hand for Borland compiler on Win32
Steve Hay [Thu, 16 Jun 2005 11:00:19 +0000 (11:00 +0000)]
Give op/taint.t a helping hand for Borland compiler on Win32

p4raw-id: //depot/perl@24867

18 years agoFix changes 24862 and 24863 for Sarathy's old dmake
Steve Hay [Thu, 16 Jun 2005 09:51:33 +0000 (09:51 +0000)]
Fix changes 24862 and 24863 for Sarathy's old dmake

p4raw-id: //depot/perl@24866

18 years agoSubs with builtin attributes shouldn't be made constant
Salvador Fandiño [Wed, 15 Jun 2005 08:27:00 +0000 (01:27 -0700)]
Subs with builtin attributes shouldn't be made constant

Subject: Re: [perl #36297] builtin attrs on subrutine declarations
Message-ID: <20050615152700.96320.qmail@web52702.mail.yahoo.com>

p4raw-id: //depot/perl@24865

18 years agoAdd -f in perl synopsys, sync perl.pod and perlrun.pod synopses
Rafael Garcia-Suarez [Thu, 16 Jun 2005 09:18:58 +0000 (09:18 +0000)]
Add -f in perl synopsys, sync perl.pod and perlrun.pod synopses

p4raw-id: //depot/perl@24864

18 years agoSimplify win32/makefile.mk for static extensions with GCC
Steve Hay [Thu, 16 Jun 2005 09:09:22 +0000 (09:09 +0000)]
Simplify win32/makefile.mk for static extensions with GCC

p4raw-id: //depot/perl@24863

18 years agoEnable static extensions with Borland compiler on Win32
Steve Hay [Thu, 16 Jun 2005 08:51:14 +0000 (08:51 +0000)]
Enable static extensions with Borland compiler on Win32

p4raw-id: //depot/perl@24862

18 years agoRevert part of change #24854
Rafael Garcia-Suarez [Thu, 16 Jun 2005 08:29:10 +0000 (08:29 +0000)]
Revert part of change #24854
p4raw-link: @24854 on //depot/perl: ab019eaa775fdcae8aaf709315c7ba85a788ee6c

p4raw-id: //depot/perl@24861

18 years agoDon't export Perl_stashpv_hvname_match when !USE_ITHREADS
Steve Hay [Thu, 16 Jun 2005 07:40:21 +0000 (07:40 +0000)]
Don't export Perl_stashpv_hvname_match when !USE_ITHREADS

(Fixes a linker error on Win 32 introduced by change #24847)
p4raw-link: @24847 on //depot/perl: ed221c571749f1ebcbc3664c74e36e68f3a83031

p4raw-id: //depot/perl@24860

18 years agoDon't write bytecode to load the NVX of AVs and HVs
Nicholas Clark [Wed, 15 Jun 2005 22:32:14 +0000 (22:32 +0000)]
Don't write bytecode to load the NVX of AVs and HVs

p4raw-id: //depot/perl@24859

18 years agoWe were failing to pring "not ok" if the text exited uncleanly
Nicholas Clark [Wed, 15 Jun 2005 22:31:41 +0000 (22:31 +0000)]
We were failing to pring "not ok" if the text exited uncleanly

p4raw-id: //depot/perl@24858

18 years agoassert that you aren't assigning to the NVX of an AV or HV
Nicholas Clark [Wed, 15 Jun 2005 22:30:53 +0000 (22:30 +0000)]
assert that you aren't assigning to the NVX of an AV or HV

p4raw-id: //depot/perl@24857

18 years agoIntroduce PERL_RUNPERL_DEBUG to alter the behavior of runperl(),
Rafael Garcia-Suarez [Wed, 15 Jun 2005 16:37:46 +0000 (16:37 +0000)]
Introduce PERL_RUNPERL_DEBUG to alter the behavior of runperl(),
this can be useful to use valgrind for example

p4raw-id: //depot/perl@24856

18 years agoFix $Config{ccversion} for Borland C++ 5.5.1
Steve Hay [Wed, 15 Jun 2005 16:30:58 +0000 (16:30 +0000)]
Fix $Config{ccversion} for Borland C++ 5.5.1

This pattern match seems a little saner, and stops " for Win32"
getting picked up from the following output:

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland

Maybe it breaks older versions, but at least the latest now works
correctly. If anyone knows what older versions' messages look like
then speak up!

p4raw-id: //depot/perl@24855

18 years agoRe: [PATCH] make -f invalid when USE_SITECUSTOMIZE isn't set
Steve Peters [Wed, 15 Jun 2005 11:30:41 +0000 (06:30 -0500)]
Re: [PATCH] make -f invalid when USE_SITECUSTOMIZE isn't set
Message-ID: <20050615163040.GA14745@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24854

18 years agosort optimization
Salvador Fandiño [Mon, 6 Jun 2005 12:05:05 +0000 (13:05 +0100)]
sort optimization
Message-ID: <20050606110425.22941.qmail@lists.develooper.com>

p4raw-id: //depot/perl@24853

18 years agoFix win32/makefile.mk for building with bcc32 5.5.1 and dmake 4.4
Steve Hay [Wed, 15 Jun 2005 16:02:06 +0000 (16:02 +0000)]
Fix win32/makefile.mk for building with bcc32 5.5.1 and dmake 4.4

p4raw-id: //depot/perl@24852

18 years ago[perl #36297] builtin attrs on subrutine declarations
Salvador FandiXXo [Wed, 15 Jun 2005 13:54:53 +0000 (13:54 +0000)]
[perl #36297] builtin attrs on subrutine declarations
From: Salvador "FandiXXo" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36297-115797.8.75971493113916@perl.org>

p4raw-id: //depot/perl@24851

18 years agoProtect Perl_sv_2pvbyte () to NULL length pointers
H.Merijn Brand [Wed, 15 Jun 2005 13:57:57 +0000 (13:57 +0000)]
Protect Perl_sv_2pvbyte () to NULL length pointers
Thanks Nick!

p4raw-id: //depot/perl@24850

18 years agoBetter phrasing
Rafael Garcia-Suarez [Wed, 15 Jun 2005 13:55:50 +0000 (13:55 +0000)]
Better phrasing

p4raw-id: //depot/perl@24849

18 years agoStorable/Storable.xs: make plain C functions static
Alexey Tourbin [Sun, 5 Jun 2005 03:42:42 +0000 (07:42 +0400)]
Storable/Storable.xs: make plain C functions static
Message-ID: <20050604234242.GW5867@solemn.turbinal.org>

p4raw-id: //depot/perl@24848

18 years agoCopSTASH_eq again
Andy Lester [Tue, 14 Jun 2005 23:49:26 +0000 (18:49 -0500)]
CopSTASH_eq again
Message-ID: <20050615044926.GA29087@petdance.com>

p4raw-id: //depot/perl@24847

18 years agoFix warning nits, by Jarkko
Rafael Garcia-Suarez [Wed, 15 Jun 2005 07:49:48 +0000 (07:49 +0000)]
Fix warning nits, by Jarkko

p4raw-id: //depot/perl@24846

18 years agoS_emulate_eaccess() does return a value
Steve Peters [Tue, 14 Jun 2005 14:30:52 +0000 (09:30 -0500)]
S_emulate_eaccess() does return a value
Message-ID: <20050614193052.GA1898@mccoy.peters.homeunix.org>
Date: Tue, 14 Jun 2005 14:30:52 -0500

p4raw-id: //depot/perl@24845

18 years agowhoops, Perl_magic_freearylen_p returns int
Dave Mitchell [Tue, 14 Jun 2005 17:24:18 +0000 (17:24 +0000)]
whoops, Perl_magic_freearylen_p returns int

p4raw-id: //depot/perl@24844

18 years agoChange 24838 breaks deparse.t, which checks that embedded NULs work.
Nicholas Clark [Tue, 14 Jun 2005 16:29:49 +0000 (16:29 +0000)]
Change 24838 breaks deparse.t, which checks that embedded NULs work.
Here's a temporary hack, pending a way for B to correctly identify
PVs that are variable names in pads.

p4raw-id: //depot/perl@24843

18 years agoAdd core test preamble
Rafael Garcia-Suarez [Tue, 14 Jun 2005 13:49:41 +0000 (13:49 +0000)]
Add core test preamble

p4raw-id: //depot/perl@24842

18 years agoTest was coredumping with a shared perl library.
Nicholas Clark [Tue, 14 Jun 2005 13:40:49 +0000 (13:40 +0000)]
Test was coredumping with a shared perl library.
This is wrong. It seems that what gets peephole optimised
(in this case named method calls into shared string scalars) depends
on whether there is a shared perl library.
Anyway, fix the symptom - the coredump.

p4raw-id: //depot/perl@24841

18 years agoStop "test" filename clashing with "TEST" on Win32
Steve Hay [Tue, 14 Jun 2005 13:36:03 +0000 (13:36 +0000)]
Stop "test" filename clashing with "TEST" on Win32

(and bump $IO::Zlib::VERSION again)

p4raw-id: //depot/perl@24840

18 years agoActually skip tests when they're supposed to be skipped!
Steve Hay [Tue, 14 Jun 2005 13:26:30 +0000 (13:26 +0000)]
Actually skip tests when they're supposed to be skipped!

(and bump $IO::Zlib::VERSION)

p4raw-id: //depot/perl@24839

18 years agoFix for SEGV in ext/B/t/xref.t on OpenBSD
Steve Peters [Tue, 14 Jun 2005 08:16:38 +0000 (03:16 -0500)]
Fix for SEGV in ext/B/t/xref.t on OpenBSD
Message-ID: <20050614131638.GA24771@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24838

18 years agoDon't delete IO/Zlib during distclean on Win32
Steve Hay [Tue, 14 Jun 2005 13:13:17 +0000 (13:13 +0000)]
Don't delete IO/Zlib during distclean on Win32

(IO/Socket still needs to go, though)

p4raw-id: //depot/perl@24837

18 years agoDocument ${^UTF8LOCALE}
Rafael Garcia-Suarez [Tue, 14 Jun 2005 13:02:24 +0000 (13:02 +0000)]
Document ${^UTF8LOCALE}

p4raw-id: //depot/perl@24836

18 years agoAdd IO::Zlib in maintainers list
Rafael Garcia-Suarez [Tue, 14 Jun 2005 12:12:33 +0000 (12:12 +0000)]
Add IO::Zlib in maintainers list

p4raw-id: //depot/perl@24835

18 years agoAdd IO::Zlib 1.04 to bleadperl
Rafael Garcia-Suarez [Tue, 14 Jun 2005 12:06:40 +0000 (12:06 +0000)]
Add IO::Zlib 1.04 to bleadperl

p4raw-id: //depot/perl@24834

18 years agoPerl_magic_freearylen_p could coredump
Dave Mitchell [Tue, 14 Jun 2005 10:15:10 +0000 (10:15 +0000)]
Perl_magic_freearylen_p could coredump

p4raw-id: //depot/perl@24833

18 years agobetter assertion support
Salvador Fandiño [Mon, 13 Jun 2005 16:48:01 +0000 (17:48 +0100)]
better assertion support
Message-ID: <20050613154719.29295.qmail@lists.develooper.com>

p4raw-id: //depot/perl@24832

18 years agoSince the version module is use'd afterwards, use_ok needs to be
Rafael Garcia-Suarez [Tue, 14 Jun 2005 08:31:18 +0000 (08:31 +0000)]
Since the version module is use'd afterwards, use_ok needs to be
in a BEGIN block

p4raw-id: //depot/perl@24831

18 years agoAdd BUILDOPTEXTRA to Win32 makefiles
Steve Hay [Tue, 14 Jun 2005 07:42:33 +0000 (07:42 +0000)]
Add BUILDOPTEXTRA to Win32 makefiles

This allows extra build options, e.g. -DNO_HASH_SEED, to be
specified on the command line, which is otherwise not possible
under nmake using the existing BUILDOPT macro

Suggested by Jan Dubois <jand@ActiveState.com>

p4raw-id: //depot/perl@24830

18 years agoPay attention to the comments that Dave writes.
Nicholas Clark [Mon, 13 Jun 2005 22:29:00 +0000 (22:29 +0000)]
Pay attention to the comments that Dave writes.

p4raw-id: //depot/perl@24829

18 years agoComment nit to help Devel::Cover, spotted by Steve Peters
Rafael Garcia-Suarez [Mon, 13 Jun 2005 20:22:52 +0000 (20:22 +0000)]
Comment nit to help Devel::Cover, spotted by Steve Peters

p4raw-id: //depot/perl@24828

18 years agoCroak if an attempt is made to modify PL_strtab
Nicholas Clark [Mon, 13 Jun 2005 20:18:57 +0000 (20:18 +0000)]
Croak if an attempt is made to modify PL_strtab
(er, TODO - these should be in perldiag)

p4raw-id: //depot/perl@24827

18 years agoMore SvPV consting
Nicholas Clark [Mon, 13 Jun 2005 20:17:56 +0000 (20:17 +0000)]
More SvPV consting

p4raw-id: //depot/perl@24826

18 years agoRe: Change 24806: improve static build for win32/Makefile
Vadim Konovalov [Mon, 13 Jun 2005 15:41:41 +0000 (11:41 -0400)]
Re: Change 24806: improve static build for win32/Makefile
Message-Id: <1118691701.6333.32.camel@mdk10>

p4raw-id: //depot/perl@24825

18 years agoWith shared hash key scalars now accessing the hash via the PVX, you
Nicholas Clark [Mon, 13 Jun 2005 16:24:57 +0000 (16:24 +0000)]
With shared hash key scalars now accessing the hash via the PVX, you
can't fake them with regular PVIVs. So fake method calls have to use
real shared hask key scalars.

p4raw-id: //depot/perl@24824

18 years agoBring bleadperl up to version.pm
John Peacock [Mon, 6 Jun 2005 05:18:21 +0000 (01:18 -0400)]
Bring bleadperl up to version.pm
Message-ID: <42A414DD.8090504@rowman.com>

p4raw-id: //depot/perl@24823

18 years agoRe: [perl #36047] perlmod.pod/CLONESKIP error
Offer Kaye [Thu, 2 Jun 2005 09:14:53 +0000 (12:14 +0300)]
Re: [perl #36047] perlmod.pod/CLONESKIP error
Message-ID: <56942505060123146e5eb1c2@mail.gmail.com>

p4raw-id: //depot/perl@24822