summaryrefslogtreecommitdiff
path: root/pp_sys.c
Commit message (Collapse)AuthorAgeFilesLines
* Patches to compile perl on Cray XT4 Catamount/Qk, by JarkkoRafael Garcia-Suarez2007-06-171-3/+9
| | | p4raw-id: //depot/perl@31404
* Silence compiler warningsJerry D. Hedden2007-06-071-2/+2
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510706061145r540c7f02kba96c04bc9dcf8b0@mail.gmail.com> p4raw-id: //depot/perl@31348
* pp_sys.c: gethostbyaddrJarkko Hietaniemi2007-05-211-1/+1
| | | | | Message-ID: <465119DE.6040208@iki.fi> p4raw-id: //depot/perl@31248
* Add Perl_my_dirfd() to util.cSteve Peters2007-05-011-10/+2
| | | p4raw-id: //depot/perl@31112
* Where possible, use SvIV instead of SvIVX, SvNV instead of SvNVX,Nicholas Clark2007-04-211-1/+1
| | | | | | | | | SvUV instead of SvUVX, and SvPV* variants instead of SvPVX*. Document that the non-x variants are preferable whenever the expression has no side effects. (Compilers perform common subexression elimination). Likewise SvREFCNT_inc simple variants are valid for all cases apart from expressions with side effects. p4raw-id: //depot/perl@31010
* Add two deprecation warnings:Rafael Garcia-Suarez2007-03-301-0/+8
| | | | | | Opening dirhandle %s also as a file Opening filehandle %s also as a directory p4raw-id: //depot/perl@30780
* Prefer dirhandles to filehandles when passing a bareword typeglobSteve Peters2007-03-091-4/+3
| | | | | | to chdir() and the typeglob has both a dirhandle and a filehandle assigned to it. p4raw-id: //depot/perl@30527
* Need to extend the stack when using warn() withoutRafael Garcia-Suarez2007-03-081-0/+1
| | | | | an argument (this fixes bug #41716) p4raw-id: //depot/perl@30513
* Compilation warnings fixes by Jerry D. HeddenRafael Garcia-Suarez2007-03-031-1/+1
| | | p4raw-id: //depot/perl@30447
* The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmaskNicholas Clark2007-01-251-2/+2
| | | | | of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
* Re: AW: umask handling in File::TempGisle Aas2007-01-131-2/+6
| | | | | Message-ID: <877ivs1dt3.fsf@ask.g.aas.no> p4raw-id: //depot/perl@29784
* Update copyright years in .c filesRafael Garcia-Suarez2007-01-051-2/+2
| | | p4raw-id: //depot/perl@29696
* 4th patch from: Marcus Holland-Moritz2007-01-041-3/+3
| | | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Introduce an SVfARG() macro for %SVf (%-p here) arguments to perl's printf p4raw-id: //depot/perl@29687
* syswrite() wasn't reporting a warning when writing to a filehandleRafael Garcia-Suarez2006-12-231-3/+7
| | | | | opened only for input. p4raw-id: //depot/perl@29614
* Silence VC++ 8 warnings about "possible loss of data"Steve Hay2006-11-281-3/+3
| | | p4raw-id: //depot/perl@29408
* Forbid using tainted formats in printf and sprintfRafael Garcia-Suarez2006-11-071-0/+2
| | | p4raw-id: //depot/perl@29225
* 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