summaryrefslogtreecommitdiff
path: root/pp_sys.c
Commit message (Collapse)AuthorAgeFilesLines
* Need to add some more conditions to deal with the caseNorton T. Allen1999-07-281-2/+4
| | | | | | | | | defined(HAS_GETSPNAM) && ! defined(HAS_GETSPENT) which is true for QNX4. To: perl5-porters@perl.org Subject: [ID 19990728.009] Patch:pp_sys.c _58 QNX Message-Id: <199907281708.NAA07947@bottesini.harvard.edu> p4raw-id: //depot/cfgperl@3817
* applied suggested patch; added missing prototype changes toIlya Zakharevich1999-07-271-1/+9
| | | | | | | | | opcode.pl along with documentation typos (feature still needs to be described in perlopentut.pod and summarized in perldelta.pod) Message-Id: <199906170439.AAA18154@monk.mps.ohio-state.edu> Subject: [PATCH 5.00557] 3-arg open p4raw-id: //depot/perl@3786
* make system() return -1 and set $! if exec of child failedIlya Zakharevich1999-07-171-3/+39
| | | | | | Message-ID: <19990709052113.A6201@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_57] system()==-1 and $! from failing fork/exec p4raw-id: //depot/perl@3679
* yet more cleanups of the PERL_OBJECT, MULTIPLICITY and USE_THREADSGurusamy Sarathy1999-07-121-5/+5
| | | | | | | | | | | | | | | | builds; passing the implicit context is unified among the three flavors; PERL_IMPLICIT_CONTEXT is auto-enabled under all three flavors (see the top of perl.h) for testing; all varargs functions foo() have a va_list-taking variant vfoo() for generating the context-free versions; the PERL_OBJECT build should now be hyper-compatible with CPAN extensions (C++ is totally out of the picture) result has only been tested on Windows TODO: write docs on the THX rationale and idiomatic usage of the Perl API p4raw-id: //depot/perl@3667
* better diagnostics on read operations from write-onlyGurusamy Sarathy1999-07-071-10/+26
| | | | | filehandles p4raw-id: //depot/perl@3632
* slightly tweaked version of suggested patchDan Sugalski1999-07-061-8/+8
| | | | | | Message-Id: <3.0.6.32.19990608140938.030f12e0@ous.edu> Subject: [PATCH 5.005_57]Use NV instead of double in the core p4raw-id: //depot/perl@3602
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-07-061-0/+7
|\ | | | | p4raw-id: //depot/perl@3601
| * Integrate with mainperl.Jarkko Hietaniemi1999-07-051-0/+4
| |\ | |/ |/| p4raw-id: //depot/cfgperl@3598
* | Long-standing UDP sockets bug on OS/2Ilya Zakharevich1999-07-051-0/+4
| | | | | | | | | | Message-Id: <199906080847.EAA03810@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3596
| * Hack SOCKS support some more plus a patch from Andy DoughertyJarkko Hietaniemi1999-07-051-1/+1
| | | | | | | | | | that addresses the notorious "Additional libraries" question. p4raw-id: //depot/cfgperl@3597
| * Miscellaneus AIX fixes + SOCKS support.Jarkko Hietaniemi1999-07-041-0/+3
|/ | | p4raw-id: //depot/cfgperl@3578
* Fixed two long-standing locale bugs.Jarkko Hietaniemi1999-06-171-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both problems were related to numeric locale which controls the radix character aka the decimal separator. (1) printf (and sprintf) were resetting the numeric locale to C. (2) Using locale-numerically formatted floating point numbers (e.g. "1,23") together with -w caused warnings about "isn't numeric". The operations were working fine, though, because atof() was using the local locale. Both problems reported by Stefan Vogtner. Introduced a wrapper for atof() that attempts to convert the string both ways. This helps Perl to understand numbers like this "4.56" even when using a local locale makes atof() understand only numbers like this "7,89". Remaining related problems, both of which existed before this patch and continue to exist after this patch: (a) The behaviour of print() is _not_ as documented by perllocale. Instead of always using the C locale, print() does use the local locale, just like the *printf() do. This may be fixable now that switching to-and-fro between locales has been made more consistent, but fixing print() would change existing behaviour. perllocale is not changed by this patch. (b) If a number has been stringified (say, via "$number") under a local locale, the cached string value persists even under "no locale". This may or may not be a problem: operations work fine because the original number is still there, but that the string form keeps its locale-ish outlook may be somewhat confusing. p4raw-id: //depot/cfgperl@3542
* win32 build fixesGurusamy Sarathy1999-06-101-5/+5
| | | p4raw-id: //depot/perl@3525
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-208/+208
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-31/+28
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* avoid dereferencing null pointer from getpwent() et alGurusamy Sarathy1999-06-021-7/+11
| | | p4raw-id: //depot/perl@3519
* remove _() non-ansismGurusamy Sarathy1999-06-021-10/+10
| | | p4raw-id: //depot/perl@3518
* integrate cfgperl contents into mainlineGurusamy Sarathy1999-06-021-10/+14
|\ | | | | p4raw-id: //depot/perl@3516
| * Make Configure support the change #3367,Jarkko Hietaniemi1999-05-291-10/+14
| | | | | | | | | | | | | | SysV shadow passwords. p4raw-link: @3367 on //depot/perl: 8c0bfa080e85353d7675b8b2fb1a04c6cc60cd5f p4raw-id: //depot/cfgperl@3502
* | remove stray K&R-ismsGurusamy Sarathy1999-06-021-10/+8
|/ | | p4raw-id: //depot/perl@3515
* shadow password support for Solaris (needs Configure help toPatrick O'Brien1999-05-101-0/+30
| | | | | | | determine HAS_GETSPENT) Message-Id: <199905012341.TAA23989@optimus.cs.umd.edu> Subject: getpwent() under solaris p4raw-id: //depot/perl@3367
* cygwin32 update (untested adaptation of patch against 5.005_03)Alexander Smishlajev1999-05-101-2/+2
| | | | | | Message-ID: <37230365.5F68B460@turnhere.com> Subject: [PATCH]5.005_03 (CORE) cygwin32 port p4raw-id: //depot/perl@3358
* flush all open output buffers before fork(), exec(), system, qx//Gurusamy Sarathy1999-05-091-0/+3
| | | | | | and pipe open() operations, simplifying buffering headaches faced by users; uses fflush(NULL), which may need Configure test p4raw-id: //depot/perl@3352
* Implement OPEN, EOF, SEEK, TELL, BINMODE and FILENO as TIEHANDLE methods.Nick Ing-Simmons1999-05-081-2/+85
| | | | | | Provide Tie::StdHandle Basic update of docs. p4raw-id: //depot/perl@3330
* Implement open( my $fh, ...) and similar.Nick Ing-Simmons1999-05-071-0/+4
| | | | | | | | | | | | Set flag in op.c for "constructor ops" In pp_rv2gv, if flag is set and arg is PADSV and uninit vivify as reference to a detached GV. (Name of GV is the pad name.) This scheme should "just work" for pipe/socket etc. too. #if 0 out the open(FH,undef) for now. Change t/io/open.t to test open(my $fh,...) p4raw-id: //depot/perl@3326
* open(FH,undef) # creates new_tmpfile opened read/writeNick Ing-Simmons1999-05-061-0/+12
| | | | | Add t/io/open.t with test for above. p4raw-id: //depot/perl@3315
* allow embedded null characters in diagnosticsGurusamy Sarathy1999-04-261-22/+30
| | | p4raw-id: //depot/perl@3274
* Integrate from mainperl.Jarkko Hietaniemi1999-04-041-7/+7
|\ | | | | p4raw-id: //depot/cfgperl@3220
| * correct places that said newSVpv() when they meant newSVpvn()Gurusamy Sarathy1999-04-041-7/+7
| | | | | | p4raw-id: //depot/perl@3217
* | Fix up some _t nits (Pid_t, Gid_t, Uid_t, etc. instead of int).John Bley1999-04-031-5/+5
|/ | | | | | | To: perlbug@perl.org Subject: [PATCH]5.005_03 (CORE) Fix some _t nits Message-ID: <Pine.SOL.3.91.990401015805.21458A-100000@soc13.acpub.duke.edu> p4raw-id: //depot/cfgperl@3212
* Integrate from mainperl.Jarkko Hietaniemi1999-03-231-1/+1
|\ | | | | p4raw-id: //depot/cfgperl@3128
| * update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | | | | p4raw-id: //depot/perl@3124
* | First pass of integrating the Rhapsody port,Wilfredo Sánchez1999-03-151-2/+2
|/ | | | | | | | Subject: Keeping the world in sync. Reply-To: wsanchez@apple.com To: perlbug@perl.com Message-Id: <199811140111.RAA41784@scv4.apple.com> p4raw-id: //depot/cfgperl@3108
* allow C<select('foo')> to autovivify *foo (SelectSaver expects that)Gurusamy Sarathy1999-02-141-7/+2
| | | p4raw-id: //depot/perl@2914
* fix ops that are not filehandle constructors to not create GV if itGurusamy Sarathy1999-02-121-2/+7
| | | | | | doesn't already exist (avoids leaks); extend semantics of defined() so that defined(*{$foo}) works (experimental) p4raw-id: //depot/perl@2879
* telldir prototype issue, from mists of time...Jarkko Hietaniemi1999-02-021-1/+5
| | | p4raw-id: //depot/cfgperl@2803
* Two-argument eaccess() of SCO.Jarkko Hietaniemi1999-01-211-6/+14
| | | p4raw-id: //depot/cfgperl@2654
* fix outdated/incorrect info about arbitrary limitsGurusamy Sarathy1998-12-061-8/+0
| | | p4raw-id: //depot/perl@2454
* another threads reliability fix: serialize writes to thr->threadsvGurusamy Sarathy1998-11-291-63/+100
| | | | | | | | avoid most uses of PL_na (which is much more inefficient than a simple local); update docs to suit; PL_na now being thr->Tna may be a minor compatibility issue for extensions--will require dTHR outside of XSUBs (those get automatic dTHR) p4raw-id: //depot/perl@2387
* another win32 portability fix: make sysread() and syswrite()Gurusamy Sarathy1998-11-211-2/+22
| | | | | work on sockets p4raw-id: //depot/perl@2255
* integrate cfgperl changes into mainlineGurusamy Sarathy1998-11-081-1/+3
|\ | | | | p4raw-id: //depot/perl@2219
| * sysio.t failure: fix undefined order of evaluation, fromSpider Boardman1998-11-041-1/+3
| | | | | | | | | | | | | | Subject: Not OK: perl 5.00553 on alpha-thread 5.0 [PATCH] To: perlbug@perl.com Message-ID: <MLIST_199811032227.RAA143892@web.zk3.dec.com> p4raw-id: //depot/cfgperl@2189
* | set close-on-exec bit on pipe() FDsGurusamy Sarathy1998-11-081-1/+4
|/ | | p4raw-id: //depot/perl@2215
* Overloaded <> and deref againIlya Zakharevich1998-10-301-0/+2
| | | | | Message-Id: <199810300304.WAA23291@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@2150
* phase 1 of somewhat major rearrangement of PERL_OBJECT stuffGurusamy Sarathy1998-10-301-86/+86
| | | | | | | | | | (objpp.h is gone, embed.pl now does some of that); objXSUB.h should soon be automated also; the global variables that escaped the PL_foo conversion are now reined in; renamed MAGIC in regcomp.h to REG_MAGIC to avoid collision with the type of same name; duplicated lists of pp_things in various places is now gone; result has only been tested on win32 p4raw-id: //depot/perl@2133
* fix stack overrun in file test operatorsGurusamy Sarathy1998-10-251-6/+18
| | | p4raw-id: //depot/perl@2073
* integrate changes#1982,2014,2021 (from maint-5.005)Gurusamy Sarathy1998-10-251-40/+25
| | | | | | | p4raw-link: @2021 on //depot/maint-5.005/perl: ece095e7b265a16d4ec3543b1418100f9c635a87 p4raw-link: @2014 on //depot/maint-5.005/perl: cca0b9804acab4b7678c0f185888d57497a5c2a9 p4raw-link: @1982 on //depot/maint-5.005/perl: fe676099d996f70caaedeb6ae85adc3ee59d2240 p4raw-id: //depot/perl@2059
* commented version of a patch suggested by Drago GoricanecJarkko Hietaniemi1998-10-251-1/+6
| | | | | | Message-ID: <oeeogrc1ype.fsf@alpha.hut.fi> Subject: Re: [PATCH 5.005_52] Linux select fails with more than 32 FDs p4raw-id: //depot/perl@2056
* The VM/ESA port essentials, based onJarkko Hietaniemi1998-10-171-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | perl-mvs: From: Neale Ferguson <neale@VMA.TABNSW.COM.AU> Subject: Re: Can't find Data/Dumper.pm Date: Mon, 28 Sep 1998 07:40:49 +1300 Message-ID: <360E86B0.23847AF4@mailbox.tabnsw.com.au> private email: From: Neale Ferguson <neale@VMA.TABNSW.COM.AU> Subject: Re: Perl thread problems in VM/ESA Date: Thu, 15 Oct 1998 07:18:35 +1300 Message-ID: <3624EAFA.16163A2B@mailbox.tabnsw.com.au> and private email: From: Neale Ferguson <NEALE@PUCC.PRINCETON.EDU> Subject: perl archive Date: Sun, 11 Oct 1998 19:28:54 EDT Message-Id: <19981011233112Z67215-26626+1513@outbound.Princeton.EDU> which gave a pointer to http://pucc.princeton.edu/~neale/perl.tar (based on Perl 5.005_51) p4raw-id: //depot/cfgperl@2006
* use Off_t to permit 64-bit seek()Scott Henry1998-10-021-2/+2
| | | | | | | | | | | Date: 29 Sep 1998 17:38:46 -0700 Message-ID: <yd8lnn2zb6x.fsf_-_@hoshi.engr.sgi.com> Subject: Re: [PATCH] 5.005_02: Configure "Massive Attack" -- Date: 28 Sep 1998 18:55:37 -0700 Message-ID: <yd8ogrz1y3q.fsf@hoshi.engr.sgi.com> Subject: Re: [PATCH] 5.005_51: Configure "Massive Attack" p4raw-id: //depot/perl@1915