platform/upstream/perl.git
19 years agoUpgrade to Filter::Simple 0.82
Rafael Garcia-Suarez [Mon, 27 Jun 2005 13:46:25 +0000 (13:46 +0000)]
Upgrade to Filter::Simple 0.82

p4raw-id: //depot/perl@24990

19 years agoUpgrade to Test::Harness 2.52
Rafael Garcia-Suarez [Mon, 27 Jun 2005 12:46:44 +0000 (12:46 +0000)]
Upgrade to Test::Harness 2.52

p4raw-id: //depot/perl@24989

19 years agoUpgrade to Time::HiRes 1.70
Rafael Garcia-Suarez [Mon, 27 Jun 2005 12:35:33 +0000 (12:35 +0000)]
Upgrade to Time::HiRes 1.70

p4raw-id: //depot/perl@24988

19 years agoSuppress warnings about a clash between redefined malloc and the
Andy Lester [Fri, 24 Jun 2005 12:11:59 +0000 (07:11 -0500)]
Suppress warnings about a clash between redefined malloc and the
use of __attribute__malloc__

Subject: Re: Fun with __attribute__malloc__
Message-ID: <20050624171159.GB29590@petdance.com>

p4raw-id: //depot/perl@24987

19 years agoTweak the child dump socket protocol to return error messages to the
Nicholas Clark [Sun, 26 Jun 2005 22:19:22 +0000 (22:19 +0000)]
Tweak the child dump socket protocol to return error messages to the
parent so that it can display what went wrong.

p4raw-id: //depot/perl@24986

19 years agoUpgrade to Time::HiRes 1.69
Rafael Garcia-Suarez [Sun, 26 Jun 2005 20:06:10 +0000 (20:06 +0000)]
Upgrade to Time::HiRes 1.69

p4raw-id: //depot/perl@24985

19 years agoWhen using DEBUG_LEAKING_SCALARS_FORK_DUMP it's possible to cause
Nicholas Clark [Sun, 26 Jun 2005 17:59:33 +0000 (17:59 +0000)]
When using DEBUG_LEAKING_SCALARS_FORK_DUMP it's possible to cause
indefinite hangs when the debugging child holds open Perl_debug_log,
and it happens to be a file descriptor that is one end of a pipe,
with a process sitting at the other end waitng for EOF.
So close all descriptors in the child *including* Perl_debug_log,
and pass it back in over the control socket if it's needed.

p4raw-id: //depot/perl@24984

19 years agoNeed to pass a my_perl to S_my_localtime to make threaded builds build.
Nicholas Clark [Sun, 26 Jun 2005 10:28:43 +0000 (10:28 +0000)]
Need to pass a my_perl to S_my_localtime to make threaded builds build.

p4raw-id: //depot/perl@24983

19 years agoAdd a sanity check to Config::AUTOLOAD to prevent infinte loops if
Nicholas Clark [Sat, 25 Jun 2005 17:58:26 +0000 (17:58 +0000)]
Add a sanity check to Config::AUTOLOAD to prevent infinte loops if
Configure_heavy.pl gets truncated.

p4raw-id: //depot/perl@24982

19 years agoOn OS X to use perl's malloc need to USE_PERL_SBRK and emulate sbrk()
Nicholas Clark [Sat, 25 Jun 2005 15:45:06 +0000 (15:45 +0000)]
On OS X to use perl's malloc need to USE_PERL_SBRK and emulate sbrk()
using system malloc, because sbrk() stops giving us memory after about
14Mb.

p4raw-id: //depot/perl@24981

19 years agoNeed to skip exporting PL_dumper_fd unless it is used.
Nicholas Clark [Sat, 25 Jun 2005 15:42:30 +0000 (15:42 +0000)]
Need to skip exporting PL_dumper_fd unless it is used.

p4raw-id: //depot/perl@24980

19 years agoIf forking during global destruction, the child needs to close all
Nicholas Clark [Sat, 25 Jun 2005 12:55:09 +0000 (12:55 +0000)]
If forking during global destruction, the child needs to close all
unused file descriptors, else it can cause other processes to hang
because it accidentally holds open pipes and sockets.

p4raw-id: //depot/perl@24979

19 years agoUpgrade to Unicode::Collate 0.51
Rafael Garcia-Suarez [Fri, 24 Jun 2005 15:21:38 +0000 (15:21 +0000)]
Upgrade to Unicode::Collate 0.51

