summaryrefslogtreecommitdiff
path: root/doio.c
Commit message (Collapse)AuthorAgeFilesLines
* Removing /*SUPPRESS xxx*/Andy Lester2005-06-161-11/+4
| | | | | Message-ID: <20050616141342.GA22188@petdance.com> p4raw-id: //depot/perl@24871
* Move SvPV consting, remove an n_a, and correct one error in Move()Nicholas Clark2005-06-101-17/+18
| | | p4raw-id: //depot/perl@24798
* More SvPV consting.Nicholas Clark2005-06-071-15/+11
| | | p4raw-id: //depot/perl@24740
* Lots of constingNicholas Clark2005-06-071-5/+5
| | | p4raw-id: //depot/perl@24726
* Unvoid SvUPGRADEAndy Lester2005-06-071-2/+2
| | | | | Message-ID: <20050607040850.GA7033@petdance.com> p4raw-id: //depot/perl@24717
* Random constingAndy Lester2005-06-031-2/+3
| | | | | Message-ID: <20050602171943.GA16553@petdance.com> p4raw-id: //depot/perl@24689
* Quotes fixed, see also perl #36079Andy Lester2005-06-021-1/+1
| | | | | Message-ID: <20050602050238.GA4001@petdance.com> p4raw-id: //depot/perl@24666
* VMS build update for bleadCraig A. Berry2005-05-291-2/+2
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-Id: <429942A6.10601@mac.com> p4raw-id: //depot/perl@24613
* SvPVX_const() - Patch #1Steve Peters2005-05-201-10/+10
| | | | | Message-ID: <20050517231701.GA1394@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24509
* Well defined $? and introduction of ${^CHILD_ERROR_NATIVE} [PATCH]Gisle Aas2005-05-181-1/+1
| | | | | Message-ID: <lr8y2cim24.fsf_-_@caliper.activestate.com> p4raw-id: //depot/perl@24501
* 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-0/+10
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* s/sv_setpv(sv,"")/sv_setpvn(sv,"",0)/Nicholas Clark2005-05-101-2/+2
| | | | | plus a couple of 1 byte sv_setpv()s too. p4raw-id: //depot/perl@24439
* GCC attributes!Andy Lester2005-05-071-14/+16
| | | | | Message-ID: <20050504215540.GA20413@petdance.com> p4raw-id: //depot/perl@24414
* Symbian port of PerlJarkko Hietaniemi2005-04-211-9/+11
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Refactoring to Sv*_set() macros - patch #2Steve Peters2005-04-081-2/+2
| | | | | Message-ID: <20050407185149.GA4418@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24204
* Add casting to allow g++ (3.3.5) to compile the core code.Nicholas Clark2005-04-051-1/+2
| | | | | | A C++ compiler produces lots of warnings that are probably valid concerns to investigate. p4raw-id: //depot/perl@24170
* Using savesvpv() here is terser and produces smaller object code.Nicholas Clark2005-04-051-4/+1
| | | p4raw-id: //depot/perl@24167
* const-eight.diffAndy Lester2005-04-041-23/+26
| | | | | Message-ID: <20050330174024.GA12167@petdance.com> p4raw-id: //depot/perl@24148
* Fix PerlLIO_chsize() for platforms that don't have chsize()Steve Hay2005-03-291-5/+10
| | | | | | This is the patch from the end of the thread that started here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-09/msg00055.html p4raw-id: //depot/perl@24092
* Third consting batchAndy Lester2005-03-241-8/+7
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* Make the return value of close() depend not only on the success of theRafael Garcia-Suarez2005-03-101-3/+6
| | | | | | close itself, but also on whether the output stream had a previous error. From Jim Meyering <jim@meyering.net>, via Debian. p4raw-id: //depot/perl@24022
* Use strl* functions in doio.c when availableSteve Peters2005-02-151-4/+52
| | | | | | | Based on : Subject: [PATCH] Changes to doio.c to use strlcpy() and strlcat() Message-ID: <20041202014214.GA20907@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@23968
* strEQ/strNE of 1 character strings seems better hand inlined,Nicholas Clark2005-01-011-4/+4
| | | | | | because it generates smaller object code (as well as being faster than a true function call) p4raw-id: //depot/perl@23725
* Doing the strnEQ char by char for 2 and 3 character stringsNicholas Clark2004-12-311-2/+2
| | | | | generates a smaller object file, and will be faster. p4raw-id: //depot/perl@23721
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+5
| | | p4raw-id: //depot/perl@23176
* Perl_mode_from_discipline must update len. (else SEGV)Nicholas Clark2004-07-101-0/+1
| | | | | Diagnosis and patch from clkao p4raw-id: //depot/perl@23076
* Include variable names in "Use of uninitialized value" warningsDave Mitchell2004-04-231-1/+1
| | | p4raw-id: //depot/perl@22741
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* [perl #24521] make test breaks permissions on /dev/ttyDave Mitchell2004-02-291-1/+3
| | | | | perl -i could fchmod(stdin) by mistake p4raw-id: //depot/perl@22415
* Implement stacked filetest operators (-f -w -x $file).Rafael Garcia-Suarez2004-02-091-1/+9
| | | p4raw-id: //depot/perl@22294
* Remove incorrect guards around inclusion of <signal.h>Alan Burlison2003-12-151-2/+0
| | | | | Causes problems with UNIX03/SUSv3 p4raw-id: //depot/perl@21916
* Modify the common guard for the signal.h header, becauseAlan Burlison2003-12-121-1/+1
| | | | | | | | | C99 compilers don't like it.o see : Subject: UNIX03 & C99 issue with 5.8.2 Message-ID: <3FDA4994.6050209@sun.com> p4raw-id: //depot/perl@21883
* casting bug in VMS part of Perl_start_globCraig A. Berry2003-12-061-2/+3
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <3FD22398.1060506@mac.com> p4raw-id: //depot/perl@21858
* dup2() not going through PerlLIO abstraction layerJan Dubois2003-10-231-1/+1
| | | | | Message-Id: <vniepv0n5mcrbbutm0qgvori6n6vr6arsh@4ax.com> p4raw-id: //depot/perl@21522
* Two OS/2 portability patches from Ilya.Ilya Zakharevich2003-10-211-2/+2
| | | | | | | | | | | | 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
* Apparently at some point doing 3-arg open withJarkko Hietaniemi2003-09-131-0/+4
| | | | | illegal mode like ">>>" had stopped croaking. p4raw-id: //depot/perl@21206
* Minuscule code cleanup.Jarkko Hietaniemi2003-09-131-10/+11
| | | p4raw-id: //depot/perl@21205
* Unknown discipline ':utf8' w/ maint perl w/o perlioStas Bekman2003-09-131-1/+1
| | | | | | | | Message-ID: <3F62301B.3080604@stason.org> s/discipline/IO layer/, instead of "unknown" say "unavailable", and have the fuller explanation in perldiag. p4raw-id: //depot/perl@21203
* Fewer naked char constants.Jarkko Hietaniemi2003-08-301-3/+3
| | | p4raw-id: //depot/perl@20957
* Restore SIGFPE on exec()Chip Salzenberg2003-07-101-0/+8
| | | | | Message-ID: <20030710171319.GA21588@perlsupport.com> p4raw-id: //depot/perl@20117
* OS2 patchesIlya Zakharevich2003-06-151-0/+2
| | | | | Message-ID: <20030615004956.GA28272@math.berkeley.edu> p4raw-id: //depot/perl@19789
* Integrate from perlio:Jarkko Hietaniemi2003-05-181-0/+8
| | | | | | | | | | | | | [ 19542] Fix ticket #22219 [ 19543] Spotted a bare close() where PerlLIO_close() seems correct. p4raw-link: @19543 on //depot/perlio: 8a521f284323c7ef06cccf453146cc13958cfd6d p4raw-link: @19542 on //depot/perlio: 6a93df2e699ee31021f3373dcafbb41d67f7f951 p4raw-id: //depot/perl@19552 p4raw-integrated: from //depot/perlio@19550 'copy in' doio.c (@19473..) perlio.c (@19538..)
* In eof() the errno can get stomped by the peek-ahead.Jarkko Hietaniemi2003-05-101-0/+4
| | | p4raw-id: //depot/perl@19470
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (Lots of Perl 5 source code archaeology was involved.) Larry didn't make strangled noises when I showed him the patch, either :-) p4raw-id: //depot/perl@19242
* Feeding illegal QP (like \x80) to thisJarkko Hietaniemi2003-03-281-0/+2
| | | | | | | | | ./perl -Ilib -wne 'use PerlIO::via::QuotedPrint;BEGIN{binmode(STDIN, ":via(QuotedPrint)")};print' caused a coredump in av_length() <- nextargv() because the av was NULL. I don't know that returning Nullfp is the best thing to do, but it dodges the segfault and introduces no test failures. p4raw-id: //depot/perl@19077
* Integrate:Jarkko Hietaniemi2003-03-201-3/+4
| | | | | | | | | | | | | | | [ 19033] file test operators weren't doing the right thing if the SV passed to them wasn't NUL-terminated [ 19034] ensure SVs returned by Win32::Get{Short,Full}PathName() are NUL-terminated p4raw-link: @19034 on //depot/maint-5.6/perl: d453a28c5f70420dd114c2f0f61ec1aaf34109e0 p4raw-link: @19033 on //depot/maint-5.6/perl: 1ad7974d3a92321c870ce2bd5ce4e57098b51c10 p4raw-id: //depot/perl@19036 p4raw-integrated: from //depot/maint-5.6/perl@19028 'merge in' doio.c (@16333..) win32/win32.c (@18377..)
* Make whichsig() to work also if some system definesJarkko Hietaniemi2003-03-141-2/+2
| | | | | | | | zero signals (now -1 is the "not found"). Note that in couple of mg.c spots only whichsig() > 0 branches are taken because signal handlers et al don't make much sense for the zero signal. p4raw-id: //depot/perl@18975
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Re: utime undef, undef, "/tmp/test" and warningsStas Bekman2003-02-091-11/+12
| | | | | Message-ID: <3E444B6C.5060407@stason.org> p4raw-id: //depot/perl@18676