summaryrefslogtreecommitdiff
path: root/pp_sys.c
Commit message (Collapse)AuthorAgeFilesLines
* Note about filesize limits.Jarkko Hietaniemi1999-08-141-0/+1
| | | p4raw-id: //depot/cfgperl@3990
* Jumbo Configure and large file support update.Jarkko Hietaniemi1999-08-131-2/+2
| | | | | | | Remove a lot of unneeded 64-bitness cruft; re-introduce BYTEORDER; update 64-bitness hints; lfs should now work in Solaris; long doubles in AIX. p4raw-id: //depot/cfgperl@3982
* Remove more spurious casting.Jarkko Hietaniemi1999-08-121-3/+3
| | | p4raw-id: //depot/cfgperl@3964
* Use Pid_t on pgrp matters.Jarkko Hietaniemi1999-08-101-4/+4
| | | p4raw-id: //depot/cfgperl@3951
* Use Pid_t.Jarkko Hietaniemi1999-08-101-3/+3
| | | p4raw-id: //depot/cfgperl@3950
* Use Mode_t.Jarkko Hietaniemi1999-08-101-2/+2
| | | p4raw-id: //depot/cfgperl@3949
* Remove I32 casting from time-related functions.Jarkko Hietaniemi1999-08-101-13/+13
| | | p4raw-id: //depot/cfgperl@3946
* Remove I32 casts from pp_stat, these make stat()Phil Lobbes1999-08-101-13/+13
| | | | | | | | | | | | | very broken e.g. on files larger than 2 gigabytes. Reported by To: perl5-porters@perl.org Subject: [ID 19990810.001] Possible bug using stat w/large files Digital UNIX Perl 5.005_03 Message-Id: <199908100438.VAA08292@ultra.finchcomputer.com> There are more of these I32 casts all over pp_sys.c, all of them should be checked. p4raw-id: //depot/cfgperl@3944
* Retract #3912, much too many compilation warningsJarkko Hietaniemi1999-08-031-4/+4
| | | | | under Digital UNIX. p4raw-id: //depot/cfgperl@3913
* (Retracted). See #3913.Sven Verdoolaege1999-08-031-4/+4
| | | | | | | | To: perl5-porters@perl.org Subject: [ID 19990803.003] Not OK: perl 5.00560 on i586-linux-thread 2.1.125 [PATCH] Message-Id: <19990803131407.A30911@pool.kotnet.org> p4raw-id: //depot/cfgperl@3912
* Fix some of the {IV_IS_QUAD,UV_IS_QUAD} cases so thatJarkko Hietaniemi1999-08-021-1/+2
| | | | | | emacs code indentation doesn't get wrong ideas-- in other words, introduce a couple of "redundant" if:s. p4raw-id: //depot/cfgperl@3887
* Integrate with Sarathy. perl.h and util.c required manual resolving.Jarkko Hietaniemi1999-08-011-3/+3
| | | p4raw-id: //depot/cfgperl@3864
* 64-bit work. Now 32-bit platforms get a 100% make testJarkko Hietaniemi1999-08-011-0/+6
| | | | | | | | | | | | | | | with -Duse64bits (using long long). Tested in Solaris 2.6 sparc RH Linux 6.0 x86 (and Digital IX 4.0D, to get a true 64-bit opinion). Now e.g. 'print unpack "q", pack "q", 12345678901' should work on such 32-bit platforms. Still a lot of printf()s behind -D which wrongly assume that %ld/%lx and (long) are a good combination. Introducing a slew of new macros intended to be used in printf() format strings: e. g. PERL_PRId64 is the string to be used when printing an IV, printf("%" PERL_PRId64 "\n", iv). The PRI... naming follows the C9X naming of <inttypes.h> macros. p4raw-id: //depot/cfgperl@3861
* 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