p4raw-id: //depot/perl@24978

19 years agoFix typo in win32.c
Steve Hay [Fri, 24 Jun 2005 14:38:05 +0000 (14:38 +0000)]
Fix typo in win32.c

Doesn't fix bcc32 + USE_LARGE_FILES, though :-(

p4raw-id: //depot/perl@24977

19 years agoExtend DEBUG_LEAKING_SCALARS_FORK_DUMP so it can also dump scalars
Nicholas Clark [Fri, 24 Jun 2005 14:04:19 +0000 (14:04 +0000)]
Extend DEBUG_LEAKING_SCALARS_FORK_DUMP so it can also dump scalars
which become unreferenced. This is less likely to be successful.
The #define needs a better name.

p4raw-id: //depot/perl@24976

19 years agoStop '"__attribute__format__" redefined' warnings from gcc on Win32
Steve Hay [Fri, 24 Jun 2005 13:56:15 +0000 (13:56 +0000)]
Stop '"__attribute__format__" redefined' warnings from gcc on Win32

p4raw-id: //depot/perl@24975

19 years agoMake opendir() filename const in Win32-land & friends
Steve Hay [Fri, 24 Jun 2005 12:27:45 +0000 (12:27 +0000)]
Make opendir() filename const in Win32-land & friends

That fact that it wasn't const already was highlighted by a warning
from pp_open_dir() generated by change 24743. Rather than undo the
const change in pp_open_dir(), this seems to make more sense. Hope I
haven't broken Netware or WinCE.

p4raw-id: //depot/perl@24974

19 years agoNeed to do some sort of die/warn to get the "global destruction"
Nicholas Clark [Fri, 24 Jun 2005 10:45:44 +0000 (10:45 +0000)]
Need to do some sort of die/warn to get the "global destruction"
text if the bug is still present.

p4raw-id: //depot/perl@24973

19 years agoFix t\op\gv.t on Win32
Steve Hay [Fri, 24 Jun 2005 09:37:24 +0000 (09:37 +0000)]
Fix t\op\gv.t on Win32

p4raw-id: //depot/perl@24972

19 years agoRemove cargo-culted binmode.
Rafael Garcia-Suarez [Fri, 24 Jun 2005 07:54:59 +0000 (07:54 +0000)]
Remove cargo-culted binmode.

p4raw-id: //depot/perl@24971

19 years agoFix Archive-Tar tests on Win32 following change 24954
Steve Hay [Fri, 24 Jun 2005 07:42:41 +0000 (07:42 +0000)]
Fix Archive-Tar tests on Win32 following change 24954

p4raw-id: //depot/perl@24970

19 years agoWorkaround localtime edge case where TZ makes time go beyond
H.Merijn Brand [Fri, 24 Jun 2005 07:41:08 +0000 (07:41 +0000)]
Workaround localtime edge case where TZ makes time go beyond
the defined working range (AIX 5.2)

p4raw-id: //depot/perl@24969

19 years agochange 24967 got the #endif in the wrong place
Dave Mitchell [Thu, 23 Jun 2005 22:59:36 +0000 (22:59 +0000)]
change 24967 got the #endif in the wrong place

p4raw-id: //depot/perl@24968

19 years agodon't repopulate PADTMP slots with null SVs when freeing ops
Dave Mitchell [Thu, 23 Jun 2005 22:48:40 +0000 (22:48 +0000)]
don't repopulate PADTMP slots with null SVs when freeing ops

p4raw-id: //depot/perl@24967

19 years agoRemove the reference loop between symbol tables and typeglobs.
Nicholas Clark [Thu, 23 Jun 2005 21:30:33 +0000 (21:30 +0000)]
Remove the reference loop between symbol tables and typeglobs.
Typeglobs now have a weak reference onto their symbol table.

p4raw-id: //depot/perl@24966

19 years agoPre-YAPC consting fun
Andy Lester [Thu, 23 Jun 2005 21:04:00 +0000 (21:04 +0000)]
Pre-YAPC consting fun
Message-ID: <20050623190423.GA13835@petdance.com>

p4raw-id: //depot/perl@24965

