17 years agoRefactor the code used to check/execute BEGIN/UNITCHECK/CHECK/INIT/END
Nicholas Clark [Tue, 30 Jan 2007 23:53:56 +0000]
Refactor the code used to check/execute BEGIN/UNITCHECK/CHECK/INIT/END
duplicated in newATTRSUB and newXS into a new static function
process_special_blocks()

p4raw-id: //depot/perl@30080

17 years agoone more iteration on PerlIO_teardown prototype
Jarkko Hietaniemi [Tue, 30 Jan 2007 04:20:21 +0000]
one more iteration on PerlIO_teardown prototype
Message-Id: <20070130022021.6051443A67@anubis.hut.fi>

p4raw-id: //depot/perl@30079

17 years agoRe: run/cloexec.t is failing
Marcus Holland-Moritz [Sat, 13 Jan 2007 18:44:53 +0000]
Re: run/cloexec.t is failing
Message-ID: <20070113184453.7cd54bcf@r2d2>

p4raw-id: //depot/perl@30078

17 years agoAlso check BEGIN/UNITCHECK/CHECK/INIT/END for require.
Nicholas Clark [Mon, 29 Jan 2007 23:36:02 +0000]
Also check BEGIN/UNITCHECK/CHECK/INIT/END for require.

p4raw-id: //depot/perl@30076

17 years agoUNITCHECK for XS code. Turned out to be harder that expected.
Nicholas Clark [Mon, 29 Jan 2007 22:40:01 +0000]
UNITCHECK for XS code. Turned out to be harder that expected.
We need to get the XS BOOT section to run any UNITCHECK blocks for us.

p4raw-id: //depot/perl@30072

17 years agoBEGIN blocks in XS should work. (Given that CHECK, INIT and END all do)
Nicholas Clark [Mon, 29 Jan 2007 20:05:52 +0000]
BEGIN blocks in XS should work. (Given that CHECK, INIT and END all do)

p4raw-id: //depot/perl@30067

17 years agoAdd av_create_and_push() and av_create_and_unshift_one() to refactor
Nicholas Clark [Mon, 29 Jan 2007 18:28:16 +0000]
Add av_create_and_push() and av_create_and_unshift_one() to refactor
out two repeated idioms.

p4raw-id: //depot/perl@30064

17 years agoAvoid test failure with for a -Dusesitecustomize perl.
Gisle Aas [Mon, 29 Jan 2007 16:54:38 +0000]
Avoid test failure with for a -Dusesitecustomize perl.

p4raw-id: //depot/perl@30059

