summaryrefslogtreecommitdiff
path: root/pp_sys.c
Commit message (Collapse)AuthorAgeFilesLines
* Quiet a warning in pp_sys.c on AIX.Steve Peters2006-10-211-1/+1
| | | p4raw-id: //depot/perl@29068
* In pp_binmode, call mode_from_discipline() once and remember the result.Nicholas Clark2006-10-011-15/+16
| | | p4raw-id: //depot/perl@28910
* g++/Tru64: got perl linking once got the linkage rightJarkko Hietaniemi2006-08-211-5/+0
| | | | | Message-Id: <200608181003.k7IA3Hso276655@kosh.hut.fi> p4raw-id: //depot/perl@28741
* lstat on *GLOB{IO} with warnings on would segfaultRafael Garcia-Suarez2006-08-101-1/+1
| | | | | (noticed by Andrew Dougherty) p4raw-id: //depot/perl@28690
* g++: gethostbyaddr, and more Tru64 definesJarkko Hietaniemi2006-08-101-1/+1
| | | | | Message-ID: <44DACB8C.1080708@iki.fi> p4raw-id: //depot/perl@28689
* g++ large patchJarkko Hietaniemi2006-08-071-4/+5
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* Tru64 oopsJarkko Hietaniemi2006-08-031-1/+1
| | | | | Message-Id: <200608031959.k73JxbsC395856@kosh.hut.fi> p4raw-id: //depot/perl@28655
* more g++ in Tru64Jarkko Hietaniemi2006-08-031-0/+5
| | | | | Message-ID: <44D191FD.9030902@iki.fi> p4raw-id: //depot/perl@28654
* Change stat() and -X filetests so that they treat *FILE{IO} Steve Peters2006-07-281-8/+15
| | | | | filehandles like *FILE filehandles. This resolves RT #8244. p4raw-id: //depot/perl@28628
* z/OS: pp_sys.c, reg*.c, toke.c, utf8.cJarkko Hietaniemi2006-07-231-0/+11
| | | | | Message-ID: <44C24994.6020008@iki.fi> p4raw-id: //depot/perl@28607
* various safety/portability tweaksJarkko Hietaniemi2006-07-151-1/+2
| | | | | Message-ID: <44B8C008.4030300@iki.fi> p4raw-id: //depot/perl@28578
* Convert some low hanging fruit to my_strlcpy/my_strlcat.Steve Peters2006-07-101-3/+4
| | | p4raw-id: //depot/perl@28533
* Allow stat() and -X file tests work on dirhandles.Steve Peters2006-07-031-3/+20
| | | p4raw-id: //depot/perl@28473
* pp_sys cleanup againAndy Lester2006-05-221-137/+136
| | | | | Message-ID: <20060520212020.GA30688@petdance.com> p4raw-id: //depot/perl@28279
* Abolish cop_io (the simple way) by storing the value in cop_hints_hash.Nicholas Clark2006-05-201-1/+1
| | | | | | Todo - store the in and out values under 2 keys, and avoid the need to create a temporary mortal SV while checking it. p4raw-id: //depot/perl@28258
* Proper use of static funcs in toke.c and pp_sys.cAndy Lester2006-05-121-5/+5
| | | | | Message-ID: <20060509172730.GA5272@petdance.com> p4raw-id: //depot/perl@28179
* pp_sys.c: U8* castJarkko Hietaniemi2006-05-031-1/+1
| | | | | Message-Id: <200605021704.k42H4XIh255652@kosh.hut.fi> p4raw-id: //depot/perl@28076
* Fix two errors found by Coverity.Nicholas Clark2006-04-301-5/+14
| | | p4raw-id: //depot/perl@28034
* syswrite couldn't correctly handle surprises from UTF-8 overloading.Nicholas Clark2006-04-291-37/+91
| | | | | | As part of fixing this, syswrite now tries to take advantage of the UTF-8 cache logic for lengths and offsets on regular scalars. p4raw-id: //depot/perl@28019
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-3/+3
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-1/+2
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* Coverity notes that we might be dereferencing fgv before a check thatNicholas Clark2006-04-161-8/+9
| | | | | | it's not NULL. In fact, the code ordering meant that one "if (fgv)" would always be true. So fix this. p4raw-id: //depot/perl@27837
* Handle null io in leavewrite (not possible?) (Coverity)bah@longitude.com2006-04-151-3/+5
| | | | | | Message-ID: <1661.38.96.138.153.1145124821.squirrel@mail.longitude.com> Date: Sat, 15 Apr 2006 14:13:41 -0400 (EDT) p4raw-id: //depot/perl@27829
* pp_sys.c: some Coverity findings: NULL guards for format cvJarkko Hietaniemi2006-04-101-7/+5
| | | | | | Message-Id: <20060408155541.46B796D08C@ugli.hut.fi> Date: Sat, 8 Apr 2006 18:55:41 +0300 (EEST) p4raw-id: //depot/perl@27756
* pp_sys.c: some Coverity findings: NULL guards for io pointersJarkko Hietaniemi2006-04-101-3/+3
| | | | | | Message-Id: <20060408155232.4C9726D08C@ugli.hut.fi> Date: Sat, 8 Apr 2006 18:52:32 +0300 (EEST) p4raw-id: //depot/perl@27755
* es: quiet some warnings (with a free AIX cpp insanity avoidance tip)Jarkko Hietaniemi2006-04-101-1/+0
| | | | | | Message-ID: <44375F23.6030900@gmail.com> Date: Sat, 08 Apr 2006 09:58:43 +0300 p4raw-id: //depot/perl@27754
* Replace all sv_mortalcopy(&PL_sv_no); sv_set*(...) withNicholas Clark2006-03-261-64/+50
| | | | | | sv2mortal(newSV*(...)) to avoid needless upgrades to PVNV and needless allocation of a copy of "". p4raw-id: //depot/perl@27612
* Add S_space_join_names_mortal() which joins a char** array with " "s,Nicholas Clark2006-03-251-34/+23
| | | | | replacing 5 instances of the same code. p4raw-id: //depot/perl@27608
* Speedups and shrinkages of SvREFCNT_incAndy Lester2006-02-271-2/+1
| | | | | Message-ID: <20060224205434.GA17867@petdance.com> p4raw-id: //depot/perl@27334
* More NullXXX macro removal from Andy LesterRafael Garcia-Suarez2006-02-201-8/+8
| | | p4raw-id: //depot/perl@27238
* [perl #38464] chdir() on closed handles Peter Dintelmann2006-02-081-0/+6
| | | | | | | | From: Peter Dintelmann (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-38464-129771.3.46114092925276@perl.org> Plus a regression test. p4raw-id: //depot/perl@27130
* Handle unused argsAndy Lester2006-02-081-2/+2
| | | | | Message-ID: <20060207223656.GA5177@petdance.com> p4raw-id: //depot/perl@27129
* Allow bareword file handle as argument to chdir().Gisle Aas2006-02-071-1/+4
| | | | | | This copies the mechanism used by truncate(). Fixes bug #38457. p4raw-id: //depot/perl@27125
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-12/+12
| | | | | | 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-16/+16
| | | | | 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-2/+2
| | | | | | | 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
* Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.Nicholas Clark2006-01-281-2/+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-4/+4
| | | | | | | | 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
* Re: Today's compiling adventureKen Hirsch2006-01-131-23/+0
| | | | | | Message-ID: <43C69F48.7090600@ftml.net> Date: Thu, 12 Jan 2006 13:26:16 -0500 p4raw-id: //depot/perl@26831
* It's the Barbie bus patchAndy Lester2006-01-101-21/+23
| | | | | Message-ID: <20060110054243.GA26165@petdance.com> p4raw-id: //depot/perl@26764
* hv_fetchs() supportAndy Lester2006-01-061-3/+3
| | | | | Message-ID: <20060106155719.GB9035@petdance.com> p4raw-id: //depot/perl@26676
* sprinkle dVARJarkko Hietaniemi2006-01-061-63/+82
| | | | | Message-ID: <43BE7C4D.1010302@gmail.com> p4raw-id: //depot/perl@26675
* Make the new STR_WITH_LEN() affected compile under -Dusethreads.Gisle Aas2006-01-041-1/+1
| | | | | Can't use STR_WITH_LEN() as argument to a macro :-( p4raw-id: //depot/perl@26649
* Update copyright year.Steve Peters2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26644
* Get rid of a few more hardcoded string lengths.Gisle Aas2006-01-041-1/+1
| | | p4raw-id: //depot/perl@26642
* Introduce the macros newSVpvs(str) and sv_catpvs(sv, str).Gisle Aas2006-01-041-13/+13
| | | | | Gets rid of many hardcoded string lengths. p4raw-id: //depot/perl@26641
* Add warnings for the various other *dir() functions when attemptedSteve Peters2006-01-041-10/+27
| | | | | on invalid dirhandles. p4raw-id: //depot/perl@26631
* Attemting to readdir() something that isn't a dirhandle should causeSteve Peters2006-01-031-2/+7
| | | | | a warning. p4raw-id: //depot/perl@26617
* Ho! Ho! Ho! Santa brings consting!Andy Lester2005-12-221-1/+1
| | | | | Message-ID: <20051222165717.GA2874@petdance.com> p4raw-id: //depot/perl@26450
* gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, ratherNicholas Clark2005-12-201-6/+6
| | | | | than a simple boolean, so passing FALSE or TRUE is bogus. p4raw-id: //depot/perl@26415