19 years agoTake a larger margin to prevent 'X' failures in smokes
H.Merijn Brand [Thu, 23 Jun 2005 18:43:42 +0000 (18:43 +0000)]
Take a larger margin to prevent 'X' failures in smokes
I was able to get warnings on HP-UX 10.20 every 2nd to 3rd run
when reps was still 10000. With 15000 I didn't get a single warning

p4raw-id: //depot/perl@24964

19 years agoWarning suppression.
Rafael Garcia-Suarez [Thu, 23 Jun 2005 18:07:34 +0000 (18:07 +0000)]
Warning suppression.

p4raw-id: //depot/perl@24963

19 years agoThe current implementation of :unique is fundamentally flawed,
Nicholas Clark [Thu, 23 Jun 2005 18:00:38 +0000 (18:00 +0000)]
The current implementation of :unique is fundamentally flawed,
because declaring a scalar READONLY does not stop it being modified.
Hence the current implementation of :unique is *not threadsafe*
D'oh!
Better implementations welcome.

p4raw-id: //depot/perl@24962

19 years agoFix Archive::Tar test when perl is built with -Dmksymlinks
Rafael Garcia-Suarez [Thu, 23 Jun 2005 16:18:21 +0000 (16:18 +0000)]
Fix Archive::Tar test when perl is built with -Dmksymlinks

p4raw-id: //depot/perl@24961

