summaryrefslogtreecommitdiff
path: root/perlio.c
Commit message (Collapse)AuthorAgeFilesLines
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-1/+1
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* Get the correct refcount on the temporary assignment to PL_sigwarn soNicholas Clark2005-05-061-1/+12
| | | | | | that other code assigning to $SIG{__WARN__} doesn't cause a premature free. p4raw-id: //depot/perl@24410
* printf.patch: Adding printf checking for gccAndy Lester2005-05-021-0/+6
| | | | | Message-ID: <20050501200755.GA30259@petdance.com> p4raw-id: //depot/perl@24365
* one cannot "static" exported functionsJarkko Hietaniemi2005-04-291-2/+2
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D705@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24353
* Fix perlsio_binmode() export breakage caused by change #24338Steve Hay2005-04-281-2/+2
| | | | | | | Define and export perlsio_binmode() based on the same condition, namely, that USE_PERLIO is defined and USE_SFIO is not. p4raw-link: @24338 on //depot/perl: de009b76d60bdeb88f1d812ac755ae225805a071 p4raw-id: //depot/perl@24341
* perlio-two.patch: More warnings squashed, more constsAndy Lester2005-04-271-109/+106
| | | | | Message-ID: <20050427150243.GA21883@petdance.com> p4raw-id: //depot/perl@24338
* Symbian port of PerlJarkko Hietaniemi2005-04-211-91/+69
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Down with C++ reserved namesNicholas Clark2005-04-051-3/+3
| | | | | | (and also function pointer declarations that rely on the C semantics of ()) p4raw-id: //depot/perl@24165
* The core part of :Andy Lester2005-03-291-0/+1
| | | | | | Subject: [PATCH] Consting seven Message-ID: <20050327215722.GC20451@petdance.com> p4raw-id: //depot/perl@24094
* Consting part 4Andy Lester2005-03-251-2/+4
| | | | | Message-ID: <20050325204331.GA16388@petdance.com> p4raw-id: //depot/perl@24079
* Third consting batchAndy Lester2005-03-241-2/+1
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* More const parmsAndy Lester2005-03-181-1/+1
| | | | | Message-ID: <20050314195954.GB7141@petdance.com> p4raw-id: //depot/perl@24042
* Really fix the bug [perl #33990].Rafael Garcia-Suarez2005-01-311-3/+1
| | | | | NB. -DIAMSUID is only set to compile sperl.o. p4raw-id: //depot/perl@23906
* Avoid a buffer overflow with threads and PERLIO_DEBUGRafael Garcia-Suarez2005-01-311-1/+1
| | | p4raw-id: //depot/perl@23904
* Don't write to $PERLIO_DEBUG when setuid ([perl #33990])Rafael Garcia-Suarez2005-01-311-0/+2
| | | p4raw-id: //depot/perl@23903
* [Patch] [perl #32446] close leaves fd openSteffen Ullrich2005-01-211-0/+7
| | | | | Message-ID: <20041201142236.4273.qmail@lists.develooper.com> p4raw-id: //depot/perl@23844
* Update copyright years.Nicholas Clark2005-01-041-1/+1
| | | p4raw-id: //depot/perl@23746
* Integrate a patch from Gentoo for uclibc support.Alexey Tourbin2005-01-031-1/+5
| | | | | | | See : Subject: Re: Static linking notes --- perl5.8.6 and uClibc Message-ID: <20041228112542.GB21037@solemn.turbinal.org> p4raw-id: //depot/perl@23732
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+6
| | | p4raw-id: //depot/perl@23176
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* [PERLIO] In line-buffered mode, flush on the *last* newline,Chip Salzenberg2004-03-091-21/+16
| | | | | not on every newline. p4raw-id: //depot/perl@22478
* rescue PerlIO_getname for VMSCraig A. Berry2004-01-191-1/+8
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <400AD5AB.3080708@mac.com> p4raw-id: //depot/perl@22174
* OS/2 buildIlya Zakharevich2003-11-021-0/+4
| | | | | Message-ID: <20031029220017.GA26384@math.berkeley.edu> p4raw-id: //depot/perl@21620
* Two OS/2 portability patches from Ilya.Ilya Zakharevich2003-10-211-1/+1
| | | | | | | | | | | | Subject: [PATCH 5.8.1 @21211] sockets broken on OS/2 Date: Thu, 25 Sep 2003 12:09:11 -0700 Message-ID: <20030925190911.GA27028@math.berkeley.edu> Subject: Re: [PATCH 5.8.1 @21379] tmpfile() broken on OS/2 From: Ilya Zakharevich <nospam-abuse@ilyaz.org> Date: Thu, 25 Sep 2003 19:50:45 -0700 Message-ID: <20030926025045.GA27507@math.berkeley.edu> p4raw-id: //depot/perl@21509
* Re: [perl #24225] [5.8.1] segfault in binmode STDOUT, ':stdio'; print 1Slaven Rezic2003-10-201-2/+4
| | | | | Message-ID: <871xt9te7g.fsf@vran.herceg.de> p4raw-id: //depot/perl@21505
* [perl #24032] Perl 5.8.1-RC5 build problems on LynxOS Olli Savia2003-09-241-0/+5
| | | | | | From: Olli Savia (via RT) <perlbug-followup@perl.org> Message-ID: <rt-24032-65280.10.6144413163834@rt.perl.org> p4raw-id: //depot/perl@21360
* PerlIO_tmpfile clean-up for VMSCraig A. Berry2003-09-141-1/+1
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <3F63FB6C.5040502@mac.com> p4raw-id: //depot/perl@21217
* The "perlio: " prefix looks a little oddJarkko Hietaniemi2003-09-131-3/+3
| | | | | | in the few warning/error messages, since no other 'subsystems' have prefixes. p4raw-id: //depot/perl@21208
* Layer names were recognized by their prefixesJarkko Hietaniemi2003-09-131-1/+1
| | | | | (e.g. open(F, ":u", "file") worked...) p4raw-id: //depot/perl@21207
* Fewer naked char constants.Jarkko Hietaniemi2003-08-301-8/+8
| | | p4raw-id: //depot/perl@20957
* This is probably a wrong fix forJarkko Hietaniemi2003-08-301-22/+24
| | | | | | [perl #23645] tell with perlio on appended files but maybe this gets NI-S agitated enough to present the correct fix :-) p4raw-id: //depot/perl@20956
* A new try atGerrit P. Haase2003-08-301-5/+13
| | | | | | | | | Subject: [PATCH] maint / blead tweaks in perlio.c for Cygwin From: "Gerrit P. Haase" <gp@familiehaase.de> Message-ID: <4157199551.20030828081851@familiehaase.de> (this time Cygwin only) p4raw-id: //depot/perl@20954
* Something went wrong in change #20929;Jarkko Hietaniemi2003-08-301-22/+19
| | | | | | | | linux 2.4.18-bf2.4 didn't like it: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-08/msg01992.html and similar failure pattern also seen in Solaris 8. p4raw-link: @20929 on //depot/perl: 1403d6bf1ee303dd613942fa2f6df0519a053ba6 p4raw-id: //depot/perl@20950
* maint / blead tweaks in perlio.c for CygwinGerrit P. Haase2003-08-291-19/+22
| | | | | | | | From: "Gerrit P. Haase" <gp@familiehaase.de> Message-ID: <4157199551.20030828081851@familiehaase.de> (changed so that the 'b' is always appended) p4raw-id: //depot/perl@20929
* Make (hopefully) the Windows CR CR LF bug go awayJarkko Hietaniemi2003-08-131-0/+17
| | | | | | | | by making the CRLF layer repel any other CRLF layers. In other words: binmode(FH, ":crlf") in e.g. Win32 is effectively a no-op since there already is one CRLF layer in the stack by default. p4raw-id: //depot/perl@20674
* Re: [perl #23083] [5.8.0-Bug?] backtick returns empty value when $SIG{CHLD} ↵Chip Salzenberg2003-08-051-0/+2
| | | | | | | defined. Message-ID: <20030805153924.GO1751@perlsupport.com p4raw-id: //depot/perl@20503
* tiny [PATCH-for-perl-5.8.1-RC2] remove one mention of UNDER_CE from perlio.cVadim Konovalov2003-07-301-1/+1
| | | | | | From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com> Message-ID: <845FCFF2D4C0FC468B485E8777C7A00C200DD3@cio-test001.spb.lucent.com> p4raw-id: //depot/perl@20342
* Retract #20260.Jarkko Hietaniemi2003-07-281-6/+6
| | | p4raw-id: //depot/perl@20267
* (Retracted by #20267)Jarkko Hietaniemi2003-07-281-6/+6
| | | p4raw-id: //depot/perl@20260
* Retract #20056, #20055, #20052, #20050, #20048: the changesJarkko Hietaniemi2003-07-071-31/+15
| | | | | are just breaking more than they are fixing. p4raw-id: //depot/perl@20057
* Try making PerlIO errors more consistent.Jarkko Hietaniemi2003-07-071-15/+31
| | | | | | | | | | | (1) Check early whether the filehandle is capable of the requested action. (2) PerlIO_read() really can return -1, and so can PerlIOUnix_read(). (3) Some stdio implementations are more forgiving than others, so check also for errors recorded by PerlIO in PerlStdio_errno(). p4raw-id: //depot/perl@20050
* Make a read from a write-only fh to set errnoJarkko Hietaniemi2003-07-051-1/+4
| | | | | (found by Gisle) p4raw-id: //depot/perl@20019
* More perlio ->Open paranoia. Set errno to EINVAL if there'sJarkko Hietaniemi2003-06-121-9/+11
| | | | | no ->Open, not if ->Open returns NULL. p4raw-id: //depot/perl@19749
* Slightly amended version of the proposed patch forJarkko Hietaniemi2003-06-121-2/+6
| | | | | | | | "[perl #22390] export PERLIO=bytes segfaults"; the amendment is to set errno. TODO: we really should not get here if the layer stack is corrupt or non-sensical (like "bytes"). p4raw-id: //depot/perl@19747
* Prevent a potential null pointer dereference.Rafael Garcia-Suarez2003-06-041-2/+3
| | | | | | Noticed by Ryan Koga <rkoga@caida.org> in Message-ID: <Pine.BSF.4.44.0306031659090.1489-100000@login.caida.org> p4raw-id: //depot/perl@19688
* Salvage parts of #19667.Jarkko Hietaniemi2003-06-031-29/+37
| | | p4raw-id: //depot/perl@19673
* Retract #19667, #19660, #19659, #19658, #19657, #19656,Jarkko Hietaniemi2003-06-031-7/+37
| | | | | | #19655, #19418; File::Temp no more used internally. Some parts of these will be salvaged later. p4raw-id: //depot/perl@19670
* I thought I tried building threaded. Never think. Try.Jarkko Hietaniemi2003-06-021-1/+2
| | | p4raw-id: //depot/perl@19658
* Since pulling in File::Temp for tempfiles would pull inJarkko Hietaniemi2003-06-021-43/+3
| | | | | | | | | also Fcntl, miniperl could not open up tempfiles. This broke the use of miniperl in VMS, as noticed by Craig Berry. Try to cure this by moving the creation of tempfile into its own routine, my_tmpfp(), which gets compiled differently for miniperl and perl. p4raw-id: //depot/perl@19656