17 years agoConvert ext/B/t/debug.t to Test::More. (Diagnostics are good, m'kay)
Nicholas Clark [Sun, 28 Jan 2007 22:30:18 +0000]
Convert ext/B/t/debug.t to Test::More. (Diagnostics are good, m'kay)

p4raw-id: //depot/perl@30052

17 years agog++ wants cast
Jarkko Hietaniemi [Sun, 28 Jan 2007 17:04:44 +0000]
g++ wants cast
Message-Id: <20070128150444.AC62043A57@anubis.hut.fi>

p4raw-id: //depot/perl@30050

17 years agoAs we're not using UVf in the core, don't even define in when PERL_CORE
Nicholas Clark [Sat, 27 Jan 2007 22:49:10 +0000]
As we're not using UVf in the core, don't even define in when PERL_CORE
is true.

p4raw-id: //depot/perl@30044

17 years agoChange 30034 wasn't enough to silence the warnings - also need to
Nicholas Clark [Sat, 27 Jan 2007 22:48:39 +0000]
Change 30034 wasn't enough to silence the warnings - also need to
pass a never-NULL parameter to newPADOP from newGVOP

p4raw-id: //depot/perl@30043

17 years ago[perl@30030] blead on OpenVMS doesn't build
Abe Timmerman [Sat, 27 Jan 2007 17:26:47 +0000]
[perl@30030] blead on OpenVMS doesn't build
Message-Id: <200701271726.48347.abe@ztreet.demon.nl>

Disable DECterm support by default, and when we enable it,
make sure the image we need is installed, not merely present.

p4raw-id: //depot/perl@30041

17 years agoFor FindBin to work as advertised on VMS, $FindBin::Bin
Craig A. Berry [Sat, 27 Jan 2007 17:45:27 +0000]
For FindBin to work as advertised on VMS, $FindBin::Bin
must be in unix syntax.

p4raw-id: //depot/perl@30037

17 years agoFor VMS, a belated entry into the $^O jungle that is File::Find::_find_dir.
Craig A. Berry [Sat, 27 Jan 2007 17:19:12 +0000]
For VMS, a belated entry into the $^O jungle that is File::Find::_find_dir.

p4raw-id: //depot/perl@30035

17 years agonewPADOP()'s sv parameter is never NULL, so mark it as so.
Nicholas Clark [Sat, 27 Jan 2007 17:03:59 +0000]
newPADOP()'s sv parameter is never NULL, so mark it as so.
(Well, in theory it could be NULL if someone is creating ops during
symbol table destruction, but snowballs in hell, etc.
This is usually the point where Jarkko observes that the aliens are
looking for a free slot in their diaries...)

p4raw-id: //depot/perl@30034

17 years agonewPADOP is only used under ithreads, so don't waste space by compiling
Nicholas Clark [Sat, 27 Jan 2007 15:36:49 +0000]
newPADOP is only used under ithreads, so don't waste space by compiling
it for non-threaded builds.

p4raw-id: //depot/perl@30032

17 years agoOne last gv_fetchpv() that should be GV_ADD rather than TRUE.
Nicholas Clark [Sat, 27 Jan 2007 14:03:01 +0000]
One last gv_fetchpv() that should be GV_ADD rather than TRUE.

p4raw-id: //depot/perl@30030

17 years agoUsing gv_stashsv() and sv_setsv() in Perl_package reduces source and
Nicholas Clark [Sat, 27 Jan 2007 12:55:31 +0000]
Using gv_stashsv() and sv_setsv() in Perl_package reduces source and
object code size.

p4raw-id: //depot/perl@30028

17 years agoChange Tels' contact address
Rafael Garcia-Suarez [Sat, 27 Jan 2007 09:42:32 +0000]
Change Tels' contact address

p4raw-id: //depot/perl@30025

17 years agoA test to exercise the smallbuf overflow code in S_incline, and a
Nicholas Clark [Sat, 27 Jan 2007 00:45:30 +0000]
A test to exercise the smallbuf overflow code in S_incline, and a
refactoring of that code to use only one 128 char array, not two.

p4raw-id: //depot/perl@30024

17 years agocflags.SH was broken: it was compiling a C file for testing available
Rafael Garcia-Suarez [Fri, 26 Jan 2007 18:28:42 +0000]
cflags.SH was broken: it was compiling a C file for testing available
command-line options, but this C file was including perl.h, which in
turn includes config.h, which might not be present at that time. So
force the generation of config.h.

p4raw-id: //depot/perl@30019

17 years agoSilence a few pedantic warnings
Rafael Garcia-Suarez [Fri, 26 Jan 2007 16:41:52 +0000]
Silence a few pedantic warnings

p4raw-id: //depot/perl@30017

17 years agoIf we have specified -Dgccansipedantic on the Configure command-line,
Rafael Garcia-Suarez [Fri, 26 Jan 2007 16:39:40 +0000]
If we have specified -Dgccansipedantic on the Configure command-line,
assume we really want it

p4raw-id: //depot/perl@30016

17 years agoStop S_incline needing to temporarily write a '\0' into its passed-in
Nicholas Clark [Fri, 26 Jan 2007 16:16:29 +0000]
Stop S_incline needing to temporarily write a '\0' into its passed-in
buffer. (Requires adding gv_fetchfile_flags(), savesharedpvn() and
CopFILE_setn() to provide pointer/length versions of APIs)

p4raw-id: //depot/perl@30015

17 years agoFix ext/POSIX/t/sysconf.t failures on Cygwin.
Steve Peters [Fri, 26 Jan 2007 16:12:58 +0000]
Fix ext/POSIX/t/sysconf.t failures on Cygwin.

p4raw-id: //depot/perl@30014

17 years agoRe: [perl #32135] File::Copy module
Adriano Ferreira [Fri, 26 Jan 2007 12:56:18 +0000]
Re: [perl #32135] File::Copy module
From: "Adriano Ferreira" <a.r.ferreira@gmail.com>
Message-ID: <73ddeb6c0701260656i1c35b207r1f9624edd3503fa6@mail.gmail.com>

p4raw-id: //depot/perl@30013

17 years agoAdd Archive::Extract 0.16 to the core
Jos I. Boumans [Fri, 26 Jan 2007 15:02:36 +0000]
Add Archive::Extract 0.16 to the core
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <21170.80.127.35.68.1169820156.squirrel@webmail.xs4all.nl>

p4raw-id: //depot/perl@30012

17 years agoSmall bugfixes to uupacktool.pl
Jos I. Boumans [Fri, 26 Jan 2007 14:50:29 +0000]
Small bugfixes to uupacktool.pl
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <16773.80.127.35.68.1169819429.squirrel@webmail.xs4all.nl>

p4raw-id: //depot/perl@30010

17 years agostill some Symbian/S90 tweaks
Jarkko Hietaniemi [Fri, 26 Jan 2007 15:40:58 +0000]
still some Symbian/S90 tweaks
Message-Id: <20070126134058.83B0643A57@anubis.hut.fi>

p4raw-id: //depot/perl@30009

17 years agoUpgrade to File::Fetch 0.10, by Jos Boumans
Rafael Garcia-Suarez [Fri, 26 Jan 2007 13:56:29 +0000]
Upgrade to File::Fetch 0.10, by Jos Boumans

p4raw-id: //depot/perl@30008

17 years agoLet File::Path report the extended system error message
Rafael Garcia-Suarez [Fri, 26 Jan 2007 11:21:17 +0000]
Let File::Path report the extended system error message
when available (Ilya Zakharevich)

p4raw-id: //depot/perl@30002

17 years agoAs we're not passing over (or copying in) a NUL, don't need that extra
Nicholas Clark [Fri, 26 Jan 2007 11:18:02 +0000]
As we're not passing over (or copying in) a NUL, don't need that extra
byte for it, so correct the < to <= so that we use the smallbuf
whenever possible.

p4raw-id: //depot/perl@30000

17 years agoMention //w in perltodo.
Rafael Garcia-Suarez [Fri, 26 Jan 2007 10:55:50 +0000]
Mention //w in perltodo.

p4raw-id: //depot/perl@29998

17 years agoUpgrade to Time::Local 1.17
Rafael Garcia-Suarez [Fri, 26 Jan 2007 09:17:56 +0000]
Upgrade to Time::Local 1.17

p4raw-id: //depot/perl@29994

17 years agoutf8.pm doc patch
Audrey Tang [Fri, 26 Jan 2007 05:38:39 +0000]
utf8.pm doc patch
Message-Id: <5BDAD0DE-3434-4A29-82C6-35AE3EFD27CC@audreyt.org>

p4raw-id: //depot/perl@29992

17 years agoSome variables are used only with DEBUGGING
Rafael Garcia-Suarez [Fri, 26 Jan 2007 09:01:01 +0000]
Some variables are used only with DEBUGGING

p4raw-id: //depot/perl@29991

17 years agofurther Symbian/S90 fixes from alexander smishlajev
Jarkko Hietaniemi [Fri, 26 Jan 2007 05:51:50 +0000]
further Symbian/S90 fixes from alexander smishlajev
Message-Id: <20070126035150.41A4143A67@anubis.hut.fi>

p4raw-id: //depot/perl@29990

17 years agoUpgrade to Module::Load::Conditional 0.16, by Jos Boumans
Rafael Garcia-Suarez [Fri, 26 Jan 2007 08:27:23 +0000]
Upgrade to Module::Load::Conditional 0.16, by Jos Boumans

p4raw-id: //depot/perl@29989

17 years agoConvert the last remaining 256 byte "small"bufs to 128 bytes.
Nicholas Clark [Thu, 25 Jan 2007 23:18:25 +0000]
Convert the last remaining 256 byte "small"bufs to 128 bytes.
(The actual size doesn't matter, as the buffers are only there to
save a malloc() for the common, short, case. Coverage reports suggest
that we aren't actually testing the long case. Yet - will fix this)

p4raw-id: //depot/perl@29987

17 years agoNeither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminated
Nicholas Clark [Thu, 25 Jan 2007 22:39:08 +0000]
Neither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminated
string, so don't bother allocating buffer space or adding a NUL.

p4raw-id: //depot/perl@29983

17 years agoIntegrate:
Andy Lester [Thu, 11 May 2006 22:41:01 +0000]
Integrate:
[ 28144]
In Perl_Gv_AMupdate(), there's no need to call sv_unmagic() if we know
the magic isn't there.

[ 28145]
Simplify the non-printable name error reporting code in Perl_allocmy().

[ 28176]
Subject: [PATCH] Speed up utf8.c a bit
Date: Thu, 11 May 2006 22:41:01 -0500
Message-ID: <20060512034101.GA10709@petdance.com>

[ 28178]
The upgrade/croak order in Perl_sv_utf8_encode() seemed utterly
backwards. It now checks for readonly *first*.

[ 28179]
Subject: [PATCH] Proper use of static funcs in toke.c and pp_sys.c
From: andy@petdance.com (Andy Lester)
Date: Tue, 9 May 2006 12:27:30 -0500
Message-ID: <20060509172730.GA5272@petdance.com>

[ 28180]
Subject: [PATCH]  upgrade bytes_to_uni
From: andy@petdance.com (Andy Lester)
Date: Fri, 12 May 2006 00:21:23 -0500
Message-ID: <20060512052123.GA21648@petdance.com>

[ 28194]
Subject: [PATCH] S_reguni should return its length
From: andy@petdance.com (Andy Lester)
Date: Sun, 14 May 2006 09:46:32 -0500
Message-ID: <20060514144632.GA20935@petdance.com>

ooops, and also something in blead that wasn't meant to sneak in:
Change PERL_WARNHOOK_FATAL to &PL_sv_placeholder, rather than some
evil cast relative to NULL.
p4raw-link: @28194 on //depot/perl: 71207a3462fa4c2b33c5608a4362ac40e975ecdb
p4raw-link: @28180 on //depot/perl: 64844641e1be28fdf8b7bba9436537339624f40b
p4raw-link: @28179 on //depot/perl: 931e0695c454f4c18f68d30775151862650cc4d8
p4raw-link: @28178 on //depot/perl: a5f5288a1ce96404c41043e92557b8c1a5ad9e30
p4raw-link: @28176 on //depot/perl: 3ebfea2846d81f58e86dfcb7f9e09300e5dfcd17
p4raw-link: @28145 on //depot/perl: d1544d85966c2f41014a6f408fd81b36501caa7c
p4raw-link: @28144 on //depot/perl: 14899595d82ccba509ac7743655764129ed32177

p4raw-id: //depot/perl@29980

17 years agoThe last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmask
Nicholas Clark [Thu, 25 Jan 2007 20:57:56 +0000]
The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmask
of flags, not a boolean, so correct the documenation and callers.

p4raw-id: //depot/perl@29977

17 years agosplit by " \0" (const string staring with a SPACE followed by NULL)
SADAHIRO Tomoyuki [Fri, 19 Jan 2007 22:21:48 +0000]
split by " \0" (const string staring with a SPACE followed by NULL)
Message-Id: <20070119221905.D162.BQW10602@nifty.com>

p4raw-id: //depot/perl@29975

17 years agoUpgrade to threads 1.58:
Rafael Garcia-Suarez [Thu, 25 Jan 2007 14:48:49 +0000]
Upgrade to threads 1.58:
* Ignore thread return value(s) in void context
* Check for missing args for 'use threads' options
* Check that stack size argument is numeric

p4raw-id: //depot/perl@29973

17 years agoRe: [perl #41283] B::walkoptree_slow fails for 'our @foo = split( m/ /, "hello" )'
Joshua ben Jore [Wed, 17 Jan 2007 17:49:22 +0000]
Re: [perl #41283] B::walkoptree_slow fails for 'our @foo = split( m/ /, "hello" )'
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0701171749x3f2dfd00tc523d33bc234c530@mail.gmail.com>

p4raw-id: //depot/perl@29972

17 years agoChange 28058 hadn't been tested with -DPERL_CREATE_GVSV
Nicholas Clark [Thu, 25 Jan 2007 11:41:13 +0000]
Change 28058 hadn't been tested with -DPERL_CREATE_GVSV

p4raw-id: //depot/perl@29970

17 years agoDisplay the process id as part of the trace output if running with -Dv
Nicholas Clark [Wed, 24 Jan 2007 21:42:53 +0000]
Display the process id as part of the trace output if running with -Dv
(Might be nice to display the thread ID too under ithreads, but I can't
 see a clean way to get that)

p4raw-id: //depot/perl@29960

17 years agoFix typo in the description of change 27911
Nicholas Clark [Wed, 24 Jan 2007 19:07:49 +0000]
Fix typo in the description of change 27911

p4raw-id: //depot/perl@29956

17 years agoWrap the macro arguments for ck_proto in ().
Nicholas Clark [Wed, 24 Jan 2007 18:44:51 +0000]
Wrap the macro arguments for ck_proto in ().

p4raw-id: //depot/perl@29954

17 years agofix a few references in perlfunc.html
Jan Dubois [Tue, 23 Jan 2007 18:25:02 +0000]
fix a few references in perlfunc.html
Message-ID: <oggdr2pfqj8bb2o47ikmmq9gmjebhr8ht6@4ax.com>

p4raw-id: //depot/perl@29942

17 years agoImprove documentation PERLIO default value in perlrun.pod
Jan Dubois [Tue, 23 Jan 2007 18:43:55 +0000]
Improve documentation PERLIO default value in perlrun.pod
Message-ID: <jhhdr21vmlo5ccbfd8la2di4bq8crv3s8t@4ax.com>

p4raw-id: //depot/perl@29941

17 years agoUpgrade to Time::Local 1.16
Rafael Garcia-Suarez [Wed, 24 Jan 2007 11:02:24 +0000]
Upgrade to Time::Local 1.16

p4raw-id: //depot/perl@29940

17 years agoAdd lib to @INC so that ./perl t/op/local.t works.
Nicholas Clark [Tue, 23 Jan 2007 22:54:00 +0000]
Add lib to @INC so that ./perl t/op/local.t works.

p4raw-id: //depot/perl@29938

17 years agoChange 29936 missed a ;
Nicholas Clark [Tue, 23 Jan 2007 21:07:06 +0000]
Change 29936 missed a ;

p4raw-id: //depot/perl@29937

17 years agoFix to Time::Local to fix problems with leap year calculation.
Steve Peters [Tue, 23 Jan 2007 18:43:50 +0000]
Fix to Time::Local to fix problems with leap year calculation.

p4raw-id: //depot/perl@29936

17 years agoUpgrade to File-Temp-0.18.
Steve Peters [Tue, 23 Jan 2007 15:02:56 +0000]
Upgrade to File-Temp-0.18.

p4raw-id: //depot/perl@29935

17 years agoUpgrade to AutoLoader-5.63
Steve Peters [Tue, 23 Jan 2007 14:29:55 +0000]
Upgrade to AutoLoader-5.63

p4raw-id: //depot/perl@29934

17 years agoUpgrade to Test-Simple-0.67
Steve Peters [Tue, 23 Jan 2007 02:20:31 +0000]
Upgrade to Test-Simple-0.67

p4raw-id: //depot/perl@29933

17 years agoUpgrade to Math-Complex-1.37.
Steve Peters [Tue, 23 Jan 2007 02:14:57 +0000]
Upgrade to Math-Complex-1.37.

p4raw-id: //depot/perl@29932

17 years agoTime::Local patch take 2
Dave Rolsky [Mon, 22 Jan 2007 09:46:08 +0000]
Time::Local patch take 2
Message-ID: <Pine.LNX.4.64.0701220945040.28849@urth.org>

p4raw-id: //depot/perl@29931

17 years ago[perl #41318] Patch: win32.c typo in #define MULTIPLICITY
Devin Heitmueller [Mon, 22 Jan 2007 14:46:15 +0000]
[perl #41318] Patch: win32.c typo in #define MULTIPLICITY
From: "Devin Heitmueller" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-1834-1169505975-229.41318-75-0@perl.org>

p4raw-id: //depot/perl@29930

17 years agoDisable positive lookaround optimisations
Yves Orton [Sun, 21 Jan 2007 18:53:38 +0000]
Disable positive lookaround optimisations
Message-ID: <9b18b3110701210953l4df6198re36a9342e6049583@mail.gmail.com>
Date: Sun, 21 Jan 2007 18:53:38 +0100

p4raw-id: //depot/perl@29923

17 years agoFix a typo and some doubled spaces in comments.
Nicholas Clark [Mon, 22 Jan 2007 19:38:12 +0000]
Fix a typo and some doubled spaces in comments.

p4raw-id: //depot/perl@29922

17 years agoRemove duplicate assignment to PL_eval_root in Perl_create_eval_scope
Nicholas Clark [Mon, 22 Jan 2007 19:21:21 +0000]
Remove duplicate assignment to PL_eval_root in Perl_create_eval_scope

p4raw-id: //depot/perl@29921

17 years agoFix my typo, as spotted by Steve Peters
Nicholas Clark [Mon, 22 Jan 2007 17:03:48 +0000]
Fix my typo, as spotted by Steve Peters

p4raw-id: //depot/perl@29917

17 years agoAssignments to function pointers can't be NULL, as that's a pointer to
Nicholas Clark [Sun, 21 Jan 2007 23:18:20 +0000]
Assignments to function pointers can't be NULL, as that's a pointer to
data, and assigning pointers to data to pointers to functions is not
ANSI-conformant.

p4raw-id: //depot/perl@29911

17 years agoRestore the const to vtbl in Perl_mg_localize() removed in change
Nicholas Clark [Sun, 21 Jan 2007 23:11:30 +0000]
Restore the const to vtbl in Perl_mg_localize() removed in change
26924.

p4raw-id: //depot/perl@29910

17 years agoRemove register keyword from dSP; (at least for now)
Nicholas Clark [Sun, 21 Jan 2007 20:06:45 +0000]
Remove register keyword from dSP; (at least for now)

p4raw-id: //depot/perl@29907

17 years agoRefactor the common soft-reference code from pp_rv2sv and pp_rv2av
Nicholas Clark [Sun, 21 Jan 2007 11:44:16 +0000]
Refactor the common soft-reference code from pp_rv2sv and pp_rv2av
into a single routine Perl_softref2xv(). As soft references are
rarely used compared with true references, move this code from pp_hot.c

p4raw-id: //depot/perl@29905

17 years agodefined @$foo and defined %$bar should be subject to strict 'refs';
Nicholas Clark [Sat, 20 Jan 2007 23:40:23 +0000]
defined @$foo and defined %$bar should be subject to strict 'refs';

p4raw-id: //depot/perl@29900

17 years agoUpgrade to version-0.69
Steve Peters [Sat, 20 Jan 2007 03:51:26 +0000]
Upgrade to version-0.69

p4raw-id: //depot/perl@29895

17 years agoRe: Race condition in IPC::Open3 / Mac OS?
Bo Lindbergh [Sat, 20 Jan 2007 02:39:57 +0000]
Re: Race condition in IPC::Open3 / Mac OS?
Message-Id: <D256CF03-D814-4973-9DF6-60EA4F26FE10@hagernas.com>

p4raw-id: //depot/perl@29894

17 years agoAdd PAUSE2007.pub key
Steve Peters [Sat, 20 Jan 2007 03:28:48 +0000]
Add PAUSE2007.pub key

p4raw-id: //depot/perl@29893

17 years agoUpgrade to CPAN-1.88_69.
Steve Peters [Sat, 20 Jan 2007 03:20:11 +0000]
Upgrade to CPAN-1.88_69.

p4raw-id: //depot/perl@29892

17 years agoRe: [PATCH] fix unicode split /\s+/
SADAHIRO Tomoyuki [Sat, 20 Jan 2007 00:52:42 +0000]
Re: [PATCH] fix unicode split /\s+/
Message-Id: <20070120005232.D9CC.BQW10602@nifty.com>
Date: Sat, 20 Jan 2007 00:52:42 +0900

p4raw-id: //depot/perl@29887

17 years agoYves spotted that I'd not regenerated perlapi.pod when I added
Nicholas Clark [Fri, 19 Jan 2007 20:13:46 +0000]
Yves spotted that I'd not regenerated perlapi.pod when I added
get_cvn_flags().

p4raw-id: //depot/perl@29885

17 years agoMarcus Holland-Moritz notes that the first argument to
Nicholas Clark [Fri, 19 Jan 2007 19:27:59 +0000]
Marcus Holland-Moritz notes that the first argument to
refcounted_he_fetch() can be NULL.

p4raw-id: //depot/perl@29884

17 years agoFix breakage for -DDEBUGGING accidentally introduced with change 29882.
Nicholas Clark [Fri, 19 Jan 2007 18:07:23 +0000]
Fix breakage for -DDEBUGGING accidentally introduced with change 29882.

p4raw-id: //depot/perl@29883

17 years agoAdd a parameter to Perl_get_arena() to pass in the SV type, and record
Nicholas Clark [Fri, 19 Jan 2007 17:36:10 +0000]
Add a parameter to Perl_get_arena() to pass in the SV type, and record
this in the arena description. Change all sizes to unsigned values.
Make Perl_sv_free_arenas() loop downwards to free memory, simplifying
the logic. Remove my erroneous comment added in change 29881.

p4raw-id: //depot/perl@29882

17 years agoI think that it's clearer if aroot is only struct arena_set *
Nicholas Clark [Fri, 19 Jan 2007 11:45:24 +0000]
I think that it's clearer if aroot is only struct arena_set *
(rather than ** and constantly dereferneced). Move the declaration
of new_root into the block it is used in. Add a comment describing
where the arenas for arena_sets themselves aren't rooted anywhere.

p4raw-id: //depot/perl@29881

17 years agofix unicode split /\s+/
Yves Orton [Fri, 19 Jan 2007 02:14:06 +0000]
fix unicode split /\s+/
Message-ID: <9b18b3110701181714r4f3bc9ebq9ba462eba8338734@mail.gmail.com>

p4raw-id: //depot/perl@29880

17 years agoAs Perl_get_arena() is dealing with sizes, use size_t rather than int,
Nicholas Clark [Fri, 19 Jan 2007 00:13:02 +0000]
As Perl_get_arena() is dealing with sizes, use size_t rather than int,
as it's both unsigned and semantically the correct width for a size.
As all arenas get cleared later on, can use Newx() rather than Newxz().

p4raw-id: //depot/perl@29879

17 years agoMove C<static bool done_sanity_check;> inside the only function that
Nicholas Clark [Thu, 18 Jan 2007 23:52:11 +0000]
Move C<static bool done_sanity_check;> inside the only function that
uses it.

p4raw-id: //depot/perl@29878

17 years agoAdd in missing dVAR that prevents compilation with
Nicholas Clark [Thu, 18 Jan 2007 23:51:45 +0000]
Add in missing dVAR that prevents compilation with
-DPERL_GLOBAL_STRUCT_PRIVATE

p4raw-id: //depot/perl@29877

17 years agoMove the flag checking for isGV_with_GP() into the call to visit()
Nicholas Clark [Thu, 18 Jan 2007 23:36:57 +0000]
Move the flag checking for isGV_with_GP() into the call to visit()

p4raw-id: //depot/perl@29876

17 years agoAdd missing SVfARG()s in require_tie_mod().
Marcus Holland-Moritz [Thu, 18 Jan 2007 16:52:37 +0000]
Add missing SVfARG()s in require_tie_mod().

p4raw-id: //depot/perl@29875

17 years agoGiven that we now do the tests in S_visit() to avoid calling the
Nicholas Clark [Thu, 18 Jan 2007 15:48:13 +0000]
Given that we now do the tests in S_visit() to avoid calling the
helper function when skippable, no need to retain those tests
inside the helper functions do_clean_objs() and do_clean_named_objs().

p4raw-id: //depot/perl@29872

17 years agoperl rebuilds because of gcc's -g flag
Marcus Holland-Moritz [Thu, 18 Jan 2007 14:27:55 +0000]
perl rebuilds because of gcc's -g flag
Subject: [PATCH] Re: [perl #41058] make rebuilds perl everytime
Message-ID: <20070118142755.28e7f724@r2d2>

p4raw-id: //depot/perl@29871

17 years agoRe: [PATCH] win32_async_check() can still loop indefinitely
Jan Dubois [Mon, 15 Jan 2007 19:25:11 +0000]
Re: [PATCH] win32_async_check() can still loop indefinitely
Message-ID: <rigoq25vda3sg4i7ppdb5o2jhvuiq15kqj@4ax.com>

p4raw-id: //depot/perl@29868

17 years agoAs PVLVs can hold globs in some cases, I think that we should be
Nicholas Clark [Thu, 18 Jan 2007 11:16:09 +0000]
As PVLVs can hold globs in some cases, I think that we should be
treating them as a strict subclass of PVGV. Hence drop through into
the PVGV handling code.

p4raw-id: //depot/perl@29867

17 years agodisable parser stack cleanup on reduce croak (too fragile)
Dave Mitchell [Thu, 18 Jan 2007 02:14:48 +0000]
disable parser stack cleanup on reduce croak (too fragile)

p4raw-id: //depot/perl@29866

17 years agoFix a typo in Dynaloader_pm.PL.
Marcus Holland-Moritz [Wed, 17 Jan 2007 21:06:11 +0000]
Fix a typo in Dynaloader_pm.PL.

p4raw-id: //depot/perl@29857

17 years agoReplace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
Nicholas Clark [Wed, 17 Jan 2007 19:22:47 +0000]
Replace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
because it's not possible for dstr to be COW at this point, due to an
earlier force_normal.

p4raw-id: //depot/perl@29855

17 years agoMake PERL_OLD_COPY_ON_WRITE build again. Inline Perl_sv_release_IVX().
Nicholas Clark [Wed, 17 Jan 2007 18:24:50 +0000]
Make PERL_OLD_COPY_ON_WRITE build again. Inline Perl_sv_release_IVX().
(Currently it fails ext/Compress/Raw/Zlib/t/07bufsize.t)

p4raw-id: //depot/perl@29853

17 years agoIf we use SvUPGRADE() rather than sv_upgrade() then it can make the
Nicholas Clark [Wed, 17 Jan 2007 15:42:54 +0000]
If we use SvUPGRADE() rather than sv_upgrade() then it can make the
decision on not "up"grading PVLV to PVGV for us. However, it appears
that the other actions conducted for "not-yet-a-glob" are useful here.

p4raw-id: //depot/perl@29852

17 years agoRe: [PATCH] symbian/xsbuild.pl patching continues
Jarkko Hietaniemi [Wed, 17 Jan 2007 08:27:03 +0000]
Re: [PATCH] symbian/xsbuild.pl patching continues
Message-ID: <45AE2427.7080907@iki.fi>

p4raw-id: //depot/perl@29848

17 years agoReentrant functions appear to still be broken in NetBSD 3.1.
Steve Peters [Tue, 16 Jan 2007 22:15:05 +0000]
Reentrant functions appear to still be broken in NetBSD 3.1.

p4raw-id: //depot/perl@29845

17 years agoRe: Dual-lived AutoLoader
Steffen Müller [Tue, 16 Jan 2007 15:29:44 +0000]
Re: Dual-lived AutoLoader
Message-ID: <45ACE158.4080102@sneakemail.com>

p4raw-id: //depot/perl@29844

17 years agoRe: [PATCH] Change implementation of %+ to use a proper tied hash interface and add...
Yves Orton [Mon, 15 Jan 2007 23:06:44 +0000]
Re: [PATCH] Change implementation of %+ to use a proper tied hash interface and add support for %-
Message-ID: <9b18b3110701151406p7168b20byf873ee2e58091ca3@mail.gmail.com>

p4raw-id: //depot/perl@29843