summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* deal with some gcc warningsJarkko Hietaniemi2006-09-211-1/+1
| | | | | Message-ID: <45122C6F.9080904@iki.fi> p4raw-id: //depot/perl@28877
* Re: [perl #37714] XSUB.h version check may fail due to localeJohn Peacock2006-09-181-2/+1
| | | | | Message-ID: <450DB712.4040703@rowman.com> p4raw-id: //depot/perl@28864
* A better version of change #28847Rafael Garcia-Suarez2006-09-171-2/+6
| | | | | p4raw-link: @28847 on //depot/perl: e24f8a798207476769992a3387804af506c43eab p4raw-id: //depot/perl@28861
* util.c: restore Perl_my_setenv() to pre-28814Jarkko Hietaniemi2006-09-171-75/+60
| | | | | Message-ID: <450CF944.7000402@iki.fi> p4raw-id: //depot/perl@28860
* No declarations after statements ! (noticed by Sadahiro Tomoyuki)Rafael Garcia-Suarez2006-09-161-1/+2
| | | p4raw-id: //depot/perl@28850
* More hacking in util.c's ifdef jungle following 28844 to avoidCraig A. Berry2006-09-151-2/+1
| | | | | duplicate definition of Perl_my_setenv on VMS. p4raw-id: //depot/perl@28848
* Fix for bug #37714: XSUB.h version check may fail due to localeRafael Garcia-Suarez2006-09-141-0/+2
| | | | | Always convert version to number under C locale settings p4raw-id: //depot/perl@28847
* Re: Re: [PATCH] C++: Solaris CC now compiles "perl"Yves Orton2006-09-141-4/+4
| | | | | Message-ID: <9b18b3110609140528x49e063aay724169d7f1e49531@mail.gmail.com> p4raw-id: //depot/perl@28844
* C++: Solaris CC now compiles "perl"Jarkko Hietaniemi2006-09-111-58/+74
| | | | | Message-ID: <4502B398.6060505@iki.fi> p4raw-id: //depot/perl@28814
* g++ large patchJarkko Hietaniemi2006-08-071-14/+21
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* Re: [PATCH] various safety/portability tweaksJarkko Hietaniemi2006-07-161-3/+2
| | | | | | | | Message-ID: <44B93ED1.7080000@iki.fi> Fix for change #28578. p4raw-link: @28578 on //depot/perl: d130778686fc2c04eb7d731512df9e71304d5573 p4raw-id: //depot/perl@28585
* various safety/portability tweaksJarkko Hietaniemi2006-07-151-6/+7
| | | | | Message-ID: <44B8C008.4030300@iki.fi> p4raw-id: //depot/perl@28578
* Fix change #28533: my_strlcpy does not return the dest str!Steve Hay2006-07-111-1/+2
| | | | | p4raw-link: @28533 on //depot/perl: 6fca0082ec4f3b34a0dabc78331bad8c22489dd2 p4raw-id: //depot/perl@28545
* Convert some low hanging fruit to my_strlcpy/my_strlcat.Steve Peters2006-07-101-5/+4
| | | p4raw-id: //depot/perl@28533
* Change existing uses of strlcpy()/strlcat() to use new my_strlcpy()/Steve Peters2006-07-101-7/+1
| | | | | | my_strlcat() API. Convert ext/File/Glob/bsd_glob.c to use my_strlcat(). Add to the strlcy()/strlcat() todo entry. p4raw-id: //depot/perl@28528
* Add Russ Allbery's public domain implementations of strlcat andSteve Peters2006-07-101-0/+33
| | | | | | strlcpy as Perl_my_strlcat and Perl_my_strlcpy to the Perl core. Thanks Russ! p4raw-id: //depot/perl@28525
* Fix casting warnings related to snprintf/vsnprintfRafael Garcia-Suarez2006-06-301-2/+2
| | | p4raw-id: //depot/perl@28459
* [patch] Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.64.tar.gzJohn Peacock2006-06-091-3/+9
| | | | | Message-ID: <4488CB5C.4070702@rowman.com> p4raw-id: //depot/perl@28375
* more accumulated cleanupsAndy Lester2006-06-061-10/+15
| | | | | Message-ID: <20060606052501.GA30469@petdance.com> p4raw-id: //depot/perl@28358
* Upgrade to version.pm 0.60Rafael Garcia-Suarez2006-05-221-2/+3
| | | p4raw-id: //depot/perl@28276
* Re: [PATCH] Re: Change 28183 has broken 64-bit builds?Jarkko Hietaniemi2006-05-191-2/+4
| | | | | Message-ID: <446CCE8E.8010407@gmail.com> p4raw-id: //depot/perl@28234
* Adjust calling of Perl_va_copy(), noticed by JarkkoRafael Garcia-Suarez2006-05-181-1/+1
| | | p4raw-id: //depot/perl@28222
* Another SvVOK(). I believe that this is the last.Nicholas Clark2006-05-171-1/+1
| | | p4raw-id: //depot/perl@28221
* Oops, missed a SvVOK.Rafael Garcia-Suarez2006-05-171-1/+1
| | | p4raw-id: //depot/perl@28219
* Re: Change 28183 has broken 64-bit builds?Jarkko Hietaniemi2006-05-171-49/+47
| | | | | Message-ID: <446B7757.8030301@gmail.com> p4raw-id: //depot/perl@28216
* Re: [PATCH] my_snprintfJarkko Hietaniemi2006-05-121-83/+101
| | | | | Message-ID: <4464E1F1.9010706@gmail.com> p4raw-id: //depot/perl@28183
* disable WARN and DIE hooks during constant foldingDave Mitchell2006-05-101-1/+1
| | | p4raw-id: //depot/perl@28148
* PERL_MEM_LOG enhancementsJarkko Hietaniemi2006-05-091-22/+186
| | | | | Message-ID: <445C5C6E.6070201@gmail.com> p4raw-id: //depot/perl@28132
* Re: [PATCH] use snprintf/strlcpy/strlcat when usefulJarkko Hietaniemi2006-04-281-1/+9
| | | | | Message-ID: <444E3EFB.8020503@gmail.com> p4raw-id: //depot/perl@27987
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-10/+12
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* Localizing varsAndy Lester2006-04-201-9/+9
| | | | | Message-ID: <20060420044401.GA2792@petdance.com> p4raw-id: //depot/perl@27908
* Calling cv_undef() on the CV created by newCONSTSUB() would leak likeNicholas Clark2006-04-191-2/+2
| | | | | | | | | | a Jumblie's preferred maritime craft. To free CvFILE for this case, take advantage of the 0 length prototype that will also be there, and hang it from the prototype. To do this properly means changing code to actually pay attention to SvCUR() on prototypes. It turns out that we always know the length of the prototype string, so this may be faster. Certainly, it's a memory saving (even ignoring the leak). p4raw-id: //depot/perl@27896
* Support compiling for RISC OSAlex Waugh2006-04-181-6/+6
| | | | | Message-ID: <2498b2184e.ajw498@caramel.cp15.org> p4raw-id: //depot/perl@27884
* Turn on UTF8 cache assertions with -CaNicholas Clark2006-04-171-0/+2
| | | p4raw-id: //depot/perl@27875
* Re: [PATCH] add pTHX_ parameter to new_warnings_bitfield()Steve Hay2006-04-131-1/+1
| | | | | | Message-ID: <443E1998.9090909@uk.radan.com> Date: Thu, 13 Apr 2006 10:27:52 +0100 p4raw-id: //depot/perl@27784
* Change cop_warnings from an SV holding the warnings bitmask to aNicholas Clark2006-04-121-1/+12
| | | | | | | directly (shared) malloc()ed buffer holding the warnings bitmask. This avoids bugs/crashes when the interpreter that created an optree is freed but the optree remains in use by other interpreters. p4raw-id: //depot/perl@27779
* Try not to use negative values when accessing arrays in C. Yet anotherSteve Peters2006-04-051-0/+1
| | | | | Coverity catch. p4raw-id: //depot/perl@27724
* re-[PATCH] Re: [PATCH] Poison now in two different flavours!Jarkko Hietaniemi2006-03-291-4/+4
| | | | | Message-ID: <442680D4.3000809@gmail.com> p4raw-id: //depot/perl@27626
* unused context warningsAndy Lester2006-02-241-7/+29
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* Remove set magic from typeglobs. Remove typeglob magic entirely.Nicholas Clark2006-02-231-3/+0
| | | | | | Typeglobs now never access the SvPVX, SvIVX or SvNVX when holding a valid GvGP(). p4raw-id: //depot/perl@27289
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-10/+10
| | | p4raw-id: //depot/perl@27238
* With PERL_POISON defined, ensure freshly malloc()ed memory isn't zeros,Nicholas Clark2006-02-101-0/+14
| | | | | | and when PERL_TRACK_MEMPOOL is also defined scribble on any extension added by realloc(). p4raw-id: //depot/perl@27151
* Trying my "remove the pTHXes" patch againAndy Lester2006-02-091-13/+13
| | | | | Message-ID: <20060209154018.GA14610@petdance.com> p4raw-id: //depot/perl@27136
* Enhance PERL_TRACK_MEMPOOL so that it also emulates the PerlHostNicholas Clark2006-02-041-30/+63
| | | | | | | | behaviour of freeing up all memory at thread exit. With this and tools such as valgrind you will now get warnings as soon as you read from the deallocated memory, rather than just a warning much later about freeing to the wrong pool. p4raw-id: //depot/perl@27084
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-3/+3
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* Re: [PATCH] s/Null(av|ch)/NULL/gSteven Schubiger2006-02-021-38/+38
| | | | | Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org> p4raw-id: //depot/perl@27054
* gv_fetchpvn_flags ranks highly in the profile, and the ::/' scanningNicholas Clark2006-02-021-1/+1
| | | | | | | loop is iterated over millions of times. Add a flag GV_NOTQUAL purely as an optimisation, when the caller is passing in a string that is known not to contain any package separators. p4raw-id: //depot/perl@27053
* Yet more instances of gv_fetchpv... that should be GV_ADD rather thanNicholas Clark2006-02-021-1/+1
| | | | | | TRUE. Convert two gv_fetchpvn_flags to gv_fetchpvs. p4raw-id: //depot/perl@27050
* Silence a warning from the MS compiler about signed/unsigned mismatch.Nicholas Clark2006-01-311-2/+2
| | | p4raw-id: //depot/perl@27014
* Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.Nicholas Clark2006-01-281-1/+1
| | | | | Many strlen()s saved. p4raw-id: //depot/perl@26983