summaryrefslogtreecommitdiff
path: root/util.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Superparanoia.Jarkko Hietaniemi2003-09-081-0/+2
| | | p4raw-id: //depot/perl@21085
* [PATCH] Re: [BUG] string loses its utf8 flag on dieAdrian M. Enache2003-08-171-0/+16
| | | | | | | | | | | Date: Sat, 16 Aug 2003 16:03:16 +0300 Message-ID: <20030816130316.GA1654@ratsnest.hole> Subject: Re: [PATCH] Re: [BUG] string loses its utf8 flag on die From: Enache Adrian <enache@rdslink.ro> Date: Sun, 17 Aug 2003 04:42:22 +0300 Message-ID: <20030817014222.GA1287@ratsnest.hole> p4raw-id: //depot/perl@20747
* Retract #20644 and #20643; on non-microperl non-fcntlJarkko Hietaniemi2003-08-121-4/+0
| | | | | | | systems Wrong Thing would be done. (And as Sarathy points out, closing both ends of a pipe is rather identical to never opening it...) p4raw-id: //depot/perl@20653
* Apply much of Ilya's microperl patch, but instead ofJarkko Hietaniemi2003-08-121-0/+2
| | | | | | | | | implementing the opendir()/readdir()/closedir() using external commands give up "ANSI-pureness" and define them in uconfig.sh, also define other stuff like rename() and putenv(). Leave out the $| emulation in my_fork() since we are not supposed to have fork() under microperl. p4raw-id: //depot/perl@20646
* More microperlish faking in case no fcntl F_SETFD for pipes.Jarkko Hietaniemi2003-08-121-0/+4
| | | p4raw-id: //depot/perl@20644
* Rename get_seed() to get_hash_seed(), as suggested byRafael Garcia-Suarez2003-07-181-1/+1
| | | | | Eric J Kidder, to solve a name conflict on HP_UX 11.00. p4raw-id: //depot/perl@20170
* pTHX.Jarkko Hietaniemi2003-07-111-1/+1
| | | p4raw-id: //depot/perl@20143
* Chicken out: the hash randomisation is not on by default.Jarkko Hietaniemi2003-07-111-0/+32
| | | | | | | | | | We switch over to the explicit mode: in other words, if the $ENV{PERL_HASH_SEED} is on, we randomise. Also, we randomise only if PL_hash_seed_set is FALSE (this means one can use PERL_HASH() before perl_run.) Also, since now PERL_HASH_SEED is okay even under -T, all should be fine. (Ha!) p4raw-id: //depot/perl@20135
* Re: [REPATCH] was Re: [perl #16010] v-strings left of a => don't get quoted.John Peacock2003-07-091-79/+0
| | | | | Message-ID: <3F0BCCD2.1020009@rowman.com> p4raw-id: //depot/perl@20084
* Move the (pseudo)seed functio for (pseudo)random numbers to util.c.Jarkko Hietaniemi2003-06-221-0/+81
| | | p4raw-id: //depot/perl@19843
* Re: [perl #17934] tied STDERR and internal warningsSteve Grazzini2003-06-191-44/+50
| | | | | Message-ID: <20030618234237.GA6267@grazzini.net> p4raw-id: //depot/perl@19819
* Illegal cpp.Jarkko Hietaniemi2003-06-141-1/+1
| | | p4raw-id: //depot/perl@19772
* Re: [perl #18849] fork/system bug on FreeBSDAlan Ferrency2003-06-131-2/+2
| | | | | | | Message-ID: <Pine.BSF.4.30.0306111348450.32145-100000@smx.pair.com> (the first alternative) p4raw-id: //depot/perl@19765
* z/OS: changes for building threaded from "Brian De Pradine"Jarkko Hietaniemi2003-04-221-1/+1
| | | | | <PRADINE@uk.ibm.com>. p4raw-id: //depot/perl@19306
* Fix another segfault case (warn called from UNIVERSAL::DESTROY).Adrian M. Enache2003-04-211-1/+1
| | | | | | | | | | Subject: Re: [perl #21347] segfault in UNIVERSAL::AUTOLOAD Date: Sun, 20 Apr 2003 02:45:48 +0300 Message-ID: <20030419234548.GA849@ratsnest.hole> and Date: Wed, 2 Apr 2003 07:52:28 +0300 Message-ID: <20030402045227.GA1023@ratsnest.hole> p4raw-id: //depot/perl@19300
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* A -C parsed from the #! line can still have line endings in it.Jarkko Hietaniemi2003-04-161-3/+4
| | | p4raw-id: //depot/perl@19238
* From Inaba Hiroto: the UTF-8 length cache wasn'tJarkko Hietaniemi2003-03-091-1/+5
| | | | | updated when fbm_compile() appended a "\n". p4raw-id: //depot/perl@18857
* Use a macro for abs() to avoid the possible truncation to an int;Jarkko Hietaniemi2003-03-031-6/+6
| | | | | also make an explicit (double)cast for the arguments to fabs(). p4raw-id: //depot/perl@18813
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* The -CI cannot be easily tested under UTF-8 locale withJarkko Hietaniemi2003-03-021-1/+1
| | | | | | the t/test.pl (the 'stdin' data gets doubly UTF-8-ied). Also other small tweaks in the -C neighbourhood. p4raw-id: //depot/perl@18799
* PERL_SIGNALS=unsafe enables the old unsafe/immediate signals.Jarkko Hietaniemi2003-02-241-6/+4
| | | p4raw-id: //depot/perl@18766
* Format nit.Jarkko Hietaniemi2003-02-181-1/+1
| | | p4raw-id: //depot/perl@18741
* Doc tweaks (and one code tweak) based on Philip Newton's comments.Jarkko Hietaniemi2003-02-171-1/+1
| | | p4raw-id: //depot/perl@18731
* The new(er) way of controlling Unicode I/O (and other) features;Jarkko Hietaniemi2003-02-151-0/+53
| | | | | -C (or PERL_UNICODE). See perlrun/-C for more details. p4raw-id: //depot/perl@18715
* to silence compiler warningRobin Barker2003-02-121-3/+3
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D9040462CC@hotel.npl.co.uk> p4raw-id: //depot/perl@18697
* version objects final(?) patchJohn Peacock2003-02-101-25/+46
| | | | | Message-ID: <3E18E9D9.2040908@rowman.com> p4raw-id: //depot/perl@18682
* integrate (by hand) #18353 and #18359 from maint-5.8:Hugo van der Sanden2003-01-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a cache for UTF-8 data: length and byte<->char offset mapping are stored in a new type of magic. Speeds up length(), substr(), index(), rindex(), pos(), and some parts of s///. The speedup varies a lot (on the usual suspects: what is the access pattern of the data, compiler, CPU), but should be at least one order of magnitude, and getting to the same magnitude as byte string speeds, and in some cases (length on unchanged data) even reaching the byte string speed. On the other hand, in some cases (index) the byte speed is still faster by a factor of five or so, but the bottleneck there does not seem to be any more the byte<->char offset mapping (instead, the fbm_instr() speed). There is one cache slot for the length, and only two for the byte<->char offset mapping (the first one for the start->offset, and the second for the offset->offset+length, when talking in substr() terms). Code this hairy is bound to have hairy trolls hiding under it. [...] A small tweak on top of #18353: don't display mg_len bytes of mg_ptr for PERL_MAGIC_utf8 because that's not what's there. p4raw-id: //depot/perl@18530
* my_fflush_all() wasn't doing the right thing under useperlioGurusamy Sarathy2002-12-181-1/+1
| | | | | on many platforms p4raw-id: //depot/perl@18335
* Re: [perl #18238] timezone and gmt offset as output by POSIX::strftime() ↵Slaven Rezic2002-12-091-0/+14
| | | | | | | are sometimes wrong Message-ID: <874raqz8o3.fsf@vran.herceg.de> p4raw-id: //depot/perl@18267
* integrate util.c fragment from #18200 to undef SA_RESTART on MacOSHugo van der Sanden2002-12-021-0/+5
| | | p4raw-id: //depot/perl@18225
* Re: Not OK: perl v5.9.0 +DEVEL17881 on i386-freebsd 4.6-release (UNINSTALLED)Nicholas Clark2002-10-281-1/+2
| | | | | Message-ID: <20021027183902.GJ292@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18070
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-291/+5
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Re: versions too accurateJohn Peacock2002-10-171-3/+12
| | | | | Message-ID: <3DAB7F40.1050200@rowman.com> p4raw-id: //depot/perl@18027
* Re: [PATCH] Version object combined patchJohn Peacock2002-10-171-5/+14
| | | | | Message-ID: <3DA627F5.5050907@rowman.com> p4raw-id: //depot/perl@18026
* croak() is better written Perl_croak() in C code.Rafael Garcia-Suarez2002-10-101-3/+3
| | | p4raw-id: //depot/perl@17993
* Version object combined patchJohn Peacock2002-10-101-82/+164
| | | | | Message-ID: <3D9E593E.1060605@rowman.com> p4raw-id: //depot/perl@17990
* Re: [REVISED PATCH] Magic v-stringsJohn Peacock2002-09-271-1/+1
| | | | | Message-ID: <3D8A8862.3000602@rowman.com> p4raw-id: //depot/perl@17937
* enable -ansi -pedanticJarkko Hietaniemi2002-09-261-1/+1
| | | | | Message-ID: <20020917221925.GF85044@lyta.hut.fi> p4raw-id: //depot/perl@17925
* LEAKTEST is dead, RIPH.Merijn Brand2002-09-261-167/+0
| | | | | | | Subject: Re: [perl #17197] SIGSEGV in perl 5.8.0 multithread build with -DLEAKTEST From: "H.Merijn Brand" <h.m.brand@hccnet.nl> Message-Id: <20020923182824.C7B6.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@17920
* tiddly tidy up for util.cNicholas Clark2002-09-081-3/+3
| | | | | Message-ID: <20020906220013.GD428@Bagpuss.unfortu.net> p4raw-id: //depot/perl@17871
* regularise whitespace and formatting in util.cHugo van der Sanden2002-09-081-368/+373
| | | p4raw-id: //depot/perl@17870
* Tweaks to Bleadperl Version Object SupportJohn Peacock2002-08-301-9/+20
| | | | | Message-ID: <3D6D835C.50809@rowman.com> p4raw-id: //depot/perl@17819
* posixify getppid on linux-multithreadRafael Garcia-Suarez2002-08-291-3/+6
| | | | | Message-Id: <20020806215646.3f6852bb.rgarciasuarez@free.fr> p4raw-id: //depot/perl@17798
* fixup threaded build for vstring changesHugo van der Sanden2002-08-231-6/+6
| | | p4raw-id: //depot/perl@17762
* Re: [PATCH] Version object patch #1John Peacock2002-08-221-1/+3
| | | | | | | | | | | Date: Tue, 20 Aug 2002 22:51:46 -0400 (Wed 03:51 BST) Message-id: <3D630042.6020407@rowman.com> Subject: Re: [REVISED PATCH] Magic v-strings From: John Peacock <jpeacock@rowman.com> Date: Wed, 21 Aug 2002 15:08:34 -0400 (20:08 BST) Message-id: <3D63E532.7020305@rowman.com> p4raw-id: //depot/perl@17747
* Version object patch #1John Peacock2002-08-201-6/+181
| | | | | | | Message-id: <3D5BB55D.6090603@rowman.com> and Message-id: <3D627D1A.4050607@rowman.com> and t/lib/warnings/universal tweak to skip p4raw-id: //depot/perl@17746
* [REVISED PATCH] Magic v-stringsJohn Peacock2002-08-201-19/+18
| | | | | | Message-id: <3D556FE6.6000404@rowman.com> plus a bit of cleanup p4raw-id: //depot/perl@17742