summaryrefslogtreecommitdiff
path: root/scope.c
Commit message (Collapse)AuthorAgeFilesLines
* improved 19064 (local $_[0] problems)Dave Mitchell2003-08-261-3/+10
| | | | | Message-ID: <20030824145159.GA12210@fdgroup.com> p4raw-id: //depot/perl@20909
* Retract #19064, broke mod_perl flushing (localisation of $|).Jarkko Hietaniemi2003-08-211-10/+3
| | | | | | http://public.activestate.com/cgi-bin/perlbrowse?patch=19064 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-08/msg01466.html p4raw-id: //depot/perl@20795
* add "$lexical not available" warning in C<for my $lex ()>Dave Mitchell2003-08-091-0/+21
| | | | | Message-ID: <20030809135144.GC4997@fdgroup.com> p4raw-id: //depot/perl@20591
* Fwd: Re: [PATCH] flags set incorrectly on abandoned lexicalsDave Mitchell2003-08-071-1/+1
| | | | | Message-ID: <20030807145335.GF26683@fdgroup.com> p4raw-id: //depot/perl@20559
* Fix bug #23141 : localization of readonly magic scalarsRafael Garcia-Suarez2003-08-041-1/+1
| | | | | | now produces an error "Modification of a read-only value attempted", instead of silently failing. p4raw-id: //depot/perl@20479
* [patch] Re: [perl #21728] regexp SEGVAdrian M. Enache2003-05-051-1/+8
| | | | | | Message-ID: <20030328215309.GA6413@ratsnest.hole> (with minor tweaks) p4raw-id: //depot/perl@19431
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* [PATCH] Re: [perl #21542] local $_ [0] = $_ [0] fails.Dave Mitchell2003-03-261-3/+10
| | | | | | | | | | | Date: Thu, 20 Mar 2003 01:26:19 +0000 Message-ID: <20030320012619.C19869@fdgroup.com> Subject: Re: [PATCH] Re: [perl #21542] local $_ [0] = $_ [0] fails. From: Dave Mitchell <davem@fdgroup.com> Date: Mon, 24 Mar 2003 16:06:51 +0000 Message-ID: <20030324160651.D1798@fdgroup.com> p4raw-id: //depot/perl@19064
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* new flag SvPADSTALEDave Mitchell2003-01-031-1/+5
| | | | | Message-ID: <20021219190021.D9530@fdgroup.com> p4raw-id: //depot/perl@18410
* remove flag SvPADBUSYDave Mitchell2003-01-031-1/+1
| | | | | Message-ID: <20021219185543.C9530@fdgroup.com> p4raw-id: //depot/perl@18409
* [Fwd: Patch for perl utf8-related bug]Richard Hitt2002-12-171-0/+13
| | | | | [perl #18932] p4raw-id: //depot/perl@18312
* PL_curpad == AvARRAY(PL_comppad) alwaysDave Mitchell2002-10-221-9/+9
| | | | | Message-ID: <20021018133640.A19172@fdgroup.com> p4raw-id: //depot/perl@18048
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-8/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* move all pad-related code to its own src fileDave Mitchell2002-10-021-1/+10
| | | | | Message-ID: <20020925234023.A20044@fdgroup.com> p4raw-id: //depot/perl@17953
* Sarathy pointed out that instead of zeroing heapJarkko Hietaniemi2002-05-191-7/+7
| | | | | it is more prudent to poison it. p4raw-id: //depot/perl@16688
* Companion to #16601: cxinc would create uninitializedJarkko Hietaniemi2002-05-181-2/+7
| | | | | | | | PERL_CONTEXTs. The bug was tickled by the test lib/Math/BigInt/t/upgrade.t, the new test of recurse.t added to check that I got the context stack extension right. Also rewrite recurse.t to use test.pl. p4raw-id: //depot/perl@16679
* Read of uninitialized heap found by Third DegreeJarkko Hietaniemi2002-05-151-1/+3
| | | | | (e.g. in t/op/subst.t) p4raw-id: //depot/perl@16601
* Re: [PATCH scope.c] Re: local($tied->{foo}) leaksDave Mitchell2002-05-071-0/+16
| | | | | Message-ID: <20020508001102.D4118@fdgroup.com> p4raw-id: //depot/perl@16456
* Re: [PATCH scope.c] Re: local($tied->{foo}) leaksDave Mitchell2002-05-041-6/+0
| | | | | Message-ID: <20020503235110.E22026@fdgroup.com> p4raw-id: //depot/perl@16386
* Re: local($tied->{foo}) leaksDave Mitchell2002-05-031-0/+6
| | | | | Message-ID: <20020503211210.B22026@fdgroup.com> p4raw-id: //depot/perl@16383
* Fix bug id 20020427.004 on %^H.Rafael Garcia-Suarez2002-04-301-0/+4
| | | | | | | Add a regression test for %^H. Change the sort pragma implementation to use a global variable instead of %^H. p4raw-id: //depot/perl@16286
* # cpp commands must start in the first column.Jarkko Hietaniemi2002-04-231-3/+3
| | | p4raw-id: //depot/perl@16098
* NetWare tweaks from C Aditya.Jarkko Hietaniemi2002-04-021-0/+4
| | | p4raw-id: //depot/perl@15678
* Copyright++. (Not all the toplevel *.h have one, it seems.)Jarkko Hietaniemi2002-01-231-1/+1
| | | p4raw-id: //depot/perl@14391
* Retract #14144 as Hugo isn't happy with it.Jarkko Hietaniemi2002-01-171-2/+6
| | | p4raw-id: //depot/perl@14307
* Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-0/+20
| | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* (retracted by #14307)Hugo van der Sanden2002-01-091-6/+2
| | | | | | Subject: Re: [ID 20010912.007] substr reference core dump Message-Id: <200201081917.g08JHoE15793@crypt.compulink.co.uk> p4raw-id: //depot/perl@14144
* Fix READONLY hashes:Nick Ing-Simmons2001-12-191-2/+1
| | | | | | | 1. Discovered need for disabled scope.c part of Jeff's patch. 2. Corrected hv_delete* - entry was being de-linked from chain (patch program not smart enough?) p4raw-id: //depot/perlio@13795
* Tidied version of Jeffrey Friedl's <jfriedl@yahoo.com> restricted hashesNick Ing-Simmons2001-12-181-29/+38
| | | | | | - added delete of READONLY value inhibit & test for same - re-tabbed p4raw-id: //depot/perlio@13760
* Integrate maintperl changes #12268 and #12669;Jarkko Hietaniemi2001-10-261-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | final touches to the audit for statics and thread-unsafe code * make DB_File, ODBM_File thread-safe * remove unnecessary/dangerous statics and protect others from not getting accidentally enabled under threaded perls windows support functions get_childdir() et al aren't exported correctly under vanilla build Testing under win32 appreciated since changes there had to be manually merged and I cannot test how badly did I do. p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22 p4raw-id: //depot/perl@12678 p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in' win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs (@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs (@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl (@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..) toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c (@12668..)
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-1/+1
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-4/+4
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* Re: [ID 20010426.005] Magic not being removed at scope exit [PATCH]John Peacock2001-05-261-2/+2
| | | | | Message-ID: <3B0DBFE9.A7C49084@rowman.com> p4raw-id: //depot/perl@10214
* [LARGE!] symbolic magicDave Mitchell2001-05-201-3/+4
| | | | | Message-Id: <200105191912.UAA23925@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@10168
* Integrate changes #9584,9587 from maintperl into mainline.Jarkko Hietaniemi2001-04-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | keep eval"" CVs alive until the end of the statement in which they're called add README.macos (from Chris Nandor) tyop in change#9555 p4raw-link: @9587 on //depot/maint-5.6/perl: d72c2fc956b5cb46ede17d06f89a463c78f1cf5f p4raw-link: @9584 on //depot/maint-5.6/perl: e6fbcc36a54a8afd8dbcdcb9a8d8e178df530b97 p4raw-link: @9555 on //depot/perl: 6a0af2f17bcde4767b90a72eff7083c5effff21d p4raw-id: //depot/perl@9588 p4raw-branched: from //depot/maint-5.6/perl@9583 'branch in' README.macos p4raw-integrated: from //depot/maint-5.6/perl@9583 'copy in' pod/perlfaq9.pod (@9585..) 'merge in' scope.h (@8568..) pod/perl.pod (@8986..) MANIFEST (@9227..) win32/Makefile (@9286..) pp_ctl.c scope.c (@9288..) global.sym (@9289..) embed.h embed.pl objXSUB.h perlapi.c proto.h (@9292..) pod/buildtoc.PL (@9312..) win32/makefile.mk (@9495..) sv.c (@9496..) pod/perlguts.pod (@9514..)
* Integrate changes #9262,9264,9265,9266 from maintperl to mainline.Jarkko Hietaniemi2001-03-211-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | revert the leak fix in change#9142 (problem needs a more experimental fix unsuitable for 5.6.1) do alphabetical sorting by default (for csh compatibility) cut-n-paste goof in change#9264 VMS piping fixes (from Charles Lane) p4raw-link: @9266 on //depot/maint-5.6/perl: 72d1c956969523b19a71b5ffb5af9479f09d0e6a p4raw-link: @9265 on //depot/maint-5.6/perl: 8549c3fc2da30e970df00a46a796a39e843777aa p4raw-link: @9264 on //depot/maint-5.6/perl: 1086ad2319c3ee3e3873c478e76309ea4f03453b p4raw-link: @9262 on //depot/maint-5.6/perl: a89eb504d1201e0dad09aaf86db07d000904f216 p4raw-link: @9142 on //depot/maint-5.6/perl: 26972843796e21c404c9d13ec5ee86e7b952a2bd p4raw-id: //depot/perl@9269 p4raw-integrated: from //depot/maint-5.6/perl@9268 'copy in' ext/File/Glob/Changes ext/File/Glob/bsd_glob.c ext/File/Glob/bsd_glob.h (@5902..) ext/File/Glob/Glob.pm (@7770..) vms/vmspipe.com (@8636..) vms/vms.c (@8986..) 'edit in' ext/File/Glob/Glob.xs (@9264..) 'merge in' scope.c (@9142..)
* Integrate changes #9137,9138,9142 from maintperl into mainline.Jarkko Hietaniemi2001-03-141-2/+8
| | | | | | | | | | | | | | | | | | | | | | fix leak in pregcomp() when RE fails to compile (e.g. m/\\/) remove squelch controls for "Scalars leaked" messages in most places (these are now cured) fix another memory leak reported by purify (tie callbacks that croak can leak when wiping out magic) p4raw-link: @9142 on //depot/maint-5.6/perl: 26972843796e21c404c9d13ec5ee86e7b952a2bd p4raw-link: @9138 on //depot/maint-5.6/perl: ad7f1144250940f9ca43bac32708ec5e718b30ff p4raw-link: @9137 on //depot/maint-5.6/perl: 1f35595ecca168b4f66e3399344799fdbd496d17 p4raw-id: //depot/perl@9144 p4raw-integrated: from //depot/maint-5.6/perl@9143 'copy in' t/pragma/strict-vars (@7318..) t/pragma/warn/regcomp (@7887..) t/op/regexp.t (@8551..) t/op/lex_assign.t (@8987..) 'merge in' t/op/local.t (@5902..) t/pragma/warn/op (@7846..) t/pragma/warnings.t (@7895..) t/comp/proto.t (@8173..) t/pragma/warn/toke (@8570..) regcomp.c (@8777..) scope.c (@8855..) t/op/pat.t (@9076..)
* Integrate pureperl changes #8844,8845,8850 to mainlineJarkko Hietaniemi2001-02-201-4/+0
| | | | | | | | | | | | | | | | | | (via maintperl #8855). Fixed %^H scoping bug Removed GV <-> CV refcount loop Removed %ENV refcount loop p4raw-link: @8850 on //depot/maint-5.6/pureperl: bae1eca58b94313e4b7677aa241da9fad57bb363 p4raw-link: @8845 on //depot/maint-5.6/pureperl: 4d40626c12bbdd62acfbbe3be104711e58cec2f7 p4raw-link: @8844 on //depot/maint-5.6/pureperl: ea100fc6cfd2f0e23aceb84ac0e804e3c9c3c9a2 p4raw-id: //depot/perl@8858 p4raw-integrated: from //depot/maint-5.6/perl@8857 'merge in' gv.c scope.c (@8606..) pp.c (@8635..) op.c (@8758..) perl.c (@8806..)
* save_delete(), err, SAVEDELETE() fixes from Charles Lane.Jarkko Hietaniemi2001-01-091-1/+1
| | | | | Should finish up the bug id 20001205.022. p4raw-id: //depot/perl@8382
* save_delete() Safefree() doesn't (anymore?) work with sharedJarkko Hietaniemi2001-01-081-1/+1
| | | | | | strings, one test failure in op/misc and almost all of lib/b. (Outcomments #8369.) p4raw-id: //depot/perl@8369
* (Outcommented by #8369.)Simon Cozens2001-01-081-0/+1
| | | | | | | | Subject: Re: Perl BugID 20001205.022 ---- save_delete Message-ID: <20010106114840.A13227@deep-dark-truthful-mirror.perlhacker.org> The save_delete() does need the Safefree. p4raw-id: //depot/perl@8368
* Bump up Larry's copyright.Jarkko Hietaniemi2001-01-011-1/+1
| | | p4raw-id: //depot/perl@8289
* Re: [Fwd: BUG 20001205.022] Local on Hash elementsSimon Cozens2000-12-111-1/+0
| | | | | Message-ID: <20001211012144.A23467@deep-dark-truthful-mirror.perlhacker.org> p4raw-id: //depot/perl@8077
* Re: [PATCH] The largest hoax of all times?Ilya Zakharevich2000-12-051-1/+1
| | | | | | | | | | | | | | | | | | Date: Tue, 5 Dec 2000 00:40:25 -0500 Message-ID: <20001205004025.A4050@monk.mps.ohio-state.edu> Subject: Re: [PATCH] The largest hoax of all times? From: Ilya Zakharevich <ilya@math.ohio-state.edu> Date: Mon, 4 Dec 2000 23:55:53 -0500 Message-ID: <20001204235553.A1140@monk.mps.ohio-state.edu> Subject: Re: [PATCH] The largest hoax of all times? From: Ilya Zakharevich <ilya@math.ohio-state.edu> Date: Tue, 5 Dec 2000 01:28:45 -0500 Message-ID: <20001205012844.A4227@monk.mps.ohio-state.edu> Fix the unpredictable order of DESTROYs. p4raw-id: //depot/perl@7991
* dTHR is a nop in 5.6.0 onwards. Ergo, it can go.Jarkko Hietaniemi2000-12-051-48/+0
| | | p4raw-id: //depot/perl@7984
* C<foreach my $x ...> in pseudo-fork()ed process may diddleGurusamy Sarathy2000-11-251-0/+19
| | | | | | | | | | parent's memory; fix it by keeping track of the actual pad offset rather than a raw pointer (this change is probably also relevant to non-ithreads case to avoid fallout from reallocs of the pad array, but is currently only enabled for the ithreads case in the interests of minimal disruption to existing "well tested" code) p4raw-id: //depot/perl@7858
* [ID 20001024.007] [PATCH] "Dump local *FH" causes SEGVMike Guy2000-10-251-0/+1
| | | | | Message-Id: <E13o4c8-00076u-00@libra.cus.cam.ac.uk> p4raw-id: //depot/perl@7435
* fix small eval"" memory leaks under USE_ITHREADSGurusamy Sarathy2000-06-021-6/+26
| | | p4raw-id: //depot/perl@6194
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-1/+0
| | | p4raw-id: //depot/perl@5540