This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 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 (17:19 +0000)]
For VMS, a belated entry into the $^O jungle that is File::Find::_find_dir.

p4raw-id: //depot/perl@30035

14 years agonewPADOP()'s sv parameter is never NULL, so mark it as so.
Nicholas Clark [Sat, 27 Jan 2007 17:03:59 +0000 (17:03 +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

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

p4raw-id: //depot/perl@30032

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

p4raw-id: //depot/perl@30030

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

p4raw-id: //depot/perl@30028

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

p4raw-id: //depot/perl@30025

14 years agoA test to exercise the smallbuf overflow code in S_incline, and a
Nicholas Clark [Sat, 27 Jan 2007 00:45:30 +0000 (00:45 +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

14 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 (18:28 +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

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

p4raw-id: //depot/perl@30017

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

p4raw-id: //depot/perl@30016

14 years agoStop S_incline needing to temporarily write a '\0' into its passed-in
Nicholas Clark [Fri, 26 Jan 2007 16:16:29 +0000 (16:16 +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

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

p4raw-id: //depot/perl@30014

14 years agoRe: [perl #32135] File::Copy module
Adriano Ferreira [Fri, 26 Jan 2007 12:56:18 +0000 (10:56 -0200)]
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

14 years agoAdd Archive::Extract 0.16 to the core
Jos I. Boumans [Fri, 26 Jan 2007 15:02:36 +0000 (16:02 +0100)]
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

14 years agoSmall bugfixes to uupacktool.pl
Jos I. Boumans [Fri, 26 Jan 2007 14:50:29 +0000 (15:50 +0100)]
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

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

p4raw-id: //depot/perl@30009

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

p4raw-id: //depot/perl@30008

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

p4raw-id: //depot/perl@30002

14 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 (11:18 +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

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

p4raw-id: //depot/perl@29998

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

p4raw-id: //depot/perl@29994

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

p4raw-id: //depot/perl@29992

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

p4raw-id: //depot/perl@29991

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

p4raw-id: //depot/perl@29990

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

p4raw-id: //depot/perl@29989

14 years agoConvert the last remaining 256 byte "small"bufs to 128 bytes.
Nicholas Clark [Thu, 25 Jan 2007 23:18:25 +0000 (23:18 +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

14 years agoNeither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminated
Nicholas Clark [Thu, 25 Jan 2007 22:39:08 +0000 (22:39 +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

14 years agoIntegrate:
Andy Lester [Thu, 11 May 2006 22:41:01 +0000 (17:41 -0500)]
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

14 years agoThe last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmask
Nicholas Clark [Thu, 25 Jan 2007 20:57:56 +0000 (20:57 +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

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

p4raw-id: //depot/perl@29975

14 years agoUpgrade to threads 1.58:
Rafael Garcia-Suarez [Thu, 25 Jan 2007 14:48:49 +0000 (14:48 +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

14 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 (09:49 -0800)]
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

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

p4raw-id: //depot/perl@29970

14 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 (21:42 +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

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

p4raw-id: //depot/perl@29956

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

p4raw-id: //depot/perl@29954

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

p4raw-id: //depot/perl@29942

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

p4raw-id: //depot/perl@29941

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

p4raw-id: //depot/perl@29940

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

p4raw-id: //depot/perl@29938

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

p4raw-id: //depot/perl@29937

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

p4raw-id: //depot/perl@29936

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

p4raw-id: //depot/perl@29935

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

p4raw-id: //depot/perl@29934

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

p4raw-id: //depot/perl@29933

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

p4raw-id: //depot/perl@29932

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

p4raw-id: //depot/perl@29931

14 years ago[perl #41318] Patch: win32.c typo in #define MULTIPLICITY
Devin Heitmueller [Mon, 22 Jan 2007 14:46:15 +0000 (06:46 -0800)]
[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

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

p4raw-id: //depot/perl@29923

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

p4raw-id: //depot/perl@29922

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

p4raw-id: //depot/perl@29921

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

p4raw-id: //depot/perl@29917

14 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 (23:18 +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

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

p4raw-id: //depot/perl@29910

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

p4raw-id: //depot/perl@29907

14 years agoRefactor the common soft-reference code from pp_rv2sv and pp_rv2av
Nicholas Clark [Sun, 21 Jan 2007 11:44:16 +0000 (11:44 +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

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

p4raw-id: //depot/perl@29900

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

p4raw-id: //depot/perl@29895

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

p4raw-id: //depot/perl@29894

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

p4raw-id: //depot/perl@29893

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

p4raw-id: //depot/perl@29892

14 years agoRe: [PATCH] fix unicode split /\s+/
SADAHIRO Tomoyuki [Sat, 20 Jan 2007 00:52:42 +0000 (09:52 +0900)]
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

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

p4raw-id: //depot/perl@29885

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

p4raw-id: //depot/perl@29884

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

p4raw-id: //depot/perl@29883

14 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 (17:36 +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

14 years agoI think that it's clearer if aroot is only struct arena_set *
Nicholas Clark [Fri, 19 Jan 2007 11:45:24 +0000 (11:45 +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

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

p4raw-id: //depot/perl@29880

14 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 (00:13 +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

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

p4raw-id: //depot/perl@29878

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

p4raw-id: //depot/perl@29877

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

p4raw-id: //depot/perl@29876

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

p4raw-id: //depot/perl@29875

14 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 (15:48 +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

14 years agoperl rebuilds because of gcc's -g flag
Marcus Holland-Moritz [Thu, 18 Jan 2007 14:27:55 +0000 (15:27 +0100)]
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

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

p4raw-id: //depot/perl@29868

14 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 (11:16 +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

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

p4raw-id: //depot/perl@29866

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

p4raw-id: //depot/perl@29857

14 years agoReplace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
Nicholas Clark [Wed, 17 Jan 2007 19:22:47 +0000 (19:22 +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

14 years agoMake PERL_OLD_COPY_ON_WRITE build again. Inline Perl_sv_release_IVX().
Nicholas Clark [Wed, 17 Jan 2007 18:24:50 +0000 (18:24 +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

14 years agoIf we use SvUPGRADE() rather than sv_upgrade() then it can make the
Nicholas Clark [Wed, 17 Jan 2007 15:42:54 +0000 (15:42 +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

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

p4raw-id: //depot/perl@29848

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

p4raw-id: //depot/perl@29845

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

p4raw-id: //depot/perl@29844

14 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 (00:06 +0100)]
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

14 years agoMake offsets support conditional
Yves Orton [Sun, 14 Jan 2007 15:24:25 +0000 (16:24 +0100)]
Make offsets support conditional
Message-ID: <9b18b3110701140624v452f7684x5e9d2890805489fd@mail.gmail.com>

p4raw-id: //depot/perl@29842

14 years agoTypo fix, by Robin Barker
Rafael Garcia-Suarez [Tue, 16 Jan 2007 10:17:43 +0000 (10:17 +0000)]
Typo fix, by Robin Barker

p4raw-id: //depot/perl@29841

14 years agomake Dump display the SVf_BREAK flag
Dave Mitchell [Mon, 15 Jan 2007 18:33:02 +0000 (18:33 +0000)]
make Dump display the SVf_BREAK flag

p4raw-id: //depot/perl@29839

14 years agoEnable the ~~ operator by default.
Rafael Garcia-Suarez [Mon, 15 Jan 2007 18:25:45 +0000 (18:25 +0000)]
Enable the ~~ operator by default.
Remove the ~~ feature.

p4raw-id: //depot/perl@29838

14 years agowhen cloning PL_regex_pad, copy SVf_BREAK flag too
Dave Mitchell [Mon, 15 Jan 2007 18:19:20 +0000 (18:19 +0000)]
when cloning  PL_regex_pad, copy SVf_BREAK flag too

p4raw-id: //depot/perl@29837

14 years agopp_rv2av and pp_rv2hv have a lot of common code, so it's certainly a
Nicholas Clark [Mon, 15 Jan 2007 18:15:54 +0000 (18:15 +0000)]
pp_rv2av and pp_rv2hv have a lot of common code, so it's certainly a
space saving to merge them. Hopefully this will reduce L2 cache misses.

p4raw-id: //depot/perl@29836

14 years agoMake changes analagous to pp_rv2hv's 21394 and 24489 in pp_rv2av.
Nicholas Clark [Mon, 15 Jan 2007 17:18:03 +0000 (17:18 +0000)]
Make changes analagous to pp_rv2hv's 21394 and 24489 in pp_rv2av.

p4raw-id: //depot/perl@29835

14 years agoRe: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH...
Yves Orton [Sat, 13 Jan 2007 17:18:01 +0000 (18:18 +0100)]
Re: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Message-ID: <9b18b3110701130818h6badbd3o1b38f2660d258173@mail.gmail.com>

macroize regexp modifiers

p4raw-id: //depot/perl@29834

14 years agoAdd support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Yves Orton [Fri, 12 Jan 2007 02:31:12 +0000 (03:31 +0100)]
Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com>
(with tweaks)

p4raw-id: //depot/perl@29831

14 years agoAdd get_cvn_flags(), which is like get_cv() but takes a length. This
Nicholas Clark [Mon, 15 Jan 2007 14:38:58 +0000 (14:38 +0000)]
Add get_cvn_flags(), which is like get_cv() but takes a length. This
allows symbolic code references with embeded NULs to work.

p4raw-id: //depot/perl@29830

14 years agosymbian/xsbuild.pl
Jarkko Hietaniemi [Mon, 15 Jan 2007 08:49:56 +0000 (03:49 -0500)]
symbian/xsbuild.pl
Message-ID: <45AB8684.70906@iki.fi>

p4raw-id: //depot/perl@29829

14 years agoextend threads 'veto cleanup' to perl_free and system stuff
Dave Mitchell [Mon, 15 Jan 2007 14:16:53 +0000 (14:16 +0000)]
extend threads 'veto cleanup' to perl_free and system stuff

p4raw-id: //depot/perl@29827

14 years agoProper symbian fix (replacing change #29813) by Jarkko
Rafael Garcia-Suarez [Mon, 15 Jan 2007 14:15:35 +0000 (14:15 +0000)]
Proper symbian fix (replacing change #29813) by Jarkko
p4raw-link: @29813 on //depot/perl: 7b82c93812e18a92e98b364b3e820e455a5a1358

p4raw-id: //depot/perl@29826

14 years agoUse the $Is_MacOS variable
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:45:40 +0000 (13:45 +0000)]
Use the $Is_MacOS variable

p4raw-id: //depot/perl@29825