summaryrefslogtreecommitdiff
path: root/doio.c
Commit message (Collapse)AuthorAgeFilesLines
* more warnings tidyupPaul Marquess2002-03-111-21/+21
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLMEEGDPAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15155
* Forward port #14704 from maint-5.6.Abhijit Menon-Sen2002-02-181-16/+27
| | | p4raw-id: //depot/perl@14756
* Absorb #14701 by Sarathy from maint-5.6.Abhijit Menon-Sen2002-02-161-2/+9
| | | p4raw-id: //depot/perl@14714
* Re: [PATCH] eof() coredumps when ARGV is aliased to another filehandleRafael Garcia-Suarez2002-02-081-1/+1
| | | | | Message-ID: <20020208002107.E763@rafael> p4raw-id: //depot/perl@14601
* lstat FH and -l FH warningsRafael Garcia-Suarez2002-02-031-1/+10
| | | | | Message-ID: <20020202222454.A11608@rafael> p4raw-id: //depot/perl@14530
* Turn the I/O Unicode error by default on, but theJarkko Hietaniemi2002-01-311-1/+1
| | | | | | character-generating Unicode error by default off, as Larry suggested. p4raw-id: //depot/perl@14505
* O_RDONLY/O_WRONLY/O_RDWR portability.Jarkko Hietaniemi2002-01-271-8/+34
| | | p4raw-id: //depot/perl@14445
* Copyright++. (Not all the toplevel *.h have one, it seems.)Jarkko Hietaniemi2002-01-231-1/+1
| | | p4raw-id: //depot/perl@14391
* Missed the =head1 additions.Jarkko Hietaniemi2002-01-031-0/+2
| | | p4raw-id: //depot/perl@14041
* Re: [PATCH] Re: [ PATCH ] Cygwin groups.t (PLEASE CHECK)Nicholas Clark2001-12-261-15/+1
| | | | | | | Message-ID: <20011226191946.K48842@plum.flirble.org> Use report_evil_fh(). p4raw-id: //depot/perl@13892
* doio fatal on cygwin for 13651H.Merijn Brand2001-12-121-1/+1
| | | | | Message-Id: <20011212112548.4611.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@13653
* Detypo and rename.Jarkko Hietaniemi2001-12-121-1/+1
| | | p4raw-id: //depot/perl@13637
* Try to handle platforms that have O_TEXT != O_BINARY butJarkko Hietaniemi2001-12-111-1/+5
| | | | | | | which are not DOSish, BeOS being one of such platforms. Ideally this should be a Configure test, not a hardwired cpp symbol test... p4raw-id: //depot/perl@13621
* Allow multi-arg open() if opening layer declares this legal.Nick Ing-Simmons2001-12-081-6/+6
| | | p4raw-id: //depot/perlio@13530
* Various small nits found by DJGPP build.Jarkko Hietaniemi2001-12-021-4/+4
| | | p4raw-id: //depot/perl@13427
* Skip socket-ness tests on handles (e.g. PerlIO::Scalar) which do notNick Ing-Simmons2001-12-011-20/+28
| | | | | have file descriptors. Noticed a possibly worse problem in the process ... p4raw-id: //depot/perlio@13409
* doio slightly smallerNicholas Clark2001-11-271-5/+4
| | | | | Message-ID: <20011127004023.S37621@plum.flirble.org> p4raw-id: //depot/perl@13290
* Allow dup'ing of PerlIO::Scalar etc.Nick Ing-Simmons2001-11-181-13/+24
| | | p4raw-id: //depot/perlio@13072
* [PATCH] Doc spellcheck + podcheckAbhijit Menon-Sen2001-11-161-1/+1
| | | | | | | | | | | | | | | | | | From: Autrijus Tang <autrijus@egb.elixus.org> Date: Thu, 15 Nov 2001 22:49:05 -0800 Message-Id: <20011116064905.GA44092@egb.elixus.org> Subject: [PATCH] podcheck+spellcheck, the rest of the story From: Autrijus Tang <autrijus@egb.elixus.org> Date: Fri, 16 Nov 2001 00:42:20 -0800 Message-Id: <20011116084220.GA44295@egb.elixus.org> Subject: Re: [PATCH] podcheck+spellcheck, the rest of the story From: Nicholas Clark <nick@ccl4.org> Date: Fri, 16 Nov 2001 10:32:01 +0000 Message-Id: <20011116103200.F62891@plum.flirble.org> (Applied after suitable de-mangling.) p4raw-id: //depot/perl@13041
* open(FH, $file) should strip leading and trailing whitespace.Abhijit Menon-Sen2001-11-081-5/+7
| | | p4raw-id: //depot/perl@12896
* microperl sync.Jarkko Hietaniemi2001-11-021-0/+2
| | | p4raw-id: //depot/perl@12826
* Extract doio.c's open(2) mode to string conversion as PerlIO_intmod2str()Nick Ing-Simmons2001-10-201-40/+2
| | | | | Use for non-PERLIO fdupopen(). p4raw-id: //depot/perlio@12532
* Unix and VMS agree on "*" as a "match any number of any chars"Jarkko Hietaniemi2001-10-101-0/+2
| | | | | | | | wildcards, but differ ("?" vs. "%") for their "match any single char" wildcard. This patch changes "?" chars to "%" before doing a VMS glob...at no loss of functionality, since "?" isn't a valid filename char on VMS. From Charles Lane. p4raw-id: //depot/perl@12388
* Warning incorrectly reported without -wRafael Garcia-Suarez2001-08-151-1/+3
| | | | | Message-ID: <20010814212327.A1919@rafael> p4raw-id: //depot/perl@11673
* Integrate change #11051 from macperl; O_RDONLY is not zeroJarkko Hietaniemi2001-07-301-1/+1
| | | | | | | | | everywhere. p4raw-link: @11051 on //depot/perl: 497b47a829dd93323de2c7f4f6815ab9f23d6ada p4raw-id: //depot/perl@11503 p4raw-integrated: from //depot/maint-5.6/macperl@11502 'merge in' doio.c (@11007..)
* Security hole in taint checking in open()deekoo2001-07-191-0/+1
| | | | | Message-Id: <Pine.LNX.4.33.0107182248330.11996-100000@chaos.tentacle.net> p4raw-id: //depot/perl@11410
* Based onNicholas Clark2001-07-021-3/+32
| | | | | | | | Subject: Re: sizeof(struct sembuf) Message-ID: <20010701222648.W59620@plum.flirble.org> but do semop() always the slow way. p4raw-id: //depot/perl@11098
* [ID 20010625.009] open(FILE,"+foo") [PATCH]Robert Spier2001-06-281-0/+1
| | | | | Message-ID: <15162.41164.618712.841415@rls.cx> p4raw-id: //depot/perl@10999
* gcc -Wall nits picked out by a non-UNIX systemJarkko Hietaniemi2001-06-121-24/+28
| | | | | (courtesy of Mark Bixby) p4raw-id: //depot/perl@10524
* More -Wall sweeping.Jarkko Hietaniemi2001-05-301-4/+4
| | | p4raw-id: //depot/perl@10338
* Medley of -Wall cleanups from Michael Schwen, Hugo van der Sanden,Jarkko Hietaniemi2001-05-301-1/+2
| | | | | and Abhijit Menon-Sen. p4raw-id: //depot/perl@10321
* O_APPEND and O_TRUNC are not portable. (Not available e.g.Jarkko Hietaniemi2001-05-271-1/+8
| | | | | for microperl.) p4raw-id: //depot/perl@10233
* [PATCH] [ID 19991013.005] utime undef, undef, @files Robert Spier2001-05-271-5/+16
| | | | | | | | | | | Date: Sat, 26 May 2001 20:05:23 -0400 Message-ID: <15120.17603.148648.12430@rls.cx> Subject: Re: [PATCH] [ID 19991013.005] utime undef, undef, @files From: rspier@pobox.com (Robert Spier) Date: Sun, 27 May 2001 00:23:12 -0400 Message-ID: <15120.33072.511966.767230@rls.cx> p4raw-id: //depot/perl@10232
* PerlIO for VMSCraig A. Berry2001-05-261-4/+2
| | | | | Message-Id: <a05100e0ab734816701a5@[172.16.52.1]> p4raw-id: //depot/perl@10218
* Fix for ID 20010519.003: sysopen() wasn't tainting :-(Jarkko Hietaniemi2001-05-201-3/+5
| | | p4raw-id: //depot/perl@10172
* Multiplicity and thread fixes for VMSDan Sugalski2001-05-021-2/+2
| | | | | Message-Id: <5.0.2.1.0.20010502112909.01f24e28@24.8.96.48> p4raw-id: //depot/perl@9960
* Make the "STD* opened only for ..." errors more consistent.Jarkko Hietaniemi2001-04-231-3/+5
| | | p4raw-id: //depot/perl@9802
* Avoid core dump onNick Ing-Simmons2001-04-201-1/+4
| | | | | open(STDOUT,">",\$foo); p4raw-id: //depot/perlio@9766
* Downgrade "Wide character in print" to a warning.Nick Ing-Simmons2001-04-041-2/+5
| | | p4raw-id: //depot/perlio@9549
* Fix un-init variable leading to spurious "Out of Memory!"Nick Ing-Simmons2001-03-241-1/+1
| | | p4raw-id: //depot/perlio@9332
* Implement:Nick Ing-Simmons2001-03-241-2/+4
| | | | | | 1. open($fh,"+<",undef); # add test to t/io/open.t 2. open($fh,"+<",\$var); # New test t/lib/io_scalar.t p4raw-id: //depot/perlio@9318
* Check in a stable (working) version before next round of tweaks.Nick Ing-Simmons2001-03-231-28/+7
| | | | | | | | | | Changes include: - Move default layers code out of doio.c and into perlio.c - Single routine for parsing layer specification strings. - Skeleton support for demand loading of layers - Core-dump avoidance if PERLIO environment specifies loadable layer (does not _work_ as need IO to load and need load to do IO ...) p4raw-id: //depot/perlio@9313
* Avoid "reopen" semantics for time being. Fix bug in dup logic.Nick Ing-Simmons2001-03-231-13/+13
| | | | | | -Uuseperlio now works again. -Duseperlio is still poorly. Don't merge yet... p4raw-id: //depot/perlio@9303
* Snapshot of new PerlIO open scheme. Still buggy - mainly in ↵Nick Ing-Simmons2001-03-221-89/+99
| | | | | | | | | | | | | | | open($fh,">&STDOUT!") type code. - Invent PerlIO_openn() - which has "lots" of args a bit like do_openn() which is its main caller. In particular now has access to "extra" args, and can tell when an open handle is "reopened" (or duped?). - In -Duseperlio PerlIO_open() et. al. are now wrappers on PerlIO_openn(). - In -Uuseperlio (untested as yet) PerlIO_openn() is a wrapper on PerlIO_open() et. al. (i.e. other way round). - Collapse "vtable" entries for layers - was fdopen/open/reopen now just open with args close to PerlIO_openn(). p4raw-id: //depot/perlio@9302
* Give a meaning to '&' in n-arg open case:Nick Ing-Simmons2001-03-221-17/+25
| | | | | | | | | | | | | open($fh,"<&",$scalar); $scalar can be: - an integer which does "fdopen" open($fh,"<&",2); # like open($fh,"<&2") - something that will yield a file handle via sv_2io() useful for dup'ing anonymous handles. e.g.: open(my $fh,"<&",\*STDIN); open(my $dup,"<&",$fh); p4raw-id: //depot/perlio@9298
* If stdin, stdout or stderr get opened in unexpected read/write stateNick Ing-Simmons2001-03-221-3/+13
| | | | | then warn at time of open not at time of use. p4raw-id: //depot/perlio@9295
* Die on n-arg open(...,"",xxx,yyy,...)Nick Ing-Simmons2001-03-221-6/+30
| | | | | | - redirect pipe cases to PerlProc_popen_list() (which just croaks for now) - die on read/write cases so we can decide what it means later. p4raw-id: //depot/perlio@9294
* Re: sync sync sync: have I missed any patches?Radu Greab2001-03-021-3/+6
| | | | | | | | | | | Message-ID: <15006.42826.747914.669893@ix.netsoft.ro> Fixes the bugs 20010221.005 and 20010221.008: "the taint checker was checking argv[0] regardless of whether a different pathname will actually be executed." Test case not supplied because drafting that, ironically enough, revealed another bug (or a feature). p4raw-id: //depot/perl@8982
* Re: sync sync sync: have I missed any patches?Tim Jenness2001-02-281-2/+2
| | | | | | | | In-Reply-To: <20010227140737.Y10633@chaos.wustl.edu> Message-ID: <Pine.LNX.4.30.0102271322070.8623-100000@lapaki.jach.hawaii.edu> Replace djSP with dSP. p4raw-id: //depot/perl@8963
* [patch] -WallDoug MacEachern2001-02-171-2/+1
| | | | | Message-ID: <Pine.LNX.4.21.0102161519500.30352-100000@mako.covalent.net> p4raw-id: //depot/perl@8815