summaryrefslogtreecommitdiff
path: root/gv.c
Commit message (Collapse)AuthorAgeFilesLines
* Add MUTABLE_GV(), and eliminate (V *) casts in *.c.Nicholas Clark2009-03-291-8/+9
| | | | | | | | | 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-25/+26
| | | | | | | | erroneous const in dump.c. p4raw-id: //depot/perl@34675 (cherry-picked from commit ad64d0ecd555e97c5a216efca1ec5a96b7fd0b34)
* Add MUTABLE_IO(), and eliminate (IO *) casts in *.c.Nicholas Clark2009-03-291-1/+1
| | | | | | p4raw-id: //depot/perl@34654 (cherry picked from commit a45c7426c93f17067d1734c68cb400246e1db490)
* Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.Nicholas Clark2009-03-291-2/+2
| | | | | | p4raw-id: //depot/perl@34647 (cherry-picked from commit ea726b52599b52cf534201a46ec3455418c9eb8e)
* Every remaining (HV *) cast in *.cNicholas Clark2009-03-291-2/+2
| | | | | | 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/+64
| | | | | | | | | | | | | | | 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)
* PATCH: Large omnibus patch to clean up the JRRT quotesTom Christiansen2009-01-051-1/+3
| | | | | | | | | Message-ID: <25940.1225611819@chthon> Date: Sun, 02 Nov 2008 01:43:39 -0600 p4raw-id: //depot/perl@34698 (cherry picked from commit 4ac71550d23cca4632a2bcdfcb1d83a6bf705e45)
* Fix DBM module handling broken by #34653.Marcus Holland-Moritz2009-01-041-11/+10
| | | | | | p4raw-id: //depot/perl@34710 (cherry picked from commit e84ce9a2716d1220bc7c4b3a55e98e4a3ca18136)
* Use pvs macros instead of pvn where possible.Marcus Holland-Moritz2009-01-041-8/+8
| | | | | | p4raw-id: //depot/perl@34653 (cherry-picked from commit 76f68e9bb86f29e34e2aeb5c177571288f05b7ca)
* Integrate:Tim Bunce2008-11-211-1/+1
| | | | | | | | | | | | [ 34896] Subject: 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-link: @34896 on //depot/perl: 139d0ce69f7cc12a8ffc1a75bbb5c65306d08d35 p4raw-id: //depot/maint-5.10/perl@34897 p4raw-integrated: from //depot/perl@34893 'merge in' gv.c perl.c (@34831..)
* Integrate:Tim Bunce2008-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 34693] Add a flag PERLDBf_SAVESRC, which enables the saved lines part of PERLDBf_LINE, so that profilers (such as NYTProf) have access to the lines of the eval, without the speed impact of other parts of the debugger infrastructure. PERLDBf_LINE is unchanged. Based largely on a patch by Tim Bunce in <20081028152749.GA12500@timac.local> [ 34705] Subject: Re: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2) Message-ID: <20081103160130.GA45762@timac.local> Date: Mon, 3 Nov 2008 16:01:31 +0000 [ 34706] Subject: Re: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2) From: Tim Bunce <Tim.Bunce@pobox.com> Message-ID: <20081103162537.GB45762@timac.local> Date: Mon, 3 Nov 2008 16:25:37 +0000 p4raw-link: @34706 on //depot/perl: 4c85b59c156c7ad7ba08eb430618e674134ced22 p4raw-link: @34705 on //depot/perl: 65269a95bf2e18461f4efd8a5e0ad5bb7d043a5e p4raw-link: @34693 on //depot/perl: b8fcbefe6253f6cbcf6817158c0e99c8018b2d46 p4raw-id: //depot/maint-5.10/perl@34715 p4raw-integrated: from //depot/perl@34713 'copy in' pod/perlvar.pod (@32904..) lib/perl5db.pl (@34312..) 'merge in' perl.h (@34630..) op.c toke.c (@34698..) p4raw-integrated: from //depot/perl@34705 'merge in' gv.c (@34698..) p4raw-integrated: from //depot/perl@34693 'merge in' pp_ctl.c (@34679..)
* 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:Dave Mitchell2008-05-291-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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:Nicholas Clark2008-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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:Nicholas Clark2008-01-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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..)
* Eliminating the duplicate logic in S_method_common() andNicholas Clark2007-11-241-0/+11
| | | | | | | | | Perl_gv_fetchmethod_autoload() is clearly TODO. Move the paragraph "strcat(), strcpy(), strncat(), strncpy(), sprintf(), vsprintf()" to the section "Tasks that need a little C knowledge" as it doesn't need any XS knowledge. p4raw-id: //depot/perl@32478
* SQL::Translator triggered a subtle piece of wrongness, whereby itNicholas Clark2007-10-221-2/+10
| | | | | | | | | managed to cause a proxy constant subroutine in the symbol table to be upgraded to a GV at precisely the point where it was being considered as a possible IO handle name. The core's user-space visible behaviour certainly was buggy - I believe this patch to be the correct fix. However, it seems to be very hard to write a test for it. p4raw-id: //depot/perl@32172
* Change 32136 introduced an error - passing a const char * toNicholas Clark2007-10-181-1/+1
| | | | | sv_usepvn_flags(). Fixed. p4raw-id: //depot/perl@32139
* Eliminate some uses of sv_setpv() where we already know the length.Nicholas Clark2007-10-181-2/+3
| | | | | | Donate the prototype buffer to the CV in Perl_gv_init(), rather than setting a copy, and immediately free()ing the original. p4raw-id: //depot/perl@32136
* In Perl_amagic_call(), construct the SV with newSVpvn(), as we now knowNicholas Clark2007-10-181-1/+2
| | | | | the length. (Not sure why I didn't spot this one during change 32124.) p4raw-id: //depot/perl@32132
* No need to call strlen() on the result of CopSTASHPV() when unthreaded,Nicholas Clark2007-10-181-0/+5
| | | | | | | as the length is already known. Hence conditionally compile out the logic related to the call to strlen() from S_method_common(), and use newSVhek in S_gv_get_super_pkg(). p4raw-id: //depot/perl@32130
* Don't call strlen() on CopFILE() for the unthreaded case, because theNicholas Clark2007-10-181-2/+16
| | | | | length can be obtained via CopFILESV(). p4raw-id: //depot/perl@32129
* Where possible, change gv_fetchfile() to gv_fetchfile_flags(),Nicholas Clark2007-10-181-1/+2
| | | | | | | | | | | gv_stashpv() to gv_stashpvn() and gv_fetchpv() to gv_fetchpvn_flags(). Change the len parameter of S_find_in_my_stash() from I32 to STRLEN, as a pointer the variable needs to be passed onwards, and size matters on 64 bit platforms. Fix the temporary scribbling of a buffer in Perl_yylex() by using gv_fetchpvn_flags(), and remove the XXX comment added in change 27641. Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32127
* Storing the length of all the overloading names saves a strlen() in aNicholas Clark2007-10-171-1/+1
| | | | | | loop in Perl_Gv_AMupdate(). Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32124
* PL_AMG_names is only used by gv.c (as far as Google code search canNicholas Clark2007-10-161-0/+1
| | | | | | | see), so it can easily be a static variable inside gv.c. This allows the implementation to be changed in future Perls within the 5.10.x series. p4raw-id: //depot/perl@32116
* Re: [perl #46217] (resent) Typeglobs vs. SUPER:: (Hook::LexWrap failure)Brandon Black2007-10-081-2/+28
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60710072036l60c29016tba8a32b8021b5b24@mail.gmail.com> p4raw-id: //depot/perl@32065
* Silence a load of "value computed is not used" warningsRafael Garcia-Suarez2007-09-211-1/+1
| | | p4raw-id: //depot/perl@31936
* Turn the "$# / $* is no longer supported" warnings intoRafael Garcia-Suarez2007-07-111-1/+1
| | | | | severe warnings (as suggested by Audrey Tang) p4raw-id: //depot/perl@31589
* First patch from:Brandon Black2007-06-261-2/+5
| | | | | | | | | | Subject: Re: [perl #43357] *DESTROY = sub {} at runtime From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60706260905x2da6eaf1x4bd7d5223951e52@mail.gmail.com> Fix problem recently introduced with loosing a DESTROY when redefined at runtime. p4raw-id: //depot/perl@31472
* Re: [PATCH] Callbacks for named captures (%+ and %-)Ævar Arnfjörð Bjarmason2007-06-061-2/+2
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80706031324y5618d519p460da27a2e7fe712@mail.gmail.com> p4raw-id: //depot/perl@31341
* FETCH/STORE/LENGTH callbacks for numbered capture variablesÆvar Arnfjörð Bjarmason2007-05-031-11/+11
| | | | | | From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com> Message-ID: <51dd1af80705011658g1156e14cw4d2b21a8d772ed41@mail.gmail.com> p4raw-id: //depot/perl@31130
* Re: mro status, etcBrandon Black2007-04-301-27/+4
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com> p4raw-id: //depot/perl@31107
* Put the "Can't locate package..." warnings in the "syntax"Rafael Garcia-Suarez2007-04-191-2/+2
| | | | | category, as documented p4raw-id: //depot/perl@30982
* Re: new C3 MRO patchBrandon Black2007-04-191-111/+139
| | | | | | From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704171114k29b0460el5b08ce5185d55ed5@mail.gmail.com> p4raw-id: //depot/perl@30980
* Remove the "performance hack" that suppressed used only once warningsNicholas Clark2007-04-161-13/+0
| | | | | for files in the standard library. p4raw-id: //depot/perl@30969
* Work round what appears to be a bug in Sun C++ 5.8 2005/10/13Nicholas Clark2007-04-111-1/+5
| | | | | | If we just cast GvSVn(gv) to void, it ignores evaluating it for its side effect. p4raw-id: //depot/perl@30903
* Upgrade to version.pm 0.71, by John PeacockRafael Garcia-Suarez2007-03-191-1/+1
| | | p4raw-id: //depot/perl@30629
* use a fresh stack when loading Errno.pm etc.Dave Mitchell2007-03-141-1/+2
| | | | | | Stops 'use vars qw($!)' in lib/vars.t segfaulting. (This can be reduced to 'my $sym = "!"; *$sym = \$$sym') p4raw-id: //depot/perl@30577
* Re: [PATCH] Tweaks so that miniperl.exe doesnt croak while building perl.exeYves Orton2007-03-081-24/+9
| | | | | Message-ID: <9b18b3110703080120s41147a4fh4f4c1f9817079be3@mail.gmail.com> p4raw-id: //depot/perl@30518
* Re: [PATCH] Tweaks so that miniperl.exe doesnt croak while building perl.exeYves Orton2007-03-081-10/+11
| | | | | Message-ID: <9b18b3110703071144t787e028s8a79fa1986624b54@mail.gmail.com> p4raw-id: //depot/perl@30517
* Use another method to avoid the "possible interpolation" warningRafael Garcia-Suarez2007-03-071-1/+4
| | | | | | | | | for @- and @+ : do this directly from the lexer (patch by Yves Orton.) This way, @- and @+ aren't preloaded anymore. Avoid to require re::Tie::Hash::NamedCapture when the *- or *+ globs are created, this was breaking the build due to miniperl's inability to load it. p4raw-id: //depot/perl@30496
* Avoid to load the *+ and *- globs too early.Rafael Garcia-Suarez2007-03-071-8/+5
| | | | | | | | | | To silence spurious interpolation warnings, merely create the stash entry for them. Ensure that the re::Tie::Hash::NamedCapture module is always loaded when we have created the tied hashes %+ and %-. Revert change #30483, which is now unnecessary. p4raw-link: @30483 on //depot/perl: 73f68b39467596f862aade4f4b46d6061aa98bd3 p4raw-id: //depot/perl@30490
* Fix error messages returned by S_require_tie_mod. Fix small leaksRafael Garcia-Suarez2007-03-061-19/+21
| | | | | | happening in there too. More importantly, call it when we load both a hash or a glob. p4raw-id: //depot/perl@30488
* Fix a small leak on loading *+ and *- globsRafael Garcia-Suarez2007-03-061-0/+2
| | | p4raw-id: //depot/perl@30487
* More assertion failures, found by auditing the code.Nicholas Clark2007-03-021-1/+1
| | | p4raw-id: //depot/perl@30443
* Don't crash if the symbol table entry for ISA isn't a typeglob.Nicholas Clark2007-03-021-1/+1
| | | p4raw-id: //depot/perl@30442
* Re: [perl #41546] perl 5.8.x bug: overloaded 'eq' does not work with 'nomethod'Rick Delaney2007-02-231-0/+13
| | | | | Message-ID: <20070221215316.GF5646@bort.ca> p4raw-id: //depot/perl@30383
* Add a new API function newSV_type, to replace the idiom:Nicholas Clark2007-02-181-3/+1
| | | | | | sv = newSV(0); sv_upgrade(sv, type); p4raw-id: //depot/perl@30347
* Fix Pod errors.Nicholas Clark2007-02-091-1/+1
| | | p4raw-id: //depot/perl@30188
* Purge all references to 5005 threads variables in the code.Nicholas Clark2007-02-031-1/+0
| | | | | (Retain the aides memoire in makedef.pl) p4raw-id: //depot/perl@30105