summaryrefslogtreecommitdiff
path: root/proto.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed embed.fnc entry for S_forbid_setid() and picked up a change in Steve Peters2006-02-051-1/+1
| | | | | pod/perlapi.pod for good measure when regenerating files. p4raw-id: //depot/perl@27087
* [patch] arena rework - arena setsJim Cromie2006-02-041-0/+5
| | | | | | Message-ID: <43DF4F66.4080808@gmail.com> Date: Tue, 31 Jan 2006 04:52:06 -0700 p4raw-id: //depot/perl@27079
* S_find_beginning is only called from one place, so by hoisting theNicholas Clark2006-02-031-1/+1
| | | | | | forbid_setid check for -x into the caller, we can eliminate the suidscript parameter from S_find_beginning. p4raw-id: //depot/perl@27076
* And as we've now got to the point where all calls to Perl_moreswitchesNicholas Clark2006-02-031-1/+1
| | | | | | | have -1 as the second argument, we can remove the second argument, which gets us back to where we started, only with the elimination of a per-thread variable. p4raw-id: //depot/perl@27075
* Eliminating PL_suidscript is more tricky, and requires changing theNicholas Clark2006-02-031-6/+7
| | | | | prototype of Perl_moreswitches. p4raw-id: //depot/perl@27070
* Passing the flag to S_forbit_setid as a single char rather than aNicholas Clark2006-02-031-3/+1
| | | | | string is a slight space optimisation. p4raw-id: //depot/perl@27069
* Oops. I *thought* that I had checked that all changed files were open.Nicholas Clark2006-02-031-2/+2
| | | | | Clearly not. (Fixes change 27066) p4raw-id: //depot/perl@27068
* Eliminate save_threadsv, as it is never linked to, and all it doesNicholas Clark2006-01-311-3/+0
| | | | | post 5005 threads is croak(). p4raw-id: //depot/perl@27021
* Avoid using space to create 2 functions just to force mathoms to beNicholas Clark2006-01-291-0/+4
| | | | | | linked. Instead, force the link via the perl interpreter structure via a function pointer that gets replaced at run time anyway. p4raw-id: //depot/perl@26990
* Un-const magic virtual tables; this consting breaks the nastyRafael Garcia-Suarez2006-01-231-1/+1
| | | | | things done by Swig, as noticed by Audrey. p4raw-id: //depot/perl@26924
* Gisle points out that it's ok to ignore the return value of newSVrv.Rafael Garcia-Suarez2006-01-171-2/+0
| | | | | | | | Due to how embed.pl is implemented, this also has the unfortunate side-effect of removing __attribute__malloc__ from the attributes of this function, but given that the new pointer is stored elsewhere anyway, this shouldn't impact what gcc could have optimized. p4raw-id: //depot/perl@26885
* Re: cloning and foo_dup functionsYitzchak Scott-Thoennes2006-01-121-13/+0
| | | | | Message-ID: <20060112094118.GA1432@efn.org> p4raw-id: //depot/perl@26799
* Refactor S_vdie_common so that Perl_vwarn can use it too.Nicholas Clark2006-01-111-1/+1
| | | p4raw-id: //depot/perl@26787
* It's the Barbie bus patchAndy Lester2006-01-101-1/+0
| | | | | Message-ID: <20060110054243.GA26165@petdance.com> p4raw-id: //depot/perl@26764
* Run regen.pl (Just updating copyright years)Steve Hay2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26654
* RMAGIC on symbol tables is bad, m'kay.Nicholas Clark2005-12-301-0/+15
| | | | | | | | Allow hashes (and therefore all symbol tables) to store the backreference array in the hv_aux structure, and thereby undo the performance damage of 24966, which resulted in 60% of all hash lookups trying to mg_find tiehash magic. p4raw-id: //depot/perl@26530
* Actual real consting of parmsAndy Lester2005-12-291-2/+2
| | | | | Message-ID: <20051229071509.GA32653@petdance.com> p4raw-id: //depot/perl@26527
* av.c cleanup, plus!Andy Lester2005-12-291-9/+25
| | | | | Message-ID: <20051228214414.GD26033@petdance.com> p4raw-id: //depot/perl@26526
* re-implement MY_CXT API more efficiently, and add explicitDave Mitchell2005-12-291-0/+7
| | | | | interpeter arg variant p4raw-id: //depot/perl@26523
* Ho! Ho! Ho! Santa brings consting!Andy Lester2005-12-221-4/+11
| | | | | Message-ID: <20051222165717.GA2874@petdance.com> p4raw-id: //depot/perl@26450
* Take care in toke.c not to convert constant subroutine referenceNicholas Clark2005-12-201-1/+5
| | | | | | | | proxies into full blown PVGVs with PVCVs, and recognise them and inline their values. Adds a new function gv_const_sv(gv) to return the value of the constant subroutine from a GV, and adds a cv parameter to S_intuit_method. p4raw-id: //depot/perl@26427
* Re: [PATCH] Make the 'sort' pragma lexically scopedRobin Houston2005-12-191-0/+3
| | | | | Message-ID: <20051219174620.GA17940@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26402
* latest switch/say/~~Robin Houston2005-12-191-0/+44
| | | | | Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk> p4raw-id: //depot/perl@26400
* Prevent require() from attempting to open directories and block Steve Peters2005-12-151-0/+5
| | | | | devices. This fixes RT #24404. p4raw-id: //depot/perl@26373
* Update embed.fnc and headers after change 26345 (spotted by Rafael)Nicholas Clark2005-12-131-8/+0
| | | p4raw-id: //depot/perl@26346
* All args in embed.fnc should be namedAndy Lester2005-12-071-16/+16
| | | | | Message-ID: <20051207160818.GA13465@petdance.com> p4raw-id: //depot/perl@26296
* More consting, and putting stuff in embed.fncAndy Lester2005-12-061-1/+20
| | | | | Message-ID: <20051205194613.GB7791@petdance.com> p4raw-id: //depot/perl@26281
* Better variable names make code clearerSADAHIRO Tomoyuki2005-12-051-1/+1
| | | | | | Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup) Message-Id: <20051204162412.D720.BQW10602@nifty.com> p4raw-id: //depot/perl@26257
* NULL is a legal value for newXS()'s name parameter.Marcus Holland-Moritz2005-12-041-1/+0
| | | | | (This caused strange build failures with gcc4 -O3) p4raw-id: //depot/perl@26253
* Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)SADAHIRO Tomoyuki2005-11-301-0/+4
| | | | | Message-Id: <20051127170016.A786.BQW10602@nifty.com> p4raw-id: //depot/perl@26229
* Sort subs now in embed.fncAndy Lester2005-11-171-0/+39
| | | | | Message-ID: <20051117135338.GA31715@petdance.com> p4raw-id: //depot/perl@26147
* Suppress gcc warnings when ignoring the return value of io_close(),Rafael Garcia-Suarez2005-11-141-1/+0
| | | | | as suggested by Gisle Aas. p4raw-id: //depot/perl@26123
* Consting and localizing: Part LXVIIIAndy Lester2005-11-071-0/+6
| | | | | Message-ID: <20051104211256.GA12651@petdance.com> p4raw-id: //depot/perl@26028
* use clearenv if availableAlan Burlison2005-11-041-0/+2
| | | | | Message-ID: <436B8D5A.4010502@sun.com> p4raw-id: //depot/perl@25996
* Patch 3945 was a bit overkeen - the effective parameter to cando() andNicholas Clark2005-11-031-2/+2
| | | | | ingroup() is a boolean flag, not a GID or UID. p4raw-id: //depot/perl@25969
* This should clear up 'Perl_do_exec' undefined; warnings on win32Nicholas Clark2005-11-011-0/+8
| | | p4raw-id: //depot/perl@25946
* A more elegant way to deal with utf8n_to_uvchr() and utf8n_to_uvuni().Nicholas Clark2005-10-311-0/+16
| | | p4raw-id: //depot/perl@25926
* S_tokereport's unused parmAndy Lester2005-10-311-3/+1
| | | | | Message-ID: <20051031060459.GC10767@petdance.com> p4raw-id: //depot/perl@25914
* Given that sv_nosharing performs the same function as sv_nolockingNicholas Clark2005-10-301-2/+2
| | | | | | | and sv_unnolocking (ie sweet FA), we might as well use the 1 function to initialise all 3 variables, and elimiate the other two. For some reason all 3 are listed as being in the public API. Daft. p4raw-id: //depot/perl@25906
* Replace uvuni_to_utf8() with a macro that passes the extra 0 argumentNicholas Clark2005-10-301-2/+2
| | | | | to uvuni_to_utf8_flags(). Move the old body to mathoms.c p4raw-id: //depot/perl@25905
* Replace is_utf8_string_loc() with a macro that passes the extra 0Nicholas Clark2005-10-301-2/+2
| | | | | | argument to is_utf8_string_loc(). Correct the description of its parameters in its POD. p4raw-id: //depot/perl@25903
* Replace hv_magic() with a macro to call sv_magic() directly. Move theNicholas Clark2005-10-301-2/+2
| | | | | old body to mathoms.c p4raw-id: //depot/perl@25897
* Replace hv_iternext() with a macro that calls hv_iternext_flags withNicholas Clark2005-10-301-2/+2
| | | | | an extra 0 argument. Move the old body to mathoms.c p4raw-id: //depot/perl@25895
* Replace gv_fetchmethod() with a macro to call gv_fetchmethod_autoload()Nicholas Clark2005-10-301-2/+2
| | | | | with the extra TRUE argument. p4raw-id: //depot/perl@25893
* Replace do_aexec() with a macro to call do_aexec5() with the two extraNicholas Clark2005-10-301-2/+2
| | | | | 0 arguments. Move the old body to mathoms.c p4raw-id: //depot/perl@25891
* Replace do_exec() with a macro to call do_exec3() with the extra twoNicholas Clark2005-10-301-2/+2
| | | | | 0 arguments. Move the old body to mathoms.c p4raw-id: //depot/perl@25890
* Replace do_open() with a macro to call do_openn() with the extra twoNicholas Clark2005-10-301-2/+2
| | | | | 0 paramters. Move the old body to mathoms.c. p4raw-id: //depot/perl@25889
* Replace sv_catsv_mg and sv_catpvn_mg, and move the obsolete bodies toNicholas Clark2005-10-291-4/+4
| | | | | mathoms.c p4raw-id: //depot/perl@25885
* sv_2pv_nolen, sv_2pvbyte_nolen and sv_2pvutf8_nolen can all be replacedNicholas Clark2005-10-291-6/+6
| | | | | with terse macros, and the function bodies retired. p4raw-id: //depot/perl@25883
* Replace sv_force_normal with a macro that calls sv_force_normal_flags.Nicholas Clark2005-10-291-2/+2
| | | p4raw-id: //depot/perl@25879