summaryrefslogtreecommitdiff
path: root/pp_sys.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the four-argument form of select() return undefRafael Garcia-Suarez2005-04-111-1/+4
| | | | | instead of -1 on error. p4raw-id: //depot/perl@24223
* Down with potentially incorrect duplicate prototypesNicholas Clark2005-04-051-6/+0
| | | p4raw-id: //depot/perl@24164
* Clean-up some warnings when compiling on Win32 with VC++Steve Hay2005-03-291-1/+1
| | | p4raw-id: //depot/perl@24096
* Fix PerlLIO_chsize() for platforms that don't have chsize()Steve Hay2005-03-291-4/+0
| | | | | | 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
* Consting fiveAndy Lester2005-03-251-2/+2
| | | | | | | | Message-ID: <20050325231409.GB17660@petdance.com> [with modification - the extra argument to incpush was supposed to be being used] p4raw-id: //depot/perl@24081
* Third consting batchAndy Lester2005-03-241-6/+6
| | | | | Message-Id: <2f14220e7101a03f7659dbe79a03b115@petdance.com> p4raw-id: //depot/perl@24074
* More consting goodnessAndy Lester2005-03-211-3/+3
| | | | | Message-ID: <20050319072830.GA7721@petdance.com> p4raw-id: //depot/perl@24049
* Fix for bug [ID 20020227.005] format bug with undefined _TOPH.Merijn Brand2005-02-271-1/+1
| | | | | | | | http://rt.perl.org/rt3/Ticket/Display.html?id=8698 If there was no TOP format the lines left on page was set to fixed number, now set to the current page length of the IO channel used. More debugging for yet another bug needed. p4raw-id: //depot/perl@23999
* Patch for Perlbug #4253Nikolai Eipel2005-02-181-1/+0
| | | | | | | | Message-Id: <200501291652.53841.eipel@web.de> (-T and -B invalidate _ filehandle when no read permission on file) plus a regression test p4raw-id: //depot/perl@23986
* [perl #33928] chomp() fails after alarm(), `sleep`Dave Mitchell2005-01-291-2/+3
| | | | | | PP_backtick's temp altering of PL_rs didn't restore after an exception p4raw-id: //depot/perl@23898
* Re: [PATCH] File::Find dies on find({follow=>1, ...}) on Win32Yitzchak Scott-Thoennes2005-01-211-2/+0
| | | | | Message-ID: <20041221000856.GA2924@efn.org> p4raw-id: //depot/perl@23842
* Correct the editor block to match the perl 5 policy on tabsNicholas Clark2005-01-141-1/+1
| | | p4raw-id: //depot/perl@23803
* Update copyright years. Add an editor block while passing by.Nicholas Clark2005-01-131-1/+11
| | | p4raw-id: //depot/perl@23789
* If we know the length of the string constant, save a strlen()Nicholas Clark2005-01-091-1/+1
| | | p4raw-id: //depot/perl@23773
* savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call toNicholas Clark2005-01-091-1/+1
| | | | | | strlen(). Add savesvpv(sv), which gets the length from the SV, and returns a copy of its PV. p4raw-id: //depot/perl@23772
* to improve -DCHECK_FORMATRobin Barker2005-01-071-1/+1
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C55A@hotel.npl.co.uk> p4raw-id: //depot/perl@23767
* Stage 1 of utf8 support for soft references.Nicholas Clark2005-01-071-9/+14
| | | | | | | | | | Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags Add gv_fetchsv to look up a GV by SV rather than a char * pointer Provide a backwards compatability gv_fetchpv Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing the pointer from an SV All tests still pass. p4raw-id: //depot/perl@23766
* Ooops. Fix unitialised variableNicholas Clark2004-12-291-0/+1
| | | p4raw-id: //depot/perl@23705
* read (and presuambly sysread) would expose the UTF8 internals whenNicholas Clark2004-12-291-3/+30
| | | | | reading from a byte orientated file handle into a UTF8 scalar. p4raw-id: //depot/perl@23703
* Re: [perl #31459] Bug in read()Chris Heath2004-09-141-1/+4
| | | | | | | | Message-Id: <1094443392.12379.35.camel@linux.heathens.co.nz> a read(F) into a UTF8-encoded buffer with an offset off the end of the buffer, miss-calculated buffer lengths p4raw-id: //depot/perl@23321
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+9
| | | p4raw-id: //depot/perl@23176
* remove the return stack PL_retstack, and store return ops in the CXDave Mitchell2004-07-231-2/+2
| | | | | structure directly instead p4raw-id: //depot/perl@23156
* Update copyright noticesRafael Garcia-Suarez2004-03-161-1/+1
| | | p4raw-id: //depot/perl@22509
* Make a temporary copy of the input buffer in pp_send, so that sendNicholas Clark2004-03-091-1/+5
| | | | | and syswrite don't gratuitously upgrade their input to UTF8 p4raw-id: //depot/perl@22471
* Implement stacked filetest operators (-f -w -x $file).Rafael Garcia-Suarez2004-02-091-22/+86
| | | p4raw-id: //depot/perl@22294
* [perl #8698] format bug with undefined _TOPDave Mitchell2004-01-161-1/+1
| | | | | | | name of format_TOP now derived from the name of the current filehandle rather then the name of the format associetd with that handle p4raw-id: //depot/perl@22162
* Two OS/2 portability patches from Ilya.Ilya Zakharevich2003-10-211-10/+10
| | | | | | | | | | | | 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
* pp_sys.c: pp_waitpid and EINTRSteve Grazzini2003-10-051-7/+8
| | | | | Message-Id: <20031004221523.GA29324@grazzini.net> p4raw-id: //depot/perl@21402
* [perl #24032] Perl 5.8.1-RC5 build problems on LynxOS Olli Savia2003-09-241-0/+12
| | | | | | From: Olli Savia (via RT) <perlbug-followup@perl.org> Message-ID: <rt-24032-65280.10.6144413163834@rt.perl.org> p4raw-id: //depot/perl@21360
* -M -A -C brokenIlya Zakharevich2003-09-181-3/+3
| | | | | | | Message-ID: <20030918180202.GA21949@math.berkeley.edu> (use stat.t instead of time.t) p4raw-id: //depot/perl@21277
* It's UTF-8, not UTF8. (Note: not s/UTF-8/UTF8/,Jarkko Hietaniemi2003-09-121-1/+1
| | | | | | since that would break a lot of code.) Also few stray UTF16s, UTF32s, and "encoded in Unicode". p4raw-id: //depot/perl@21198
* Radu Greab is my hero (the recent cygwin getpw*->pw_commentJarkko Hietaniemi2003-09-081-0/+6
| | | | | | being a bad pointer is apparently a known cygwin bug). The cure is to initialize the field. p4raw-id: //depot/perl@21103
* Clean up pp_readdir() somewhat.Abhijit Menon-Sen2003-09-081-29/+22
| | | p4raw-id: //depot/perl@21084
* more valgrinding: select problem?Marcus Holland-Moritz2003-08-251-3/+7
| | | | | | | | | | From: "Marcus Holland-Moritz" <mhx-perl@gmx.net> Message-ID: <008301c36b43$cfe26f10$0c2f1fac@R2D2> In glibc, just use the __FD_SETSIZE since that's the size of the buffer (usually 1024 bits, much more than the selectminbits of 32). p4raw-id: //depot/perl@20893
* Oops. Why can't C comments nest?Jarkko Hietaniemi2003-08-221-1/+1
| | | p4raw-id: //depot/perl@20843
* Try to dodge getspnam() in AIX.Jarkko Hietaniemi2003-08-221-2/+10
| | | p4raw-id: //depot/perl@20842
* Fix the syswrite downgrade bug ofJarkko Hietaniemi2003-08-211-3/+6
| | | | | [perl #23428] Somethings rotten in unicode semantics p4raw-id: //depot/perl@20804
* A better patch from Yitzchak Scott-Thoennes for [perl #23287].Jarkko Hietaniemi2003-08-121-2/+2
| | | p4raw-id: //depot/perl@20660
* Retract #20644 and #20643; on non-microperl non-fcntlJarkko Hietaniemi2003-08-121-2/+0
| | | | | | | systems Wrong Thing would be done. (And as Sarathy points out, closing both ends of a pipe is rather identical to never opening it...) p4raw-id: //depot/perl@20653
* Apply much of Ilya's microperl patch, but instead ofJarkko Hietaniemi2003-08-121-0/+12
| | | | | | | | | implementing the opendir()/readdir()/closedir() using external commands give up "ANSI-pureness" and define them in uconfig.sh, also define other stuff like rename() and putenv(). Leave out the $| emulation in my_fork() since we are not supposed to have fork() under microperl. p4raw-id: //depot/perl@20646
* A generally useful hunk from Ilya's microperl patch.Jarkko Hietaniemi2003-08-121-0/+2
| | | | | (If no fcntl F_SETFD, fake it the best we can.) p4raw-id: //depot/perl@20643
* Fix for [perl #23287] segfault in untie.Jarkko Hietaniemi2003-08-121-1/+1
| | | | | (Well, at least no more coredump.) p4raw-id: //depot/perl@20630
* Integrate from perlio:Jarkko Hietaniemi2003-07-011-0/+8
| | | | | | | | | | [ 19909] binmode() should affect IoOFP() as well as IoIFP() if it is distinct (e.g. sockets). p4raw-link: @19909 on //depot/perlio: 5a828df094714ebe5d444cf1aea96c870ca9e452 p4raw-id: //depot/perl@19910 p4raw-integrated: from //depot/perlio@19906 'merge in' pp_sys.c (@19868..)
* Debian fix from Brendan O'Dea:Jarkko Hietaniemi2003-06-221-6/+10
| | | | | | Bug#156284: the stucture used by pp_accept is too small to hold an IPv6 address. p4raw-id: //depot/perl@19836
* Remove all magic in untie()Aaron J. Mackey2003-06-151-1/+1
| | | | | | | Subject: Re: untie from within FETCH/STORE not working under 5.8.0 (fwd) Message-ID: <Pine.OSF.4.33.0306130820570.29017-100000@alpha10.bioch.virginia.edu> (plus a test case) p4raw-id: //depot/perl@19793
* OS2 patchesIlya Zakharevich2003-06-151-2/+2
| | | | | Message-ID: <20030615004956.GA28272@math.berkeley.edu> p4raw-id: //depot/perl@19789
* Patch for a warning emitted twice, from :Steve Grazzini2003-06-121-1/+1
| | | | | | Subject: [PATCH: perl@19733] "perldoc -f -X" + "extra warning from -T" Message-ID: <20030611044647.GA16696@grazzini.net> p4raw-id: //depot/perl@19751
* change#16723 broke the ioctl() return value on platforms Gurusamy Sarathy2003-05-171-0/+2
| | | | | | | | | | that have ioctl() but no fcntl() (e.g. windows) change#17577 then attempted to fix the bustage, but got it wrong p4raw-link: @17577 on //depot/perl: c214f4ad8bbb376b6ebfcb9c9173169f2cc8986f p4raw-link: @16723 on //depot/perl: 4808266b7a2aefa68f681e0378316e43728b49d8 p4raw-id: //depot/perl@19534
* Re: Does filetest work at all?Slaven Rezic2003-05-031-6/+6
| | | | | Message-ID: <87ade4q9me.fsf@vran.herceg.de> p4raw-id: //depot/perl@19394
* Salvage 'use filetest "access"' from compiletime to runtime.Jarkko Hietaniemi2003-05-031-6/+6
| | | p4raw-id: //depot/perl@19392