summaryrefslogtreecommitdiff
path: root/pp_sys.c
Commit message (Collapse)AuthorAgeFilesLines
* Continue largefileness separation from quadness;Jarkko Hietaniemi1999-11-131-2/+10
| | | | | | move nv-preserving test out of perl.h into Configure; use HAS_SETVBUF in IO. p4raw-id: //depot/cfgperl@4560
* Try to fix largefileness so that it "works" without a quad IV.Jarkko Hietaniemi1999-11-131-7/+24
| | | p4raw-id: //depot/cfgperl@4559
* Fix a thinko in 4548.Jarkko Hietaniemi1999-11-111-1/+1
| | | p4raw-id: //depot/cfgperl@4550
* Integrate with Sarathy.Jarkko Hietaniemi1999-11-111-6/+6
|\ | | | | p4raw-id: //depot/cfgperl@4549
| * another change towards a shareable optree: avoid pointer to filegvGurusamy Sarathy1999-11-111-1/+1
| | | | | | | | | | | | | | | | | | in COP; revert parts of change#4485 and s/xcv_filegv/xcv_file/ (CvFILE() may yet come in handy somewhere); adjust compiler doodads to suit p4raw-link: @4485 on //depot/perl: b195d4879f55e1610299cb9b1b55356940c2a577 p4raw-id: //depot/perl@4545
| * preliminary support for GVOP indirection via padGurusamy Sarathy1999-11-081-5/+5
| | | | | | p4raw-id: //depot/perl@4539
* | Try to do something if st_size, st_uid, st_gid are too big for an IV;Jarkko Hietaniemi1999-11-111-14/+40
| | | | | | | | | | regen Configure. p4raw-id: //depot/cfgperl@4548
* | Integrate with Sarathy.Jarkko Hietaniemi1999-11-041-1/+1
|\ \ | |/ | | p4raw-id: //depot/cfgperl@4513
| * macros for COP.cop_filegv accessGurusamy Sarathy1999-11-011-1/+1
| | | | | | p4raw-id: //depot/perl@4505
* | Initial integration of the MacPerl changes form Matthias.Jarkko Hietaniemi1999-11-021-2/+2
|/ | | p4raw-id: //depot/cfgperl@4508
* usurp GVOP slot for new PADOP (one small step to making optreeGurusamy Sarathy1999-10-291-5/+5
| | | | | shareable across interpreters) p4raw-id: //depot/perl@4484
* perldelta updates (see TODO markers)Gurusamy Sarathy1999-10-091-16/+0
| | | p4raw-id: //depot/perl@4325
* typoGurusamy Sarathy1999-10-081-1/+1
| | | p4raw-id: //depot/perl@4311
* fix setpgrp vs getpgrp and POSIX vs BSD confusion (spotted byGurusamy Sarathy1999-10-071-1/+1
| | | | | Brian Mitchell <brian@chele.cais.net>) p4raw-id: //depot/perl@4310
* Untangle the IV_IS_QUAD jungle by introdudingJarkko Hietaniemi1999-10-021-8/+1
| | | | | | macros to be used when doing formatted printing: IVdf, UVuf, UVxf, UVof. Also introduce Uid_t_SIGN. p4raw-id: //depot/cfgperl@4288
* fix buggy popping of subroutine contexts in the lvalueGurusamy Sarathy1999-09-261-1/+1
| | | | | | | | | subroutines implementation (change#4081); correct the plethora of cases where DIE() was more appropriate than croak() p4raw-link: @4081 on //depot/perl: cd06dffe59d60ee6a2fdd7c81f8cef42c7026b36 p4raw-id: //depot/perl@4235
* Replace change #4100 withRobin Barker1999-09-131-1/+1
| | | | | | | | | | To: gsar@activestate.com Cc: perl5-porters@perl.org Subject: Re: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909131315.OAA24012@tempest.npl.co.uk> p4raw-link: @4100 on //depot/cfgperl: 427181846486e3aa5034a647dc1922377185f4c0 p4raw-id: //depot/cfgperl@4136
* [ID 19990909.003] MAXINT redefined warning on HP-UX 10.20Daniel S. Lewart1999-09-091-0/+5
| | | | | | To: perl5-porters@perl.org Message-Id: <199909091533.KAA01242@www.cvm.uiuc.edu> p4raw-id: //depot/cfgperl@4114
* Fix pointer casts.Robin Barker1999-09-071-1/+1
| | | | | | | | To: perl5-porters@perl.org Subject: [ID 19990907.004] [PATCH perl5.005_61] compiler warnings with -Duse64bits Message-Id: <199909071130.MAA11435@tempest.npl.co.uk> p4raw-id: //depot/cfgperl@4100
* Fix a printf thinko: now quads must have the ll L q prefix.Jarkko Hietaniemi1999-09-071-5/+5
| | | | | (in other words, a bare %d is an int/unsigned) p4raw-id: //depot/cfgperl@4097
* Another patch for Lexical WarningsPaul Marquess1999-09-061-2/+2
| | | | | Message-ID: <5104D4DBC598D211B5FE0000F8FE7EB202D49BAB@mbtlipnt02.btlabs.bt.co.uk> p4raw-id: //depot/perl@4088
* applied patch suggested by Hans Mulder to fix problems onGurusamy Sarathy1999-09-061-0/+4
| | | | | | | | OPENSTEP-Mach; be more careful about PERL_POLLUTE_MALLOC when they ask for bincompat (platforms that used to default to EMBEDMYMALLOC continue to do so); disable warnings.t#192 (appears unsalvageable on some platforms) p4raw-id: //depot/perl@4085
* [ID 19990821.001] [PATCH] perl5.005_60 cygwin portFifer, Eric1999-09-011-1/+1
| | | | | | To: perl5-porters@perl.org Message-Id: <8A160D637356D311BC4300600849EC8122E217@POST> p4raw-id: //depot/cfgperl@4066
* Fix scalar gmtime (and localtime) in quad environments,Robin Barker1999-08-291-7/+7
| | | | | | | | | bug reported by Robin Barker. To: jhi@iki.fi Cc: perl5-porters@perl.org Subject: Re: [ID 19990823.009] [PATCH perl5.005_61] typo in perl.h Message-Id: <199908241009.LAA24394@tempest.npl.co.uk> p4raw-id: //depot/cfgperl@4045
* 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