Steve Peters [Tue, 2 Dec 2008 05:10:09 +0000]
setsid() returns -1 on failure.
p4raw-id: //depot/perl@34976
Steve Peters [Tue, 2 Dec 2008 04:18:48 +0000]
Add diagnostics for "No such hook: %s".
p4raw-id: //depot/perl@34975
Nicholas Clark [Mon, 1 Dec 2008 22:17:55 +0000]
The temporary SV created in Perl_save_helem_flags() to store the key
can be freed immediately after it is used, as it is unrelated to
anything else. This folds SvREFCNT_dec()s on two code paths into one.
p4raw-id: //depot/perl@34973
Nicholas Clark [Mon, 1 Dec 2008 21:28:13 +0000]
Convention seems to be that static definitions are also made visible by
|| defined(PERL_DECL_PROT), so add this where it is missing.
p4raw-id: //depot/perl@34972
Jerry D. Hedden [Mon, 1 Dec 2008 12:47:35 +0000]
Eliminate setenv_getix()
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <
1ff86f510812010947p7df19438kc19c279bcffe4b83@mail.gmail.com>
Date: Mon, 1 Dec 2008 12:47:35 -0500
p4raw-id: //depot/perl@34971
Nicholas Clark [Mon, 1 Dec 2008 14:29:42 +0000]
Change 34966 should also have removed the SSCHECK(4); from
Perl_save_hints().
p4raw-id: //depot/perl@34970
Nicholas Clark [Mon, 1 Dec 2008 13:20:27 +0000]
In Perl_ss_dup(), case SAVEt_FREEPV can be rolled into case
SAVEt_DELETE for a space optimisation.
p4raw-id: //depot/perl@34969
Nicholas Clark [Mon, 1 Dec 2008 13:19:41 +0000]
Implement Perl_save_delete() using save_pushptri32ptr().
p4raw-id: //depot/perl@34968
Nicholas Clark [Mon, 1 Dec 2008 11:54:42 +0000]
Re-order Perl_save_delete() to PTR, INT, PTR.
p4raw-id: //depot/perl@34967
Nicholas Clark [Mon, 1 Dec 2008 11:27:31 +0000]
Add S_save_pushptri32ptr() and use it to re-implement Perl_save_hints()
and Perl_save_aelem().
p4raw-id: //depot/perl@34966
Nicholas Clark [Mon, 1 Dec 2008 11:06:05 +0000]
Move the implmentation of SAVEHINTS() into a new Perl_save_hints() in
scope.c. "Inlined" macro functions in scope.h are actually space
inefficient.
p4raw-id: //depot/perl@34965
Nicholas Clark [Mon, 1 Dec 2008 10:36:44 +0000]
For SAVEHINTS(), re-order the savestack to be (?:PTR, )? INT, PTR.
This brings it to the same order as save_aelem() or save_pushi32ptr().
p4raw-id: //depot/perl@34964
Nicholas Clark [Mon, 1 Dec 2008 09:46:15 +0000]
Expose save_pushi32ptr() and implement SAVECOPARYBASE() with it.
p4raw-id: //depot/perl@34963
Rainer Tammer [Sat, 29 Nov 2008 14:23:26 +0000]
Re: 5.8.9 RC1 / 5.10.x / bleed patches for README.aix
Message-ID: <
4931424E.8000008@tammer.net>
p4raw-id: //depot/perl@34961
Nicholas Clark [Mon, 1 Dec 2008 00:02:17 +0000]
Expose save_pushptrptr() and implement SAVESWITCHSTACK() with it.
p4raw-id: //depot/perl@34960
Nicholas Clark [Sun, 30 Nov 2008 23:45:20 +0000]
Refactor all of the code of the form
SSCHECK(3);
SSPUSHINT(i);
SSPUSHPTR(ptr);
SSPUSHINT(type);
into a static function S_save_pushi32ptr().
p4raw-id: //depot/perl@34959
Nicholas Clark [Sun, 30 Nov 2008 23:27:57 +0000]
Re-implement the macros SAVECOMPPAD(), SAVECOMPILEWARNINGS(),
SAVEPARSER() in terms of save_pushptr(). This shinks the exectuable
by about 4K. Maybe some of the other scope.h macros should become
functions.
p4raw-id: //depot/perl@34958
Nicholas Clark [Sun, 30 Nov 2008 23:16:09 +0000]
Refactor all of the code of the form
SSCHECK(3);
SSPUSHPTR(ptr1);
SSPUSHPTR(ptr2);
SSPUSHINT(type);
into a static function S_save_pushptrptr().
It might be possible to make some of its callers trivial macros, and
so eliminate them as functions. But start with the easy part.
p4raw-id: //depot/perl@34957
Nicholas Clark [Sun, 30 Nov 2008 22:46:37 +0000]
Convert all the scope save functions of the form
SSCHECK(2);
SSPUSHPTR(o);
SSPUSHINT(SAVEt_FREEOP);
into a single function Perl_save_pushptr(ptr, type), which the others
call. Implement the others as macros. This reduces the object code size.
p4raw-id: //depot/perl@34956
Nicholas Clark [Sun, 30 Nov 2008 19:18:33 +0000]
This feels like a more robust location than that of change 34954.
p4raw-id: //depot/perl@34955
Nicholas Clark [Sun, 30 Nov 2008 17:17:37 +0000]
Proposed fix for -T -d:NYTProf regression. Probably this is a "missing"
part of change 24943.
p4raw-id: //depot/perl@34954
Marcus Holland-Moritz [Sat, 29 Nov 2008 05:43:24 +0000]
Upgrade to IPC::SysV 2.00_02
p4raw-id: //depot/perl@34953
Craig A. Berry [Fri, 28 Nov 2008 21:43:48 +0000]
And (hopefully) the actual change for 34951. Sigh.
p4raw-id: //depot/perl@34952
John E. Malmberg [Fri, 28 Nov 2008 11:31:55 +0000]
[patch@34950]configure.com fix usedevel
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <
49302B0B.2070009@qsl.net>
p4raw-id: //depot/perl@34951
H.Merijn Brand [Fri, 28 Nov 2008 07:52:03 +0000]
could we add usedevel to config.h?
From: Nicholas Clark <nick@ccl4.org>
Date: Thu, 27 Nov 2008 20:28:08 +0000
Message-ID: <
20081127202807.GG49335@plum.flirble.org>
Subject: Avoid duplicate vendorlib [PATCH]
From: Gisle Aas <gisle@activestate.com>
Date: Wed, 12 Nov 2008 13:50:34 +0100
Message-Id: <
71B06786-4C55-4A76-BE24-C01F89015D45@activestate.com>
p4raw-id: //depot/perl@34950
H.Merijn Brand [Fri, 28 Nov 2008 07:48:30 +0000]
Errors to STDERR please
p4raw-id: //depot/perl@34949
Nicholas Clark [Thu, 27 Nov 2008 22:37:41 +0000]
S_mro_get_linear_isa_*() should have an *un*signed level.
[Unless it's a signed concept, use an usigned type.]
p4raw-id: //depot/perl@34948
Nicholas Clark [Thu, 27 Nov 2008 20:01:05 +0000]
av_fake is undead. :-(
Hopefully it will get the message this time.
p4raw-id: //depot/perl@34947
Nicholas Clark [Thu, 27 Nov 2008 19:13:28 +0000]
Note (hopefully) all the use cases of all the rest of the non-public but
exported APIs.
p4raw-id: //depot/perl@34946
Bo Lindbergh [Wed, 26 Nov 2008 10:54:53 +0000]
Small eval documentation tweak
Message-Id: <
F5D05263-9E5C-4B6D-8233-E11DE1D207E8@hagernas.com>
p4raw-id: //depot/perl@34945
Nicholas Clark [Thu, 27 Nov 2008 10:10:06 +0000]
av_fake() isn't in the public API, and isn't used anywhere, so it can
go.
p4raw-id: //depot/perl@34944
Steve Peters [Tue, 21 Dec 2004 17:36:12 +0000]
[perl #32979] [PATCH] perlrun #!/bin/sh incantation n.g. 4 linux
From: "Steve Peters via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-32979-103402.11.
4873424142094@perl.org>
Applying a four year old patch from myself. w00t!
p4raw-id: //depot/perl@34943
Nicholas Clark [Wed, 26 Nov 2008 23:50:06 +0000]
Note where (nearly) all the other private non-static functions are used.
p4raw-id: //depot/perl@34942
Nicholas Clark [Wed, 26 Nov 2008 23:35:59 +0000]
ywarn() is actually only used inside toke.c, so it can be static.
p4raw-id: //depot/perl@34941
Nicholas Clark [Wed, 26 Nov 2008 23:20:31 +0000]
setenv_getix() is not used anywhere other than util.c (and the "special
biologist word for stable" Msql-Mysql-modules-1.2219) so make it
static.
p4raw-id: //depot/perl@34940
Nicholas Clark [Wed, 26 Nov 2008 23:13:18 +0000]
Change 34931 missed a second update to perlintern.pod
p4raw-id: //depot/perl@34939
Nicholas Clark [Wed, 26 Nov 2008 23:02:47 +0000]
sv_add_arena() is now only called from sv.c, so it can be static.
p4raw-id: //depot/perl@34938
Nicholas Clark [Wed, 26 Nov 2008 22:44:03 +0000]
Perl_oopsCV() is not part of the public API, not used anywhere, so can
go.
p4raw-id: //depot/perl@34937
Marcus Holland-Moritz [Wed, 26 Nov 2008 22:34:54 +0000]
Upgrade to IPC::SysV 2.00_01
p4raw-id: //depot/perl@34936
Nicholas Clark [Wed, 26 Nov 2008 22:25:18 +0000]
rxres_free() and rxres_restore() are only used in pp_ctl.c, so can be
static. Macros PUSHSUBST() and POPSUBST() are only viable in PERL_CORE.
p4raw-id: //depot/perl@34935
Nicholas Clark [Wed, 26 Nov 2008 22:04:01 +0000]
Just s/Perl_/S_/ isn't good enough - you also need to add the C<static>
p4raw-id: //depot/perl@34934
Nicholas Clark [Wed, 26 Nov 2008 21:56:46 +0000]
pmtrans() and refkids() can be static in op.c.
p4raw-id: //depot/perl@34933
Nicholas Clark [Wed, 26 Nov 2008 21:33:54 +0000]
pidgone() is only used in util.c, so it can be static.
p4raw-id: //depot/perl@34932
Nicholas Clark [Wed, 26 Nov 2008 21:18:58 +0000]
Merge S_is_gv_magical() into Perl_is_gv_magical_sv().
p4raw-id: //depot/perl@34931
Nicholas Clark [Wed, 26 Nov 2008 21:10:57 +0000]
The vestigial PL_pad_reset_pending can actually be bool, rather than
I32. This permits some space saving rejigging of the interpreter
struct.
p4raw-id: //depot/perl@34930
Nicholas Clark [Wed, 26 Nov 2008 20:53:23 +0000]
pad_reset() is only used in pad.c, so can be static.
Protect the prototype of S_vdie() with #if defined (PERL_IN_UTIL_C)
p4raw-id: //depot/perl@34929
Nicholas Clark [Wed, 26 Nov 2008 20:29:58 +0000]
Exactly 1 function, in perl.c, calls Perl_magicname(), so inline it.
p4raw-id: //depot/perl@34927
Nicholas Clark [Wed, 26 Nov 2008 20:14:02 +0000]
is_gv_magical() is only called from within gv.c.
p4raw-id: //depot/perl@34926
Nicholas Clark [Wed, 26 Nov 2008 19:58:49 +0000]
ingroup() is only used in doio.c.
Wrap gen_constant_list in #if defined(PERL_IN_OP_C)
p4raw-id: //depot/perl@34925
Nicholas Clark [Wed, 26 Nov 2008 19:36:06 +0000]
force_list(), fold_constants() and gen_constant_list() can be static.
p4raw-id: //depot/perl@34924
Nicholas Clark [Wed, 26 Nov 2008 18:54:13 +0000]
vdie() isn't used anywhere aside from util.c, so it can be static.
p4raw-id: //depot/perl@34923
Nicholas Clark [Wed, 26 Nov 2008 18:21:52 +0000]
Perl_cv_ckproto() is not part of the public API, and not used anywhere
in the core. So it can go.
p4raw-id: //depot/perl@34922
Vincent Pit [Wed, 26 Nov 2008 18:49:48 +0000]
Addendum to bug #38809: fix assertion failure, more tests
Message-ID: <
492D8C3C.1010003@profvince.com>
p4raw-id: //depot/perl@34921
Nicholas Clark [Wed, 26 Nov 2008 16:24:07 +0000]
listkids() can be static in op.c
p4raw-id: //depot/perl@34920
Nicholas Clark [Wed, 26 Nov 2008 16:04:04 +0000]
Following on from change 34918, scalarkids() and scalarseq() can also
be static in op.c, so make it so.
p4raw-id: //depot/perl@34919
Nicholas Clark [Wed, 26 Nov 2008 15:41:49 +0000]
"If it's not private, it's public somehow." states Rafael. The most
reliable way I can see to keep our (unsupported) privates private is
to make them static whenever we can.
p4raw-id: //depot/perl@34918
Nicholas Clark [Wed, 26 Nov 2008 11:57:59 +0000]
Replace Perl_my() with a small shell script. er. macro.
p4raw-id: //depot/perl@34917
Jerry D. Hedden [Tue, 25 Nov 2008 11:52:12 +0000]
threads::shared 1.27
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <
1ff86f510811250852r17a88593h373ca49c74ea0ffa@mail.gmail.com>
Date: Tue, 25 Nov 2008 11:52:12 -0500
p4raw-id: //depot/perl@34915
Nicholas Clark [Tue, 25 Nov 2008 17:47:11 +0000]
A correction to change 34909 - we want *different* constants.
p4raw-id: //depot/perl@34914
Nicholas Clark [Tue, 25 Nov 2008 15:53:27 +0000]
Add Rainer Tammer and Torsten Schönfeld to AUTHORS.
p4raw-id: //depot/perl@34910
Nicholas Clark [Tue, 25 Nov 2008 15:48:04 +0000]
Tweak the constants used in testing to constants that Win32 also has.
p4raw-id: //depot/perl@34909
Luke Ross [Tue, 30 Sep 2008 22:41:50 +0000]
Re: [perl #59280] perlbug AutoReply: PUSH on tied array gives incorrect context to method and can result in needless calls to FETCHSIZE
From: "Luke Ross" <lukeross@gmail.com>
Message-ID: <
970a62710809301441v1d8d1877tfc30d7b91cd4dc1a@mail.gmail.com>
p4raw-id: //depot/perl@34908
Vincent Pit [Mon, 29 Sep 2008 17:36:09 +0000]
[perl #38809] return do { } : take 3 (or 4...)
Message-ID: <
48E0F5E9.4050805@profvince.com>
p4raw-id: //depot/perl@34907
Andy Dougherty [Fri, 11 Jul 2008 11:27:13 +0000]
Re: [perl #56826] Perl-5.8.8 compilation on AIX 5.1
Message-ID: <Pine.LNX.4.64.
0807111112440.1349@fractal.phys.lafayette.edu>
p4raw-id: //depot/perl@34906
reneeb [Mon, 17 Nov 2008 06:13:57 +0000]
[perl #7911] no warning for useless /d in tr/0-9//d
From: "reneeb via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-10965-
1226931231-1833.7911-15-0@perl.org>
p4raw-id: //depot/perl@34905
Nicholas Clark [Mon, 24 Nov 2008 18:48:43 +0000]
Promote Perl_setdefout() to the public API.
p4raw-id: //depot/perl@34904
Nicholas Clark [Mon, 24 Nov 2008 18:37:22 +0000]
Change 34831 missed running autodoc.pl
p4raw-id: //depot/perl@34903
Mandalemula, Rajesh [Tue, 18 Nov 2008 14:55:03 +0000]
Respecting inc_version_list while processing PERL_VENDORLIB_STEM
From: "Mandalemula, Rajesh" <Rajesh.Mandalemula@deshaw.com>
Message-ID: <
B911686319FBAC4BA4671AF36F8DC30902CEA28A@mailhyd2.hyd.deshaw.com>
p4raw-id: //depot/perl@34902
John E. Malmberg [Sat, 22 Nov 2008 11:31:58 +0000]
[patch@34896] vms readdir() fixes for UNIX/EFS mode
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <
4928420E.2010607@qsl.net>
p4raw-id: //depot/perl@34901
Tim Bunce [Thu, 20 Nov 2008 13:17:19 +0000]
Hard-coded Perl_pp_entersub and Perl_pp_entereval should use PL_ppaddr
Message-ID: <
20081120131719.GA32120@timac.local>
[tweaked for blead because of change 27941]
p4raw-id: //depot/perl@34896
Nicholas Clark [Tue, 18 Nov 2008 21:01:24 +0000]
Note where there is a U8 of space.
p4raw-id: //depot/perl@34887
Nicholas Clark [Tue, 18 Nov 2008 20:32:23 +0000]
Rename PL_breakable_sub_generation to PL_breakable_sub_gen, to please
the ANSI gods of VMS.
p4raw-id: //depot/perl@34886
Nicholas Clark [Tue, 18 Nov 2008 15:10:57 +0000]
Remove the trailing NUL byte, and (hopefully) convert perforce to
thinking that it is text, not binary.
p4raw-id: //depot/perl@34883
Abigail [Tue, 18 Nov 2008 09:29:05 +0000]
Improve and restructure t/op/pat.t and split out some unicode related tests into a new test file
Subject: t/op/pat.t
Message-ID: <
20081118082905.GJ3172@almanda>
With tweaks: Seems the new harness is quite picky about # signs in test names,
and doesnt like SKIP and TODO to be used together.
p4raw-id: //depot/perl@34882
Rainer Tammer [Tue, 18 Nov 2008 12:58:27 +0000]
Re: 5.8.9 RC1 patches for AIX
Message-ID: <
4922ADE3.5030701@tammer.net>
p4raw-id: //depot/perl@34881
Rafael Garcia-Suarez [Tue, 18 Nov 2008 11:12:56 +0000]
Use only unsigned ints for comparisons to PL_breakable_sub_generation
p4raw-id: //depot/perl@34880
Nicholas Clark [Tue, 18 Nov 2008 11:09:47 +0000]
Rafael noticed a bug in 34873 - I was comparing against the wrong
variable, and hence (usually) saving all globs, not just those that
should be kept.
p4raw-id: //depot/perl@34879
Gisle Aas [Mon, 17 Nov 2008 22:56:42 +0000]
Change LONG_DOUBLESIZE macros to match config (ref change 34823)
p4raw-id: //depot/perl@34877
Nicholas Clark [Mon, 17 Nov 2008 22:54:17 +0000]
S_save_lines() was using strchr() when it should have been using
memchr(). Result - eval""ed source with embedded NULs was not split
correctly into lines for the debugger. Obscure. But still a bug.
Maybe the Campaign for the Elimination of strlen() needs to take a long
hard stare at every strchr() too. And strmp() while we're looking.
p4raw-id: //depot/perl@34876
Nicholas Clark [Mon, 17 Nov 2008 22:31:07 +0000]
No need to str*cpy() a string of known fixed length ("_<(eval )") when
a simple 1 byte write has the same desired effect.
Clearly the Campaign for the Elimination of strlen() needs to branch
out into str*cat() and str*cpy().
p4raw-id: //depot/perl@34874
Nicholas Clark [Mon, 17 Nov 2008 22:04:56 +0000]
Fix the bug introduced with MRO, whereby the internals were not saving
lines in subroutines defined inside eval ""s for the debugger.
p4raw-id: //depot/perl@34873
Andy Dougherty [Mon, 17 Nov 2008 13:11:59 +0000]
Fix a missing single quote in hints/solaris_2.sh
Message-ID: <Pine.LNX.4.64.
0811171300350.16632@fractal.phys.lafayette.edu>
Date: Mon, 17 Nov 2008 13:11:59 -0500 (EST)
p4raw-id: //depot/perl@34870
Renee Baecker [Sun, 31 Aug 2008 11:35:45 +0000]
[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Message-Id: <
20080831093545.A15C4120011@rserv16.sitepush.net>
p4raw-id: //depot/perl@34867
Rafael Garcia-Suarez [Mon, 17 Nov 2008 10:06:08 +0000]
Skip two tests under ithreads, where the constant lives in the pad.
p4raw-id: //depot/perl@34864
Rafael Garcia-Suarez [Mon, 17 Nov 2008 08:30:52 +0000]
Upgrade to Attribute::Handlers 0.81
p4raw-id: //depot/perl@34862
Rainer Tammer [Mon, 17 Nov 2008 08:53:34 +0000]
Re: 5.8.9 RC1 report
Message-ID: <
492122FE.5020001@tammer.net>
p4raw-id: //depot/perl@34861
Chip Salzenberg [Sun, 16 Nov 2008 23:14:30 +0000]
Re: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are detainted
Message-ID: <
20081117071429.GD5495@tytlal.topaz.cx>
p4raw-id: //depot/perl@34860
Nicholas Clark [Sun, 16 Nov 2008 23:05:35 +0000]
Add a $VERSION, strict and some documentation to Tie::StdHandle.
p4raw-id: //depot/perl@34859
Nicholas Clark [Sun, 16 Nov 2008 21:38:30 +0000]
Integrate:
[ 34841]
Change 34693 introduced a regression spotted by Devel::SmallProf.
p4raw-link: @34841 on //depot/maint-5.8/perl:
95d1ca54dd69844873c9f0e6981fcfd632fa4274
p4raw-id: //depot/perl@34857
p4raw-integrated: from //depot/maint-5.8/perl@34854 'merge in' pp_ctl.c
(@34726..)
Gisle Aas [Sun, 16 Nov 2008 20:53:15 +0000]
Sync up with Digest-MD5-2.38 from CPAN
p4raw-id: //depot/perl@34854
Rainer Tammer [Thu, 13 Nov 2008 15:14:46 +0000]
Re: 5.8.9 RC1 report
Message-ID: <
491C3656.3010509@tammer.net>
p4raw-id: //depot/perl@34852
Florian Ragwitz [Thu, 13 Nov 2008 21:34:12 +0000]
Make B::walksymtable not recurse into packages that are actually main::, but have a different name.
Message-Id: <
1226608453-25937-1-git-send-email-rafl@debian.org>
p4raw-id: //depot/perl@34845
Florian Ragwitz [Thu, 13 Nov 2008 21:34:13 +0000]
Deparse inlined constants.
Message-Id: <
1226608453-25937-2-git-send-email-rafl@debian.org>
p4raw-id: //depot/perl@34844
Nicholas Clark [Sun, 16 Nov 2008 17:42:53 +0000]
Add Tom Wyant to AUTHORS.
p4raw-id: //depot/perl@34843
Steve Peters [Sun, 16 Nov 2008 17:07:24 +0000]
TODO for fixing lvalue subs in the debugger is now to-done. Pointed
out by Florian Ragwitz.
p4raw-id: //depot/perl@34840
Torsten Schoenfeld [Sat, 15 Nov 2008 21:24:40 +0000]
MRO tests for isa() and package aliases
Message-ID: <
491F3008.4060205@gmx.de>
p4raw-id: //depot/perl@34839
Steve Peters [Sun, 16 Nov 2008 06:31:56 +0000]
Upgrade to File-Temp-0.21
p4raw-id: //depot/perl@34838
Rafael Garcia-Suarez [Sat, 15 Nov 2008 10:15:22 +0000]
Add a dump to help tracing taint bugs, by Chip Salzenberg
p4raw-id: //depot/perl@34837
Steve Peters [Fri, 14 Nov 2008 19:17:13 +0000]
Forgot to include lib/perl5db.pl in change #34833
p4raw-link: @34833 on //depot/perl:
1ad62f649328dc563f7f21be3c384f5adf18af1d
p4raw-id: //depot/perl@34836
Andy Dougherty [Fri, 14 Nov 2008 13:01:13 +0000]
Future-proof hints/linux.sh against Sun's cc -V output.
Message-ID: <Pine.LNX.4.64.
0811141300220.6539@fractal.phys.lafayette.edu>
p4raw-id: //depot/perl@34835