19 years agoRe: [perl #9741] possible problem with File::Find
Steve Peters [Fri, 17 Jun 2005 23:27:14 +0000 (18:27 -0500)]
Re: [perl #9741] possible problem with File::Find
Message-ID: <20050618042714.GA29589@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24960

19 years agoAdd a define PERL_POISON which tries to trip up anything accessing
Nicholas Clark [Thu, 23 Jun 2005 14:11:20 +0000 (14:11 +0000)]
Add a define PERL_POISON which tries to trip up anything accessing
freed or uninitialised memory. Currently only Poison()s freed
pointers.

p4raw-id: //depot/perl@24959

19 years agoIndent some of the #ifdef/#define/#endif to make the nesting clearer.
Nicholas Clark [Thu, 23 Jun 2005 14:09:57 +0000 (14:09 +0000)]
Indent some of the #ifdef/#define/#endif to make the nesting clearer.
Simplify SvPV_free slightly.

p4raw-id: //depot/perl@24958

19 years agoThis dummy test didn't pass
Rafael Garcia-Suarez [Thu, 23 Jun 2005 11:54:25 +0000 (11:54 +0000)]
This dummy test didn't pass

p4raw-id: //depot/perl@24957

19 years agoAdd a pseudo-test to clean up data files for Archive::Tar tests
Rafael Garcia-Suarez [Thu, 23 Jun 2005 11:34:35 +0000 (11:34 +0000)]
Add a pseudo-test to clean up data files for Archive::Tar tests

p4raw-id: //depot/perl@24956

19 years agoRemove test that relies on Test::POD
Rafael Garcia-Suarez [Thu, 23 Jun 2005 11:30:16 +0000 (11:30 +0000)]
Remove test that relies on Test::POD

p4raw-id: //depot/perl@24955

19 years agoRemove binary files, add a pseudo-test in Archive::Tar to generate them
Rafael Garcia-Suarez [Thu, 23 Jun 2005 11:29:16 +0000 (11:29 +0000)]
Remove binary files, add a pseudo-test in Archive::Tar to generate them

p4raw-id: //depot/perl@24954

19 years agoSilence bcc32 compiler warnings following change 24945
Steve Hay [Thu, 23 Jun 2005 11:02:42 +0000 (11:02 +0000)]
Silence bcc32 compiler warnings following change 24945

("Possible use of '%s' before definition")

p4raw-id: //depot/perl@24953

19 years agoRe-initialise PL_curcop to &PL_compiling before destroying the optree.
Nicholas Clark [Thu, 23 Jun 2005 10:41:00 +0000 (10:41 +0000)]
Re-initialise PL_curcop to &PL_compiling before destroying the optree.

p4raw-id: //depot/perl@24952

19 years agoRe: [perl #36350] unstable sorting for use integer; sort { $b <=> $a } @foo
Salvador Fandiño [Tue, 21 Jun 2005 19:50:35 +0000 (21:50 +0200)]
Re: [perl #36350] unstable sorting for use integer; sort { $b <=> $a } @foo
Message-ID: <20050621181658.5977.qmail@lists.develooper.com>

p4raw-id: //depot/perl@24951

19 years agoOops! Change 24946 wasn't quite right
Steve Hay [Thu, 23 Jun 2005 10:21:53 +0000 (10:21 +0000)]
Oops! Change 24946 wasn't quite right

p4raw-id: //depot/perl@24950

19 years agoAdd handling of NV_ZERO_IS_ALLBITS_ZERO for Netware and epoc
Rafael Garcia-Suarez [Thu, 23 Jun 2005 09:32:55 +0000 (09:32 +0000)]
Add handling of NV_ZERO_IS_ALLBITS_ZERO for Netware and epoc

p4raw-id: //depot/perl@24949

19 years agoDefine d_nv_zero_is_allbits_zero for symbian
Rafael Garcia-Suarez [Thu, 23 Jun 2005 09:25:03 +0000 (09:25 +0000)]
Define d_nv_zero_is_allbits_zero for symbian
(noticed by Jarkko)

p4raw-id: //depot/perl@24948

19 years agoSilence bcc32 compiler warnings from win32/fcrypt.c (almost)
Steve Hay [Thu, 23 Jun 2005 09:18:37 +0000 (09:18 +0000)]
Silence bcc32 compiler warnings from win32/fcrypt.c (almost)

It still whines about 'in' and 'b' being assigned values that are
never used on lines 348 and 505 respectively (as side effects of the
calls to c2l and l2c respectively), but I'm not sure how to shut
them up.

p4raw-id: //depot/perl@24947

19 years agoMore bcc32 compiler warnings to silence
Steve Hay [Thu, 23 Jun 2005 09:00:28 +0000 (09:00 +0000)]
More bcc32 compiler warnings to silence

("Suspicious pointer conversion")

p4raw-id: //depot/perl@24946

19 years agoConst Boy II: The Localizing
Andy Lester [Wed, 22 Jun 2005 09:41:00 +0000 (04:41 -0500)]
Const Boy II: The Localizing
Message-ID: <20050622144059.GA19598@petdance.com>

p4raw-id: //depot/perl@24945

19 years agoSilence another bcc32 compiler warning
Steve Hay [Thu, 23 Jun 2005 08:04:21 +0000 (08:04 +0000)]
Silence another bcc32 compiler warning

("Possible use of '%s' before definition")

p4raw-id: //depot/perl@24944

19 years agoremove taint hack now that local $tainted no longer copies taint magic
Dave Mitchell [Wed, 22 Jun 2005 23:08:55 +0000 (23:08 +0000)]
remove taint hack now that local $tainted no longer copies taint magic

p4raw-id: //depot/perl@24943

19 years agohandle magic in local correctly
Dave Mitchell [Wed, 22 Jun 2005 21:42:54 +0000 (21:42 +0000)]
handle magic in local correctly
the local SV now gets a copy of any container magic, and no value
magic; in the past the whole magic chain was either shared or
moved

p4raw-id: //depot/perl@24942

19 years agoUpgrade to Test::Harness 2.50
H.Merijn Brand [Wed, 22 Jun 2005 17:14:04 +0000 (17:14 +0000)]
Upgrade to Test::Harness 2.50

p4raw-id: //depot/perl@24941

19 years agoAdd facility to fork() early in perl_destruct and use the child to
Nicholas Clark [Wed, 22 Jun 2005 16:37:06 +0000 (16:37 +0000)]
Add facility to fork() early in perl_destruct and use the child to
dump out leaked scalars (enabled with DEBUG_LEAKING_SCALARS_FORK_DUMP
when DEBUG_LEAKING_SCALARS is already in force)

p4raw-id: //depot/perl@24940

19 years agoSilence yet more bcc32 compiler warnings
Steve Hay [Wed, 22 Jun 2005 13:25:16 +0000 (13:25 +0000)]
Silence yet more bcc32 compiler warnings

("Code has no effect")

p4raw-id: //depot/perl@24939

19 years agoSilence some more bcc32 compiler warnings
Steve Hay [Wed, 22 Jun 2005 13:02:17 +0000 (13:02 +0000)]
Silence some more bcc32 compiler warnings

("Suggest parentheses to clarify precedence")

p4raw-id: //depot/perl@24938

19 years agoSilence some bcc32 compiler warnings
Steve Hay [Wed, 22 Jun 2005 12:31:59 +0000 (12:31 +0000)]
Silence some bcc32 compiler warnings

("Superfluous & with function")

p4raw-id: //depot/perl@24937

19 years agoNow that the global string table is using a single hunk of memory
Nicholas Clark [Wed, 22 Jun 2005 10:08:43 +0000 (10:08 +0000)]
Now that the global string table is using a single hunk of memory
for both HE and HEK, we need to actually free things in perl_destruct

p4raw-id: //depot/perl@24936

19 years agoFix Archive-Tar tests on Win32
Steve Hay [Wed, 22 Jun 2005 09:40:25 +0000 (09:40 +0000)]
Fix Archive-Tar tests on Win32

(Patch from Jos Boumans, from his current dev version.)

p4raw-id: //depot/perl@24935

19 years agoRedo generation of change #24898
H.Merijn Brand [Tue, 21 Jun 2005 19:27:38 +0000 (19:27 +0000)]
Redo generation of change #24898
Do not forget to run Porting/config_h.pl!
p4raw-link: @24898 on //depot/perl: f607920a165f3c14b9c61dc74e535bdc6aa1904c

p4raw-id: //depot/perl@24934

19 years agoUpgrade to Test::Harness 2.49_02
Rafael Garcia-Suarez [Tue, 21 Jun 2005 17:05:01 +0000 (17:05 +0000)]
Upgrade to Test::Harness 2.49_02

p4raw-id: //depot/perl@24932

19 years agoAdd Archive::Tar to the maintainers list
Rafael Garcia-Suarez [Tue, 21 Jun 2005 16:33:32 +0000 (16:33 +0000)]
Add Archive::Tar to the maintainers list

p4raw-id: //depot/perl@24931

19 years agoTrim trailing spaces
Rafael Garcia-Suarez [Tue, 21 Jun 2005 16:14:06 +0000 (16:14 +0000)]
Trim trailing spaces

p4raw-id: //depot/perl@24930

19 years agoAdd pod, so ptar has a manpage
Rafael Garcia-Suarez [Tue, 21 Jun 2005 15:53:30 +0000 (15:53 +0000)]
Add pod, so ptar has a manpage

p4raw-id: //depot/perl@24929

19 years agoPOD nits
Rafael Garcia-Suarez [Tue, 21 Jun 2005 15:27:37 +0000 (15:27 +0000)]
POD nits

p4raw-id: //depot/perl@24928

19 years agoDrag t/op/gv.t kicking and screaming into the century of the fruitbat
Nicholas Clark [Tue, 21 Jun 2005 15:27:14 +0000 (15:27 +0000)]
Drag t/op/gv.t kicking and screaming into the century of the fruitbat
(or at least into the decade of t/test.pl)

p4raw-id: //depot/perl@24927

19 years agoAdd the ptar(1) utility from Archive::Tar
Rafael Garcia-Suarez [Tue, 21 Jun 2005 15:04:10 +0000 (15:04 +0000)]
Add the ptar(1) utility from Archive::Tar

p4raw-id: //depot/perl@24926

19 years agoTrim trailing whitespace from $! and $^E
Steve Hay [Tue, 21 Jun 2005 13:49:10 +0000 (13:49 +0000)]
Trim trailing whitespace from $! and $^E

(Fixes lib/Test/Simple/t/fail-more.t with bcc32 on Win32, and is
good for consistency anyway)

p4raw-id: //depot/perl@24925

19 years agoAvoid having NULL entries in the weakref backreference array, and
Nicholas Clark [Tue, 21 Jun 2005 12:39:27 +0000 (12:39 +0000)]
Avoid having NULL entries in the weakref backreference array, and
make S_sv_add_backref O(1) (instead of O(n))

p4raw-id: //depot/perl@24924

19 years agoCleanup after this test
Rafael Garcia-Suarez [Tue, 21 Jun 2005 12:12:10 +0000 (12:12 +0000)]
Cleanup after this test

p4raw-id: //depot/perl@24923

19 years agoAdd Archive::Tar 1.24, except ptar for now
Rafael Garcia-Suarez [Tue, 21 Jun 2005 12:01:07 +0000 (12:01 +0000)]
Add Archive::Tar 1.24, except ptar for now

p4raw-id: //depot/perl@24922

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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