platform/upstream/perl.git
21 years agoOops (change #19013 missed changing the Perl version number).
Jarkko Hietaniemi [Mon, 24 Mar 2003 04:25:15 +0000 (04:25 +0000)]
Oops (change #19013 missed changing the Perl version number).
p4raw-link: @19013 on //depot/perl: 4eee6e183013a0f0e9dce0d53c643393a9e49455

p4raw-id: //depot/perl@19050

21 years agoIntegrate from maint-5.8:
Jarkko Hietaniemi [Sun, 23 Mar 2003 17:54:33 +0000 (17:54 +0000)]
Integrate from maint-5.8:
[ 19045]
If no IVSIZE == 8, no need for modulo_1.
p4raw-link: @19045 on //depot/maint-5.8/perl: 6fcf78978c3c389ee7541e795096814ca241cf2a

p4raw-id: //depot/perl@19047
p4raw-integrated: from //depot/maint-5.8/perl@19044 'merge in' pp.c
(@19029..)

21 years agop4genpatch
Andreas König [Sat, 15 Mar 2003 12:04:18 +0000 (13:04 +0100)]
p4genpatch
Message-ID: <m3hea4gabx.fsf@k242.linux.bogus>

p4raw-id: //depot/perl@19044

21 years agoperlsub.pod and perlsyn.pod: better organise scoping info for modifiers
Martien Verbruggen [Sat, 15 Mar 2003 12:31:47 +0000 (23:31 +1100)]
perlsub.pod and perlsyn.pod: better organise scoping info for modifiers
Message-Id: <slrnb750k3.j8t.mgjv@martien.heliotrope.home>

p4raw-id: //depot/perl@19043

21 years agoreaddir_r for VMS (was Re: [PATCH] configure.com: sig_num, etc.)
Craig A. Berry [Thu, 20 Mar 2003 23:03:36 +0000 (17:03 -0600)]
readdir_r for VMS (was Re: [PATCH] configure.com: sig_num, etc.)
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E7A9D28.1040706@mac.com>

p4raw-id: //depot/perl@19042

21 years agoRe: [patch] [perl #21628] rcatline issue
Adrian M. Enache [Thu, 20 Mar 2003 22:39:06 +0000 (00:39 +0200)]
Re: [patch] [perl #21628] rcatline issue
Message-ID: <20030320203906.GA31199@ratsnest.hole>

p4raw-id: //depot/perl@19039

21 years agoRe: Bytecode? Back into service.
Adrian M. Enache [Thu, 20 Mar 2003 07:38:39 +0000 (09:38 +0200)]
Re: Bytecode? Back into service.
Message-ID: <20030320053839.GA4044@ratsnest.hole>

p4raw-id: //depot/perl@19038

21 years ago[DOC-PATCH] for README.cygwin, bleadperl version
Gerrit P. Haase [Thu, 20 Mar 2003 21:23:28 +0000 (22:23 +0100)]
[DOC-PATCH] for README.cygwin, bleadperl version
From: "Gerrit P. Haase" <gp@familiehaase.de>
Message-ID: <941032389637.20030320212328@familiehaase.de>

p4raw-id: //depot/perl@19037

21 years agoIntegrate:
Jarkko Hietaniemi [Thu, 20 Mar 2003 05:23:15 +0000 (05:23 +0000)]
Integrate:
[ 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..)

21 years agoBetter wording as requested by Rafael, and
Jarkko Hietaniemi [Wed, 19 Mar 2003 09:46:27 +0000 (09:46 +0000)]
Better wording as requested by Rafael, and
the module is BerkeleyDB, not BerkeleyFile.

p4raw-id: //depot/perl@19028

21 years agoUpdate the DB_File instructions in Tru64.
Jarkko Hietaniemi [Wed, 19 Mar 2003 09:11:43 +0000 (09:11 +0000)]
Update the DB_File instructions in Tru64.

p4raw-id: //depot/perl@19026

21 years ago[perl #9990] avoid goto &tmpsub coredump
Dave Mitchell [Tue, 18 Mar 2003 21:55:05 +0000 (21:55 +0000)]
[perl #9990] avoid goto &tmpsub coredump
Message-ID: <20030318215505.A16787@fdgroup.com>

p4raw-id: //depot/perl@19025

21 years agoVMS pod install tweaks
Craig A. Berry [Sat, 15 Mar 2003 16:06:07 +0000 (10:06 -0600)]
VMS pod install tweaks
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E73A3CF.3060502@mac.com>

p4raw-id: //depot/perl@19024

21 years agopoll() help for VMS
Craig A. Berry [Tue, 18 Mar 2003 01:10:10 +0000 (19:10 -0600)]
poll() help for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E76C652.30205@mac.com>

p4raw-id: //depot/perl@19023

21 years agoThe description of SIG_SIZE was off.
Jarkko Hietaniemi [Tue, 18 Mar 2003 06:56:26 +0000 (06:56 +0000)]
The description of SIG_SIZE was off.

p4raw-id: //depot/perl@19021

21 years agoMinor updates of Wolfgang's pack patch
Philip Newton [Tue, 18 Mar 2003 06:19:30 +0000 (07:19 +0100)]
Minor updates of Wolfgang's pack patch

Subject: Re: pack changes and related fixes
Message-ID: <tb9d7vo1ocb14o73lnhabbmh5bsjoe5m46@4ax.com>

p4raw-id: //depot/perl@19020

21 years agoregenerate win32/config_H.*
Gurusamy Sarathy [Tue, 18 Mar 2003 05:06:07 +0000 (05:06 +0000)]
regenerate win32/config_H.*

p4raw-id: //depot/perl@19019

21 years agothere is no trailing NULL in sig_name or sig_num, so don't
Gurusamy Sarathy [Tue, 18 Mar 2003 03:02:38 +0000 (03:02 +0000)]
there is no trailing NULL in sig_name or sig_num, so don't
talk about it

p4raw-id: //depot/perl@19018

21 years agoaccording to the new Porting/Glossary, sig_num doesn't have an
Gurusamy Sarathy [Tue, 18 Mar 2003 03:01:02 +0000 (03:01 +0000)]
according to the new Porting/Glossary, sig_num doesn't have an
extra '0' at the end

p4raw-id: //depot/perl@19017

21 years agoadd tests for existing behaviour of undef postinc/dec
Hugo van der Sanden [Tue, 18 Mar 2003 00:52:09 +0000 (00:52 +0000)]
add tests for existing behaviour of undef postinc/dec

p4raw-id: //depot/perl@19016

21 years agoadd comment at undef postinc special case
Hugo van der Sanden [Tue, 18 Mar 2003 00:46:18 +0000 (00:46 +0000)]
add comment at undef postinc special case

p4raw-id: //depot/perl@19015

21 years agoclarify behaviour of $a++
Hugo van der Sanden [Tue, 18 Mar 2003 00:27:19 +0000 (00:27 +0000)]
clarify behaviour of $a++

p4raw-id: //depot/perl@19014

21 years agoIntegrate:
Jarkko Hietaniemi [Mon, 17 Mar 2003 19:52:06 +0000 (19:52 +0000)]
Integrate:
[ 19012]
We don't have the new Perl at this stage.
p4raw-link: @19012 on //depot/maint-5.8/perl: 7353bff6c5730d27add0d0abfadfddb3d119a622

p4raw-id: //depot/perl@19013
p4raw-integrated: from //depot/maint-5.8/perl@19010 'copy in'
cygwin/perlld.in (@19006..)

21 years agopack changes and related fixes
LAUN Wolfgang [Mon, 17 Mar 2003 13:55:37 +0000 (14:55 +0100)]
pack changes and related fixes
Message-ID: <75A46BF1A9D8D311863A00508B6259A405F17EB8@ATTMSX4>

p4raw-id: //depot/perl@19010

21 years agoIntegrate:
Slaven Rezic [Mon, 17 Mar 2003 00:42:43 +0000 (01:42 +0100)]
Integrate:
[ 19006]
Subject: Re: [Patch] Maintperl versioning for Cygwin
Message-ID: <87ptoqev4c.fsf@vran.herceg.de>
p4raw-link: @19006 on //depot/maint-5.8/perl: 65f9e441d42a0992031a7b25f809df40333410c5

p4raw-id: //depot/perl@19007
p4raw-integrated: from //depot/maint-5.8/perl@19005 'merge in'
cygwin/perlld.in (@19000..)

21 years agoPatch for Data::Dumper 2.12 to Allow Custom Hash Key/Value Separator
chocolateboy [Sat, 22 Feb 2003 12:17:28 +0000 (12:17 +0000)]
Patch for Data::Dumper 2.12 to Allow Custom Hash Key/Value Separator
Message-ID: <3E576A58.8010901@chocolatey.com>

p4raw-id: //depot/perl@19005

21 years ago[patch] utils/h2xs.PL (get rid of \t and '')
Stas Bekman [Fri, 14 Feb 2003 11:59:53 +0000 (22:59 +1100)]
[patch] utils/h2xs.PL (get rid of \t and '')
Message-ID: <3E4C3F89.6050005@stason.org>

p4raw-id: //depot/perl@19004

21 years ago[perl #20724] Patch for dprofpp
Nicholas Oxhøj [Wed, 5 Feb 2003 08:41:17 +0000 (08:41 +0000)]
[perl #20724] Patch for dprofpp
From: Nicholas "Oxhøj" (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-20724-50329.7.50247680562964@bugs6.perl.org>

p4raw-id: //depot/perl@19003

21 years ago[perl #19898] [PATCH] forking to Perl children with IPC::Open3
Adam Spiers [Fri, 10 Jan 2003 10:59:44 +0000 (10:59 +0000)]
[perl #19898] [PATCH] forking to Perl children with IPC::Open3
From: Adam Spiers (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-19898-47213.12.0892150698178@bugs6.perl.org>

p4raw-id: //depot/perl@19002

21 years agogetservbyname_r() kaputt in OpenBSD (might get fixed
Jarkko Hietaniemi [Sun, 16 Mar 2003 21:50:24 +0000 (21:50 +0000)]
getservbyname_r() kaputt in OpenBSD (might get fixed
for 3.3, but only might)

p4raw-id: //depot/perl@19001

21 years agoStay within known facts: what platforms the skippage helps,
Jarkko Hietaniemi [Sun, 16 Mar 2003 21:33:49 +0000 (21:33 +0000)]
Stay within known facts: what platforms the skippage helps,
and in which it is not needed.

p4raw-id: //depot/perl@18999

21 years agoThis seems to fix (well, dodge) the problems in FreeBSD for
Jarkko Hietaniemi [Sun, 16 Mar 2003 18:15:42 +0000 (18:15 +0000)]
This seems to fix (well, dodge) the problems in FreeBSD for
Enache Adrian; in _theory_ this patch could be good for NetBSD,
too, but Alian gets a core dump already at subtest #9 (anyone
with a real NetBSD, Alian's is a VMware one, which has in the
past caused similar odd crashes).  OpenBSD threaded build result
still unknown.

p4raw-id: //depot/perl@18998

21 years agoIRIX ls -l marks sockets with 'S'.
Jarkko Hietaniemi [Sun, 16 Mar 2003 18:07:30 +0000 (18:07 +0000)]
IRIX ls -l marks sockets with 'S'.

p4raw-id: //depot/perl@18997

21 years agoTurn on UTF-8 flag only if the $str is valid utf8
Jarkko Hietaniemi [Sun, 16 Mar 2003 17:41:42 +0000 (17:41 +0000)]
Turn on UTF-8 flag only if the $str is valid utf8
(pointed out by Dan Kogai).

p4raw-id: //depot/perl@18996

21 years agoSignedness nits.
Jarkko Hietaniemi [Sun, 16 Mar 2003 16:40:06 +0000 (16:40 +0000)]
Signedness nits.

p4raw-id: //depot/perl@18995

21 years agoFix for [perl #21479] Term::ReadLine(::Stub) doesn't set UTF-8 flag.
Jarkko Hietaniemi [Sun, 16 Mar 2003 15:41:44 +0000 (15:41 +0000)]
Fix for [perl #21479] Term::ReadLine(::Stub) doesn't set UTF-8 flag.
Should work both for PERL_UNICODE/-C and use encoding 'foo';

p4raw-id: //depot/perl@18994

21 years agoPod fix from Philip Newton.
Jarkko Hietaniemi [Sun, 16 Mar 2003 15:14:31 +0000 (15:14 +0000)]
Pod fix from Philip Newton.

p4raw-id: //depot/perl@18991

21 years agoFurther potential pitfalls for the utf8 len/pos cache
Jarkko Hietaniemi [Sun, 16 Mar 2003 15:12:00 +0000 (15:12 +0000)]
Further potential pitfalls for the utf8 len/pos cache
found by Inaba Hiroto.  No test cases, yet.

p4raw-id: //depot/perl@18990

21 years agoMake the :bytes conditional on PerlIO.
Jarkko Hietaniemi [Sun, 16 Mar 2003 08:02:31 +0000 (08:02 +0000)]
Make the :bytes conditional on PerlIO.

p4raw-id: //depot/perl@18989

21 years agoNeeds PerlIO for :bytes.
Jarkko Hietaniemi [Sat, 15 Mar 2003 18:27:36 +0000 (18:27 +0000)]
Needs PerlIO for :bytes.

p4raw-id: //depot/perl@18988

21 years agoRe: [fix] [perl #21575] Bug with print( followed by a newline
Adrian M. Enache [Fri, 14 Mar 2003 23:02:42 +0000 (01:02 +0200)]
Re: [fix] [perl #21575] Bug with print( followed by a newline
Message-ID: <20030314210242.GA1159@ratsnest.hole>
(with an added test)

p4raw-id: //depot/perl@18986

21 years agoTime::HiRes is a core module
Rafael Garcia-Suarez [Fri, 14 Mar 2003 19:45:18 +0000 (19:45 +0000)]
Time::HiRes is a core module

p4raw-id: //depot/perl@18985

21 years ago[patch ext/B/typemap] STRLEN T_UV
Stas Bekman [Fri, 14 Mar 2003 17:45:09 +0000 (04:45 +1100)]
[patch ext/B/typemap] STRLEN T_UV
Message-ID: <3E717A75.2060300@stason.org>

p4raw-id: //depot/perl@18984

21 years agoBetter pass in the $self for a method.
Jarkko Hietaniemi [Fri, 14 Mar 2003 15:16:18 +0000 (15:16 +0000)]
Better pass in the $self for a method.

p4raw-id: //depot/perl@18982

21 years agoCleanup the File::Spec tmpdir() implementations:
Jarkko Hietaniemi [Fri, 14 Mar 2003 13:42:32 +0000 (13:42 +0000)]
Cleanup the File::Spec tmpdir() implementations:
now all the platforms specific modules call _tmpdir()
(inherited from Unix.pm) with the list of platform
specific list of temporary directories, and _tmpdir()
then does the appropriate suitability checking.

p4raw-id: //depot/perl@18980

21 years agowhichsig() really does return -1 for unknown signals.
Jarkko Hietaniemi [Fri, 14 Mar 2003 12:48:09 +0000 (12:48 +0000)]
whichsig() really does return -1 for unknown signals.

p4raw-id: //depot/perl@18979

21 years agoRework the @Config{/sig.*/} tests.
Jarkko Hietaniemi [Fri, 14 Mar 2003 10:42:33 +0000 (10:42 +0000)]
Rework the @Config{/sig.*/} tests.

p4raw-id: //depot/perl@18977

21 years agoconfigure.com: sig_num, etc.
Craig A. Berry [Thu, 13 Mar 2003 21:38:19 +0000 (15:38 -0600)]
configure.com: sig_num, etc.
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E714EAB.6030001@mac.com>

p4raw-id: //depot/perl@18976

21 years agoMake whichsig() to work also if some system defines
Jarkko Hietaniemi [Fri, 14 Mar 2003 10:30:53 +0000 (10:30 +0000)]
Make whichsig() to work also if some system defines
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

21 years agoSince Configure does the signal name/number probe with awk
Jarkko Hietaniemi [Fri, 14 Mar 2003 10:27:46 +0000 (10:27 +0000)]
Since Configure does the signal name/number probe with awk
based on the cpp results (not by really running code), testing
for the signum value is not really helpful if we have runtime
function calls (some signal numbers are dynamic, for example)
(or other extra stuff where the signum value is expected).
(Runtimeness also means that Configure cannot get these right,
anyway.) Better filter in just the constant non-negative numbers.

p4raw-id: //depot/perl@18973

21 years agoSignal issues.
Jarkko Hietaniemi [Fri, 14 Mar 2003 09:30:18 +0000 (09:30 +0000)]
Signal issues.
(1) Filter out negative signals.
(2) Correct sig_num* and sig_name* descriptions.

p4raw-id: //depot/perl@18971

21 years agoHopefully this works also in Win32.
Jarkko Hietaniemi [Fri, 14 Mar 2003 06:21:48 +0000 (06:21 +0000)]
Hopefully this works also in Win32.

p4raw-id: //depot/perl@18970

21 years agoPerldoc.pm tweak for VMS
Craig A. Berry [Thu, 13 Mar 2003 13:44:55 +0000 (07:44 -0600)]
Perldoc.pm tweak for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E70DFB7.8070405@mac.com>

p4raw-id: //depot/perl@18969

21 years agofix for switchC.t test#6 failure on windows
Gurusamy Sarathy [Fri, 14 Mar 2003 04:41:25 +0000 (04:41 +0000)]
fix for switchC.t test#6 failure on windows

p4raw-id: //depot/perl@18968

21 years agoConfig.t wasn't getting the sig_num and sig_size relationship
Gurusamy Sarathy [Fri, 14 Mar 2003 04:29:10 +0000 (04:29 +0000)]
Config.t wasn't getting the sig_num and sig_size relationship
right, and therefore failed test#35 on windows

note that config_h.SH documents that $sig_size does NOT include
the final NULL in $sig_num!

p4raw-id: //depot/perl@18967

21 years agoanother fix for failing test on windows ("use encoding" puts
Gurusamy Sarathy [Fri, 14 Mar 2003 04:20:51 +0000 (04:20 +0000)]
another fix for failing test on windows ("use encoding" puts
STDIN in :raw mode, so chomp() wasn't stripping the CR)

p4raw-id: //depot/perl@18966

21 years agofix CJKT.t failures on windows due to incorrect binmode()
Gurusamy Sarathy [Fri, 14 Mar 2003 04:06:31 +0000 (04:06 +0000)]
fix CJKT.t failures on windows due to incorrect binmode()

p4raw-id: //depot/perl@18965

21 years agoSkip the last test of Config.t on HP-UX.
Rafael Garcia-Suarez [Thu, 13 Mar 2003 21:47:52 +0000 (21:47 +0000)]
Skip the last test of Config.t on HP-UX.
(This test should be skipped for every system that
actually defines a negative signal number. Maybe that
test should be removed, to be future-proof.)

p4raw-id: //depot/perl@18964

21 years ago[perl #20755] [PATCH] 5.8.0 h2ph barfs on checksum.h on RH6.2/7.2
Kurt Starsinic [Mon, 10 Mar 2003 00:54:49 +0000 (19:54 -0500)]
[perl #20755] [PATCH] 5.8.0 h2ph barfs on checksum.h on RH6.2/7.2
Message-ID: <m3d6kyvazx.wl_rspier@pobox.com>

p4raw-id: //depot/perl@18963

21 years agochecking for magic in hv.c and ext/POSIX/POSIX.xs
Craig A. Berry [Tue, 11 Mar 2003 21:29:31 +0000 (15:29 -0600)]
checking for magic in hv.c and ext/POSIX/POSIX.xs
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E6EA99B.9060902@mac.com>
Patch by Scott Lepage (scott.lepage@hp.com)

p4raw-id: //depot/perl@18962

21 years agoSome more stdlib.h inclusions and change the gccversion
Jarkko Hietaniemi [Thu, 13 Mar 2003 20:05:50 +0000 (20:05 +0000)]
Some more stdlib.h inclusions and change the gccversion
test to use return (could have used that for all, sigh).

p4raw-id: //depot/perl@18959

21 years agoTrims slashes from the argument to rmdir(), likewise
Rafael Garcia-Suarez [Wed, 12 Mar 2003 20:46:58 +0000 (20:46 +0000)]
Trims slashes from the argument to rmdir(), likewise
to what happens with rmdir(). Factorize the code in a
local macro, TRIMSLASHES.

p4raw-id: //depot/perl@18958

21 years agoVOS nit from Paul Green.
Jarkko Hietaniemi [Wed, 12 Mar 2003 14:23:02 +0000 (14:23 +0000)]
VOS nit from Paul Green.

p4raw-id: //depot/perl@18957

21 years agoFile::Spec: Do not fall back to '', use curdir instead.
Jarkko Hietaniemi [Wed, 12 Mar 2003 13:58:26 +0000 (13:58 +0000)]
File::Spec: Do not fall back to '', use curdir instead.
Note: Mac used to use cwd(), now curdir, slight change
(relative vs. absolute).

p4raw-id: //depot/perl@18956

21 years agoFile::Temp tests were failing in Cygwin if $ENV{TMPDIR}
Jarkko Hietaniemi [Wed, 12 Mar 2003 13:49:15 +0000 (13:49 +0000)]
File::Temp tests were failing in Cygwin if $ENV{TMPDIR}
was unset (the tests attempted to create files at the /)

p4raw-id: //depot/perl@18955

21 years agoAnother finding by IRIX cc: non-void function
Jarkko Hietaniemi [Wed, 12 Mar 2003 10:59:03 +0000 (10:59 +0000)]
Another finding by IRIX cc: non-void function
sv_cat_decode() should return a value.

p4raw-id: //depot/perl@18954

21 years agoIntegrate:
Jarkko Hietaniemi [Wed, 12 Mar 2003 10:53:02 +0000 (10:53 +0000)]
Integrate:
[ 18949]
pudge> never integrate anything from macos/
p4raw-link: @18949 on //depot/maint-5.8/perl: 57da7c0cb1c4c11beb4a64b2ad0c30d4ebaf70b6

p4raw-id: //depot/perl@18952
p4raw-deleted: from //depot/maint-5.8/perl@18951 'delete in'
macos/MacPerlTests.cmd macos/Makefile.mk macos/configpm
macos/macperl.sym (@18946..)
p4raw-integrated: from //depot/maint-5.8/perl@18951 'ignore' MANIFEST
(@18947..)

21 years agoIntegrate:
Jarkko Hietaniemi [Wed, 12 Mar 2003 10:52:17 +0000 (10:52 +0000)]
Integrate:
[ 18946]
Integrate from maint-5.8/macperl:
[ 18937]
Various MacOS portability fixes for tests

[ 18938]
File::Spec::Unix method should be called on $self

[ 18939]
lib.pm:_get_dirs() should use $_[0], not $_

[ 18940]
Update MacOS for new configpm

[ 18941]
Update MacOS build
Update Makefile for new source files,
update test script, add additional symbol for APItest
p4raw-link: @18946 on //depot/maint-5.8/perl: 494df11159c23652339c95affadb99da70ef89e6
p4raw-link: @18941 on //depot/maint-5.8/macperl: 9b3df31c299856a4cb17c1b4a9c403df0a69ec28
p4raw-link: @18940 on //depot/maint-5.8/macperl: 5d97ba7550864e5eaacd84839be0d01c212a6d00
p4raw-link: @18939 on //depot/maint-5.8/macperl: be568d45c1392c31a2787cdaf2ab37fb4a91ced1
p4raw-link: @18938 on //depot/maint-5.8/macperl: efc910e725c427d20af16b2fdf1d43228fecfc02
p4raw-link: @18937 on //depot/maint-5.8/macperl: bbcece98349dade0635a793d66ae4e883c9097d6

p4raw-id: //depot/perl@18951
p4raw-integrated: from //depot/maint-5.8/perl@18950 'copy in'
ext/POSIX/t/taint.t t/op/stat.t (@17645..)
lib/Unicode/Collate/t/index.t lib/Unicode/Collate/t/test.t
lib/lib_pm.PL t/op/mkdir.t (@18080..) ext/Filter/t/call.t
lib/charnames.t t/op/taint.t t/run/switchI.t (@18458..)
lib/File/Spec/Unix.pm (@18466..) t/io/crlf.t (@18638..)
ext/Digest/MD5/t/files.t (@18743..) t/op/method.t (@18850..)
t/pod/testp2pt.pl (@18890..) t/op/sprintf.t (@18911..)
t/op/recurse.t (@18922..)
p4raw-branched: from //depot/maint-5.8/perl@18946 'branch in'
macos/MacPerlTests.cmd macos/Makefile.mk macos/configpm
macos/macperl.sym

21 years agoCygwin doesn't like initing the $0 mutex in perl_construct()
Jarkko Hietaniemi [Wed, 12 Mar 2003 10:49:27 +0000 (10:49 +0000)]
Cygwin doesn't like initing the $0 mutex in perl_construct()
(Too early? If inited there the pthread_mutex_init() returns
an integer much too large be an errno), but initing the mutex
later, in perl_alloc(), seems to be okay with Cygwin, and also
with Linux.

p4raw-id: //depot/perl@18950

21 years agoOuch. Missed one more, the void flags check (and exit() is void).
Jarkko Hietaniemi [Wed, 12 Mar 2003 06:00:48 +0000 (06:00 +0000)]
Ouch.  Missed one more, the void flags check (and exit() is void).

p4raw-id: //depot/perl@18944

21 years agoTell how to possibly dodge 'Out of memory' errors.
Jarkko Hietaniemi [Wed, 12 Mar 2003 05:51:21 +0000 (05:51 +0000)]
Tell how to possibly dodge 'Out of memory' errors.

p4raw-id: //depot/perl@18943

21 years agoWinCE tweaks from Vadim Konovalov.
Jarkko Hietaniemi [Tue, 11 Mar 2003 22:00:54 +0000 (22:00 +0000)]
WinCE tweaks from Vadim Konovalov.

p4raw-id: //depot/perl@18935

21 years agoMissed one.
Jarkko Hietaniemi [Tue, 11 Mar 2003 20:22:07 +0000 (20:22 +0000)]
Missed one.

p4raw-id: //depot/perl@18932

21 years agoSingle vs doublequoted context is important...
Jarkko Hietaniemi [Tue, 11 Mar 2003 20:15:51 +0000 (20:15 +0000)]
Single vs doublequoted context is important...

p4raw-id: //depot/perl@18929

21 years ago"""glob.*""" patch for VMS, from Peter Prymmer.
Jarkko Hietaniemi [Tue, 11 Mar 2003 20:04:33 +0000 (20:04 +0000)]
"""glob.*""" patch for VMS, from Peter Prymmer.

p4raw-id: //depot/perl@18927

21 years agoQuestionable construct.
Rafael Garcia-Suarez [Tue, 11 Mar 2003 19:44:54 +0000 (19:44 +0000)]
Questionable construct.

p4raw-id: //depot/perl@18926

21 years agoBetter setmode() prototype for cygwin.
Jarkko Hietaniemi [Tue, 11 Mar 2003 19:15:15 +0000 (19:15 +0000)]
Better setmode() prototype for cygwin.

p4raw-id: //depot/perl@18925

21 years agoSolaris cc wants prototype for exit(), so <stdlib.h> needed.
Jarkko Hietaniemi [Tue, 11 Mar 2003 19:11:39 +0000 (19:11 +0000)]
Solaris cc wants prototype for exit(), so <stdlib.h> needed.

p4raw-id: //depot/perl@18923

21 years agoThe 0, in the assert_not_ROK() makes IRIX cc to worry
Jarkko Hietaniemi [Tue, 11 Mar 2003 18:15:45 +0000 (18:15 +0000)]
The 0, in the assert_not_ROK() makes IRIX cc to worry
(cc-1171 cc: WARNING ... The indicated expression has no effect.)
So make the macro to include the , and the non-gcc case empty.

p4raw-id: //depot/perl@18921

21 years agoUid_t and Gid_t can easily be shorts and one cannot
Jarkko Hietaniemi [Tue, 11 Mar 2003 17:43:10 +0000 (17:43 +0000)]
Uid_t and Gid_t can easily be shorts and one cannot
pull shorts off the va_args, int is the shortest (ahem).

p4raw-id: //depot/perl@18919

21 years agoio_sock.t
Norton T. Allen [Tue, 11 Mar 2003 13:37:36 +0000 (08:37 -0500)]
io_sock.t
Message-Id: <200303111837.NAA30438@bottesini.harvard.edu>

p4raw-id: //depot/perl@18918

21 years agoGet rid of one Cygwin warning by introducing a prototype
Jarkko Hietaniemi [Tue, 11 Mar 2003 17:30:43 +0000 (17:30 +0000)]
Get rid of one Cygwin warning by introducing a prototype
for the init_os_extras().  Since there is no header file
in Perl specific to cygwin, use perl.h.

p4raw-id: //depot/perl@18917

21 years agoUpgrade to Time-HiRes 1.43.
Jarkko Hietaniemi [Tue, 11 Mar 2003 11:40:38 +0000 (11:40 +0000)]
Upgrade to Time-HiRes 1.43.

p4raw-id: //depot/perl@18916

21 years agoBe more lax about the out of memory error message.
Jarkko Hietaniemi [Tue, 11 Mar 2003 09:19:54 +0000 (09:19 +0000)]
Be more lax about the out of memory error message.

p4raw-id: //depot/perl@18915

21 years agoTry to handle hitting the heap/data limit in small systems.
Jarkko Hietaniemi [Tue, 11 Mar 2003 09:18:25 +0000 (09:18 +0000)]
Try to handle hitting the heap/data limit in small systems.
(One can simulate this with e.g. 32MB or 64MB datasize,
use your shell's ulimit/limit/limits command.)

p4raw-id: //depot/perl@18914

21 years agotypo for utf8locale in #18907
Hugo van der Sanden [Tue, 11 Mar 2003 07:36:00 +0000 (07:36 +0000)]
typo for utf8locale in #18907

p4raw-id: //depot/perl@18912

21 years agoclear PL_exitlist in perl_destruct
Craig A. Berry [Tue, 11 Mar 2003 00:34:39 +0000 (18:34 -0600)]
clear PL_exitlist in perl_destruct
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E6D837F.7000506@mac.com>

p4raw-id: //depot/perl@18910

21 years agoUpgrade to cperl-mode 5.0, from IlyaZ.
Jarkko Hietaniemi [Tue, 11 Mar 2003 06:29:35 +0000 (06:29 +0000)]
Upgrade to cperl-mode 5.0, from IlyaZ.

p4raw-id: //depot/perl@18909

21 years agoMissed some, cryptically.
Jarkko Hietaniemi [Tue, 11 Mar 2003 06:09:05 +0000 (06:09 +0000)]
Missed some, cryptically.

p4raw-id: //depot/perl@18908

21 years agoAdd missing intrpvar clonings to perl_clone.
Jarkko Hietaniemi [Tue, 11 Mar 2003 06:01:28 +0000 (06:01 +0000)]
Add missing intrpvar clonings to perl_clone.
Also move the IDBassertion to the end since there's
no particular reason to break bincompat for that.

p4raw-id: //depot/perl@18907

21 years agoAdd reminders to intrpvar.h about perl_clone(), as suggested by Stas.
Jarkko Hietaniemi [Tue, 11 Mar 2003 05:43:30 +0000 (05:43 +0000)]
Add reminders to intrpvar.h about perl_clone(), as suggested by Stas.

p4raw-id: //depot/perl@18906

21 years ago[patch] PL_taint_warn falls between chairs in perl_clone()
Stas Bekman [Tue, 11 Mar 2003 17:09:02 +0000 (04:09 +1100)]
[patch] PL_taint_warn falls between chairs in perl_clone()
Message-ID: <3E6D7D7E.5000704@stason.org>

p4raw-id: //depot/perl@18905

21 years agotypos and other minor things
Todd C. Miller [Mon, 10 Mar 2003 21:00:55 +0000 (14:00 -0700)]
typos and other minor things
From: "Todd C. Miller" <Todd.Miller@courtesan.com>
Message-Id: <200303110400.h2B40tEQ018838@xerxes.courtesan.com>

p4raw-id: //depot/perl@18904

21 years agoA rejected hunk of #18902 reapplied.
Jarkko Hietaniemi [Tue, 11 Mar 2003 05:29:12 +0000 (05:29 +0000)]
A rejected hunk of #18902 reapplied.

p4raw-id: //depot/perl@18903

21 years agoPatch from Craig Berry to resolve test failures in VMS.
Jarkko Hietaniemi [Tue, 11 Mar 2003 05:19:15 +0000 (05:19 +0000)]
Patch from Craig Berry to resolve test failures in VMS.
Will poke the Net::Ping author.

p4raw-id: //depot/perl@18902

21 years agoIntegrate (by hand) change #18386 from maint-5.8
Rafael Garcia-Suarez [Mon, 10 Mar 2003 22:12:37 +0000 (22:12 +0000)]
Integrate (by hand) change #18386 from maint-5.8
p4raw-link: @18386 on //depot/maint-5.8/perl: ae482bddc28bdefe6941bbd8dd2654bdbf1d93be

p4raw-id: //depot/perl@18900

21 years agoVMS has an extra \n at the end, and I assume Windows has \r\n.
Jarkko Hietaniemi [Mon, 10 Mar 2003 21:44:12 +0000 (21:44 +0000)]
VMS has an extra \n at the end, and I assume Windows has \r\n.

p4raw-id: //depot/perl@18899

21 years agoA new test, to check that signal numbers are actually positive,
Rafael Garcia-Suarez [Mon, 10 Mar 2003 20:22:39 +0000 (20:22 +0000)]
A new test, to check that signal numbers are actually positive,
and that there is a consistent number of signals available.

p4raw-id: //depot/perl@18891

21 years agoRe: odd (or not so odd?) segmentation fault in 5.8.0
Yitzchak Scott-Thoennes [Fri, 7 Mar 2003 13:12:49 +0000 (05:12 -0800)]
Re: odd (or not so odd?) segmentation fault in 5.8.0
Message-ID: <RtQa+gzkg2kF092yn@efn.org>

p4raw-id: //depot/perl@18889

21 years agoRe: [perl #21505] 5.8.0 lib/Config test failure due to compiler flag
Nicholas Clark [Sun, 9 Mar 2003 21:24:46 +0000 (21:24 +0000)]
Re: [perl #21505] 5.8.0 lib/Config test failure due to compiler flag
Message-ID: <20030309212445.GE277@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@18888