summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Given that sv_nosharing performs the same function as sv_nolockingNicholas Clark2005-10-301-35/+3
| | | | | | | 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
* Store the raw bytes of the pid in PL_pidstatus, rather than theNicholas Clark2005-10-261-10/+10
| | | | | stringification, as removing the conversions saves time and code. p4raw-id: //depot/perl@25853
* Most platforms don't actually need PL_pidstatus, or the associatedNicholas Clark2005-10-261-2/+6
| | | | | .5K of code. p4raw-id: //depot/perl@25850
* Code in wait4pid was calling hv_delete with the hash iteratorNicholas Clark2005-10-251-0/+7
| | | | | | | | currently on that entry. On aggregate this does more work, beacuse the next call to hv_iterinit() would spot the flag, and have to call the delete routine, while in the meantime any new entries can't re-use that memory. p4raw-id: //depot/perl@25848
* Replace all the strlen()s related to PL_pidstatus with the returnNicholas Clark2005-10-251-5/+7
| | | | | value of my_sprintf p4raw-id: //depot/perl@25841
* Add my_sprintf, which is usually just a macro for sprintf, for thoseNicholas Clark2005-10-241-2/+23
| | | | | | | places where we want to use the return value of sprintf. This allows a wrapper to be used for platforms where the C library isn't ANSI- conformant. p4raw-id: //depot/perl@25832
* another Symbian update: Alan's fault :-)Jarkko Hietaniemi2005-10-171-1/+1
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A611@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@25778
* gcc complains when it sees variables declaredSteve Peters2005-10-141-7/+7
| | | | | | | | | const register ... switched them all to register const ... p4raw-id: //depot/perl@25757
* environ fixupAlan Burlison2005-10-111-12/+32
| | | | | Message-ID: <434BDA72.4090109@sun.com> p4raw-id: //depot/perl@25737
* const sausage const const bacon const tomato and constNicholas Clark2005-09-261-3/+4
| | | | | The search_ext parameter to find_script can be a little more const. p4raw-id: //depot/perl@25605
* Upgrade to version.pm 0.48Rafael Garcia-Suarez2005-09-151-25/+22
| | | p4raw-id: //depot/perl@25416
* The return of the constingAndy Lester2005-09-131-1/+1
| | | | | Message-ID: <20050913060835.GA1037@petdance.com> p4raw-id: //depot/perl@25397
* Fix miniperl build with threaded perlRafael Garcia-Suarez2005-08-251-10/+10
| | | p4raw-id: //depot/perl@25326
* [Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.47.tar.gz]John Peacock2005-08-241-25/+84
| | | | | | From: "John Peacock" <jpeacock@rowman.com> Message-ID: <2444.85.65.24.143.1124818871.squirrel@webmail.rowman.com> p4raw-id: //depot/perl@25325
* conflicting types for 'Perl_my_popen'Alexey Tourbin2005-08-101-1/+1
| | | | | Message-ID: <20050810111915.GK19097@solemn.turbinal.org> p4raw-id: //depot/perl@25281
* Re: blead@25210 on OpenVMS (not good)John E. Malmberg2005-08-011-1/+1
| | | | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-ID: <42E41F8D.3040306@qsl.net> constify Perl_unlnk p4raw-id: //depot/perl@25251
* More embed.fnc goodnessAndy Lester2005-07-291-14/+8
| | | | | Message-ID: <20050728190956.GB607@petdance.com> p4raw-id: //depot/perl@25243
* support POSIX SA_SIGINFOJarkko Hietaniemi2005-07-201-16/+16
| | | | | Message-ID: <42DE3846.6050606@gmail.com> p4raw-id: //depot/perl@25200
* $SIG{__WARN__} = sub { goto &foo } could recurse infinitelyDave Mitchell2005-07-171-0/+2
| | | p4raw-id: //depot/perl@25160
* Make PERL_MEM_LOG more portable.Jarkko Hietaniemi2005-07-121-9/+11
| | | | | Message-Id: <42D2663A.4050204@gmail.com> p4raw-id: //depot/perl@25128
* yet another way of debugging memory allocationsJarkko Hietaniemi2005-07-101-10/+11
| | | | | | | Message-ID: <42D16DF3.4040806@gmail.com> tweak PERL_MEM_LOG p4raw-id: //depot/perl@25109
* Making my way thru embed.fncAndy Lester2005-07-101-5/+5
| | | | | Message-ID: <20050710193635.GC8081@petdance.com> p4raw-id: //depot/perl@25107
* yet another way of debugging memory allocationsJarkko Hietaniemi2005-07-101-0/+46
| | | | | | | Message-ID: <42D0F25E.3040801@gmail.com> adds PERL_MEM_LOG and PERL_MEM_LOG_STDERR options p4raw-id: //depot/perl@25105
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-8/+8
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* Post-YAPC consting, now with an attachment!Andy Lester2005-07-041-9/+5
| | | | | Message-ID: <20050703233156.GA20967@petdance.com> p4raw-id: //depot/perl@25067
* replace ckWARN macros with functionsDave Mitchell2005-07-021-0/+52
| | | p4raw-id: //depot/perl@25050
* Don't check the pointer is non-NULL before calling Safefree() inNicholas Clark2005-07-021-2/+1
| | | | | | | | | little used code, code used only once per run (such as interpreter construction and destruction), and cases where the pointer nearly never is NULL. Safefree does its own non-NULL check, and even that isn't strictly necessary as all conformant free()s accept a NULL pointer. p4raw-id: //depot/perl@25045
* By grabbing the length, we can use sv_setpvn here.Nicholas Clark2005-06-301-2/+3
| | | p4raw-id: //depot/perl@25031
* Convert strcpy to memcpy where we already know the length.Nicholas Clark2005-06-281-5/+10
| | | p4raw-id: //depot/perl@25007
* Pre-YAPC consting funAndy Lester2005-06-231-5/+5
| | | | | Message-ID: <20050623190423.GA13835@petdance.com> p4raw-id: //depot/perl@24965
* Const Boy II: The LocalizingAndy Lester2005-06-231-1/+3
| | | | | Message-ID: <20050622144059.GA19598@petdance.com> p4raw-id: //depot/perl@24945
* The continuing adventures of Constman and Localize BoyAndy Lester2005-06-201-26/+25
| | | | | Message-ID: <20050620152237.GA5032@petdance.com> p4raw-id: //depot/perl@24913
* I'm not convinced that manually creating HVs via sv_upgrade is a greatNicholas Clark2005-06-161-0/+6
| | | | | idea, but as we are, turning on shared keys makes sense. p4raw-id: //depot/perl@24874
* Removing /*SUPPRESS xxx*/Andy Lester2005-06-161-5/+0
| | | | | Message-ID: <20050616141342.GA22188@petdance.com> p4raw-id: //depot/perl@24871
* CopSTASH_eq againAndy Lester2005-06-151-0/+17
| | | | | Message-ID: <20050615044926.GA29087@petdance.com> p4raw-id: //depot/perl@24847
* Bring bleadperl up to version.pmJohn Peacock2005-06-131-86/+203
| | | | | Message-ID: <42A414DD.8090504@rowman.com> p4raw-id: //depot/perl@24823
* More SvPV consting. And other related drive-by refactoring.Nicholas Clark2005-06-101-16/+16
| | | p4raw-id: //depot/perl@24800
* Revert part of previous patchRafael Garcia-Suarez2005-06-091-5/+5
| | | p4raw-id: //depot/perl@24781
* regcomp.c and moreAndy Lester2005-06-091-5/+5
| | | | | Message-ID: <20050609150556.GA30554@petdance.com> p4raw-id: //depot/perl@24780
* More SvPV consting.Nicholas Clark2005-06-071-1/+1
| | | p4raw-id: //depot/perl@24740
* Random cleanups #47Andy Lester2005-06-071-28/+19
| | | | | Message-ID: <20050606151107.GC7022@petdance.com> p4raw-id: //depot/perl@24735
* Remove unneeded #ifdef VMS since VMS is not defined here anywayRafael Garcia-Suarez2005-06-071-7/+1
| | | | | (spotted by Steve_p) p4raw-id: //depot/perl@24731
* util.c: S_vdie_common() should be staticAlexey Tourbin2005-06-071-34/+32
| | | | | Message-ID: <20050604230830.GS5867@solemn.turbinal.org> p4raw-id: //depot/perl@24729
* The FBM compile code is mutable, because it's permissible to FBMNicholas Clark2005-06-071-7/+8
| | | | | compile a read-only value. p4raw-id: //depot/perl@24725
* Unvoid SvUPGRADEAndy Lester2005-06-071-5/+5
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* Random constingAndy Lester2005-06-031-0/+2
| | | | | Message-ID: <20050602171943.GA16553@petdance.com> p4raw-id: //depot/perl@24689
* use lengths in sv_setpv() callsAndy Lester2005-06-021-2/+2
| | | | | Message-ID: <20050602041656.GA3000@petdance.com> p4raw-id: //depot/perl@24669
* Quotes fixed, see also perl #36079Andy Lester2005-06-021-1/+1
| | | | | Message-ID: <20050602050238.GA4001@petdance.com> p4raw-id: //depot/perl@24666
* Following the head refactoring, the Newz doesn't clear the SvPVXNicholas Clark2005-06-011-0/+1
| | | | | So PL_mess_sv contained an uninitialised value. p4raw-id: //depot/perl@24657
* [perl #36037] Perl 5.8.7-RC1 build problems on LynxOS Olli Savia2005-05-301-0/+5
| | | | | | From: Olli Savia (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-36037-113779.5.23037641993746@perl.org> p4raw-id: //depot/perl@24629