This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoAvoiding source code duplication for the lstat() on filehandle %s
Nicholas Clark [Thu, 3 Nov 2005 09:51:56 +0000 (09:51 +0000)]
Avoiding source code duplication for the lstat() on filehandle %s
warning also makes the object code slightly smaller.

p4raw-id: //depot/perl@25968

16 years agoClean up some test files.
Steve Peters [Thu, 3 Nov 2005 02:09:30 +0000 (02:09 +0000)]
Clean up some test files.

p4raw-id: //depot/perl@25967

16 years agoMake harness warning-free when running with -Mdiagnostics
Steve Peters [Thu, 3 Nov 2005 01:45:45 +0000 (01:45 +0000)]
Make harness warning-free when running with -Mdiagnostics

p4raw-id: //depot/perl@25966

16 years agoTest case should not execute /no_such_process if it does exist.
Steve Peters [Wed, 2 Nov 2005 22:37:48 +0000 (22:37 +0000)]
Test case should not execute /no_such_process if it does exist.

p4raw-id: //depot/perl@25965

16 years agounlink chmod utime kill can be merged into Perl_pp_chown().
Nicholas Clark [Wed, 2 Nov 2005 21:27:58 +0000 (21:27 +0000)]
unlink chmod utime kill can be merged into Perl_pp_chown().

p4raw-id: //depot/perl@25964

16 years agoMove the conditonal compiles that report absence of kill and chown
Nicholas Clark [Wed, 2 Nov 2005 20:59:52 +0000 (20:59 +0000)]
Move the conditonal compiles that report absence of kill and chown
from pp_kill() and pp_chown() into apply().

p4raw-id: //depot/perl@25963

16 years agoMove ftsuid ftsgid ftsvtx into Perl_pp_ftrowned.
Nicholas Clark [Wed, 2 Nov 2005 20:13:24 +0000 (20:13 +0000)]
Move ftsuid ftsgid ftsvtx into Perl_pp_ftrowned.

p4raw-id: //depot/perl@25962

16 years agoMerge ftzero ftsock ftchr ftblk ftfile ftdir ftpipe into
Nicholas Clark [Wed, 2 Nov 2005 19:04:10 +0000 (19:04 +0000)]
Merge ftzero ftsock ftchr ftblk ftfile ftdir ftpipe into
Perl_pp_ftrowned

p4raw-id: //depot/perl@25961

16 years agoAvoid a pad panic by attempting to use dTARGET; in an op that didn't
Nicholas Clark [Wed, 2 Nov 2005 17:24:35 +0000 (17:24 +0000)]
Avoid a pad panic by attempting to use dTARGET; in an op that didn't
flag that it needed a target (OP_FTIS)

p4raw-id: //depot/perl@25960

16 years agoCorrect error in 25958 for threaded builds.
Nicholas Clark [Wed, 2 Nov 2005 16:35:42 +0000 (16:35 +0000)]
Correct error in 25958 for threaded builds.

p4raw-id: //depot/perl@25959

16 years agoMerge ftsize ftmtime ftatime ftctime into Perl_pp_ftis
Nicholas Clark [Wed, 2 Nov 2005 15:59:30 +0000 (15:59 +0000)]
Merge ftsize ftmtime ftatime ftctime into Perl_pp_ftis

p4raw-id: //depot/perl@25958

16 years agoRemove last sort test, that was failing with and without threads.
Rafael Garcia-Suarez [Wed, 2 Nov 2005 14:33:32 +0000 (14:33 +0000)]
Remove last sort test, that was failing with and without threads.
Silence some warnings.

p4raw-id: //depot/perl@25957

16 years agoAdjust test count
Rafael Garcia-Suarez [Wed, 2 Nov 2005 14:10:54 +0000 (14:10 +0000)]
Adjust test count

p4raw-id: //depot/perl@25956

