summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* SvPVX_const() - Patch #1Steve Peters2005-05-201-5/+5
| | | | | Message-ID: <20050517231701.GA1394@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24509
* consting-eleventy.patch: More consts, plus actual bug fixAndy Lester2005-05-161-3/+3
| | | | | Message-ID: <20050516151353.GA25387@petdance.com> p4raw-id: //depot/perl@24489
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-0/+9
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* GCC attributes!Andy Lester2005-05-071-8/+7
| | | | | Message-ID: <20050504215540.GA20413@petdance.com> p4raw-id: //depot/perl@24414
* combopatchJarkko Hietaniemi2005-04-251-0/+5
| | | | | Message-ID: <426BFA57.9060105@iki.fi> p4raw-id: //depot/perl@24318
* Variable declarations can't come after statements in C89.Nicholas Clark2005-04-231-1/+2
| | | p4raw-id: //depot/perl@24309
* Fix for warnings in util.c/Perl_init_tm()Steve Peters2005-04-231-1/+3
| | | | | | | Message-Id: <20050423033603.GA32547@mccoy.peters.homeunix.org> localtime() can return null p4raw-id: //depot/perl@24307
* Symbian port of PerlJarkko Hietaniemi2005-04-211-25/+122
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Refactoring to Sv*_set() macros - patch #2Steve Peters2005-04-081-3/+3
| | | | | Message-ID: <20050407185149.GA4418@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24204
* Add casting to allow g++ (3.3.5) to compile the core code.Nicholas Clark2005-04-051-3/+3
| | | | | | A C++ compiler produces lots of warnings that are probably valid concerns to investigate. p4raw-id: //depot/perl@24170
* Clean-up some warnings when compiling on Win32 with VC++Steve Hay2005-03-291-1/+1
| | | p4raw-id: //depot/perl@24096
* Downconst external APIsRafael Garcia-Suarez2005-03-291-2/+2
| | | p4raw-id: //depot/perl@24095
* The core part of :Andy Lester2005-03-291-1/+1
| | | | | | Subject: [PATCH] Consting seven Message-ID: <20050327215722.GC20451@petdance.com> p4raw-id: //depot/perl@24094
* Fix Win32 compilation nit following change #24074Steve Hay2005-03-291-1/+1
| | | | | p4raw-link: @24074 on //depot/perl: e1ec3a884f8d8c64eb7e391b2a363f47cbeed570 p4raw-id: //depot/perl@24093
* Consting part 4Andy Lester2005-03-251-4/+8
| | | | | Message-ID: <20050325204331.GA16388@petdance.com> p4raw-id: //depot/perl@24079
* Third consting batchAndy Lester2005-03-241-49/+48
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* Avoid evaluating a strlen twice due the new implementationRafael Garcia-Suarez2005-02-061-0/+8
| | | | | of New() with PERL_MALLOC_WRAP p4raw-id: //depot/perl@23943
* With mallocwrap New() evaluates its arguments more than once, so theyNicholas Clark2005-02-051-1/+2
| | | | | | had better not have any side effects. :-( p4raw-id: //depot/perl@23941
* Integrate change #23880 in original commentRafael Garcia-Suarez2005-01-251-1/+1
| | | | | p4raw-link: @23880 on //depot/perl: 9c2fe30c684e721963ef24f7385a620d0e125995 p4raw-id: //depot/perl@23881
* savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call toNicholas Clark2005-01-091-2/+20
| | | | | | strlen(). Add savesvpv(sv), which gets the length from the SV, and returns a copy of its PV. p4raw-id: //depot/perl@23772
* strEQ/strNE of 1 character strings seems better hand inlined,Nicholas Clark2005-01-011-2/+2
| | | | | | because it generates smaller object code (as well as being faster than a true function call) p4raw-id: //depot/perl@23725
* genuine possible buffer problems spotted by flawfinderNicholas Clark2004-11-201-5/+2
| | | p4raw-id: //depot/perl@23520
* SuSE's perl safe_putenf diffMichael Schroeder2004-11-171-3/+6
| | | | | | | | | Message-ID: <20041111145443.GA1854@immd4.informatik.uni-erlangen.de> slightly reworked to make the PL_use_safe_putenv variable fit in the current framework. This patch turns on the use of safe putenv for any application that embeds a perl interpreter. p4raw-id: //depot/perl@23507
* Merge code from vdie and vcroak into S_vdie_croak_commonNicholas Clark2004-10-161-78/+36
| | | p4raw-id: //depot/perl@23376
* Merge the common code from Perl_vdie and Perl_vwarner into aNicholas Clark2004-10-161-70/+47
| | | | | S_vdie_common p4raw-id: //depot/perl@23375
* The second half of Perl_vwarner is actually a straight cut&paste jobNicholas Clark2004-10-161-41/+12
| | | | | | from Perl_vwarn, so convert it into a (tail) call to Perl_vwarn. cut&paste is bad, m'kay. p4raw-id: //depot/perl@23374
* Upgrade to version 0.42.Rafael Garcia-Suarez2004-09-021-6/+8
| | | | | | | | | From: Subject: CPAN Upload: J/JP/JPEACOCK/version-0.42.tar.gz From: John Peacock <jpeacock@rowman.com> Date: Wed, 18 Aug 2004 08:26:35 -0400 Message-ID: <41234AFB.1020009@rowman.com> p4raw-id: //depot/perl@23257
* remove leaks associated with version object change #23190Dave Mitchell2004-08-061-0/+2
| | | | | p4raw-link: @23190 on //depot/perl: d7aa53827cc12fdf8a697328df844e16aaa58287 p4raw-id: //depot/perl@23198
* Final version object core patch?John Peacock2004-08-041-0/+13
| | | | | Message-ID: <411048BD.3080700@rowman.com> p4raw-id: //depot/perl@23190
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+6
| | | p4raw-id: //depot/perl@23176
* Encourage compilers to tail call optimise in sv_savepv, sv_savepvnNicholas Clark2004-07-161-20/+20
| | | | | | 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
* Some calls to PerlMemShared_alloc() aren't checking the return value.Nicholas Clark2004-07-161-0/+5
| | | | | Bug spotted by Nigel Sandever p4raw-id: //depot/perl@23121
* Work around evil compiler bug on OS X. (Sucks all memory)Nicholas Clark2004-07-131-2/+10
| | | p4raw-id: //depot/perl@23101
* was Re: UNIVERSAL::VERSION causing "Use of uninitialized value..." warningJohn Peacock2004-07-131-1/+1
| | | | | Message-ID: <40F35423.5080304@rowman.com> p4raw-id: //depot/perl@23088
* byte-order modifiers for (un)pack templatesMarcus Holland-Moritz2004-04-231-11/+202
| | | | | Message-Id: <20040421210920.3c467772@r2d2> p4raw-id: //depot/perl@22734
* 's to bring bleadperl up to version-0.39John Peacock2004-04-141-6/+18
| | | | | Message-ID: <407C8B13.9020104@rowman.com> p4raw-id: //depot/perl@22692
* Remove two unused variables that gcc used to warn about.Marcus Holland-Moritz2004-04-101-1/+1
| | | p4raw-id: //depot/perl@22685
* Bleadperl to version 0.37John Peacock2004-04-071-3/+33
| | | | | Message-ID: <40735FC3.5010305@rowman.com> p4raw-id: //depot/perl@22668
* format/casting/warning RE: perl 5.9.1Robin Barker2004-03-171-2/+2
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90404682E@hotel.npl.co.uk> p4raw-id: //depot/perl@22521
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* Improved perlapi documentation for croakMark Fowler2004-02-261-5/+5
| | | | | | | Message-ID: <Pine.LNX.4.55.0402252242510.32152@gan.twoshortplanks.com> (and regenerate perlapi.pod.) p4raw-id: //depot/perl@22380
* was Re: [Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.36.tar.gz]John Peacock2004-02-031-36/+70
| | | | | Message-ID: <401DB17F.5060808@rowman.com> p4raw-id: //depot/perl@22264
* Perl core dumps when running out of memory [PATCH]Gisle Aas2004-01-171-3/+9
| | | | | | | | Message-Id: <lrsmiebqvu.fsf@caliper.activestate.com> Display 'out of memeory' errors using low-level I/O to avoid recursive failure and so coredumps. p4raw-id: //depot/perl@22169
* Remove incorrect guards around inclusion of <signal.h>Alan Burlison2003-12-151-3/+0
| | | | | | | | | | | Causes problems with UNIX03/SUSv3 Part 2 of change 21916 - oops! See: Message-Id: <3FDD06A5.8010004@sun.com> Subject: Re: UNIX03 & C99 issue with 5.8.2 Date: Mon, 15 Dec 2003 00:56:05 +0000 p4raw-id: //depot/perl@21917
* Modify the common guard for the signal.h header, becauseAlan Burlison2003-12-121-1/+1
| | | | | | | | | C99 compilers don't like it.o see : Subject: UNIX03 & C99 issue with 5.8.2 Message-ID: <3FDA4994.6050209@sun.com> p4raw-id: //depot/perl@21883
* s/new_hash/rehash/g (Stas suggested a better name)Nicholas Clark2003-11-031-1/+1
| | | p4raw-id: //depot/perl@21638
* Plan C for foiling the algorithmic complexity attackNicholas Clark2003-10-161-1/+1
| | | | | | | | | | | (based on Chip's plan A (binary compatibility with 5.8.0 and 5.8.1), Chip's plan B (do something new inside the hv functions) and introspective sort) Provides infrastructure for hashes to change their hash function if necessary, and code in hsplit to detect pathalogical data and instigate a random rehashing. Needs refinement. Let's see how much smoke it creates. p4raw-id: //depot/perl@21471
* Re: 5.8.1 and srandBrendan O'Dea2003-10-021-1/+0
| | | | | Message-Id: <20031002003036.GA9198@londo.c47.org> p4raw-id: //depot/perl@21397
* Slightly more intelligent paranoia.Jarkko Hietaniemi2003-09-081-2/+5
| | | p4raw-id: //depot/perl@21093