summaryrefslogtreecommitdiff
path: root/dump.c
Commit message (Collapse)AuthorAgeFilesLines
* fix segfault in -Dx without threadsChip Salzenberg2009-07-091-1/+1
|
* parenthesize check for a flagStepan Kasal2009-06-101-1/+1
| | | | | | | | | | | | | | | | | Hello, gcc warned me about a suspicious combination of ! and & Please consinder the following one-line patch. Stepan Kasal From 4b449da2aedf3b40b8f6dfa4c410d9becb33330a Mon Sep 17 00:00:00 2001 From: Stepan Kasal <skasal@redhat.com> Date: Tue, 2 Jun 2009 16:06:10 +0200 Subject: [PATCH] dump.c: parenthesize flag check Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl> (cherry picked from commit 5988ef3d5134d80ef12900e39820199702634ca7)
* Add MUTABLE_GV(), and eliminate (V *) casts in *.c.Nicholas Clark2009-03-291-4/+4
| | | | | | | | | Can't easily do gv.h, as GvGP() (at least) needs to split into two macros - one const for reading, one non-const for writing. p4raw-id: //depot/perl@34679 (cherry-picked from commit 159b6efe04c56d08ae56a63921b5ab3a69ac2ee9)
* Eliminate (SV *) casts from the rest of *.c, picking up one (further)Nicholas Clark2009-03-291-14/+15
| | | | | | | | erroneous const in dump.c. p4raw-id: //depot/perl@34675 (cherry-picked from commit ad64d0ecd555e97c5a216efca1ec5a96b7fd0b34)
* Eliminate (AV *) casts in *.c.Nicholas Clark2009-03-291-4/+4
| | | | | | p4raw-id: //depot/perl@34650 (cherry-picked from commit 502c6561fcd473b7da3277363169d75f16ac2f8b)
* Every remaining (HV *) cast in *.cNicholas Clark2009-03-291-2/+3
| | | | | | p4raw-id: //depot/perl@34629 (cherry-picked from commit 85fbaab29c398adbb5b4445d3ed41e0a96364ce4)
* assert() that every NN argument is not NULL. Otherwise we have theNicholas Clark2009-03-191-1/+71
| | | | | | | | | | | | | | | ability to create landmines that will explode under someone in the future when they upgrade their compiler to one with better optimisation. We've already done this at least twice. (Yes, some of the assertions are after code that would already have SEGVd because it already deferences a pointer, but they are put in to make it easier to automate checking that each and every case is covered.) Add a tool, checkARGS_ASSERT.pl, to check that every case is covered. p4raw-id: //depot/perl@33291 (cherry-picked from commit 7918f24d20384771923d344a382e1d16d9552018)
* revert the SvOOK re-implementation:Nicholas Clark2009-03-191-10/+4
| | | | | | | | | | | | | | | | | ------------ Re-implement the SvOOK() hack to store the offset as a BER encoded number in the part of the PVX that is being released. (It will always fit, as chopping off 1 byte gives just enough space for recording a delta of up to 127). This allows SvOOK() to co-exist with SvIOK_on(), which means all the calls to SvOOK_off() [with the possibility of a call to sv_backoff()] in SvIOK_on() can be removed. This ought to make a lot of straight line code a little bit simpler. OOK()d scalars can now be SVt_PV, as the IVX isn't needed. p4raw-id: //depot/perl@32836 (cherry-picked from commit 7a4bba223aa750dd886fe6a2fddef224e59c717f) ------------
* Revert the SvOOK reimplementation:Nicholas Clark2009-03-191-4/+1
| | | | | | | | | | | | | | ---------- BER is all very well, but it turns out that it's better to store the offset as either a byte (if <256), or a 0 byte with a STRLEN before. "better" in that the reading can be inlined, and even then the object code is smaller (function calls have space overhead). So goodbye Perl_sv_read_offset() and hello SvOOK_offset(). p4raw-id: //depot/perl@32838 (cherry-picked from commit 69240efd70fee399a5232ed995c383b154000a08) ----------
* Fix compilation issues and warnings with exotic configuration.Marcus Holland-Moritz2009-03-061-1/+1
| | | | | | p4raw-id: //depot/perl@32865 (cherry picked from commit 5186cc1225228b10ef0f8c5cf7d34fbcf0e84174)
* BER is all very well, but it turns out that it's better to store theNicholas Clark2009-03-061-1/+4
| | | | | | | | | | | offset as either a byte (if <256), or a 0 byte with a STRLEN before. "better" in that the reading can be inlined, and even then the object code is smaller (function calls have space overhead). So goodbye Perl_sv_read_offset() and hello SvOOK_offset(). p4raw-id: //depot/perl@32838 (cherry-picked from commit 69240efd70fee399a5232ed995c383b154000a08)
* Re-implement the SvOOK() hack to store the offset as a BER encodedNicholas Clark2009-03-061-4/+10
| | | | | | | | | | | | | | number in the part of the PVX that is being released. (It will always fit, as chopping off 1 byte gives just enough space for recording a delta of up to 127). This allows SvOOK() to co-exist with SvIOK_on(), which means all the calls to SvOOK_off() [with the possibility of a call to sv_backoff()] in SvIOK_on() can be removed. This ought to make a lot of straight line code a little bit simpler. OOK()d scalars can now be SVt_PV, as the IVX isn't needed. p4raw-id: //depot/perl@32836 (cherry-picked from commit 7a4bba223aa750dd886fe6a2fddef224e59c717f)
* Add a dump to help tracing taint bugs, by Chip SalzenbergRafael Garcia-Suarez2009-01-261-0/+2
| | | | | | p4raw-id: //depot/perl@34837 (cherry picked from commit 59b714e260d430f6d20c1573b9cd0f5fe0955ad8)
* PATCH: Large omnibus patch to clean up the JRRT quotesTom Christiansen2009-01-051-2/+4
| | | | | | | | | Message-ID: <25940.1225611819@chthon> Date: Sun, 02 Nov 2008 01:43:39 -0600 p4raw-id: //depot/perl@34698 (cherry picked from commit 4ac71550d23cca4632a2bcdfcb1d83a6bf705e45)
* Use pvs macros instead of pvn where possible.Marcus Holland-Moritz2009-01-041-19/+19
| | | | | | p4raw-id: //depot/perl@34653 (cherry-picked from commit 76f68e9bb86f29e34e2aeb5c177571288f05b7ca)
* un-integrate #34133:Dave Mitchell2008-12-061-1/+1
| | | | | | PVFMs don't need to access the IVX any more. (as of change 32836, which re-implemented SvOOK() to avoid using it) p4raw-id: //depot/maint-5.10/perl@35026
* Integrate:Dave Mitchell2008-12-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34132] Test that formats can be dumped. [ 34133] PVFMs don't need to access the IVX any more. (as of change 32836, which re-implemented SvOOK() to avoid using it) [ 34167] You can't (and shouldn't) use CvDEPTH on a PVFM. [ 35022] in Dump output, PV field of format may or not be displayed in 5.10.0 [ 35023] whether DEPTH gets dumped in formats varies within 5.10.0 p4raw-link: @35023 on //depot/perl: c12100a4ed3b3e95d0575985eb4996cefd3a2ee5 p4raw-link: @35022 on //depot/perl: 251a4af1a6b9bdceab1c562d9a6bf0544b2bcbe0 p4raw-link: @34167 on //depot/perl: 5129b2ca8d01c31a5ccad56604afff370ba7562e p4raw-link: @34133 on //depot/perl: 30ec677dd4d12a9c099bac3f654b308d387386e9 p4raw-link: @34132 on //depot/perl: bfe27a58755fd70d150ce6080e7cfdd2f87f2358 p4raw-id: //depot/maint-5.10/perl@35024 p4raw-integrated: from //depot/perl@35022 'ignore' ext/Devel/Peek/t/Peek.t (@34167..) p4raw-integrated: from //depot/perl@34167 'edit in' dump.c (@34133..) 'merge in' cv.h (@34030..) p4raw-integrated: from //depot/perl@34133 'merge in' sv.h (@34038..)
* Integrate:Nicholas Clark2008-10-301-3/+0
| | | | | | | | | [ 34649] Remove redundant (and wrong) prototype for pv_display() from its apidoc section. p4raw-link: @34649 on //depot/perl: 70d97eb0b44379e6179430e19c4bb4222d3544e9 p4raw-id: //depot/maint-5.10/perl@34664 p4raw-integrated: from //depot/perl@34649 'merge in' dump.c (@34646..)
* Integrate:Daniel Frederick Crisman2008-10-301-7/+2
| | | | | | | | | | | | | | | | | | | | | [ 34566] Subject: [PATCH blead DOC] Re: [perl #60022] Typo in perldata Message-ID: <20081024001456.GA4137@fury.crisman.org> Change from cardinal to ordinal numbering to avoid confusion. [ 34642] Remove redundant API definitions from '=for apidoc' sections. Those are already in embed.fnc, and most of them were already outdated. This also fixes the docs for pv_escape and pv_pretty. p4raw-link: @34642 on //depot/perl: 87cea99e29dc843a5ce7742434c86a627eb3f6f5 p4raw-link: @34566 on //depot/perl: 2adc35ddaf8db18adcd670868af35e2971f35ab1 p4raw-id: //depot/maint-5.10/perl@34659 p4raw-integrated: from //depot/perl@34658 'copy in' pod/perldata.pod (@33680..) 'edit in' pod/perlapi.pod (@34358..) 'merge in' pod/perlintern.pod (@33553..) p4raw-integrated: from //depot/perl@34642 'merge in' utf8.c (@34624..) dump.c (@34629..)
* Integrate:Nicholas Clark2008-10-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34585] Update copyright years. [ 34586] Update copyright year in embed.pl, and everything that it builds. p4raw-link: @34586 on //depot/perl: 67edeb9aab7e64ec46e81a9ccb767449a20cad5f p4raw-link: @34585 on //depot/perl: 1129b882ced9d5881a47214405219a2e6e332a92 p4raw-id: //depot/maint-5.10/perl@34599 p4raw-integrated: from //depot/perl@34593 'copy in' perlapi.c (@31245..) perlsdio.h (@32793..) XSUB.h (@32820..) perly.c (@33370..) cc_runtime.h (@34002..) pp.h (@34055..) 'merge in' av.h (@33051..) mg.h (@33256..) deb.c locale.c numeric.c pad.c pp_pack.c regexec.c taint.c (@33291..) embed.pl (@33539..) mathoms.c (@33627..) scope.h (@33654..) cop.h (@33656..) gv.c (@33814..) doop.c (@33831..) perly.y (@33858..) global.sym (@33901..) pp_sort.c (@33937..) gv.h (@34029..) op.h pad.h regexp.h (@34030..) perl.h (@34069..) doio.c mg.c pp.c pp_sys.c xsutils.c (@34092..) pp_ctl.c (@34140..) cv.h dump.c (@34167..) toke.c (@34224..) universal.c (@34354..) mro.c (@34357..) op.c (@34358..) av.c (@34381..) hv.c (@34383..) utf8.c (@34416..) scope.c (@34494..) pp_hot.c (@34506..) regcomp.c (@34507..) intrpvar.h sv.h (@34568..) embed.h embedvar.h perlapi.h (@34569..) util.c (@34574..) sv.c (@34576..) p4raw-integrated: from //depot/perl@34585 'ignore' proto.h (@34574..) 'merge in' perlio.c (@33978..) handy.h (@34577..)
* Integrate:Nicholas Clark2008-10-201-1/+1
| | | | | | | | [ 34127] Also dump the SvPVX of PVFMs. p4raw-link: @34127 on //depot/perl: a49b46c637e9dbdc0b6d3f7b8eef535cb1630908 p4raw-id: //depot/maint-5.10/perl@34525 p4raw-integrated: from //depot/perl@34127 'merge in' dump.c (@34087..)
* Integrate:Reini Urban2008-09-041-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34085] Subject: [PATCH] fix debop with pad const Date: Tue, 24 Jun 2008 12:07:01 +0200 Message-ID: <4860C745.2020307@x-ray.at> [ 34086] Skip one test that was failing with DEBUGGING and threads, because after change #34085 the IV value of the OP_CONST isn't dumped anymore. [ 34087] Subject: [PATCH] Re: split smoke for threaded -DDEBUGGING builds From: Reini Urban <rurban@x-ray.at> Date: Wed, 25 Jun 2008 17:30:08 +0200 Message-ID: <48626480.7030602@x-ray.at> Plus revert #34086 p4raw-link: @34087 on //depot/perl: 6cefa69e9d69185d0ec476bab9be486186bafdb2 p4raw-link: @34086 on //depot/perl: 7541f2962a69bff29a317e7f6bacaa949b3624ce p4raw-link: @34085 on //depot/perl: 7367e658df87ee1f29b1fa68bdefb1966bf4b5d9 p4raw-id: //depot/maint-5.10/perl@34265 p4raw-integrated: from //depot/perl@34087 'edit in' dump.c (@34085..) p4raw-integrated: from //depot/perl@34086 'ignore' t/op/split.t (@29975..)
* Integrate:Dave Mitchell2008-05-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33629] Fix bug in change 33379 - if we're using malloc_size() as well as being careful to work with PERL_TRACK_MEMPOOL, we also have to be careful to work *without* it. [ 33632] In Perl_sv_grow(), no need to do PERL_STRLEN_ROUNDUP() if we have malloc_size() to get the true allocated space, as PERL_STRLEN_ROUNDUP() might actually bump the request across an allocation size boundary. [ 33639] Clean up some compiler warnings spotted by smokers. [ 33644] From: "Jan Dubois" <jand@activestate.com> Subject: [PATCH] PL_bincompat_opt should be exported on AIX and Windows Date: Thu, 3 Apr 2008 17:34:13 -0700 Message-ID: <02c001c895eb$9bc3e920$d34bbb60$@com> (with one tweak--it should be PL_bincompat_options!) [ 33650] Subject: [PATCH] perlfunc.pod: atan2(0,0) returns 0, not undef From: Paul Fenwick <pjf@perltraining.com.au> Date: Sun, 06 Apr 2008 11:28:27 +1000 Message-ID: <47F8273B.6010504@perltraining.com.au> [ 33653] Replace all remaining accesses to COP's cop_label with CopLABEL(). [ 33676] Make atan2(0,0) return undef [ 33678] Revert change #33676, likely to break atan(-0,0) on some platforms p4raw-link: @33678 on //depot/perl: a1021d57870f2cf967a704182b47a5defa79a0f1 p4raw-link: @33676 on //depot/perl: 9d6bff35783dc768c5d72663e6e2d31769c5da91 p4raw-link: @33653 on //depot/perl: 4b65a9196162b345e7cbe8a43eca838c2e79e41b p4raw-link: @33650 on //depot/perl: 9f5e10ca92116e50ba77fee2d7f4b85b0cfe80e9 p4raw-link: @33644 on //depot/perl: 8aef763e1786688c418bf91b2b95264d08196549 p4raw-link: @33639 on //depot/perl: 63da68370303e866ac043996a57db4b7e44b7270 p4raw-link: @33632 on //depot/perl: aedff202e428171aca34f30e105f7d4462b85de2 p4raw-link: @33629 on //depot/perl: e82be400b1a05af41d9d7f8509dfe352c4f1c75f p4raw-id: //depot/maint-5.10/perl@33946 p4raw-integrated: from //depot/perl@33945 'merge in' dump.c (@33584..) p4raw-integrated: from //depot/perl@33676 'edit in' pp.c (@33618..) 'ignore' t/op/exp.t (@24388..) p4raw-integrated: from //depot/perl@33653 'copy in' ext/B/B.pm (@33230..) 'merge in' ext/B/B.xs (@33315..) pp_ctl.c (@33580..) p4raw-integrated: from //depot/perl@33650 'edit in' pod/perlfunc.pod (@33558..) p4raw-integrated: from //depot/perl@33644 'copy in' globvar.sym (@32116..) p4raw-integrated: from //depot/perl@33639 'merge in' pp_sys.c (@33343..) perl.c (@33595..) p4raw-integrated: from //depot/perl@33632 'merge in' sv.c (@33627..) p4raw-integrated: from //depot/perl@33629 'merge in' perl.h (@33598..)
* Integrate:Nicholas Clark2008-03-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33239] in unpack, () groups in scalar context were still returning a list, resulting in garbage on the stack, which could manifest as a SEGV (Bug 50256) [ 33296] Subject: [PATCH] Unused var in perlio.c (revised) From: "Jerry D. Hedden" <jdhedden@cpan.org> Date: Tue, 12 Feb 2008 10:00:18 -0500 Message-ID: <1ff86f510802120700q689fb457ya5939bb440626157@mail.gmail.com> [ 33301] Subject: [PATCH] PERL_MAGIC_uvar_elem should be 'u' in dump.c From: "Vincent Pit" <perl@profvince.com> Date: Wed, 13 Feb 2008 11:10:11 +0100 (CET) Message-ID: <36116.147.210.17.175.1202897411.squirrel@147.210.17.175> [ 33334] Enable caching of strxfrm() results also for readonly SVs as returned e.g. by "keys %hash". This speeds up sorting of lots of hash keys significantly. See also: Subject: Slowdown of "sort keys %hash" under "use locale" From: Marcus Holland-Moritz <mhx-perl@gmx.net> Date: Fri, 15 Feb 2008 17:00:15 +0100 Message-ID: <20080215170015.72f6160d@r2d2> [ 33388] Do the memory debug header fixup earlier to avoid valgrind screaming under -Dm. Also, temporarily disable memory logging during thread memory freeing, as otherwise we try to log using memory we already freed. [ 33407] Subject: [PATCH] for -M:Foo, extended and revised From: "Robin Barker" <Robin.Barker@npl.co.uk> Date: Wed, 27 Feb 2008 19:19:54 -0000 Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A61@exchsvr2.npl.ad.local> [ 33408] Subject: Re: interrupting system() with signal depends on signal handler From: Steffen Ullrich <coyote.frank@gmx.net> Date: Tue, 26 Feb 2008 19:43:00 +0100 Message-ID: <47C45DB4.9060306@gmx.net> [ 33495] Subject: [perl #51636] segmentation fault with array ties From: blino@mandriva.com (via RT) <perlbug-followup@perl.org> Date: Wed, 12 Mar 2008 02:59:45 -0700 Message-ID: <rt-3.6.HEAD-25460-1205315984-377.51636-75-0@perl.org> [ 33595] Subject: [PATCH] do not use SVTYPEMASK to prevent cleaning of PL_fdpid and PL_strtab From: Gerard Goossen <gerard@tty.nl> Message-ID: <20080326130713.GL4409@ostwald> Date: Wed, 26 Mar 2008 14:07:13 +0100 [ 33596] Fix compiler warning about comparison of pointer types. p4raw-link: @33596 on //depot/perl: cddfcddc190fa3c9953973822c35e3baa71181f0 p4raw-link: @33595 on //depot/perl: d17ea59705db215628334e7846dd1056ff795f97 p4raw-link: @33495 on //depot/perl: b63c7c552a2e9cf2b2c5eb492358b8567fd16179 p4raw-link: @33408 on //depot/perl: 48dbb59ed9af112b035bdcc063c1471a22ec25a2 p4raw-link: @33407 on //depot/perl: 0544e6df68c5534300178fdd73628d687be1a6b2 p4raw-link: @33388 on //depot/perl: 4fd0a9b8690ace1bad89926e6d018a6f863761c3 p4raw-link: @33334 on //depot/perl: 16ec96eb5a252a78470d4a52a2fa7fe6fa01f72e p4raw-link: @33301 on //depot/perl: cae86ea86570588a52f7ce8a0a01b6eb824103df p4raw-link: @33296 on //depot/perl: babfacb9bd93a47857db18ca6a2ffb50458aefb3 p4raw-link: @33239 on //depot/perl: c6f750d1077663994219dbd69f4fb02631f69b10 p4raw-id: //depot/maint-5.10/perl@33614 p4raw-integrated: from //depot/perl@33613 'copy in' t/op/pack.t (@32072..) 'edit in' t/run/switches.t (@32956..) 'merge in' av.c (@33452..) p4raw-integrated: from //depot/perl@33595 'edit in' sv.c (@33579..) p4raw-integrated: from //depot/perl@33407 'edit in' perl.c (@33388..) p4raw-integrated: from //depot/perl@33388 'edit in' util.c (@33376..) p4raw-integrated: from //depot/perl@33301 'merge in' dump.c (@33291..) p4raw-integrated: from //depot/perl@33296 'merge in' perlio.c (@33291..) p4raw-integrated: from //depot/perl@33239 'merge in' pp_pack.c (@32821..)
* Integrate:Nicholas Clark2008-01-311-1/+1
| | | | | | | | | | | [ 32849] Replace all reads of RXf_UTF8 with RX_UTF8(). p4raw-link: @32849 on //depot/perl: 3c8556c3bff92f6c755a00c0166f795d7176b75d p4raw-id: //depot/maint-5.10/perl@33149 p4raw-integrated: from //depot/perl@32849 'edit in' regexec.c (@32840..) regcomp.c (@32845..) 'merge in' ext/re/re.xs (@32802..) pp.c (@32821..) pp_hot.c (@32837..) dump.c (@32838..)
* Integrate:Nicholas Clark2008-01-311-3/+3
| | | | | | | | | | [ 32866] Fix a bug in mad - regexps can be 8 bit, not just ASCII or UTF-8. [but differently for 5.10, as regexps aren't first class] p4raw-link: @32866 on //depot/perl: ecd6c0a032c3e1cfa14b0a916a8f69fdefe81a97 p4raw-id: //depot/maint-5.10/perl@33147 p4raw-integrated: from //depot/perl@32866 'edit in' dump.c (@32865..)
* Integrate:Nicholas Clark2008-01-311-9/+7
| | | | | | | | | | [ 32810] Fixes to get MAD working after change 32804, and some newSVpvn_utf8()s I missed becase (silly Nick) the grep for plausible files was done on the 5.8.x tree. p4raw-link: @32810 on //depot/perl: d914baabc285a9c03dd7b4ed087d7689ce19ef82 p4raw-id: //depot/maint-5.10/perl@33146 p4raw-integrated: from //depot/perl@32810 'edit in' dump.c (@32804..)
* Integrate:Nicholas Clark2008-01-301-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32753] Wrap all accesses to the members precomp and prelen of struct regexp in the macros RX_PRECOMP() and RX_PRELEN(). This will allow us to reduce the regexp storage overhead by computing them at retrieve time. [ 32756] Replace 3 uses of RX_PRELEN(r) with plen, which has the same value. (But isn't a pointer dereference. Or about to become a calculation.) [ 32758] Wrap wrapped and wraplen from struct regexp in macros RW_WRAPPED() and RX_WRAPLEN() to preserve source compatibility when they get moved around. [ 32774] The position of the modifier flag bits is actually encoded by a right shift 12 in two places, so replace that magic number with a macro RXf_PMf_STD_PMMOD_SHIFT defined adjacent to the flags it interacts with. [ 32802] Wrap all deferences of struct regexp* in macros RX_*() [and for regcomp.c and regexec.c RXp_* where necessary] so that in future we can maintain source compatibility when we add an extra level of dereferencing. p4raw-link: @32802 on //depot/perl: 07bc277f32c1d7aff237dd3f55d558b5d4b93314 p4raw-link: @32774 on //depot/perl: 14f3b9f2b06052c35a95062569fb2799771d1e2b p4raw-link: @32758 on //depot/perl: 866c78d1cf6feeffe34601c244c137d8b30ec2e4 p4raw-link: @32756 on //depot/perl: bb661a585caf67142a296faaea725681ffc2a2ac p4raw-link: @32753 on //depot/perl: 220fc49f9cd19ab777a22ef733671f0fbb81e6bd p4raw-id: //depot/maint-5.10/perl@33130 p4raw-integrated: from //depot/perl@32802 'copy in' regcomp.h (@32793..) 'edit in' regexec.c (@32753..) 'merge in' pp.c (@32760..) mg.c (@32789..) perl.h (@32793..) p4raw-integrated: from //depot/perl@32774 'edit in' regcomp.c (@32758..) regexp.h (@32759..) p4raw-integrated: from //depot/perl@32758 'edit in' dump.c ext/re/re.xs (@32753..) p4raw-integrated: from //depot/perl@32753 'edit in' op.c (@32680..) pp_ctl.c pp_hot.c (@32751..) 'ignore' ext/B/B.xs (@32751..)
* Remove some strlen()s and replace one strlcpy() with memcpy() becauseNicholas Clark2007-10-121-3/+2
| | | | | we already know the string length. p4raw-id: //depot/perl@32105
* Remove remaining C<Nullch>s and C<Nullsv>sNicholas Clark2007-10-061-3/+3
| | | p4raw-id: //depot/perl@32054
* Fix precedence bug in the logic for PERL_PV_ESCAPE_NOCLEAR inNicholas Clark2007-10-061-1/+1
| | | | | Perl_pv_escape() p4raw-id: //depot/perl@32050
* Add a new flag PERL_PV_PRETTY_NOCLEAR (actually justNicholas Clark2007-10-061-4/+7
| | | | | | PERL_PV_ESCAPE_NOCLEAR), and change Perl_pv_pretty() so that if this bit is set, the output SV is not reset to an empty string. p4raw-id: //depot/perl@32048
* Fix typo in change 32043 - s/sv_catpvf/sv_catpvs/Nicholas Clark2007-10-061-1/+1
| | | p4raw-id: //depot/perl@32047
* Avoid using *pvf functions when the format string is a fixed string.Nicholas Clark2007-10-061-4/+4
| | | p4raw-id: //depot/perl@32043
* Revert one hunk of change 32034 that had the possibility of being buggyNicholas Clark2007-10-061-3/+10
| | | | | | | | (the sprintf "%c" code will work correctly when the SV is UTF-8). Audit all the rest for UTF-8 correctness, and force SvUTF-8_off() in utf8.c to ensure correctness. (The string is reset to "", so this will not be a behaviour change.) p4raw-id: //depot/perl@32040
* Eliminate most *printf-like calls that use a simple "%c" format,Nicholas Clark2007-10-051-2/+4
| | | | | | replacing them with constructions that are more efficient because they avoid the overhead of the *printf format parser and interpreter code. p4raw-id: //depot/perl@32034
* was Re: Freeze ?John Peacock2007-10-021-1/+4
| | | | | Message-ID: <47020F3F.9070604@havurah-software.org> p4raw-id: //depot/perl@32003
* Nothing is using IoSUBPROCESS() so eliminate xio_subprocess.Nicholas Clark2007-10-011-1/+0
| | | | | | Make xio_flags a U8, which is what it should have been all along (rather than a char, which might be signed). B.xs had its wrapper as U8 p4raw-id: //depot/perl@32001
* API spelling patch, by Jerry D. HeddenRafael Garcia-Suarez2007-09-261-6/+6
| | | p4raw-id: //depot/perl@31983
* Silence a load of "value computed is not used" warningsRafael Garcia-Suarez2007-09-211-6/+6
| | | p4raw-id: //depot/perl@31936
* dump.c: do not use sv_len_utf8 because it modified the scalarGerard Goossen2007-07-111-4/+4
| | | | | | | | | Message-ID: <20070711171911.GD8177@ostwald> do not use sv_len_utf8 because it modified the scalar. Add a test to Peek.t to check that dumping doesn't modify anything; the test is still TODO because hashiteration in dump.c set the OOK flag. p4raw-id: //depot/perl@31588
* s/\bunicode\b/Unicode/; # For everything not dual lifeNicholas Clark2007-06-241-3/+3
| | | p4raw-id: //depot/perl@31455
* Remove PERL_MAGIC_mutexRafael Garcia-Suarez2007-06-181-1/+0
| | | p4raw-id: //depot/perl@31412
* mad-const patchJim Cromie2007-06-121-3/+3
| | | | | Message-ID: <466DA732.3010608@gmail.com> p4raw-id: //depot/perl@31369
* Remove support for assertions and -ARafael Garcia-Suarez2007-06-051-1/+0
| | | p4raw-id: //depot/perl@31333
* Consting dump.cAndy Lester2007-05-251-45/+41
| | | | | Message-Id: <B46A083E-A133-4D38-9BE8-BE1EB0AAA326@petdance.com> p4raw-id: //depot/perl@31270
* move the logic of combining '_' and '#' with the previous logicGerard Goossen2007-05-121-0/+5
| | | | | | | | | from Nomad.pm to dump.c. So they are already combined in the XML dump. Subject: [PATCH] mad: combine whitespace keys '_' '#' in dump.c instead of Nomad.pm Message-Id: <20070508170341.GH17043@ostwald> p4raw-id: //depot/perl@31207
* Re: [PATCH] extflags/pmflags Change 30841, in dump.c:pm_description regex ↵Ævar Arnfjörð Bjarmason2007-04-121-10/+12
| | | | | | | does not have to exist Message-ID: <51dd1af80704111354h4bbd0212hc96a9f1911d2ffb4@mail.gmail.com> p4raw-id: //depot/perl@30921
* Turn op_pmreplroot in struct pmop into a real union.Nicholas Clark2007-04-071-4/+4
| | | p4raw-id: //depot/perl@30865
* Merge op_pmreplstart and op_pmstash/op_pmstashpv into a union inNicholas Clark2007-04-061-3/+3
| | | | | PMOP, as both pointers never need to be set at the same time. p4raw-id: //depot/perl@30860