summaryrefslogtreecommitdiff
path: root/handy.h
Commit message (Collapse)AuthorAgeFilesLines
* Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.Nicholas Clark2006-01-281-0/+2
| | | | | Many strlen()s saved. p4raw-id: //depot/perl@26983
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-9/+3
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* More readable MEM_WRAP_CHECK_1() macro.Gisle Aas2006-01-171-1/+1
| | | | | | This form also avoids the "dead part of constant expression is nonconstant" warning from the Sun Studio 10 compiler. p4raw-id: //depot/perl@26871
* s/superceded/superseded/gNicholas Clark2006-01-101-1/+1
| | | p4raw-id: //depot/perl@26774
* hv_fetchs() supportAndy Lester2006-01-061-0/+1
| | | | | Message-ID: <20060106155719.GB9035@petdance.com> p4raw-id: //depot/perl@26676
* More copyright updatesRafael Garcia-Suarez2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26652
* Move all the xxxpvs() macros to handy.h.Gisle Aas2006-01-041-0/+12
| | | | | | This brings them closer to STR_WITH_LEN. Besides only half of them were sv-related after change 26649. p4raw-id: //depot/perl@26650
* Fix typo in comment.Gisle Aas2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26636
* Introduce STR_WITH_LEN macro in the form suggested by Chip.Gisle Aas2006-01-041-0/+3
| | | p4raw-id: //depot/perl@26635
* Add probe for snprintf () and vsnprintf ()Steve Peters2006-01-031-1/+1
| | | | | | Subject: [PATCH] snprintf() and vsnprintf() (was Re: [PATCH] Configure: stdio char (un)signedness) Message-ID: <20060102153727.GA14247@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@26606
* pre-likely cleanupAndy Lester2005-12-271-4/+1
| | | | | | | Message-ID: <20051227203939.GC1781@petdance.com> Includes a small fix to the changes in tryAMAGICbinW_var() in pp.h. p4raw-id: //depot/perl@26505
* Fix breakages that prevended -DPERL_POISON from compiling.Nicholas Clark2005-11-131-1/+1
| | | p4raw-id: //depot/perl@26112
* futimes [PATCH]Gisle Aas2005-10-311-1/+1
| | | | | Message-ID: <lrk6ft8ia6.fsf_-_@caliper.activestate.com> p4raw-id: //depot/perl@25941
* revive probe for futimes ()H.Merijn Brand2005-10-311-1/+1
| | | p4raw-id: //depot/perl@25935
* Add probe for clearenv (), like #25733 for unsetenv ()H.Merijn Brand2005-10-181-1/+1
| | | p4raw-id: //depot/perl@25793
* environ fixupAlan Burlison2005-10-111-1/+1
| | | | | Message-ID: <434BDA72.4090109@sun.com> p4raw-id: //depot/perl@25737
* Add probe for unsetenv ()Steve Peters2005-10-101-1/+1
| | | | | | Subject: Re: Perl's handling of environ breaks on Solaris 10 Message-ID: <20051010125117.GA27566@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@25733
* The New*() compatibility macros aren't needed inside the perl core.Nicholas Clark2005-09-221-0/+3
| | | p4raw-id: //depot/perl@25570
* Detection of malloc_size and malloc_good_sizeH.Merijn Brand2005-09-121-1/+1
| | | p4raw-id: //depot/perl@25387
* Re: [PATCH] Tru64: use -c99 for ccflags if availableJarkko Hietaniemi2005-07-281-1/+1
| | | | | | Message-ID: <42E882DF.6020100@gmail.com> Message-ID: <42E86DE9.6090709@gmail.com> p4raw-id: //depot/perl@25231
* Fix Newz() backwards-compatibility macroSteve Hay2005-07-201-1/+1
| | | p4raw-id: //depot/perl@25196
* move NSIG logicJarkko Hietaniemi2005-07-201-58/+0
| | | | | Message-ID: <42DDF5E8.1060100@gmail.com> p4raw-id: //depot/perl@25191
* allow POSIX SIGRTMIN...SIGRTMAX signals (and plug a core dump)Jarkko Hietaniemi2005-07-191-11/+70
| | | | | Message-ID: <42DCC278.2010009@gmail.com> p4raw-id: //depot/perl@25185
* Make PERL_MEM_LOG more portable.Jarkko Hietaniemi2005-07-121-4/+6
| | | | | Message-Id: <42D2663A.4050204@gmail.com> p4raw-id: //depot/perl@25128
* Fix worrying typo in handy.h :-sSteve Hay2005-07-121-1/+1
| | | p4raw-id: //depot/perl@25117
* Change New*() to Newx*() in various comments and documentationSteve Hay2005-07-121-1/+1
| | | p4raw-id: //depot/perl@25116
* [patch: handy.c] update Newx API pod to mention PERL_MEM_LOG build optJim Cromie2005-07-121-7/+8
| | | | | | | Message-ID: <42D31A4A.1020305@divsol.com> (with some minor tweaks) p4raw-id: //depot/perl@25115
* yet another way of debugging memory allocationsJarkko Hietaniemi2005-07-101-6/+52
| | | | | | | Message-ID: <42D16DF3.4040806@gmail.com> tweak PERL_MEM_LOG p4raw-id: //depot/perl@25109
* yet another way of debugging memory allocationsJarkko Hietaniemi2005-07-101-7/+29
| | | | | | | Message-ID: <42D0F25E.3040801@gmail.com> adds PERL_MEM_LOG and PERL_MEM_LOG_STDERR options p4raw-id: //depot/perl@25105
* extend MEM_WRAP_CHECK supress warning hack to MEM_WRAP_CHECK_*Dave Mitchell2005-07-101-3/+3
| | | p4raw-id: //depot/perl@25103
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-6/+16
| | | | | | | | 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
* Andy suggests this tweak to Dave's fix for MEM_WRAP_CHECK to shut upNicholas Clark2005-07-021-1/+1
| | | | | | a different compiler warnings. I guess we need a waterbed theory of compiler warnings. p4raw-id: //depot/perl@25055
* silence gcc 'comparison is always false' warning in MEM_WRAP_CHECKDave Mitchell2005-07-011-1/+1
| | | | | | Only a partial fix: works where sizeof(type)==1; since we can never wraparound in that case, disarm the check p4raw-id: //depot/perl@25034
* We're going round in circles with pp_sys.cAndy Lester2005-06-271-1/+1
| | | | | | | Message-ID: <20050627180659.GB29744@petdance.com> (edited) p4raw-id: //depot/perl@24997
* Add a define PERL_POISON which tries to trip up anything accessingNicholas Clark2005-06-231-0/+6
| | | | | | freed or uninitialised memory. Currently only Poison()s freed pointers. p4raw-id: //depot/perl@24959
* Dave can see a better way of doing the rounding.Nicholas Clark2005-06-021-2/+2
| | | p4raw-id: //depot/perl@24678
* Oops. My maths was too generous (by 1).Nicholas Clark2005-06-021-2/+2
| | | p4raw-id: //depot/perl@24673
* Round up all string length requests to malloc()/realloc() to the nextNicholas Clark2005-06-011-1/+4
| | | | | | | multiple of 4/8 bytes [sizeof(size_t)] on the assumption that malloc() internally will quantise, and so we're going to use space that otherwise would be wasted. Hopefully this will save realloc()ing. p4raw-id: //depot/perl@24665
* Updated lint infrastructureAndy Lester2005-05-261-23/+0
| | | | | Message-ID: <20050525173139.GB1701@petdance.com> p4raw-id: //depot/perl@24580
* attributes-two.patch, the next batchAndy Lester2005-05-091-4/+4
| | | | | Message-ID: <20050509154518.GA18273@petdance.com> p4raw-id: //depot/perl@24431
* A more efficient way of expressing the MALLOC_WRAP conditional compile.Nicholas Clark2005-04-181-40/+19
| | | p4raw-id: //depot/perl@24243
* Configure now probes for _LIB_VERSION support in math.h/libmH.Merijn Brand2005-04-101-1/+1
| | | | | LIBM_LIB_VERSION is defined if it does p4raw-id: //depot/perl@24217
* Update copyrights.Rafael Garcia-Suarez2005-03-301-1/+1
| | | p4raw-id: //depot/perl@24106
* USE_STRLCAT and USE_STRLCPY now actually usedH.Merijn Brand2005-03-301-6/+3
| | | | | | LIBM_VERSION_TYPE and USE_SITECUSTOMIZE are preparations for future use p4raw-id: //depot/perl@24102
* More consting goodnessAndy Lester2005-03-211-8/+8
| | | | | Message-ID: <20050319072830.GA7721@petdance.com> p4raw-id: //depot/perl@24049
* Since strlcat/strlcpy are not argument/return value compatibleH.Merijn Brand2004-11-011-11/+6
| | | | | with strncat/strncpy, replace the misleading defines with comment p4raw-id: //depot/perl@23455
* The next step in strlcat ()/ strcpy () detection and usageH.Merijn Brand2004-10-311-0/+13
| | | | | preparation. Change to handy.h eeded for config_h.SH p4raw-id: //depot/perl@23450
* Encourage compilers to tail call optimise in sv_savepv, sv_savepvnNicholas Clark2004-07-161-0/+34
| | | | | | and sv_savesharedpv. Need to create non-void returning versions of Copy and Zero, as the existing macros deliberately cast to (void) p4raw-id: //depot/perl@23126
* [patch] log the interpreter id in warningsStas Bekman2004-04-211-0/+16
| | | | | Message-ID: <40847869.1000906@stason.org> p4raw-id: //depot/perl@22721
* Unlike perl, 0 in void context isn't special cased in C :-)Nicholas Clark2004-03-241-3/+3
| | | | | | (So it warns). Tweak the no-action malloc wrap checkers to avoid warnings. p4raw-id: //depot/perl@22577