summaryrefslogtreecommitdiff
path: root/perlio.c
Commit message (Collapse)AuthorAgeFilesLines
* When dup'ing a filehandle, retain the :utf8 layerRafael Garcia-Suarez2007-03-301-0/+2
| | | p4raw-id: //depot/perl@30781
* PerlIO_exportFILE() and PerlIO_releaseFILE() should manage the fdNicholas Clark2007-03-191-0/+4
| | | | | reference counts correctly. p4raw-id: //depot/perl@30633
* PerlIO_importFILE() should increase the reference count on the fdNicholas Clark2007-03-171-0/+1
| | | | | | that it brings into PerlIO managed space. (A long standing problem reported by Steve Hay) p4raw-id: //depot/perl@30610
* Compilation warnings fixes by Jerry D. HeddenRafael Garcia-Suarez2007-03-031-0/+7
| | | p4raw-id: //depot/perl@30447
* perlio.c (PerlIO_tmpfile): fix memory leakAlexey Tourbin2007-02-241-1/+1
| | | | | Message-ID: <20070224114735.GA3454@localhost.localdomain> p4raw-id: //depot/perl@30389
* Split the storage of the layers specificied by open.pm into one hintNicholas Clark2007-02-171-20/+20
| | | | | | | for input, and one for output, as this better reflects how they are used. The original "concatenate with \0" plan was really only a compramise to avoid needing to increase every COP by 2 pointers. p4raw-id: //depot/perl@30334
* The last parameter to gv_stashpv/gv_stashpvn/gv_stashsv is a bitmaskNicholas Clark2007-01-251-1/+1
| | | | | of flags, not a boolean, so correct the documenation and callers. p4raw-id: //depot/perl@29977
* Re: Race condition in IPC::Open3 / Mac OS?Bo Lindbergh2007-01-201-3/+9
| | | | | Message-Id: <D256CF03-D814-4973-9DF6-60EA4F26FE10@hagernas.com> p4raw-id: //depot/perl@29894
* Add get_cvn_flags(), which is like get_cv() but takes a length. ThisNicholas Clark2007-01-151-1/+1
| | | | | allows symbolic code references with embeded NULs to work. p4raw-id: //depot/perl@29830
* Normalize copyright of perlio.c for years >= 2006Rafael Garcia-Suarez2007-01-051-1/+1
| | | p4raw-id: //depot/perl@29700
* Update copyright for perlio.cRafael Garcia-Suarez2007-01-051-3/+6
| | | p4raw-id: //depot/perl@29694
* Re: [PATCH] perlio.c repairBo Lindbergh2007-01-051-23/+26
| | | | | Message-Id: <E22DC961-6821-4AC2-BA2F-9B5B06927758@hagernas.com> p4raw-id: //depot/perl@29691
* 4th patch from: Marcus Holland-Moritz2007-01-041-5/+7
| | | | | | | | | 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
* The first three patches from:Marcus Holland-Moritz2007-01-041-9/+9
| | | | | | | | Subject: [PATCH] Cleanup SVf arguments (2nd try) Message-ID: <20070101201613.4120d9ef@r2d2> Adds (void*) casts to %-p and %p printf arguments p4raw-id: //depot/perl@29686
* Symbian port: add Series 90 supportJarkko Hietaniemi2007-01-011-3/+1
| | | | | Message-ID: <4599114F.8020307@iki.fi> p4raw-id: //depot/perl@29650
* Re: When should PERL_SYS_TERM() be called? [was: Re: [PATCH] Re: [PATCH] Re: ↵Jarkko Hietaniemi2006-12-061-10/+6
| | | | | | | | | | | | | | | | | [PATCH] abstract mempool header testing] Message-ID: <4575DFD1.1060108@iki.fi> Fixes a problem spotted by Jan Dubois: The PerlMemShared pool is only shared between the interpreters that can share data structures (interpreters created by perl_clone(), which mean pseudo-fork, and threads.xs). The pool is not shared between interpreters that are created separately by perl_alloc(). [...] I guess this means PL_perlio_fd_refcnt needs to be allocated and freed by standard malloc() and not go through any abstraction. p4raw-id: //depot/perl@29477
* Re: When should PERL_SYS_TERM() be called? [was: Re: [PATCH] Re: [PATCH] Re: ↵Jarkko Hietaniemi2006-12-051-7/+7
| | | | | | | | | | | [PATCH] abstract mempool header testing] Message-ID: <4574ED1F.40508@iki.fi> Re-instates #29424 (previously reverted by #29451), now fixed to work with PERL_IMPLICIT_SYS, thanks to Jan Dubois. Also adds PERLIO_TERM to the Symbian port. p4raw-id: //depot/perl@29465
* Re: [PATCH] Re: [PATCH] Re: [PATCH] abstract mempool header testingYves Orton2006-12-031-12/+5
| | | | | Message-ID: <9b18b3110612020548l7c5aefd4m19cb0b5c4395abb4@mail.gmail.com> p4raw-id: //depot/perl@29442
* Tweaks needed to get Perl compiling with g++ on OpenBSD.Steve Peters2006-11-181-1/+1
| | | p4raw-id: //depot/perl@29313
* Initial cleanups to support compiling Win32 with MinGW g++.Steve Peters2006-10-301-1/+1
| | | p4raw-id: //depot/perl@29155
* Change the non-mkstemp, non-win32 code path of PerlIO_tmpfileCraig A. Berry2006-10-301-10/+3
| | | | | | to use PerlIO_fdopen so that when the tmpfile is closed we do not decrement a ref count that doesn't exist or is zero. p4raw-id: //depot/perl@29143
* No warning was produced if perl failed to load PerlIO::scalarRafael Garcia-Suarez2006-10-241-2/+8
| | | | | (contrary to other PerlIO layers.) p4raw-id: //depot/perl@29097
* Enable perlio mutexes under threads (by Jarkko)Rafael Garcia-Suarez2006-10-201-20/+28
| | | p4raw-id: //depot/perl@29065
* More leak fixes, by JarkkoRafael Garcia-Suarez2006-10-201-27/+27
| | | p4raw-id: //depot/perl@29060
* Memory leak fix, by JarkkoRafael Garcia-Suarez2006-10-191-0/+21
| | | p4raw-id: //depot/perl@29050
* Remove free() part of change #29045, which causesRafael Garcia-Suarez2006-10-191-9/+0
| | | | | | panics from miniperl in FreeBSD/multithreaded p4raw-link: @29045 on //depot/perl: e47547a83f24974bde05453531e68d7dd8c5ec87 p4raw-id: //depot/perl@29046
* blead valgrind findingJarkko Hietaniemi2006-10-191-0/+23
| | | | | Message-ID: <4536C1DA.4060600@iki.fi> p4raw-id: //depot/perl@29045
* In PerlIO_debug(), if tainting or set*id, set PL_perlio_debug_fd to -1Nicholas Clark2006-10-011-5/+12
| | | | | first time through to reduce the checks on subsequent calls. p4raw-id: //depot/perl@28911
* RE: Combining UTF-16 output with :crlf is awkwardJan Dubois2006-09-211-1/+18
| | | | | | From: "Jan Dubois" <jand@ActiveState.com> Message-ID: <0bbe01c659e3$d0c334a0$2217a8c0@candy> p4raw-id: //depot/perl@28879
* C++: Solaris CC now compiles "perl"Jarkko Hietaniemi2006-09-111-1/+8
| | | | | Message-ID: <4502B398.6060505@iki.fi> p4raw-id: //depot/perl@28814
* ; was RE: [PATCH perlio.c pp.c regcomp.c] silence format and comparison warningsRobin Barker2006-09-051-0/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120A21@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@28786
* Re: A large-ish C++ TODO (Re: [PATCH] g++ stage 1 reached)Jarkko Hietaniemi2006-08-171-0/+3
| | | | | Message-ID: <44E49649.9090307@iki.fi> p4raw-id: //depot/perl@28734
* g++ large patchJarkko Hietaniemi2006-08-071-2/+2
| | | | | Message-ID: <44D2E203.5050201@iki.fi> p4raw-id: //depot/perl@28662
* more g++ in Tru64Jarkko Hietaniemi2006-08-031-0/+5
| | | | | Message-ID: <44D191FD.9030902@iki.fi> p4raw-id: //depot/perl@28654
* Proper use of enumsAndy Lester2006-06-121-1/+2
| | | | | Message-ID: <20060612034434.GA21588@petdance.com> p4raw-id: //depot/perl@28381
* Revert change 28322, which makes ithreads panicRafael Garcia-Suarez2006-05-291-2/+0
| | | p4raw-id: //depot/perl@28329
* perlio.c: nobody was freeing PL_perlio_fd_refcnt, now PerlIO_cleanup() isJarkko Hietaniemi2006-05-291-0/+2
| | | | | Message-Id: <20060528151535.BEA3E6D08C@seth.hut.fi> p4raw-id: //depot/perl@28322
* clean some lint findingsAndy Lester2006-05-231-0/+2
| | | | | Message-ID: <20060521050240.GA21051@petdance.com> p4raw-id: //depot/perl@28289
* Perl_PerlIO_context_layers and PerlIO_apply_layers, as well as other ↵Yves Orton2006-05-221-29/+30
| | | | | | | | | unexported/undefined entities... (patch 28258/28264 incomplete?) Message-ID: <9b18b3110605210606l441b69b3lf6934a15d9a26e4b@mail.gmail.com> (only the makedef.pl and perlio.c patches) p4raw-id: //depot/perl@28275
* Abolish cop_io (the simple way) by storing the value in cop_hints_hash.Nicholas Clark2006-05-201-8/+11
| | | | | | 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
* Solaris was happy, but change 28247 removed the wrong dTHX as far asNicholas Clark2006-05-201-1/+1
| | | | | some other operating systems were concerned. p4raw-id: //depot/perl@28249
* Perl_croak() needs an aTHX_ in PerlIO_vsprintf().Nicholas Clark2006-05-191-2/+1
| | | p4raw-id: //depot/perl@28247
* strlen(foo) rather than strchr(foo, 0) makes simpler code, and isNicholas Clark2006-05-191-4/+4
| | | | | likely to be a more efficient implementation. p4raw-id: //depot/perl@28236
* Re: [PATCH] Re: Change 28183 has broken 64-bit builds?Jarkko Hietaniemi2006-05-191-10/+8
| | | | | Message-ID: <446CCE8E.8010407@gmail.com> p4raw-id: //depot/perl@28234
* Re: Change 28183 has broken 64-bit builds?Jarkko Hietaniemi2006-05-171-1/+1
| | | | | Message-ID: <446B7757.8030301@gmail.com> p4raw-id: //depot/perl@28216
* Re: [PATCH] my_snprintfJarkko Hietaniemi2006-05-121-10/+2
| | | | | Message-ID: <4464E1F1.9010706@gmail.com> p4raw-id: //depot/perl@28183
* wince crosscompile patch for 28132Vadim Konovalov2006-05-091-1/+5
| | | | | Message-ID: <44607877.90603@vkonovalov.ru> p4raw-id: //depot/perl@28140
* quiet some perlio.c warningsAndy Lester2006-05-021-3/+4
| | | | | Message-ID: <20060430182322.GA18064@petdance.com> p4raw-id: //depot/perl@28048
* Coverity disliked us passing a negative length to vsnprintf().Nicholas Clark2006-04-291-1/+1
| | | p4raw-id: //depot/perl@28020
* reduce gcc -ansi -pedantic noise plus a suggestionJarkko Hietaniemi2006-04-281-1/+3
| | | | | Message-ID: <44527402.8000506@gmail.com> p4raw-id: //depot/perl@28008