summaryrefslogtreecommitdiff
path: root/mg.c
Commit message (Collapse)AuthorAgeFilesLines
* $? needs upgrade to PVLV when COMPLEX_STATUS is defined.Craig A. Berry2009-05-261-0/+2
| | | | (cherry picked from commit 41cb7b2bbf3884f70e9310a33e435deda35b8c46)
* Update the documentation of get_hv() to note that it calls Perl_gv_fetchpv(),Nicholas Clark2009-04-121-1/+1
| | | | | | | and hence the 'create' argument is actually 'flags'. Fix code and documentation that used TRUE or FALSE to use 0 or GV_ADD. (cherry picked from commit 6673a63c63e2a65dbfcc835d6499cc97c449c67b)
* Add MUTABLE_GV(), and eliminate (V *) casts in *.c.Nicholas Clark2009-03-291-5/+5
| | | | | | | | | 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-11/+11
| | | | | | | | erroneous const in dump.c. p4raw-id: //depot/perl@34675 (cherry-picked from commit ad64d0ecd555e97c5a216efca1ec5a96b7fd0b34)
* Eliminate (AV *) casts in *.c.Nicholas Clark2009-03-291-7/+7
| | | | | | p4raw-id: //depot/perl@34650 (cherry-picked from commit 502c6561fcd473b7da3277363169d75f16ac2f8b)
* Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.Nicholas Clark2009-03-291-1/+1
| | | | | | p4raw-id: //depot/perl@34647 (cherry-picked from commit ea726b52599b52cf534201a46ec3455418c9eb8e)
* Every remaining (HV *) cast in *.cNicholas Clark2009-03-291-7/+7
| | | | | | p4raw-id: //depot/perl@34629 (cherry-picked from commit 85fbaab29c398adbb5b4445d3ed41e0a96364ce4)
* Define sv_insert() as a wrapper to sv_insert_flags(), and moveNicholas Clark2009-03-251-1/+2
| | | | | | | | Perl_sv_insert() to mathoms.c p4raw-id: //depot/perl@33627 (cherry-picked from commit 84335ee93339f99a0959258e640fa57e9f0ba6ab)
* assert() that every NN argument is not NULL. Otherwise we have theNicholas Clark2009-03-191-1/+133
| | | | | | | | | | | | | | | 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)
* Perl_magic_setbm() and Perl_magic_setfm() are mathoms that can beNicholas Clark2009-03-051-22/+10
| | | | | | | | | | merged with Perl_magic_setregexp(). [Coverage on the testsuite suggests that more than that they're actually dead code, but in theory it should be possible to construct a test case that exercises them.] p4raw-id: //depot/perl@32789 (cherry picked from commit 488344d27a84a21afc5e4f3a5237fcad050f664d)
* Perl_magic_setglob() is a mathom.Nicholas Clark2009-03-051-24/+0
| | | | | | p4raw-id: //depot/perl@32672 (cherry picked from commit 56d7a0868d14c11c08f61a0acccc9ee745b4e081)
* standardize save/restore of errno & vaxc$errnoChip Salzenberg2009-02-141-4/+4
| | | | | | | | Message-ID: <20081127070141.GD17663@tytlal.topaz.cx> p4raw-id: //depot/perl@35018 (cherry picked from commit 4ee3916907333148e2c880a1f5aeba348c349925)
* 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-3/+3
| | | | | | p4raw-id: //depot/perl@34653 (cherry-picked from commit 76f68e9bb86f29e34e2aeb5c177571288f05b7ca)
* Integrate:Robin Barker2008-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34694] Explicitly specify some printf formats for constant strings. This is mostly to silence gcc's warning, "format not a string literal and no format arguments". [ 34695] Subject: [PATCH] explicit empty while loops From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D4E2FD9@exchsvr2.npl.ad.local> [ 34700] Silence one more format warning p4raw-link: @34700 on //depot/perl: 76c6a2133b7f687937d91eb41bb4c9f222c0d5b0 p4raw-link: @34695 on //depot/perl: 47127b64dd369017e77ff2eac9a6d3c02398507b p4raw-link: @34694 on //depot/perl: f1f66076265cc2bac3adabd54c01b0dea28ca3f0 p4raw-id: //depot/maint-5.10/perl@34707 p4raw-integrated: from //depot/perl@34704 'copy in' ext/PerlIO/scalar/scalar.xs (@33280..) 'merge in' handy.h (@34679..) p4raw-integrated: from //depot/perl@34695 'merge in' op.c (@34679..) p4raw-integrated: from //depot/perl@34694 'edit in' pp_sort.c (@34675..) 'merge in' toke.c (@34671..) doop.c perl.c regcomp.c (@34675..) av.c (@34677..) mg.c pp.c pp_hot.c pp_sys.c sv.c universal.c util.c (@34679..) pp_ctl.c (@34693..)
* 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:Ben Morrow2008-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34092] Subject: Some more missing isGV_with_GP()s Message-ID: <20080628160017.GA81579@osiris.mauzo.dyndns.org> [ 34100] Fix test count that was missed in #34092 [ 34101] Skip chown() tests added by #34092 on Win32 p4raw-link: @34101 on //depot/perl: ab14db95b0de89c4e67326bde2652b72e8b65f0d p4raw-link: @34100 on //depot/perl: a782d47cad865bb210f954af0329b9058a215340 p4raw-link: @34092 on //depot/perl: 6e592b3a92f7ee35c9a857bd9a43297ab1693599 p4raw-id: //depot/maint-5.10/perl@34266 p4raw-branched: from //depot/perl@34265 'branch in' t/io/pvbm.t (@34092..) p4raw-integrated: from //depot/perl@34265 'copy in' ext/IO/t/io_taint.t (@27609..) t/op/attrs.t (@31333..) 'edit in' t/op/inc.t (@33049..) 'merge in' doio.c (@33766..) pp_sys.c (@33770..) pp_hot.c (@33778..) mg.c (@33898..) xsutils.c (@33901..) pp.c (@33981..) p4raw-integrated: from //depot/perl@34092 'copy in' t/op/undef.t (@19424..) t/op/inccode.t (@30600..) t/op/ref.t (@30915..) 'ignore' t/op/magic.t (@31809..) 'merge in' MANIFEST (@34001..) pp_ctl.c (@34069..) sv.c (@34084..)
* Integrate:Dave Mitchell2008-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33851] Fix for [perl #51848] Deparse interpolation in regex literal [ 33854] DEBUG_LEAKING_SCALARS wasn't reporting the correct line number of SVs allocated at runtime [ 33869] Subject: [PATCH] correct errors / omissions in documenting DOES From: Ricardo SIGNES <perl.p5p@rjbs.manxome.org> Date: Mon, 19 May 2008 10:14:02 -0400 Message-ID: <20080519141402.GA54401@knight.local> [ 33874] Subject: Re: [PATCH: TODO Tests] Re: [perl #53806] No complain about bareword From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com> Date: Tue, 20 May 2008 09:45:19 +0200 Message-ID: <b77c1dce0805200045i1000598ci13c9cb3a29f64b6d@mail.gmail.com> [ 33876] Subject: Re: [PATCH: TODO Tests] Re: [perl #53806] No complain about bareword From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com> Date: Tue, 20 May 2008 10:14:28 +0200 Message-ID: <b77c1dce0805200114o5df69d8br9a02de5a508c3462@mail.gmail.com> [ 33890] The TODO tests of change 33876 were actually fixed by change 33874. [ 33896] Eliminate POSIX::int_macro_int, and all the complex AUTOLOAD fandango that creates closures round it. Instead, wrap WEXITSTATUS, WIFEXITED, WIFSIGNALED, WIFSTOPPED, WSTOPSIG and WTERMSIG directly with XS. The shared library is slightly larger, but dynamic memory usage savings beat this, even within one thread of one process. Simpler code too. [ 33897] Replaced the WEXITSTATUS, WIFEXITED, WIFSIGNALED, WIFSTOPPED, WSTOPSIG and WTERMSIG wrappers with one wrapper using the XS "ALIAS" feature. This gets the shared object size back below the size before the removal of int_macro_int. It looks like there are other space savings to be made this way. [ 33898] Subject: Re: [perl #54566] assertion failure fiddling with @ISA From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com> Date: Wed, 21 May 2008 14:42:48 +0200 Message-ID: <b77c1dce0805210542l164caf85k86a34feae25ca9a7@mail.gmail.com> [ 33909] Subject: [DOC PATCH] Memoize.pm refers to old title of "Higher Order Perl" From: Moritz Lenz <moritz@casella.verplant.org> Date: Thu, 22 May 2008 15:47:04 +0200 Message-ID: <48357958.2050501@casella.verplant.org> [ 33927] Subject: [PATCH] lib.pm should not warn about loading .par files From: Paul Fenwick <pjf@perltraining.com.au> Date: Thu, 22 May 2008 23:24:34 +1000 Message-ID: <48357412.5020703@perltraining.com.au> [ 33936] My recent changes to POSIX.xs forgot that WEXITSTATUS etc may not even be defined. This fix changes the error message from "Your vendor has not defined POSIX macro %s, used" to "POSIX::%s not implemented on this architecture", which I assume is not going to break anything. [ 33937] [perl #54758] Perl 5.10 memory corruption When @a = sort @a is pessimised if @a has magic, growing the stack requires various pointers to be reset in case the stack gets reallocated. [ 33939] Revert part of #31039 [ 33949] Subject: [PATCH] Propagate new i_gdbm*ndbm variables From: Andy Dougherty <doughera@lafayette.edu> Date: Thu, 29 May 2008 12:43:29 -0400 (EDT) Message-ID: <Pine.LNX.4.64.0805291241070.365@fractal.phys.lafayette.edu> [ 33951] Add index() tests for embedded nulls Subject: Re: [perl #53746] bug with index() matching beyond end of string when \0 bytes (00000000) are involved From: Abigail <abigail@abigail.be> Date: Tue, 6 May 2008 14:57:36 +0200 Message-Id: <20080506125736.GC17310@abigail.be> [ 33952] [perl #53746] bug with index() matching beyond end of string An off-by-one error meant that index($str,...) was effectively being executed as index("$str\0", ...). Probably introduced by change #26511. p4raw-link: @33952 on //depot/perl: 8ba22ff48d546c5622ef74aee96415810fcbf7a0 p4raw-link: @33951 on //depot/perl: 10489e41959ba56eedd511a8c320dfec04d8f588 p4raw-link: @33949 on //depot/perl: 3ab9413366b1fe51f6b372e0f48d97d464014ba2 p4raw-link: @33939 on //depot/perl: 2c476adc76fa529470c25a2721f54d8be0fabb12 p4raw-link: @33937 on //depot/perl: 62b40d2474e7487e6909e1872b6bccdf812c6818 p4raw-link: @33936 on //depot/perl: d49025b75d9b5002071bd1a4210654dab5663ef0 p4raw-link: @33927 on //depot/perl: 4f923b567478eff0dc7a4bc348785f02b03ea502 p4raw-link: @33909 on //depot/perl: b60ab40eb1d60b7918d821d835bf0a7e6295f5ee p4raw-link: @33898 on //depot/perl: ea86b3de3510ce31d0c08dd6a21701d74b25369d p4raw-link: @33897 on //depot/perl: 72bfe1b2b35945ea3c95d9b94ae2908121292236 p4raw-link: @33896 on //depot/perl: e99d581a4aaa3c92d0b0dda6799157fe7a569f31 p4raw-link: @33890 on //depot/perl: 9453289ade80637b5f30952e561a6060b8ec854f p4raw-link: @33876 on //depot/perl: ace56ae50476eeb045e2f78e4b9550922f258fde p4raw-link: @33874 on //depot/perl: 984f9f66477bc722578262ae8520584e44e881af p4raw-link: @33869 on //depot/perl: bcb8f0e81fd4f3ff4e9c5cf62b09223b964ff276 p4raw-link: @33854 on //depot/perl: e385c3bfc8853b925197cc2ddff78a11bae595e5 p4raw-link: @33851 on //depot/perl: 03b22f1b10d67ab063304de6dc37c76d815ca050 p4raw-link: @26511 on //depot/perl: 4c8626beeba549aaf3f327729c56a599716ee8b7 p4raw-id: //depot/maint-5.10/perl@33955 p4raw-integrated: from //depot/perl@33954 'copy in' lib/strict.t (@19845..) lib/UNIVERSAL.pm (@28403..) lib/lib_pm.PL (@28928..) lib/Memoize.pm (@30729..) pod/perlobj.pod (@31107..) NetWare/config.wc configure.com plan9/config_sh.sample symbian/config.sh uconfig.sh win32/config.bc win32/config.ce win32/config.gc win32/config.vc win32/config.vc64 (@33598..) ext/B/B/Deparse.pm ext/B/t/deparse.t (@33714..) ext/POSIX/POSIX.pm (@33826..) ext/B/t/concise-xs.t (@33829..) Configure (@33887..) t/op/index.t (@33951..) 'edit in' util.c (@33453..) 'merge in' pp_sort.c (@33448..) Cross/config.sh-arm-linux Porting/config.sh epoc/config.sh (@33598..) mg.c sv.c (@33815..) toke.c (@33858..) pod/perltodo.pod (@33865..) p4raw-integrated: from //depot/perl@33897 'edit in' ext/POSIX/POSIX.xs (@33896..) p4raw-integrated: from //depot/perl@33876 'ignore' t/lib/strict/subs (@22499..)
* Integrate:Dave Mitchell2008-05-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33789] Subject: [PATCH] Documentation typo fix for mro. From: Florian Ragwitz <rafl@debian.org> Date: Sun, 4 May 2008 17:40:05 +0200 Message-Id: <1209915605-11248-1-git-send-email-rafl@debian.org> [ 33791] Subject: [PATCH] extra tests for t/op/range.t (was Re: [perl #53554] Range From: Bram <p5p@perl.wizbit.be> Date: Mon, 05 May 2008 20:03:32 +0200 Message-ID: <20080505200332.pke1i5vu7gos8kc0@horde.wizbit.be> [ 33792] Subject: [PATCH] -Uusedl on cygwin From: Reini Urban <rurban@x-ray.at> Date: Mon, 05 May 2008 20:34:13 +0200 Message-ID: <481F5325.5090907@x-ray.at> [ 33815] Subject: [PATCH] Call SvMAGICAL_off in mg_free From: Bram <p5p@perl.wizbit.be> Date: Mon, 05 May 2008 16:18:56 +0200 Message-ID: <20080505161856.pgz4pjga1w44ksk4@horde.wizbit.be> [ 33822] Subject: [PATCH] Handle PL_minus_E before PL_minus_{n,p}. From: Florian Ragwitz <rafl@debian.org> Date: Sun, 11 May 2008 07:51:18 +0200 Message-Id: <1210485078-19640-1-git-send-email-rafl@debian.org> p4raw-link: @33822 on //depot/perl: 9f6397285900782ac168be55e879a6ac4fab7094 p4raw-link: @33815 on //depot/perl: 68f8932eb570af656553ed44c11a23f0a216a3ec p4raw-link: @33792 on //depot/perl: b1d302cbe753429dce7ea0bbcc432c1242204c19 p4raw-link: @33791 on //depot/perl: bd1c7bd234f2a9333e663f56f79a09143b3a74b5 p4raw-link: @33789 on //depot/perl: 76051f89dc2ad7585c06b6e815ceebf5a2c5e909 p4raw-id: //depot/maint-5.10/perl@33953 p4raw-integrated: from //depot/perl@33950 'copy in' ext/Win32CORE/Makefile.PL (@31229..) ext/Win32CORE/Win32CORE.c (@31490..) lib/mro.pm (@31836..) t/op/range.t (@32979..) 'edit in' t/run/switches.t (@33407..) p4raw-integrated: from //depot/perl@33822 'merge in' toke.c (@33437..) p4raw-integrated: from //depot/perl@33815 'merge in' mg.c (@33741..) sv.c (@33807..)
* Integrate:John E. Malmberg2008-05-301-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33739] Drop #ifdefs that became empty in change #32012. [ 33751] Subject: [patch]perl5db.pl - What I needed to get the forked debugger to work From: "John E. Malmberg" <wb8tyw@qsl.net> Date: Thu, 24 Apr 2008 21:36:51 -0500 Message-id: <481143C3.3080500@qsl.net> [ 33753] Revert change #33751, at least for now: this breaks perl5db.t [ 33756] Warnings within the condition of while are not reported with the correct line number. TODO test inspired by code from Bram. [ 33758] Warnings within the conditional of until() and for() are not reported with the correct line number. (See change 33756). Curiously, warnings for the third expression of for() have the correct line number. [ 33771] Subject: [patch]perl5db.pl, perl5db.t - LINUX/UNIX/CYGWIN/VMS From: "John E. Malmberg" <wb8tyw@qsl.net> Date: Mon, 28 Apr 2008 00:39:16 -0500 Message-id: <48156304.30201@qsl.net> p4raw-link: @33771 on //depot/perl: 98274836b09df4ae5d763fdb09abc6658450cbc2 p4raw-link: @33758 on //depot/perl: d12f7a6a491a8bf98b22bd9b6e1a5ee0d9f48c4b p4raw-link: @33756 on //depot/perl: 798518689d64e9ab055d8782c5c39291ab450b14 p4raw-link: @33753 on //depot/perl: f8d0f69b872506af4a8ffccd29197bd600466252 p4raw-link: @33751 on //depot/perl: 216e512e84140c4f1a6711dd28168b2a82c86fd9 p4raw-link: @33739 on //depot/perl: 33bf2ce5571a2caa7ec190b68b06e5a97d2130b8 p4raw-link: @32012 on //depot/perl: b6455c53c26be8a62e12a3f2a24a3a5086dd2c7b p4raw-id: //depot/maint-5.10/perl@33950 p4raw-integrated: from //depot/perl@33947 'copy in' lib/perl5db.t (@31959..) p4raw-integrated: from //depot/perl@33756 'edit in' t/lib/warnings/9uninit (@33710..) p4raw-integrated: from //depot/perl@33753 'ignore' lib/perl5db.pl (@33751..) p4raw-integrated: from //depot/perl@33739 'merge in' mg.c (@33684..)
* Integrate:Dave Mitchell2008-05-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33667] Subject: Re: [perl #52672] regexp failure: (?=) turns into OPFAIL From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Date: Thu, 10 Apr 2008 00:38:52 +0000 Message-ID: <51dd1af80804091738r15d37763lf900d59f8bcc5e81@mail.gmail.com> [ 33671] Add two missing dVAR's. [ 33675] Move all the logic to print the "Changed" message into regen_lib.pl, which removes the need for any checksums. Arrange for regen.pl to run autodoc.pl last, as it wants to open files generated by reentr.pl. [ 33684] Fix for [perl #52074] Segfault on ISA push after symbol table delete This restores the 5.8.8 behaviour. The deleted stash is not vivified again, hence the hierarchy remains broken. But there's no segfault. [ 33687] Subject: invalid cop_free of nullified cop. How to fix? From: "Reini Urban" <rurban@x-ray.at> Date: Tue, 15 Apr 2008 14:09:11 +0200 Message-ID: <6910a60804150509j3c100fc4t2ed303ae0124ba15@mail.gmail.com> [ 33695] Call cop_free on nullified cops too (this is a followup to 33687) [ 33696] Using memEQ() rather than strnEQ() when the length is known feels cleaner. [ 33697] Add the verbatim perl code mentioned in the comments of http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-05/msg01710.html but never actually tested. [ 33700] Use like() rather than is() to get better failure diagnostics. (One step beyond Jarkko's change 15735) [ 33701] Avoid forwards and then backwards on the :: splitting logic in Perl_gv_fetchmethod_autoload() [ 33714] Subject: Re: wrong line numbers in elsif() From: Paul Johnson <paul@pjcj.net> Date: Sat, 19 Apr 2008 13:02:06 +0200 Message-ID: <20080419110206.GE32555@pjcj.net> p4raw-link: @33714 on //depot/perl: 7ecdd211705c44c1696529960c8ab5c1ad8f4c65 p4raw-link: @33701 on //depot/perl: c94593d00233fc038590bd1033bbe8f67f02f70c p4raw-link: @33700 on //depot/perl: 2f90724352f52b809834d375ef5bab2c674fdad4 p4raw-link: @33697 on //depot/perl: b91ba1f24f52edc181821f93840733a1b39a2451 p4raw-link: @33696 on //depot/perl: 7edbdc6bb49f5970d9a4f23864d7626f8390de5c p4raw-link: @33695 on //depot/perl: cc93af5fbd42046d3d6e19c3655b76edf6980b42 p4raw-link: @33687 on //depot/perl: c53f1caa29d8829011cc4dd8948bd9947d957fba p4raw-link: @33684 on //depot/perl: 5562fa714b8071354c365365c26a950efa73179a p4raw-link: @33675 on //depot/perl: 523b30316ccbf7957aa8da41729ba68b3a5f47b5 p4raw-link: @33671 on //depot/perl: a2e578dad2f237dd09854deb3a557d2eeeb56a83 p4raw-link: @33667 on //depot/perl: 89c6a13e141e02cc3af670ab47c1d41ac4e81ba0 p4raw-id: //depot/maint-5.10/perl@33947 p4raw-integrated: from //depot/perl@33946 'copy in' t/op/method.t (@22091..) t/op/universal.t (@30806..) t/mro/pkg_gen.t (@31239..) regen_lib.pl (@33608..) regen.pl (@33646..) 'merge in' t/op/re_tests (@33324..) perlio.c (@33504..) p4raw-integrated: from //depot/perl@33714 'copy in' ext/B/t/deparse.t (@33163..) ext/B/B/Deparse.pm (@33661..) p4raw-integrated: from //depot/perl@33701 'edit in' gv.c (@33696..) p4raw-integrated: from //depot/perl@33695 'edit in' op.c (@33687..) p4raw-integrated: from //depot/perl@33684 'merge in' mg.c (@33627..) p4raw-integrated: from //depot/perl@33671 'merge in' perl.c (@33639..) p4raw-integrated: from //depot/perl@33667 'merge in' regcomp.c (@33370..)
* Integrate:Dave Mitchell2008-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33553] Subject: [PATCH] apidoc mismatch for Perl_magic_clearhint From: Vincent Pit <perl@profvince.com> Date: Mon, 24 Mar 2008 21:30:10 +0100 Message-ID: <47E80F52.4030805@profvince.com> [ 33554] Subject: [PATCH] IO::Socket::INET unnecessarily resolves "udp" From: Niko Tyni <ntyni@debian.org> Date: Mon, 24 Mar 2008 23:32:24 +0200 Message-Id: <1206394344-30835-1-git-send-email-ntyni@debian.org> [ 33556] Subject: [PATCH] borg parent.pm From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Date: Wed, 5 Mar 2008 17:19:32 -0800 (PST) Message-ID: <57512.71.32.86.11.1204766372.squirrel@webmail.efn.org> Plus bump base.pm's version to a non-alpha number [ 33557] Subject: Re: [PATCH] Double warning with perl -we 'my $a; substr $a, 0, 10, From: Vincent Pit <perl@profvince.com> Date: Sat, 22 Mar 2008 13:37:42 +0100 Message-ID: <47E4FD96.6080304@profvince.com> [ 33560] Use sv_setpvs() like a few lines before since change #33557 [ 33584] Subject: [PATCH] MAD dump xml escape regex From: Gerard Goossen <gerard@tty.nl> Date: Thu, 27 Mar 2008 13:55:31 +0100 Message-ID: <20080327125531.GN4409@ostwald> [ 33594] Subject: [PATCH] Re: Tests failed on PPC64 From: Dominic Dunlop <shouldbedomo@mac.com> Message-Id: <53E6407E-B87C-4D6A-A6E7-D842BDF30292@mac.com> Date: Fri, 14 Mar 2008 14:45:39 +0100 [ 33608] Subject: [PATCH] add -v to regen.pl and friends From: "Robin Barker" <Robin.Barker@npl.co.uk> Date: Wed, 19 Mar 2008 10:55:59 -0000 Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093AA6@exchsvr2.npl.ad.local> p4raw-link: @33608 on //depot/perl: 95aa056551f52c584698ab9faf16c6e993f2d2a5 p4raw-link: @33594 on //depot/perl: 02eafbe222bf49be10da28fb9c8c34dd786eaa91 p4raw-link: @33584 on //depot/perl: 643e696a61334e453a6ab25a83a9625db27387ac p4raw-link: @33560 on //depot/perl: 523f125d4a71aa467fc6a9acfe6c304944f5a5f5 p4raw-link: @33557 on //depot/perl: 502d9230ec570254fed51ae721c1da50944a5cbf p4raw-link: @33556 on //depot/perl: d3153aa44fba6434baddd69db421016fa7e77089 p4raw-link: @33554 on //depot/perl: 7027b9a31bf80c5639c73f75155ed1a89c674c30 p4raw-link: @33553 on //depot/perl: f175cff5cac5f8199b897ce2f1c73312d99d5761 p4raw-id: //depot/maint-5.10/perl@33945 p4raw-branched: from //depot/perl@33944 'branch in' lib/parent.pm lib/parent/t/compile-time-file.t lib/parent/t/compile-time.t lib/parent/t/lib/Dummy.pm lib/parent/t/lib/Dummy/Outside.pm lib/parent/t/lib/Dummy2.plugin lib/parent/t/lib/FileThatOnlyExistsAsPMC.pmc lib/parent/t/lib/ReturnsFalse.pm lib/parent/t/parent-classfromclassfile.t lib/parent/t/parent-classfromfile.t lib/parent/t/parent-pmc.t lib/parent/t/parent-returns-false.t lib/parent/t/parent.t p4raw-integrated: from //depot/perl@33944 'copy in' ext/IO/lib/IO/Socket/INET.pm (@27609..) t/op/reg_namedcapture.t (@31453..) lib/base.pm (@32005..) t/op/switch.t (@33434..) mad/t/p55.t (@33467..) 'merge in' pod/perlintern.pod (@33289..) p4raw-integrated: from //depot/perl@33608 'copy in' regen_lib.pl (@33539..) 'merge in' regen.pl (@33537..) Makefile.SH (@33542..) p4raw-integrated: from //depot/perl@33584 'ignore' dump.c (@33364..) p4raw-integrated: from //depot/perl@33557 'edit in' pp.c (@33304..) 'merge in' t/lib/warnings/9uninit (@33544..) p4raw-integrated: from //depot/perl@33556 'merge in' Porting/Maintainers.pl (@33499..) MANIFEST (@33505..) p4raw-integrated: from //depot/perl@33553 'merge in' mg.c (@33458..)
* Integrate:Dave Mitchell2008-05-281-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33414] Subject: [perl #46957] [PATCH] make Devel::Peek::mstat always available From: srezic@cpan.org (via RT) <perlbug-followup@perl.org> Date: Sat, 27 Oct 2007 11:33:57 -0700 Message-ID: <rt-3.6.HEAD-4732-1193510037-297.46957-75-0@perl.org> [ 33416] Subject: Re: [PATCH] NEXT.pm bug within overloaded stringification From: Marcel Grünauer <gr@univie.ac.at> Message-Id: <511B0A54-AB2D-4A65-A02E-E2E07C043EAB@univie.ac.at> Date: Mon, 3 Mar 2008 16:08:48 +0100 (a resend of <7BBCFD93-91CF-4656-A97F-ED5E749F7B2E@univie.ac.at>) [ 33434] Subject: [perl #50538] when( @n && %n ) fails to smart match From: "brian d foy" (via RT) <perlbug-followup@perl.org> Date: Mon, 04 Feb 2008 19:36:01 -0800 Message-ID: <rt-3.6.HEAD-4355-1202182561-1550.50538-75-0@perl.org> Updated tests in ticket to become TODO tests [ 33439] Bump VERSION after change #33416 (so we don't end up with different code but same version in 5.10.0 and, say, 5.10.1) [ 33442] Better line diagnostics - runlint's caller rather than runlint itself. [ 33445] Bring the joy of strict to ext/B/t/lint.t. [ 33447] Refactoring the /Can't return (?:array|hash) to scalar context/ croak logic in pp_rv2av into one place saves 112 bytes here. [ 33457] Subject: [PATCH] count-only transliteration needlessly makes copy-on-write From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Date: Tue, 4 Mar 2008 16:54:29 -0800 (PST) Message-ID: <47935.71.32.86.11.1204678469.squirrel@webmail.efn.org> [ 33458] Subject: Re: [PATCH] mg_magical() sometimes turns SvRMAGICAL on when it shouldn't From: Vincent Pit <perl@profvince.com> Date: Fri, 08 Feb 2008 23:22:19 +0100 Message-ID: <47ACD61B.6030501@profvince.com> [ 33463] Silence warning from VC++ following #33447 (not all control paths return a value) [ 33466] Subject: [PATCH] MAD update list of failures in mad/t/p55.t From: Gerard Goossen <gerard@tty.nl> Date: Mon, 10 Mar 2008 15:17:08 +0100 Message-ID: <20080310141708.GA28994@ostwald> [ 33467] Subject: [PATCH] Re: [PATCH] MAD fix p55 $[ From: Gerard Goossen <gerard@tty.nl> Date: Mon, 10 Mar 2008 15:44:03 +0100 Message-ID: <20080310144403.GC28994@ostwald> [ 33470] Subject: Re: [PATCH] make Archive::Extract's x.lzma test file be lzma'd, From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org> Date: Tue, 4 Mar 2008 00:28:34 -0800 (PST) Message-ID: <52329.71.32.86.11.1204619314.squirrel@webmail.efn.org> p4raw-link: @33470 on //depot/perl: 1842fafe88147d90b1a41de07040f8fdc9d95179 p4raw-link: @33467 on //depot/perl: 27aaedc17a97efc227bf59e642a1a074461e266d p4raw-link: @33466 on //depot/perl: 58a97135f419acbdcb88dba507c236c50a193268 p4raw-link: @33463 on //depot/perl: 77e217c696c39b67fc6443f86dde2d49211a6302 p4raw-link: @33458 on //depot/perl: 218787bdb7a9250de0cc00118d84dcb23ff2f1c5 p4raw-link: @33457 on //depot/perl: 3788ef8ffa548a64c7425dab843bc6e906dec25c p4raw-link: @33447 on //depot/perl: 042560a65fd56038b3116f30639cb99d98c48622 p4raw-link: @33445 on //depot/perl: 354c4f6702429b0ee68ace7c068c71c145b01011 p4raw-link: @33442 on //depot/perl: b810cbf3630b54e4370087ac3cf7984f09b3d77c p4raw-link: @33439 on //depot/perl: 9a35f1ea0522ed94d65ce910c1f49334b567bf08 p4raw-link: @33434 on //depot/perl: 1dcb720a51504d7b20fb1eac689c4efad1376736 p4raw-link: @33416 on //depot/perl: 5dd54fb4257bccaa223fa7d57413e664e9bb3c2c p4raw-link: @33414 on //depot/perl: 3128eefee559edb9fdd97ad1b3eff48da114045e p4raw-id: //depot/maint-5.10/perl@33943 p4raw-branched: from //depot/perl@33942 'branch in' ext/XS/APItest/t/rmagical.t lib/NEXT/t/stringify.t p4raw-integrated: from //depot/perl@33942 'copy in' t/op/tr.t (@31130..) ext/XS/APItest/APItest.xs (@32699..) ext/XS/APItest/APItest.pm (@33023..) lib/Archive/Extract/t/src/x.lzma.packed (@33098..) ext/B/t/lint.t (@33442..) 'merge in' ext/Devel/Peek/Peek.xs (@32703..) p4raw-integrated: from //depot/perl@33467 'merge in' op.c (@33369..) p4raw-integrated: from //depot/perl@33466 'ignore' mad/t/p55.t (@31554..) p4raw-integrated: from //depot/perl@33458 'merge in' mg.c (@33291..) p4raw-integrated: from //depot/perl@33457 'merge in' doop.c (@33291..) p4raw-integrated: from //depot/perl@33447 'edit in' pp_hot.c (@33376..) p4raw-integrated: from //depot/perl@33434 'copy in' t/op/switch.t (@32120..) p4raw-integrated: from //depot/perl@33416 'edit in' MANIFEST (@33410..) 'ignore' lib/NEXT.pm (@25261..) p4raw-integrated: from //depot/perl@33414 'merge in' malloc.c (@33389..)
* Integrate:Nicholas Clark2008-05-101-32/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 33665] Subject: [PATCH] is_gv_magical correctly check "ISA" From: Gerard Goossen <gerard@tty.nl> Date: Wed, 9 Apr 2008 12:12:44 +0200 Message-ID: <20080409101244.GA11209@ostwald> [ 33741] Inline the trivial S_raise_signal function in the perl signal handler. This makes the code more readable and avoids the need for excuses for why the function is (still) named this way. It also effectively avoids segfaults observed with gcc-3.3 when the sibling-call optimization is used for invoking S_raise_signal() just before the signal handler returns. [ 33762] Cast the result of fpsetmask(0) to (void), as some implementations expand it via a macro, with a comma expression to calculate the return value, at which point gcc has the gall to warn that an expression calcualted is not used. Blame SCO for having to have fpsetmask(0) in the code to start with. [ 33763] Subject: [PATCH] Win32 process ids can have more than 16 bits From: "Jan Dubois" <jand@activestate.com> Date: Tue, 29 Apr 2008 01:14:39 -0700 Message-ID: <01be01c8a9d1$12b32b10$38198130$@com> [ 33788] Record-style reads in Perl_sv_gets have to be done with read(), not fread() on VMS, and have been for some time. Except that ain't gonna work with PerlIO::Scalar's in-memory files. Old bug exposed by new test in #33769. p4raw-link: @33788 on //depot/perl: 048d9da8ec2370ce3e00d2fda9649ad63736ab2f p4raw-link: @33763 on //depot/perl: 40c7cc6dda502ce0119863824290b6aa3c979bb0 p4raw-link: @33762 on //depot/perl: ad3a8c6706bd3a6f37807bfeb97ae631d2828ec9 p4raw-link: @33741 on //depot/perl: 406878dddec0512d5dbd1942add8ab7e9ea12a7a p4raw-link: @33665 on //depot/perl: f2df708187f7170c3344b7542e7aa96faa0b2fd8 p4raw-id: //depot/maint-5.10/perl@33802 p4raw-integrated: from //depot/perl@33801 'merge in' win32/win32.c (@33566..) perl.h (@33629..) sv.c (@33669..) mg.c (@33739..) p4raw-integrated: from //depot/perl@33665 'merge in' gv.c (@33304..)
* Integrate:Vincent Pit2008-04-031-1/+1
| | | | | | | | | | | | | | | | [ 32822] Subject: Re: SV leak? Message-ID: <477D28BD.5060801@profvince.com> Mortalize SVs that are being pushed on the stack. Try to use specialized macros for pushing mortals. p4raw-link: @32822 on //depot/perl: 22f1178fc6ea7d78b2fce6108796ec629a70476b p4raw-id: //depot/maint-5.10/perl@33641 p4raw-integrated: from //depot/perl@33640 'copy in' os2/os2.c (@32713..) p4raw-integrated: from //depot/perl@32822 'copy in' win32/wince.c (@32713..) 'merge in' ext/Win32/Win32.xs (@31935..) ext/B/B.xs (@32804..) mg.c pp_sys.c (@32821..)
* Integrate:Nicholas Clark2008-01-301-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32807] Add a new function newSVpvn_flags(), which takes a third parameter of flag bits. Right now the only flag bit is SVf_UTF8, which will call SvUTF8_on() on the new SV for you. Provide a wrapper newSVpvn_utf8(), which takes a boolean, and passes in SVf_UTF8 if that is true. Refactor the core to use it where possible. It makes the source code clearer and smaller, but seems to be swings and roundabouts on object code size. [ 32812] Add HeUTF8() to complement HePV() and then immediately suggest that newSVhek(HeKEY_hek(he) is probably what you wanted all along. [ 32818] Extend newSVpvn_flags() to also call sv_2mortal() if SVs_TEMP is set in the flags. Move its implementation just ahead of sv_2mortal()'s for CPU cache locality. Refactor all code that can be to use this. [ 32819] Add newSVpvs_flags() as a wrapper to newSVpvn_flags(), and rework sv_2mortal(newSVpvs(...)) constructions to use it. [ 32820] Missed three sv_2mortal(newSVpvn(...))s in the headers. [ 32821] Add macros mPUSHs() and mXPUSHs() for pushing SVs on the stack and mortalizing them. Use these macros where possible. And also mX?PUSH[inpu] where possible. [ 32823] Run regen.pl (fixes build on Win32, at least) [ 32824] There's no need to handle 'set' magic in the mX?PUSH macros. The macros all create new mortals using sv_newmortal(), and those cannot be magical. This is in contrary to the X?PUSH macros, which operate on TARG, which can be magical. With that in mind, mentioning whether or not mX?PUSH can handle 'set' magic doesn't make sense any longer. [ 32834] Re-implement mPUSHp() and mXPUSHp() using Perl_newSVpvn_flags(), which results in slightly smaller object code. (No extra work is done.) p4raw-link: @32834 on //depot/perl: 8f14ea018e8d1f6c6a67be29ee2ae899993d0f0e p4raw-link: @32824 on //depot/perl: 121b77126d4ab6098abde56a8c4175a9704d61b2 p4raw-link: @32823 on //depot/perl: ae374e95f2465dddad54f12486ab8266e5ccbb5a p4raw-link: @32821 on //depot/perl: 6e449a3ab1e3bd9d7e138ca681c733e57d4daa49 p4raw-link: @32820 on //depot/perl: ad25789c15269a04312e0efede81842547aa8212 p4raw-link: @32819 on //depot/perl: 84bafc024a74c819ac3d2b4406253dbe983e6502 p4raw-link: @32818 on //depot/perl: 59cd0e26eb6c10499b25d783562357dd68cc16f2 p4raw-link: @32812 on //depot/perl: 289d3c6afee2ee5aaa9c3c2e0498d35fffce0173 p4raw-link: @32807 on //depot/perl: 740cce10afff4bec3346f61ab3d0f7bfa424948c p4raw-id: //depot/maint-5.10/perl@33139 p4raw-integrated: from //depot/perl@33138 'copy in' doop.c (@31270..) XSUB.h (@31697..) xsutils.c (@32237..) gv.c (@32478..) pp_pack.c (@32818..) utf8.c (@32819..) pp.h (@32824..) 'edit in' hv.c (@32807..) mro.c (@32818..) 'merge in' doio.c (@32681..) av.c (@32792..) p4raw-integrated: from //depot/perl@32823 'edit in' embed.h (@32807..) 'merge in' global.sym (@32806..) p4raw-integrated: from //depot/perl@32821 'edit in' perl.c (@32813..) pp_hot.c (@32818..) mg.c pp.c pp_ctl.c pp_sys.c (@32819..) p4raw-integrated: from //depot/perl@32820 'edit in' hv.h (@32812..) p4raw-integrated: from //depot/perl@32819 'copy in' cop.h (@32237..) toke.c (@32818..) 'edit in' universal.c (@32817..) sv.c (@32818..) 'merge in' handy.h (@32793..) p4raw-integrated: from //depot/perl@32818 'edit in' regcomp.c (@32813..) p4raw-integrated: from //depot/perl@32807 'edit in' pod/perlapi.pod (@32707..) sv.h util.c (@32804..) 'merge in' embed.fnc proto.h (@32804..)
* Integrate:Nicholas Clark2008-01-301-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32761] Fix Perl #49190, tests from Abigail, codefix from me. [ 32857] Fix regexec.c so $^N and $+ are correctly updated so that they work properly inside of (?{...}) blocks as reported by Moritz Lenz in Subject: Bugs in extended regexp features From: Moritz Lenz <moritz@casella.verplant.org> Date: Sat, 05 Jan 2008 17:14:37 +0100 Message-ID: <477FACED.4000505@casella.verplant.org> [ 32873] Subject: Re: [perl #49264] say behaves as just print on tied filehandle From: Michael G Schwern <schwern@pobox.com> Date: Wed, 02 Jan 2008 17:08:36 -0800 Message-ID: <477C3594.9080302@pobox.com> [ 32915] Fix leak introduced by change #32873, thanks to Nicholas [ 32948] Subject: Re: [perl #49564] Re: MRO and av_clear From: Rick Delaney <rick@bort.ca> Date: Wed, 9 Jan 2008 13:36:55 -0500 Message-ID: <20080109183655.GB11282@bort.ca> [ 33009] [perl #49522] state variable not available Svf_PADSTALE means something different for state vars. Make sure we always handle it correctly [ 33050] Comment change from 33009 that was actually in POD, so needs to be propagated to perlintern.pod p4raw-link: @33050 on //depot/perl: 3134ad69d93db50cabc8276feb0660bf859dbad1 p4raw-link: @33009 on //depot/perl: d11865445af8750ad2c09674e81b7941117e83b5 p4raw-link: @32948 on //depot/perl: 52b4506763c1e322f848f17908bebdf7672f168e p4raw-link: @32915 on //depot/perl: 084e50c2bb259c1fb5d99eed82d12400f31c6763 p4raw-link: @32873 on //depot/perl: 3a28f3fb1bfd44e4e3dfe6842af867c8c1c9de28 p4raw-link: @32857 on //depot/perl: 0357f1fd55a0c9e8fad7103cf9d7638747f9d9ee p4raw-link: @32761 on //depot/perl: 10300be4785857111b4e5614934a2d871b62b6ce p4raw-id: //depot/maint-5.10/perl@33135 p4raw-integrated: from //depot/perl@33134 'copy in' t/op/tiehandle.t (@20239..) pod/perltie.pod (@28778..) t/op/state.t (@31840..) t/mro/basic.t (@32074..) pad.c (@32906..) pod/perlintern.pod (@32982..) p4raw-integrated: from //depot/perl@32948 'merge in' mg.c (@32822..) embed.fnc embed.h perl.h proto.h (@32934..) p4raw-integrated: from //depot/perl@32857 'merge in' regexec.c (@32853..) p4raw-integrated: from //depot/perl@32761 'edit in' t/op/pat.t (@32749..) pp_hot.c (@32753..)
* Integrate:Nicholas Clark2008-01-301-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32686] Subject: mg_free frees data but leaves it accessible From: Yuval Kogman <nothingmuch@woobling.org> Message-ID: <20071220221331.GG10631@woobling.org> Date: Fri, 21 Dec 2007 00:13:31 +0200 [ 32743] You can't coerce a typeglob to a string. (Restore the error message - an assertion failure is not helpful). Test the 3 basic coercion error messages. [ 32754] Silly Nick. There was a bug in change 30757 whereby the precomp of a dup'd regexp would be pointing somewhere la-la. Probably at the precomp of the same regexp in the parent thread. (So it is only likely to go nasal daemon if the parent thread terminates first, or explicitly goes around freeing up run time generated regexps.) [ 32779] Subject: [PATCH] Typo in op.c From: Vincent Pit <perl@profvince.com> Message-ID: <47712BF1.9060200@profvince.com> Date: Tue, 25 Dec 2007 17:12:33 +0100 (And then an update to make the tests in gv.t expect the right thing, and test the behaviour that my change 26482 was originally supposed to produce, but didn't until this typo was fixed) [ 32874] Subject: [perl #49003] pp_ftrread appears to use the wrong access mode for -x when using "use filetest 'access';" From: pravus@cpan.org (via RT) <perlbug-followup@perl.org> Date: Fri, 21 Dec 2007 10:05:15 -0800 Message-ID: <rt-3.6.HEAD-22850-1198260315-255.49003-75-0@perl.org> [ 32906] change #31447 was wrong. Really handle cloning a stale lexical var [ 32932] Fix the bug introduced by the bug fix of change 30755. (Certain regexps could SEGV if cloned). [ 32935] Fix bug picked up by printf format warnings - a cast is needed where UV is larger than U32 for dumping leaking scalars. [ 32968] Fix bug whereby length on a tied scalar that returned a UTF-8 value would not be correct the first time. (And for the more pathological case, would be incorrect if the UTF-8-ness of the returned value changed.) [ 33026] When changing the op_ppaddr of an op, one must keep its op_type in sync. That helps writers of alternate runloops. [ 33033] In pp_subst, rxtainted is not a boolean, as it stores 2 bits of values. p4raw-link: @33033 on //depot/perl: 99710fe38e53c8e763d4758979c48cc5bc8503cf p4raw-link: @33026 on //depot/perl: 377b1098958349a561ae80eec0745a3418c2ddb4 p4raw-link: @32968 on //depot/perl: d06445298904613950b0410a2f3b1125ab58c7b5 p4raw-link: @32935 on //depot/perl: 574b88211c0c7c08c099f0fa17b950a4aaf1c62f p4raw-link: @32932 on //depot/perl: 66b1de870892b142348d95c3a6c21c7ff7269508 p4raw-link: @32906 on //depot/perl: 33894c1aa3e715f48f9d6f591dc779d058e6329b p4raw-link: @32874 on //depot/perl: b376053de54af4268a31e5a60d1f9e57db30af11 p4raw-link: @32779 on //depot/perl: 50baa5ea2240b5b5f0f2d876ef7d68fbb74f49e4 p4raw-link: @32754 on //depot/perl: 3a9b2cacfb08e1181b7d9ae45cad1ed8acd59972 p4raw-link: @32743 on //depot/perl: 1f257c956c5d42ce792dd5e0f3badf9851cef49c p4raw-link: @32686 on //depot/perl: c826f41b69925b8dedc613995e7dbb5bc467e6a4 p4raw-link: @31447 on //depot/perl: efa785391fea9e6aff4c999b27ad62b7d8f9ea99 p4raw-id: //depot/maint-5.10/perl@33132 p4raw-branched: from //depot/perl@33131 'branch in' t/uni/tie.t p4raw-integrated: from //depot/perl@33131 'copy in' t/op/closure.t (@31448..) 'edit in' mg.c (@32948..) p4raw-integrated: from //depot/perl@33033 'merge in' pp_hot.c (@33017..) p4raw-integrated: from //depot/perl@33026 'edit in' perl.c (@33025..) p4raw-integrated: from //depot/perl@32968 'copy in' t/op/length.t (@19961..) 'merge in' MANIFEST (@32954..) p4raw-integrated: from //depot/perl@32932 'ignore' t/op/pat.t (@32931..) p4raw-integrated: from //depot/perl@32906 'copy in' pad.c (@31835..) p4raw-integrated: from //depot/perl@32874 'merge in' pp_sys.c (@32822..) p4raw-integrated: from //depot/perl@32779 'merge in' op.c (@32753..) p4raw-integrated: from //depot/perl@32754 'edit in' regcomp.c (@32753..) p4raw-integrated: from //depot/perl@32743 'ignore' t/op/gv.t (@31940..) 'merge in' sv.c (@32740..)
* Integrate:Nicholas Clark2008-01-301-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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..)
* Simplify the logic for retrieving PL_inplace into $^I, as sv_setpv()Nicholas Clark2007-10-181-4/+1
| | | | | will do the "right" thing if we want NULL to map to undef. p4raw-id: //depot/perl@32137
* Change newSVpv() to newSVpvn() where we know the length is non-zero, asNicholas Clark2007-10-181-3/+3
| | | | | newSVpvn() will be fractionally more efficient. p4raw-id: //depot/perl@32135
* Change a sv_catpv() to sv_catpvs().Nicholas Clark2007-10-051-1/+1
| | | p4raw-id: //depot/perl@32038
* As PL_hinthv is actually tied, need to call SvSETMAGIC() after theNicholas Clark2007-10-051-3/+3
| | | | | store to it. Gosh, the tied hash API is clunky. p4raw-id: //depot/perl@32032
* Try a bit harder to get *PL_sighandlerp to agree with itsCraig A. Berry2007-10-041-8/+6
| | | | | prototype based on SA_SIGINFO definedness rather than Win32-ness. p4raw-id: //depot/perl@32027
* Fix warnings about Sighandler_t type on Win32.Rafael Garcia-Suarez2007-10-041-0/+8
| | | p4raw-id: //depot/perl@32020
* Adapt definition of Sighandler_t to go with change #32012Rafael Garcia-Suarez2007-10-031-2/+2
| | | | | p4raw-link: @32012 on //depot/perl: b6455c53c26be8a62e12a3f2a24a3a5086dd2c7b p4raw-id: //depot/perl@32013
* [perl #45513] Test failures on amd64-freebsd 6.2 Slaven Rezic2007-10-031-12/+3
| | | | | | From: "slaven@rezic.de via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-5916-1191069483-1553.45513-15-0@perl.org> p4raw-id: //depot/perl@32012
* hv_stores() on a literal string is now fractionally more efficient thanNicholas Clark2007-09-211-8/+8
| | | | | hv_store(). p4raw-id: //depot/perl@31938
* Silence a load of "value computed is not used" warningsRafael Garcia-Suarez2007-09-211-2/+2
| | | p4raw-id: //depot/perl@31936
* Re: optimize push @ISA, (was Re: parent.pm at http://corion.net/perl-dev)Brandon Black2007-08-311-4/+5
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60708121336m13dcf9e5uac624fb246f2a79c@mail.gmail.com> p4raw-id: //depot/perl@31770
* misc blead stuffJarkko Hietaniemi2007-08-301-0/+9
| | | | | Message-ID: <46D617B5.3000002@iki.fi> p4raw-id: //depot/perl@31765
* Revert change #31489.Rafael Garcia-Suarez2007-06-291-20/+0
| | | | | | | | | | | That change was adding a hook to cope with the case when one was undef'ining *ISA globs, in order to clean up correctly. However, this broke the case where one was assiging an array ref to @ISA, which is likely to be more common. Conclusion: don't undef *ISA. (or more generally don't undef globs that contain magical variables) p4raw-link: @31489 on //depot/perl: 5be5c7a687aa37f2ea9dec7988eb57cad1f1ec24 p4raw-id: //depot/perl@31502
* Rename various regex defined so that they have distinct prefixes based on ↵Yves Orton2007-06-281-6/+6
| | | | | | | | | | | | | | their usage. RXf_ => flags used in pm_flags argument to regcomp and stored in the regex via rx->extflags PREGf_ => flags stored in rx->intflags RXapif_ => argument flags for regex named capture api RX_BUFF_IDX_ => special indexes to represent $` $' $& used in the numeric capture buffer api PREGf is untouched by this change, but RXf_ is split into RXapif and RX_BUFF_IDX_. p4raw-id: //depot/perl@31497
* Re: [perl #43357] *DESTROY = sub {} at runtimeBrandon Black2007-06-281-0/+20
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60706270807r7af65546x8d959b131ffa28e6@mail.gmail.com> p4raw-id: //depot/perl@31489
* Re: [PATCH] Callbacks for named captures (%+ and %-)Ævar Arnfjörð Bjarmason2007-06-061-6/+6
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80706031324y5618d519p460da27a2e7fe712@mail.gmail.com> p4raw-id: //depot/perl@31341
* Various mro updates from Brandon Black. References:Craig A. Berry2007-05-191-0/+5
| | | | | | | | <84621a60705111347q40f9dd9ciefa9468e9ff9ca6c@mail.gmail.com> <84621a60705121458i34ff361fh9166e8558781df41@mail.gmail.com> <84621a60705141111q70ed307r9181dfc2834a8f5c@mail.gmail.com> <84621a60705160937h53946fcfg70635908302724e8@mail.gmail.com> p4raw-id: //depot/perl@31239
* Small fix to a previous patch on magic $<digit> variables.Ævar Arnfjörð Bjarmason2007-05-101-0/+1
| | | | | | | Subject: [PATCH] From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80705091924q77c2ca23n30359779b96ab909@mail.gmail.com> p4raw-id: //depot/perl@31190
* more constingAndy Lester2007-05-081-2/+2
| | | | | Message-ID: <20070507163416.GA6187@petdance.com> p4raw-id: //depot/perl@31167
* move PL_lex_state into the PL_parser structDave Mitchell2007-05-051-1/+1
| | | p4raw-id: //depot/perl@31154
* FETCH/STORE/LENGTH callbacks for numbered capture variablesÆvar Arnfjörð Bjarmason2007-05-031-61/+84
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80705011658g1156e14cw4d2b21a8d772ed41@mail.gmail.com> p4raw-id: //depot/perl@31130