16 years agoAdd missing file from change 25953
Rafael Garcia-Suarez [Wed, 2 Nov 2005 13:39:35 +0000 (13:39 +0000)]
Add missing file from change 25953

p4raw-id: //depot/perl@25955

16 years agoRegen headers
Rafael Garcia-Suarez [Wed, 2 Nov 2005 13:14:19 +0000 (13:14 +0000)]
Regen headers

p4raw-id: //depot/perl@25954

16 years agosort/multicall patch
Robin Houston [Sat, 29 Oct 2005 21:33:07 +0000 (22:33 +0100)]
sort/multicall patch
Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@25953

16 years agoRE: [perl #37571] -z FH broken with Borland build
Paul Marquess [Tue, 1 Nov 2005 17:05:38 +0000 (17:05 +0000)]
RE: [perl #37571] -z FH broken with Borland  build
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <003501c5df06$7d63fdb0$0505140a@myopwv.com>

p4raw-id: //depot/perl@25952

16 years agoRe: futimes [PATCH]
Gisle Aas [Tue, 1 Nov 2005 00:02:37 +0000 (16:02 -0800)]
Re: futimes [PATCH]
Message-ID: <lrbr1494o2.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@25951

16 years agoAmbiguous test cases may be hazardous to your health.
Steve Peters [Wed, 2 Nov 2005 04:59:47 +0000 (04:59 +0000)]
Ambiguous test cases may be hazardous to your health.

p4raw-id: //depot/perl@25950

16 years agoLowercase barewords considered harmful to your health.
Steve Peters [Wed, 2 Nov 2005 04:54:52 +0000 (04:54 +0000)]
Lowercase barewords considered harmful to your health.

p4raw-id: //depot/perl@25949

16 years agoperlio.c consting
Andy Lester [Mon, 31 Oct 2005 18:54:00 +0000 (18:54 +0000)]
perlio.c consting
Message-ID: <20051031175411.GA18480@petdance.com>

p4raw-id: //depot/perl@25948

16 years agoThis *really* should clear up Win32's Perl_do_exec undefined warnings
Steve Hay [Tue, 1 Nov 2005 17:20:18 +0000 (17:20 +0000)]
This *really* should clear up Win32's Perl_do_exec undefined warnings

p4raw-id: //depot/perl@25947

16 years agoThis should clear up 'Perl_do_exec' undefined; warnings on win32
Nicholas Clark [Tue, 1 Nov 2005 16:38:31 +0000 (16:38 +0000)]
This should clear up 'Perl_do_exec' undefined; warnings on win32

p4raw-id: //depot/perl@25946

16 years agoMake PerlLIOUtime()'s filename const
Steve Hay [Tue, 1 Nov 2005 10:33:48 +0000 (10:33 +0000)]
Make PerlLIOUtime()'s filename const

Fixes a warning brought about by change #25941 (which made the
filename argument const).
The various implementations of PerlLIOUtime() (in NetWare/, win32/
and wince/) already take a const filename.
p4raw-link: @25941 on //depot/perl: e96b369dc61077fe31b75895167f55dbce4d7519

p4raw-id: //depot/perl@25945

16 years agoFix nit in pod nit fix
Steve Hay [Tue, 1 Nov 2005 08:45:09 +0000 (08:45 +0000)]
Fix nit in pod nit fix

p4raw-id: //depot/perl@25944

16 years agoUpdate win32 config files w.r.t. change #25935
Steve Hay [Tue, 1 Nov 2005 08:39:32 +0000 (08:39 +0000)]
Update win32 config files w.r.t. change #25935
p4raw-link: @25935 on //depot/perl: dc814df18cd354aa2bad87c5b7f94c6b2d38af48

p4raw-id: //depot/perl@25943

16 years agoUpgrade to DB_File 1.813.
Steve Peters [Mon, 31 Oct 2005 23:46:01 +0000 (23:46 +0000)]
Upgrade to DB_File 1.813.

p4raw-id: //depot/perl@25942

16 years agofutimes [PATCH]
Gisle Aas [Mon, 31 Oct 2005 13:53:53 +0000 (05:53 -0800)]
futimes [PATCH]
Message-ID: <lrk6ft8ia6.fsf_-_@caliper.activestate.com>

p4raw-id: //depot/perl@25941

16 years agoAll the ops that are simply C<return some_other_op();> can be bypassed
Nicholas Clark [Mon, 31 Oct 2005 20:36:36 +0000 (20:36 +0000)]
All the ops that are simply C<return some_other_op();> can be bypassed
in the op dispatch table, and the bodies retired.

p4raw-id: //depot/perl@25940

16 years agoSimplify the implementation of the "unimplemented" message in the
Nicholas Clark [Mon, 31 Oct 2005 19:55:18 +0000 (19:55 +0000)]
Simplify the implementation of the "unimplemented" message in the
conditionally compiled ops.

p4raw-id: //depot/perl@25939

16 years agoFurther pod nit spotted by Jarkko
Nicholas Clark [Mon, 31 Oct 2005 19:14:47 +0000 (19:14 +0000)]
Further pod nit spotted by Jarkko

p4raw-id: //depot/perl@25938

16 years agoReplace the 3 currently "unreachable" ops with a single op body
Nicholas Clark [Mon, 31 Oct 2005 18:34:59 +0000 (18:34 +0000)]
Replace the 3 currently "unreachable" ops with a single op body
unimplemented_op() that panics descriptively if ever reached.

p4raw-id: //depot/perl@25937

16 years agoAdd "moving common filetest code to a static function" to the todo.
Nicholas Clark [Mon, 31 Oct 2005 18:29:05 +0000 (18:29 +0000)]
Add "moving common filetest code to a static function" to the todo.

p4raw-id: //depot/perl@25936

16 years agorevive probe for futimes ()
H.Merijn Brand [Mon, 31 Oct 2005 17:50:05 +0000 (17:50 +0000)]
revive probe for futimes ()

p4raw-id: //depot/perl@25935

16 years agoA B::Deparse fix from :
Bas van Sisseren [Wed, 26 Oct 2005 13:59:42 +0000 (15:59 +0200)]
A B::Deparse fix from :
Subject: Re: [perl #37527] regular-expression parser does not see '(' character
Message-ID: <435F6FAE.4060502@quarantainenet.nl>

p4raw-id: //depot/perl@25934

16 years agoSymbian port 0.3.0 as of blead@25911
Jarkko Hietaniemi [Mon, 31 Oct 2005 18:38:42 +0000 (20:38 +0200)]
Symbian port 0.3.0 as of blead@25911
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A6D6@esebe105.NOE.Nokia.com>

p4raw-id: //depot/perl@25933

16 years agoAvoid corruption when calling mg_get to retrieve the value
Rafael Garcia-Suarez [Mon, 31 Oct 2005 16:24:31 +0000 (16:24 +0000)]
Avoid corruption when calling mg_get to retrieve the value
of a $digit variable. This is done by ensuring it's not
tainted.
See http://bugs.debian.org/303308
Patch by Chris Heath <chris.heath@autoweb.net>

p4raw-id: //depot/perl@25932

16 years agomaddingue prefers this e-mail address.
Nicholas Clark [Mon, 31 Oct 2005 16:24:29 +0000 (16:24 +0000)]
maddingue prefers this e-mail address.

p4raw-id: //depot/perl@25931

16 years agoTry to preserve the lost opcode alias info in comments
H.Merijn Brand [Mon, 31 Oct 2005 16:18:03 +0000 (16:18 +0000)]
Try to preserve the lost opcode alias info in comments
extent to change #25929
p4raw-link: @25929 on //depot/perl: 1d5774de323ac43a91c2a30cf2e40384e4754f98

p4raw-id: //depot/perl@25930

16 years agoIt appears that it's trivially easy to alias opcode functions in
Nicholas Clark [Mon, 31 Oct 2005 15:52:50 +0000 (15:52 +0000)]
It appears that it's trivially easy to alias opcode functions in
the opcode table. We should be able to get both a speed and size
saving here. Time will tell how much.

p4raw-id: //depot/perl@25929

16 years agoAdd maddingue to AUTHORS
Nicholas Clark [Mon, 31 Oct 2005 15:13:06 +0000 (15:13 +0000)]
Add maddingue to AUTHORS

p4raw-id: //depot/perl@25928

16 years agoMaking ExtUtils::Constant compatible with Perl 5.004
S├ębastien Aperghis-Tramoni [Sun, 30 Oct 2005 23:52:41 +0000 (00:52 +0100)]
Making ExtUtils::Constant compatible with Perl 5.004
Message-ID: <1130712761.43654eb9cd9f7@imp4-g19.free.fr>

with tweaks by chromatic and me.

p4raw-id: //depot/perl@25927

16 years agoA more elegant way to deal with utf8n_to_uvchr() and utf8n_to_uvuni().
Nicholas Clark [Mon, 31 Oct 2005 14:51:48 +0000 (14:51 +0000)]
A more elegant way to deal with utf8n_to_uvchr() and utf8n_to_uvuni().

p4raw-id: //depot/perl@25926

16 years agoFix [perl #37533] open pragma ignored for all 3-arg opens
Rafael Garcia-Suarez [Mon, 31 Oct 2005 14:27:32 +0000 (14:27 +0000)]
Fix [perl #37533] open pragma ignored for all 3-arg opens
Also, correct the documentation in open.pm that stated
that open() did not override open.pm-given default encodings.

p4raw-id: //depot/perl@25925

16 years agoPerl_csighandler was in global.sym twice.
Nicholas Clark [Mon, 31 Oct 2005 14:18:59 +0000 (14:18 +0000)]
Perl_csighandler was in global.sym twice.

p4raw-id: //depot/perl@25924

16 years agoArrange to only output each symbol once into global.sym
Nicholas Clark [Mon, 31 Oct 2005 14:18:14 +0000 (14:18 +0000)]
Arrange to only output each symbol once into global.sym

p4raw-id: //depot/perl@25923

16 years agoTests for index/rindex with empty search string,
Rafael Garcia-Suarez [Mon, 31 Oct 2005 13:45:06 +0000 (13:45 +0000)]
Tests for index/rindex with empty search string,
adapted from a patch by Rick Delaney

p4raw-id: //depot/perl@25922

16 years agouvchr_to_utf8() and utf8n_to_uvchr() are mathoms on ASCII based
Nicholas Clark [Mon, 31 Oct 2005 13:22:01 +0000 (13:22 +0000)]
uvchr_to_utf8() and utf8n_to_uvchr() are mathoms on ASCII based
systems, and not on EBCDIC, so some more thinking is going to be
needed here.

p4raw-id: //depot/perl@25921

16 years agoCoverage stats showed that there were no tests for taking a slice
Steve Peters [Mon, 31 Oct 2005 11:58:08 +0000 (11:58 +0000)]
Coverage stats showed that there were no tests for taking a slice
from ().

p4raw-id: //depot/perl@25920

16 years agoChange some spaces to tabs for easier diffing against config_h.SH
Steve Hay [Mon, 31 Oct 2005 11:53:05 +0000 (11:53 +0000)]
Change some spaces to tabs for easier diffing against config_h.SH

p4raw-id: //depot/perl@25919

16 years agoFixed threaded builds following change 25916
Steve Hay [Mon, 31 Oct 2005 11:30:15 +0000 (11:30 +0000)]
Fixed threaded builds following change 25916

p4raw-id: //depot/perl@25918

16 years agoPOD nit spotted by Jarkko
Nicholas Clark [Mon, 31 Oct 2005 11:29:43 +0000 (11:29 +0000)]
POD nit spotted by Jarkko

p4raw-id: //depot/perl@25917

16 years agois_utf8_string_loc() is now a macro, don't use its Perl_-prefixed form
Rafael Garcia-Suarez [Mon, 31 Oct 2005 10:44:32 +0000 (10:44 +0000)]
is_utf8_string_loc() is now a macro, don't use its Perl_-prefixed form

p4raw-id: //depot/perl@25916

16 years agoEtta James presents: More consting
Andy Lester [Sun, 30 Oct 2005 23:44:13 +0000 (17:44 -0600)]
Etta James presents: More consting
Message-ID: <20051031054413.GA10767@petdance.com>

p4raw-id: //depot/perl@25915

16 years agoS_tokereport's unused parm
Andy Lester [Mon, 31 Oct 2005 00:04:59 +0000 (18:04 -0600)]
S_tokereport's unused parm
Message-ID: <20051031060459.GC10767@petdance.com>

p4raw-id: //depot/perl@25914

16 years agoRegenerate perlapi.pod
Rafael Garcia-Suarez [Mon, 31 Oct 2005 08:54:18 +0000 (08:54 +0000)]
Regenerate perlapi.pod

p4raw-id: //depot/perl@25913

16 years agoRobin Houston remarks that mention of a context is missing from the
Rafael Garcia-Suarez [Mon, 31 Oct 2005 08:40:23 +0000 (08:40 +0000)]
Robin Houston remarks that mention of a context is missing from the
threads.pm documentation.

p4raw-id: //depot/perl@25912

16 years agoperlsio_binmode() is pretty much a mathom on UNIX platforms, but it is
Steve Peters [Mon, 31 Oct 2005 03:51:08 +0000 (03:51 +0000)]
perlsio_binmode() is pretty much a mathom on UNIX platforms, but it is
used on Cygwin, at least.

p4raw-id: //depot/perl@25911

16 years agoconst const bad bad.
Nicholas Clark [Sun, 30 Oct 2005 21:53:03 +0000 (21:53 +0000)]
const const bad bad.
gcc bad bad too, because it didn't grumble one bit. (or two, for that
matter).

p4raw-id: //depot/perl@25910

16 years agois_utf8_alnum() and is_utf8_alnumc() can use is_utf8_common() too.
Nicholas Clark [Sun, 30 Oct 2005 21:38:29 +0000 (21:38 +0000)]
is_utf8_alnum() and is_utf8_alnumc() can use is_utf8_common() too.

p4raw-id: //depot/perl@25909

16 years agoJarkko and I think that Perl_is_utf8_alnumc should be initialising
Nicholas Clark [Sun, 30 Oct 2005 21:24:29 +0000 (21:24 +0000)]
Jarkko and I think that Perl_is_utf8_alnumc should be initialising
and using PL_utf8_alnum*c*, not PL_utf8_alnum.

p4raw-id: //depot/perl@25908

16 years agoPerl_is_utf8_* share a lot of common code. Pull that out into a new
Nicholas Clark [Sun, 30 Oct 2005 21:10:39 +0000 (21:10 +0000)]
Perl_is_utf8_* share a lot of common code. Pull that out into a new
function S_is_utf8_common.

p4raw-id: //depot/perl@25907

16 years agoGiven that sv_nosharing performs the same function as sv_nolocking
Nicholas Clark [Sun, 30 Oct 2005 18:31:25 +0000 (18:31 +0000)]
Given that sv_nosharing performs the same function as sv_nolocking
and sv_unnolocking (ie sweet FA), we might as well use the 1 function
to initialise all 3 variables, and elimiate the other two.
For some reason all 3 are listed as being in the public API. Daft.

p4raw-id: //depot/perl@25906

16 years agoReplace uvuni_to_utf8() with a macro that passes the extra 0 argument
Nicholas Clark [Sun, 30 Oct 2005 18:04:17 +0000 (18:04 +0000)]
Replace uvuni_to_utf8() with a macro that passes the extra 0 argument
to uvuni_to_utf8_flags(). Move the old body to mathoms.c

p4raw-id: //depot/perl@25905

16 years agoglobal.sym appears to have become out of date. Oops.
Nicholas Clark [Sun, 30 Oct 2005 17:59:08 +0000 (17:59 +0000)]
global.sym appears to have become out of date. Oops.

p4raw-id: //depot/perl@25904

16 years agoReplace is_utf8_string_loc() with a macro that passes the extra 0
Nicholas Clark [Sun, 30 Oct 2005 17:49:27 +0000 (17:49 +0000)]
Replace is_utf8_string_loc() with a macro that passes the extra 0
argument to is_utf8_string_loc(). Correct the description of its
parameters in its POD.

p4raw-id: //depot/perl@25903

16 years agoFix typos in comments.
Nicholas Clark [Sun, 30 Oct 2005 17:14:08 +0000 (17:14 +0000)]
Fix typos in comments.

p4raw-id: //depot/perl@25902

16 years agoFunctions that die aren't exactly well used code.
Nicholas Clark [Sun, 30 Oct 2005 17:08:39 +0000 (17:08 +0000)]
Functions that die aren't exactly well used code.
(ck_retarget, oopsCV, pp_padany, pp_threadsv, pp_mapstart)

p4raw-id: //depot/perl@25901

16 years agosave_hints is a mathom.
Nicholas Clark [Sun, 30 Oct 2005 16:45:34 +0000 (16:45 +0000)]
save_hints is a mathom.

p4raw-id: //depot/perl@25900

16 years agoI infer that change 25891 as-is would break OS2. This should fix it.
Nicholas Clark [Sun, 30 Oct 2005 16:41:02 +0000 (16:41 +0000)]
I infer that change 25891 as-is would break OS2. This should fix it.

p4raw-id: //depot/perl@25899

16 years agoinit_i18nl14n is a mathom.
Nicholas Clark [Sun, 30 Oct 2005 16:36:22 +0000 (16:36 +0000)]
init_i18nl14n is a mathom.

p4raw-id: //depot/perl@25898

16 years agoReplace hv_magic() with a macro to call sv_magic() directly. Move the
Nicholas Clark [Sun, 30 Oct 2005 16:24:37 +0000 (16:24 +0000)]
Replace hv_magic() with a macro to call sv_magic() directly. Move the
old body to mathoms.c

p4raw-id: //depot/perl@25897

16 years agoFix win32 breakage inadvertently introduced by 25889
Nicholas Clark [Sun, 30 Oct 2005 16:07:58 +0000 (16:07 +0000)]
Fix win32 breakage inadvertently introduced by 25889

p4raw-id: //depot/perl@25896

16 years agoReplace hv_iternext() with a macro that calls hv_iternext_flags with
Nicholas Clark [Sun, 30 Oct 2005 10:31:01 +0000 (10:31 +0000)]
Replace hv_iternext() with a macro that calls hv_iternext_flags with
an extra 0 argument. Move the old body to mathoms.c

p4raw-id: //depot/perl@25895

16 years agoFix typo in comment.
Nicholas Clark [Sun, 30 Oct 2005 10:00:42 +0000 (10:00 +0000)]
Fix typo in comment.

p4raw-id: //depot/perl@25894

16 years agoReplace gv_fetchmethod() with a macro to call gv_fetchmethod_autoload()
Nicholas Clark [Sun, 30 Oct 2005 09:59:41 +0000 (09:59 +0000)]
Replace gv_fetchmethod() with a macro to call gv_fetchmethod_autoload()
with the extra TRUE argument.

p4raw-id: //depot/perl@25893

16 years agoI think we have a winner. do_pipe hasn't been called since 4.036.
Nicholas Clark [Sun, 30 Oct 2005 08:51:52 +0000 (08:51 +0000)]
I think we have a winner. do_pipe hasn't been called since 4.036.
Maybe we should just remove this appendix.

p4raw-id: //depot/perl@25892

16 years agoReplace do_aexec() with a macro to call do_aexec5() with the two extra
Nicholas Clark [Sun, 30 Oct 2005 08:38:07 +0000 (08:38 +0000)]
Replace do_aexec() with a macro to call do_aexec5() with the two extra
0 arguments. Move the old body to mathoms.c

p4raw-id: //depot/perl@25891

16 years agoReplace do_exec() with a macro to call do_exec3() with the extra two
Nicholas Clark [Sun, 30 Oct 2005 08:23:29 +0000 (08:23 +0000)]
Replace do_exec() with a macro to call do_exec3() with the extra two
0 arguments. Move the old body to mathoms.c

p4raw-id: //depot/perl@25890

16 years agoReplace do_open() with a macro to call do_openn() with the extra two
Nicholas Clark [Sun, 30 Oct 2005 08:05:32 +0000 (08:05 +0000)]
Replace do_open() with a macro to call do_openn() with the extra two
0 paramters. Move the old body to mathoms.c.

p4raw-id: //depot/perl@25889

16 years agowarnings.pl/pm: Croaker function: bug (perl v5.8, v5.9)
Bram [Thu, 4 Aug 2005 23:55:33 +0000 (01:55 +0200)]
warnings.pl/pm: Croaker function: bug (perl v5.8, v5.9)
Message-Id: <42F28ED5.CFFDCCFD@wizbit.be>

p4raw-id: //depot/perl@25888

16 years agoRe: [PATCH] predecrement vs postdecrement
Jarkko Hietaniemi [Sat, 29 Oct 2005 23:24:33 +0000 (02:24 +0300)]
Re: [PATCH] predecrement vs postdecrement
Message-ID: <4363DA81.6060600@gmail.com>

Nit in pod/perlhack.pod

p4raw-id: //depot/perl@25887

16 years agoReplace the body of the rarely used sv_setpviv_mg with a call to
Nicholas Clark [Sat, 29 Oct 2005 17:31:01 +0000 (17:31 +0000)]
Replace the body of the rarely used sv_setpviv_mg with a call to
sv_setpviv followed by SvSETMAGIC.

p4raw-id: //depot/perl@25886

16 years agoReplace sv_catsv_mg and sv_catpvn_mg, and move the obsolete bodies to
Nicholas Clark [Sat, 29 Oct 2005 17:21:24 +0000 (17:21 +0000)]
Replace sv_catsv_mg and sv_catpvn_mg, and move the obsolete bodies to
mathoms.c

p4raw-id: //depot/perl@25885

16 years agoAdd a new SMAGIC flag, to signal a call to SvSETMAGIC. Add it to
Nicholas Clark [Sat, 29 Oct 2005 17:02:49 +0000 (17:02 +0000)]
Add a new SMAGIC flag, to signal a call to SvSETMAGIC. Add it to
sv_catpvn_flags and sv_catsv_flags, and then re-implement sv_catpvn_mg
and sv_catsv_mg as calls to sv_catpvn_flags and sv_catsv_flags
respectively.

p4raw-id: //depot/perl@25884

16 years agosv_2pv_nolen, sv_2pvbyte_nolen and sv_2pvutf8_nolen can all be replaced
Nicholas Clark [Sat, 29 Oct 2005 16:25:38 +0000 (16:25 +0000)]
sv_2pv_nolen, sv_2pvbyte_nolen and sv_2pvutf8_nolen can all be replaced
with terse macros, and the function bodies retired.

p4raw-id: //depot/perl@25883

16 years agoAll the private implementations of @foo for compilers that can't do
Nicholas Clark [Sat, 29 Oct 2005 16:06:39 +0000 (16:06 +0000)]
All the private implementations of @foo for compilers that can't do
complex macro expansions became dead wood sometime around 5.7.3
(Don't tell Otava this)

p4raw-id: //depot/perl@25882

16 years ago[perl #30563] [PATCH] Storable::dclone fails for tied elements
Srezic@Iconmobile.Com [Fri, 2 Jul 2004 11:32:12 +0000 (11:32 +0000)]
[perl #30563] [PATCH] Storable::dclone fails for tied elements
Message-ID: <rt-3.0.11-30563-91788.4.94870186951744@perl.org>

Also, a version bump to Storable.pm.

p4raw-id: //depot/perl@25881

16 years agosv_utf8_upgrade declares itself to be a mathom, so off it goes.
Nicholas Clark [Sat, 29 Oct 2005 15:07:42 +0000 (15:07 +0000)]
sv_utf8_upgrade declares itself to be a mathom, so off it goes.
Remove duplicate declaration of Perl_sv_2uv

p4raw-id: //depot/perl@25880

16 years agoReplace sv_force_normal with a macro that calls sv_force_normal_flags.
Nicholas Clark [Sat, 29 Oct 2005 14:51:32 +0000 (14:51 +0000)]
Replace sv_force_normal with a macro that calls sv_force_normal_flags.

p4raw-id: //depot/perl@25879

16 years agoReplace sv_unref with a macro that calls sv_unref_flags
Nicholas Clark [Sat, 29 Oct 2005 14:39:37 +0000 (14:39 +0000)]
Replace sv_unref with a macro that calls sv_unref_flags

p4raw-id: //depot/perl@25878

16 years agoOops, missed an sv_force_normal()
Steve Peters [Sat, 29 Oct 2005 14:33:30 +0000 (14:33 +0000)]
Oops, missed an sv_force_normal()

p4raw-id: //depot/perl@25877

16 years agosv_taint() can easily be replaced by a macro.
Nicholas Clark [Sat, 29 Oct 2005 14:25:55 +0000 (14:25 +0000)]
sv_taint() can easily be replaced by a macro.

p4raw-id: //depot/perl@25876

16 years agoChange to use sv_force_normal_flags() directly, rather than calling
Steve Peters [Sat, 29 Oct 2005 14:14:25 +0000 (14:14 +0000)]
Change to use sv_force_normal_flags() directly, rather than calling
sv_force_normal() to call sv_force_normal_flags().

p4raw-id: //depot/perl@25875

16 years agoA terser implementation of S_varname, by using and post-processing
Nicholas Clark [Sat, 29 Oct 2005 11:50:29 +0000 (11:50 +0000)]
A terser implementation of S_varname, by using and post-processing
gv_fullname4

p4raw-id: //depot/perl@25874

16 years agoAdditional mathoms from doio.c
Steve Peters [Sat, 29 Oct 2005 11:47:55 +0000 (11:47 +0000)]
Additional mathoms from doio.c

p4raw-id: //depot/perl@25873

16 years agoCoverage stats say av_fake() is a mathom too.
Steve Peters [Sat, 29 Oct 2005 11:36:26 +0000 (11:36 +0000)]
Coverage stats say av_fake() is a mathom too.

p4raw-id: //depot/perl@25872

16 years agogv_fullname3 and gv_efullname3 are definately mathoms. They even say so.
Nicholas Clark [Sat, 29 Oct 2005 11:14:40 +0000 (11:14 +0000)]
gv_fullname3 and gv_efullname3 are definately mathoms. They even say so.

p4raw-id: //depot/perl@25871

16 years agoRe: [PATCH] predecrement vs postdecrement
Jarkko Hietaniemi [Sat, 29 Oct 2005 11:52:25 +0000 (14:52 +0300)]
Re: [PATCH] predecrement vs postdecrement
Message-ID: <43633849.6060809@gmail.com>

p4raw-id: //depot/perl@25870

16 years agogv_fullname and gv_efullname are definately mathoms.
Nicholas Clark [Sat, 29 Oct 2005 10:53:40 +0000 (10:53 +0000)]
gv_fullname and gv_efullname are definately mathoms.

p4raw-id: //depot/perl@25869