This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
20 years agoPATCH: make goto work in nested eval ""
Robin Houston [Wed, 14 Mar 2001 04:16:10 +0000 (04:16 +0000)]
PATCH: make goto work in nested eval ""
Message-ID: <20010314041610.A16307@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9147

20 years agoPreserve the #ifdef PERL_CORE in perly.h.
Jarkko Hietaniemi [Wed, 14 Mar 2001 04:42:54 +0000 (04:42 +0000)]
Preserve the #ifdef PERL_CORE in perly.h.

p4raw-id: //depot/perl@9146

20 years ago(Retracted by #9150.)
Jarkko Hietaniemi [Wed, 14 Mar 2001 03:57:41 +0000 (03:57 +0000)]
(Retracted by #9150.)

p4raw-id: //depot/perl@9145

20 years agoIntegrate changes #9137,9138,9142 from maintperl into mainline.
Jarkko Hietaniemi [Wed, 14 Mar 2001 03:50:38 +0000 (03:50 +0000)]
Integrate changes #9137,9138,9142 from maintperl into mainline.

fix leak in pregcomp() when RE fails to compile (e.g. m/\\/)

remove squelch controls for "Scalars leaked" messages in most places
(these are now cured)

fix another memory leak reported by purify (tie callbacks that
croak can leak when wiping out magic)

p4raw-link: @9142 on //depot/maint-5.6/perl: 26972843796e21c404c9d13ec5ee86e7b952a2bd
p4raw-link: @9138 on //depot/maint-5.6/perl: ad7f1144250940f9ca43bac32708ec5e718b30ff
p4raw-link: @9137 on //depot/maint-5.6/perl: 1f35595ecca168b4f66e3399344799fdbd496d17

p4raw-id: //depot/perl@9144
p4raw-integrated: from //depot/maint-5.6/perl@9143 'copy in'
t/pragma/strict-vars (@7318..) t/pragma/warn/regcomp (@7887..)
t/op/regexp.t (@8551..) t/op/lex_assign.t (@8987..) 'merge in'
t/op/local.t (@5902..) t/pragma/warn/op (@7846..)
t/pragma/warnings.t (@7895..) t/comp/proto.t (@8173..)
t/pragma/warn/toke (@8570..) regcomp.c (@8777..) scope.c
(@8855..) t/op/pat.t (@9076..)

20 years ago(Retracted by #9149.)
Jarkko Hietaniemi [Wed, 14 Mar 2001 03:37:53 +0000 (03:37 +0000)]
(Retracted by #9149.)

p4raw-id: //depot/perl@9143

20 years agoPATCH for [ID 20010305.003]
Robin Houston [Wed, 14 Mar 2001 02:45:51 +0000 (02:45 +0000)]
PATCH for [ID 20010305.003]
Message-ID: <20010314024551.A16207@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9141

20 years agoRe: [ID 20010309.004] my-variables lose values while goto'ing within a for(;;)-loop
Robin Houston [Wed, 14 Mar 2001 01:52:51 +0000 (01:52 +0000)]
Re: [ID 20010309.004] my-variables lose values while goto'ing within a for(;;)-loop
Message-ID: <20010314015251.B16112@puffinry.freeserve.co.uk>

Fix for 2000313.004.

p4raw-id: //depot/perl@9140

20 years agoRe: [ID 20010309.004] my-variables lose values while goto'ing within a for(;;)-loop
Robin Houston [Wed, 14 Mar 2001 00:43:45 +0000 (00:43 +0000)]
Re: [ID 20010309.004] my-variables lose values while goto'ing within a for(;;)-loop
Message-ID: <20010314004345.A15892@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9139

20 years ago(Retracted by #9155)
Jens-Uwe Mager [Wed, 21 Feb 2001 21:32:04 +0000 (22:32 +0100)]
(Retracted by #9155)

Subject: Re: [gsar@ActiveState.com: v5.6.1 trial2 is available]
Message-ID: <20010221213203.A18340@ans.helios.de>

p4raw-id: //depot/perl@9136

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 13 Mar 2001 22:50:05 +0000 (22:50 +0000)]
Integrate perlio:

[  9126]
#ifdef'ed out code to make packed side of pack/unpack
octets. (i.e. pack('U') => encode_utf8).

p4raw-link: @9126 on //depot/perlio: d815558d76680455c3455ca148e9c280db95eb71

p4raw-id: //depot/perl@9135
p4raw-integrated: from //depot/perlio@9134 'copy in' pp.c (@9096..)

20 years agoIntegrate change #9131 from maintperl into mainline.
Jarkko Hietaniemi [Tue, 13 Mar 2001 22:49:05 +0000 (22:49 +0000)]
Integrate change #9131 from maintperl into mainline.

make the error text look more consistent in hints/hpux.sh

p4raw-link: @9131 on //depot/maint-5.6/perl: 6c443ddcf92f9e25943db40b3d14a2d7dd67aaae

p4raw-id: //depot/perl@9134
p4raw-integrated: from //depot/maint-5.6/perl@9132 'merge in'
hints/hpux.sh (@8687..)

20 years agoRe: [ID 20010309.004] my-variables lose values while goto'ing within a for(;;)-loop
John P. Linderman [Tue, 13 Mar 2001 12:36:32 +0000 (07:36 -0500)]
Re: [ID 20010309.004] my-variables lose values while goto'ing within a for(;;)-loop
Message-Id: <200103131736.MAA35615@raptor.research.att.com>

A more correct prime finder.

p4raw-id: //depot/perl@9132

20 years agoRe: 9122 and sigaction/switch on HP-UX 11.00
H.Merijn Brand [Tue, 13 Mar 2001 18:41:26 +0000 (19:41 +0100)]
Re: 9122 and sigaction/switch on HP-UX 11.00
Message-Id: <20010313184043.BFFC.H.M.BRAND@hccnet.nl>

If the test is run non-interactively the default handler
is different.

p4raw-id: //depot/perl@9130

20 years agot/lib/1_compile.t VMS mod
Charles Lane [Tue, 13 Mar 2001 16:44:32 +0000 (11:44 -0500)]
t/lib/1_compile.t  VMS mod
Message-Id: <010313164414.d1225@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@9129

20 years agoAnother patch for integer.pm POD
John L. Allen [Tue, 13 Mar 2001 16:14:02 +0000 (11:14 -0500)]
Another patch for integer.pm POD
Message-ID: <Pine.SOL.3.91.1010313160755.1630A-100000@gateway.grumman.com>

p4raw-id: //depot/perl@9128

20 years agoUpdate Changes.
Jarkko Hietaniemi [Tue, 13 Mar 2001 15:07:16 +0000 (15:07 +0000)]
Update Changes.

p4raw-id: //depot/perl@9125

20 years agoWorkaround for the buggy ("internal compiler error")
Jarkko Hietaniemi [Tue, 13 Mar 2001 14:22:45 +0000 (14:22 +0000)]
Workaround for the buggy ("internal compiler error")
AIX C compiler 5.0.1.0: skip the optimization for regcomp.c
(and ext/re/re_comp.c).  The MakeMaker dark magic courtesy
of Andreas K├Ânig.

p4raw-id: //depot/perl@9124

20 years agoTypo in #9113.
Jarkko Hietaniemi [Tue, 13 Mar 2001 03:24:06 +0000 (03:24 +0000)]
Typo in #9113.

p4raw-id: //depot/perl@9122

20 years agoForgot to check-in the larger part of #9120, duh.
Jarkko Hietaniemi [Tue, 13 Mar 2001 01:53:05 +0000 (01:53 +0000)]
Forgot to check-in the larger part of #9120, duh.

p4raw-id: //depot/perl@9121

20 years agoOS/2 docs
Ilya Zakharevich [Mon, 12 Mar 2001 03:27:32 +0000 (22:27 -0500)]
OS/2 docs
Message-ID: <20010312032732.A19283@math.ohio-state.edu>

p4raw-id: //depot/perl@9120

20 years agoIntegrate change #9116 from maintperl into mainline.
Jarkko Hietaniemi [Tue, 13 Mar 2001 01:49:41 +0000 (01:49 +0000)]
Integrate change #9116 from maintperl into mainline.

Win32::GetCwd() returns C: instead of C:\ in the root directory
under ithreads

p4raw-link: @9116 on //depot/maint-5.6/perl: 864201fef66f086d79f15d5f6659d358d38b3288

p4raw-id: //depot/perl@9119
p4raw-integrated: from //depot/maint-5.6/perl@9118 'merge in'
win32/perlhost.h (@8167..)

20 years agoAdd Switch 2.01, resort MANIFEST (forgot that in #9117)
Jarkko Hietaniemi [Tue, 13 Mar 2001 01:13:39 +0000 (01:13 +0000)]
Add Switch 2.01, resort MANIFEST (forgot that in #9117)

p4raw-id: //depot/perl@9118

20 years agoAdd Text::Balanced 1.83.
Jarkko Hietaniemi [Tue, 13 Mar 2001 01:03:17 +0000 (01:03 +0000)]
Add Text::Balanced 1.83.

p4raw-id: //depot/perl@9117

20 years agoRe: [ID 20010305.005] "use integer" doesn't make rand() return integers
John L. Allen [Tue, 6 Mar 2001 10:50:51 +0000 (05:50 -0500)]
Re: [ID 20010305.005] "use integer" doesn't make rand() return integers
Message-ID: <Pine.SOL.3.91.1010306103113.9094A-100000@gateway.grumman.com>

use integer document clarification.

p4raw-id: //depot/perl@9115

20 years agoOS/390 mydomain last gasp before silly guess (was Re: What do I need to build EBCDIC...
Peter Prymmer [Mon, 12 Mar 2001 16:25:56 +0000 (08:25 -0800)]
OS/390 mydomain last gasp before silly guess (was Re: What do I need to build EBCDIC perl?)
Message-ID: <Pine.OSF.4.10.10103121619020.180841-100000@aspara.forte.com>

p4raw-id: //depot/perl@9113

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 13 Mar 2001 00:29:00 +0000 (00:29 +0000)]
Integrate perlio:

[  9110]
#ifdef'ed out code for 'USE_BYTES_DOWNGRADES' case.

p4raw-link: @9110 on //depot/perlio: 03cfe0aec1e921aae8754172fe1982455c07ce69

p4raw-id: //depot/perl@9112
p4raw-integrated: from //depot/perlio@9109 'copy in' utf8.h (@9096..)
sv.c (@9110..)

20 years agoIntegrate change #9108 from maintperl to mainline.
Jarkko Hietaniemi [Mon, 12 Mar 2001 16:04:47 +0000 (16:04 +0000)]
Integrate change #9108 from maintperl to mainline.

fix memory leak in C<sub X { sub {} }> arising from a refcount
loop between the outer sub and the inner prototype anonsub

this also enables closures returned by subroutines that
subsequently get redefined to work without generating coredumps :)

completely removed the free_closures() hack--it shouldn't be
needed anymore

p4raw-link: @9108 on //depot/maint-5.6/perl: 1cf1f64f42eb50a67f2427ff9d6d24023a2b9997

p4raw-id: //depot/perl@9109
p4raw-branched: from //depot/maint-5.6/perl@9107 'branch in'
t/op/anonsub.t
p4raw-integrated: from //depot/maint-5.6/perl@9107 'merge in' sv.c
(@8871..) embed.h (@8886..) pod/perlapi.pod proto.h (@8993..)
embed.pl (@8995..) MANIFEST (@9030..) op.c op.h (@9055..)
pp_ctl.c (@9076..)

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 12 Mar 2001 05:15:31 +0000 (05:15 +0000)]
Integrate perlio:

[  9106]
regcomp.c is working in native space, not Unicode space (if different)
as it is doing compare against 'W' in \W etc.

[  9105]
Audit #ifdef EBCDIC and #ifndef ASCIIish, replace latter with former.
Use ASCII_TO_NATIVE and NATIVE_TO_ASCII to avoid some #ifs.

[  9104]
Put utf8_downgrade in CRIPPLED_CC versions of SvPVbyte* before I forget.

[  9102]
USE_SFIO issues as observed by Chris Nandor <pudge@pobox.com>
- exclude layer syms in makedef.pl for sfio
- also inhibit Encode from trying to build ":encode()" layer.

p4raw-link: @9106 on //depot/perlio: 5e12f4fbf2391bc262df1da61c1745c66dc76d71
p4raw-link: @9105 on //depot/perlio: c7f1f0165ac822994a67426c2d8003c3974e49ef
p4raw-link: @9104 on //depot/perlio: ffebcc3e6acf9636047196271385e91b0490ae34
p4raw-link: @9102 on //depot/perlio: 9df9a5cd21960315c39a8675579b46e68b5402c2

p4raw-id: //depot/perl@9107

20 years agoregcomp.c is working in native space, not Unicode space (if different)
Nick Ing-Simmons [Sun, 11 Mar 2001 20:10:12 +0000 (20:10 +0000)]
regcomp.c is working in native space, not Unicode space (if different)
as it is doing compare against 'W' in \W etc.

p4raw-id: //depot/perlio@9106

20 years agoAudit #ifdef EBCDIC and #ifndef ASCIIish, replace latter with former.
Nick Ing-Simmons [Sun, 11 Mar 2001 19:39:34 +0000 (19:39 +0000)]
Audit #ifdef EBCDIC and #ifndef ASCIIish, replace latter with former.
Use ASCII_TO_NATIVE and NATIVE_TO_ASCII to avoid some #ifs.

p4raw-id: //depot/perlio@9105

20 years agoPut utf8_downgrade in CRIPPLED_CC versions of SvPVbyte* before I forget.
Nick Ing-Simmons [Sun, 11 Mar 2001 18:15:44 +0000 (18:15 +0000)]
Put utf8_downgrade in CRIPPLED_CC versions of SvPVbyte* before I forget.

p4raw-id: //depot/perlio@9104

20 years agoIntegrate mainline (for regexp stuff).
Nick Ing-Simmons [Sun, 11 Mar 2001 18:03:28 +0000 (18:03 +0000)]
Integrate mainline (for regexp stuff).

p4raw-id: //depot/perlio@9103

20 years agoUSE_SFIO issues as observed by Chris Nandor <pudge@pobox.com>
Nick Ing-Simmons [Sun, 11 Mar 2001 17:44:20 +0000 (17:44 +0000)]
USE_SFIO issues as observed by Chris Nandor <pudge@pobox.com>
 - exclude layer syms in makedef.pl for sfio
 - also inhibit Encode from trying to build ":encode()" layer.

p4raw-id: //depot/perlio@9102

20 years agoThe $Is_MacOS needs to be declared.
Jarkko Hietaniemi [Sat, 10 Mar 2001 22:38:13 +0000 (22:38 +0000)]
The $Is_MacOS needs to be declared.

p4raw-id: //depot/perl@9101

20 years agoUse #if defined(USE_PERLIO) && !defined(USE_SFIO) instead of just
Jarkko Hietaniemi [Sat, 10 Mar 2001 22:14:29 +0000 (22:14 +0000)]
Use #if defined(USE_PERLIO) && !defined(USE_SFIO) instead of just
#ifdef USE_PERLIO in Encode.xs so that the perlio symbols don't
pollute the symbolspace if using sfio.

p4raw-id: //depot/perl@9100

20 years agoPortability fixes for Mac OS / bleadperl
Chris Nandor [Sat, 10 Mar 2001 14:23:55 +0000 (09:23 -0500)]
Portability fixes for Mac OS / bleadperl
Message-Id: <p05010401b6d02f70211f@[10.0.1.177]>

p4raw-id: //depot/perl@9099

20 years agoFix for ID 20010306.008, UTF-8 and \w without 'use utf8' coredump.
Jarkko Hietaniemi [Sat, 10 Mar 2001 21:38:30 +0000 (21:38 +0000)]
Fix for ID 20010306.008, UTF-8 and \w without 'use utf8' coredump.

p4raw-id: //depot/perl@9098

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 10 Mar 2001 14:38:07 +0000 (14:38 +0000)]
Integrate perlio:

[  9096]
EBCDIC sanity - phase I
- rename utf8/uv functions to indicate what sort of uv they provide (uvuni/uvchr)
- use utf8n_xxxx (c.f. pvn) for forms which take length.
- back out vN.N and $^V exceptions to e2a/a2e
- make "locale" isxxx macros be uvchr (may be redundant?)
Not clear yet that toUPPER_uni et. al. return being handled correctly.
The tr// and rexexp stuff still needs an audit, assumption is they are working
in Unicode space.
Need to provide v5.6 names for XS modules (decide is uni or chr ?).

p4raw-link: @9096 on //depot/perlio: 9041c2e396c8c7de7680a2007dc341a9f65be0d0

p4raw-id: //depot/perl@9097

20 years agoEBCDIC sanity - phase I
Nick Ing-Simmons [Sat, 10 Mar 2001 11:55:43 +0000 (11:55 +0000)]
EBCDIC sanity - phase I
 - rename utf8/uv functions to indicate what sort of uv they provide (uvuni/uvchr)
 - use utf8n_xxxx (c.f. pvn) for forms which take length.
 - back out vN.N and $^V exceptions to e2a/a2e
 - make "locale" isxxx macros be uvchr (may be redundant?)

Not clear yet that toUPPER_uni et. al. return being handled correctly.
The tr// and rexexp stuff still needs an audit, assumption is they are working
in Unicode space.

Need to provide v5.6 names for XS modules (decide is uni or chr ?).

p4raw-id: //depot/perlio@9096

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Fri, 9 Mar 2001 22:10:01 +0000 (22:10 +0000)]
Integrate perlio:

[  9094]
Builds an passes all tests after integrate and this tweak.

p4raw-link: @9094 on //depot/perlio: 2ef28da1578e18cf36b9a30b71ac471521d2b507

p4raw-id: //depot/perl@9095

20 years agoBuilds an passes all tests after integrate and this tweak.
Nick Ing-Simmons [Fri, 9 Mar 2001 17:36:38 +0000 (17:36 +0000)]
Builds an passes all tests after integrate and this tweak.

p4raw-id: //depot/perlio@9094

20 years agoIntegrate mainline (does not build - sv_catpvf issue in dump.c)
Nick Ing-Simmons [Fri, 9 Mar 2001 17:16:03 +0000 (17:16 +0000)]
Integrate mainline (does not build - sv_catpvf issue in dump.c)

p4raw-id: //depot/perlio@9093

20 years agoUpdate Changes.
Jarkko Hietaniemi [Fri, 9 Mar 2001 15:28:26 +0000 (15:28 +0000)]
Update Changes.

p4raw-id: //depot/perl@9092

20 years agoIn op/stat #35 better to scan all the potential directories
Jarkko Hietaniemi [Fri, 9 Mar 2001 15:25:05 +0000 (15:25 +0000)]
In op/stat #35 better to scan all the potential directories
for setuids, not just the first one.

p4raw-id: //depot/perl@9091

20 years agoRe: [ID 19990808.001] [PATCH] FETCH triggered on exists()
Robert Spier [Fri, 9 Mar 2001 03:30:20 +0000 (22:30 -0500)]
Re: [ID 19990808.001] [PATCH] FETCH triggered on exists()
Message-ID: <15016.38044.381174.160189@rls.cx>

EXISTS() returning undef mistakenly triggered a FETCH().

p4raw-id: //depot/perl@9090

20 years agoAdd /sbin and /usr/sbin to the list of directories scanned
Jarkko Hietaniemi [Fri, 9 Mar 2001 14:59:02 +0000 (14:59 +0000)]
Add /sbin and /usr/sbin to the list of directories scanned
for setuid programs.  Takes care of bug id 20010309.003.

p4raw-id: //depot/perl@9089

20 years agoRegen perlapi, perltoc.
Jarkko Hietaniemi [Fri, 9 Mar 2001 14:48:32 +0000 (14:48 +0000)]
Regen perlapi, perltoc.

p4raw-id: //depot/perl@9088

20 years agoRe: [ PATCH perl@8956 ] new debug option -DR shows ref counts
Dave Mitchell [Fri, 9 Mar 2001 13:49:31 +0000 (13:49 +0000)]
Re: [ PATCH perl@8956 ] new debug option -DR shows ref counts
Message-Id: <200103091349.NAA16617@tiree.fdgroup.co.uk>

p4raw-id: //depot/perl@9087

20 years agoA modified version of
anders@broadcom.com [Wed, 7 Mar 2001 14:35:24 +0000 (06:35 -0800)]
A modified version of

Subject: [ID 20010307.005] POSIX::sigaction has various problems
Message-Id: <200103072235.OAA25368@dt-sj1-130.sj.broadcom.com>

Currently the sigaction.t test #6 fails (and is fudged to look
like an "ok") in Linux (at least in Debian 2.2 Linux 2.4.2 x86).
This may well be a genuine bug in Linux sigaction() (since at
least Tru64, Solaris, and HP-UX disagree with Linux).
Anyone with POSIX / SUSv2 tome handy?  The problem is that
the flags of the oldaction don't match with the flags in
the previously installed disposition.

p4raw-id: //depot/perl@9086

20 years agoRe: mission impossible for the day
Alex Gough [Thu, 8 Mar 2001 17:18:19 +0000 (17:18 +0000)]
Re: mission impossible for the day
Message-ID: <3AA7BEDB.8070409@rcon.org>

If references (are overloaded) and can be directly stringified,
show that instead of "stringified".

(The problem, infinite mutual recursion caused by overloaded bool
 in Switch.pm, tracked by David Mitchell)

p4raw-id: //depot/perl@9085

20 years agoRe: [ PATCH perl@8956 ] new debug option -DR shows ref counts
Dave Mitchell [Thu, 8 Mar 2001 12:06:57 +0000 (12:06 +0000)]
Re: [ PATCH perl@8956 ] new debug option -DR shows ref counts
Message-Id: <200103081206.MAA06281@tiree.fdgroup.co.uk>

p4raw-id: //depot/perl@9084

20 years agoperldata.pod here-doc docs
Jeff Pinyan [Thu, 8 Mar 2001 13:18:55 +0000 (08:18 -0500)]
perldata.pod here-doc docs
Message-ID: <Pine.GSO.4.21.0103081317530.20957-100000@crusoe.crusoe.net>

p4raw-id: //depot/perl@9083

20 years agoRe: Unicode/EBCDIC
Peter Prymmer [Thu, 8 Mar 2001 16:23:25 +0000 (08:23 -0800)]
Re: Unicode/EBCDIC
Message-ID: <Pine.OSF.4.10.10103081617390.377472-100000@aspara.forte.com>

p4raw-id: //depot/perl@9082

20 years agoOoops, wrong 'no *POSIX' Patch
Thomas Dorner [Thu, 8 Mar 2001 08:43:28 +0000 (09:43 +0100)]
Ooops, wrong 'no *POSIX' Patch
Message-ID: <6727B1DACFCDD311A757009027CA8D69010A88D3@Ex02.inhouse.start.de>

p4raw-id: //depot/perl@9081

20 years agoIt's Scripts.txt, not Script.txt.
Jarkko Hietaniemi [Thu, 8 Mar 2001 13:11:42 +0000 (13:11 +0000)]
It's Scripts.txt, not Script.txt.

p4raw-id: //depot/perl@9080

20 years ago'no *POSIX' Patch speeding up make on BS2000
Thomas Dorner [Wed, 7 Mar 2001 14:13:31 +0000 (15:13 +0100)]
'no *POSIX' Patch speeding up make on BS2000
Message-ID: <6727B1DACFCDD311A757009027CA8D69010A88CB@Ex02.inhouse.start.de>

p4raw-id: //depot/perl@9079

20 years agoRetract #9069, wrong patch.
Jarkko Hietaniemi [Thu, 8 Mar 2001 12:57:43 +0000 (12:57 +0000)]
Retract #9069, wrong patch.

p4raw-id: //depot/perl@9078

20 years agoUpgrade to Unicode 3.1 beta 2001-03-01.
Jarkko Hietaniemi [Thu, 8 Mar 2001 01:06:13 +0000 (01:06 +0000)]
Upgrade to Unicode 3.1 beta 2001-03-01.

p4raw-id: //depot/perl@9077

20 years agoMore UTF-8 test tweaks.
Jarkko Hietaniemi [Wed, 7 Mar 2001 22:05:11 +0000 (22:05 +0000)]
More UTF-8 test tweaks.

p4raw-id: //depot/perl@9075

20 years agoIntegrate mainline.
Nick Ing-Simmons [Wed, 7 Mar 2001 21:39:29 +0000 (21:39 +0000)]
Integrate mainline.

p4raw-id: //depot/perlio@9074

20 years agoUpdate Changes.
Jarkko Hietaniemi [Wed, 7 Mar 2001 16:37:09 +0000 (16:37 +0000)]
Update Changes.

p4raw-id: //depot/perl@9073

20 years ago[ID 20010306.004] || != named unary operator
abela@geneanet.org [Tue, 6 Mar 2001 15:57:57 +0000 (16:57 +0100)]
[ID 20010306.004] || != named unary operator
Message-Id: <20010306145757.0CB03D183@little-roots.geneanet.org>

p4raw-id: //depot/perl@9072

20 years agodowngrading to bytes for common functions
Andrew Pimlott [Wed, 7 Mar 2001 02:36:55 +0000 (21:36 -0500)]
downgrading to bytes for common functions
Message-ID: <20010307023655.J24024@pimlott.ne.mediaone.net>

p4raw-id: //depot/perl@9071

20 years agoClarify the description differentiating for and while; inspired by
abela@geneanet.org [Tue, 6 Mar 2001 09:40:36 +0000 (10:40 +0100)]
Clarify the description differentiating for and while; inspired by

Subject: [ID 20010306.002] for/while difference in for definition
Message-Id: <20010306084036.7BFD0D17F@little-roots.geneanet.org>

p4raw-id: //depot/perl@9070

20 years ago(Retracted by #9078.)
Jarkko Hietaniemi [Wed, 7 Mar 2001 14:55:30 +0000 (14:55 +0000)]
(Retracted by #9078.)

p4raw-id: //depot/perl@9069

20 years agoRe: [ID 20010305.012] chop() against list assignment returns char chopped from el...
Radu Greab [Tue, 6 Mar 2001 23:04:44 +0000 (01:04 +0200)]
Re: [ID 20010305.012] chop() against list assignment returns char chopped from el zero
Message-ID: <15013.20716.201459.540421@ix.netsoft.ro>

p4raw-id: //depot/perl@9068

20 years agoRe: [PATCH: 5.6.1 trial2] DynaLoading for OS/390 build option
Simon Cozens [Wed, 7 Mar 2001 13:59:28 +0000 (13:59 +0000)]
Re: [PATCH: 5.6.1 trial2] DynaLoading for OS/390 build option
Message-ID: <20010307135928.A21620@pembro26.pmb.ox.ac.uk>

In order to allow MakeMaker to build correct Makefiles,
you need to change the order of the arguments in MM_Unix.pm
as well. (Unless you have C89_CCMODE set, but we're trying
to be POSIXly correct)

Thanks to Merijn Broeren for tracking this down.

p4raw-id: //depot/perl@9067

20 years agoFloating point too messy.
Jarkko Hietaniemi [Wed, 7 Mar 2001 14:30:02 +0000 (14:30 +0000)]
Floating point too messy.

p4raw-id: //depot/perl@9066

20 years agoIntegrate change #9064 from maintperl into mainline.
Jarkko Hietaniemi [Wed, 7 Mar 2001 14:17:44 +0000 (14:17 +0000)]
Integrate change #9064 from maintperl into mainline.

fix memory leak in pack("Bb",...)

p4raw-link: @9064 on //depot/maint-5.6/perl: 58108105c16130ce852e73f8543b2ccc8bf2388f

p4raw-id: //depot/perl@9065
p4raw-integrated: from //depot/maint-5.6/perl@9063 'merge in' perl.c
(@8986..)

20 years agoMajor utf8 test reorganisation and rewrite.
Jarkko Hietaniemi [Wed, 7 Mar 2001 00:55:04 +0000 (00:55 +0000)]
Major utf8 test reorganisation and rewrite.
Hopefully no tests were lost in the shuffle.
(The beginning of pragma/utf8 was lost intentionally,
 the tests were rather bogus and incomplete.)

p4raw-id: //depot/perl@9063

20 years agoMore tweakage on the Unicode character class descriptions.
Jarkko Hietaniemi [Wed, 7 Mar 2001 00:41:16 +0000 (00:41 +0000)]
More tweakage on the Unicode character class descriptions.

p4raw-id: //depot/perl@9062

20 years agoThe perlretut was still talking about the old \p and \P
Jarkko Hietaniemi [Tue, 6 Mar 2001 23:12:38 +0000 (23:12 +0000)]
The perlretut was still talking about the old \p and \P
definitions.

p4raw-id: //depot/perl@9061

20 years agoIntegrate mainline (make test works again now).
Nick Ing-Simmons [Tue, 6 Mar 2001 20:52:37 +0000 (20:52 +0000)]
Integrate mainline (make test works again now).

p4raw-id: //depot/perlio@9060

20 years ago0.999... does equal 1.0, doesn't it?
Jarkko Hietaniemi [Tue, 6 Mar 2001 15:36:14 +0000 (15:36 +0000)]
0.999... does equal 1.0, doesn't it?

p4raw-id: //depot/perl@9059

20 years agoMake /x{abcd}/ to work without use utf8.
Jarkko Hietaniemi [Tue, 6 Mar 2001 15:34:00 +0000 (15:34 +0000)]
Make /x{abcd}/ to work without use utf8.

p4raw-id: //depot/perl@9058

20 years agoEasier to outcomment all the three reset() tests for now.
Jarkko Hietaniemi [Tue, 6 Mar 2001 03:02:36 +0000 (03:02 +0000)]
Easier to outcomment all the three reset() tests for now.

p4raw-id: //depot/perl@9057

20 years agoComment out the deadly reset; until the 20010301.005
Jarkko Hietaniemi [Tue, 6 Mar 2001 02:30:02 +0000 (02:30 +0000)]
Comment out the deadly reset; until the 20010301.005
is finally fixed.

p4raw-id: //depot/perl@9056

20 years agoRetract the PMOP cleanup patch: I'm seeing strange core dumps
Jarkko Hietaniemi [Tue, 6 Mar 2001 02:19:57 +0000 (02:19 +0000)]
Retract the PMOP cleanup patch: I'm seeing strange core dumps
with oddly familiar stack traces.

p4raw-id: //depot/perl@9054

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 5 Mar 2001 23:20:28 +0000 (23:20 +0000)]
Integrate perlio:

[  9052]
skipping USE_PERLIO symbols correction.

[  9051]
More Encode alias tidying.

p4raw-link: @9052 on //depot/perlio: 5138f91426baaaf2b1b29e96c14ea3e0fa029755
p4raw-link: @9051 on //depot/perlio: 016cb72cf9c105870bee6a8400914494bc6b9d12

p4raw-id: //depot/perl@9053

20 years agoskipping USE_PERLIO symbols correction.
Nick Ing-Simmons [Mon, 5 Mar 2001 23:08:17 +0000 (23:08 +0000)]
skipping USE_PERLIO symbols correction.

p4raw-id: //depot/perlio@9052

20 years agoMore Encode alias tidying.
Nick Ing-Simmons [Mon, 5 Mar 2001 22:35:07 +0000 (22:35 +0000)]
More Encode alias tidying.

p4raw-id: //depot/perlio@9051

20 years agoIntegrate Jarkko's Encode.pm tweak.
Nick Ing-Simmons [Mon, 5 Mar 2001 19:54:04 +0000 (19:54 +0000)]
Integrate Jarkko's Encode.pm tweak.

p4raw-id: //depot/perlio@9049

20 years agoIntegrate mainline (mostly - holding of on Encode.pm for a bit.)
Nick Ing-Simmons [Mon, 5 Mar 2001 19:47:57 +0000 (19:47 +0000)]
Integrate mainline (mostly - holding of on Encode.pm for a bit.)

p4raw-id: //depot/perlio@9048

20 years agoRegen perlapi.
Jarkko Hietaniemi [Mon, 5 Mar 2001 19:25:26 +0000 (19:25 +0000)]
Regen perlapi.

p4raw-id: //depot/perl@9047

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 5 Mar 2001 19:12:14 +0000 (19:12 +0000)]
Integrate perlio:

[  9043]
Update MANIFEST for new test.

[  9042]
Some tests for Camel 3rd edition features.
Make gethostbyaddr() test in above work.

p4raw-link: @9043 on //depot/perlio: ddc2b5face5a2af5dff28b9b205dfa4b76f5c8e1
p4raw-link: @9042 on //depot/perlio: 595ae48196d4b0901d4a1aee37333fa960a6031f

p4raw-id: //depot/perl@9046

20 years agoThe mapping of ISO Latin X to ISO 8859-Y is tricky.
Jarkko Hietaniemi [Mon, 5 Mar 2001 19:10:36 +0000 (19:10 +0000)]
The mapping of ISO Latin X to ISO 8859-Y is tricky.

p4raw-id: //depot/perl@9045

20 years agoForgot the other half of the PMOP patch (#9033).
Jarkko Hietaniemi [Mon, 5 Mar 2001 18:49:12 +0000 (18:49 +0000)]
Forgot the other half of the PMOP patch (#9033).

p4raw-id: //depot/perl@9044

20 years agoUpdate MANIFEST for new test.
Nick Ing-Simmons [Mon, 5 Mar 2001 18:14:47 +0000 (18:14 +0000)]
Update MANIFEST for new test.

p4raw-id: //depot/perlio@9043

20 years agoSome tests for Camel 3rd edition features.
Nick Ing-Simmons [Mon, 5 Mar 2001 18:12:41 +0000 (18:12 +0000)]
Some tests for Camel 3rd edition features.
Make gethostbyaddr() test in above work.

p4raw-id: //depot/perlio@9042

20 years agoAdd more ISO 8859 encoding aliases.
Jarkko Hietaniemi [Mon, 5 Mar 2001 17:41:48 +0000 (17:41 +0000)]
Add more ISO 8859 encoding aliases.

p4raw-id: //depot/perl@9041

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 5 Mar 2001 17:30:43 +0000 (17:30 +0000)]
Integrate perlio:

[  9039]
Missed added file.

[  9037]
Long-standing "defined but not used" SvPVbyte*() are about to get used
for auto-downgrade hooks in gethostbyaddr() etc. (as per Camel-III).
Make SvPVbyte*() symmetric with respect to SvPVutf8*() in that:
- it does a sv_utf8_downgrade (c.f. SvPVutf8's sv_utf8_upgrade())
- uses SvPV() rather than sv_2pv() in case it isn't a string.

p4raw-link: @9039 on //depot/perlio: 41010ee291c2b5acc799d2426bfb74f41a33ba21
p4raw-link: @9037 on //depot/perlio: 0875d2fe359ba14e879483eafe95813b77c5da09

p4raw-id: //depot/perl@9040

20 years agoMissed added file.
Nick Ing-Simmons [Mon, 5 Mar 2001 17:11:36 +0000 (17:11 +0000)]
Missed added file.

p4raw-id: //depot/perlio@9039

20 years agoAdd tr tests for EBCDIC, from Karsten Sperling.
Jarkko Hietaniemi [Mon, 5 Mar 2001 15:58:01 +0000 (15:58 +0000)]
Add tr tests for EBCDIC, from Karsten Sperling.

p4raw-id: //depot/perl@9038

20 years agoLong-standing "defined but not used" SvPVbyte*() are about to get used
Nick Ing-Simmons [Mon, 5 Mar 2001 15:56:35 +0000 (15:56 +0000)]
Long-standing "defined but not used" SvPVbyte*() are about to get used
for auto-downgrade hooks in gethostbyaddr() etc. (as per Camel-III).

Make SvPVbyte*() symmetric with respect to SvPVutf8*() in that:
 - it does a sv_utf8_downgrade (c.f. SvPVutf8's sv_utf8_upgrade())
 - uses SvPV() rather than sv_2pv() in case it isn't a string.

p4raw-id: //depot/perlio@9037

20 years agoAdd matching tests currently failing in EBCDIC,
Jarkko Hietaniemi [Mon, 5 Mar 2001 15:49:15 +0000 (15:49 +0000)]
Add matching tests currently failing in EBCDIC,
suggested by Karsten Sperling.

p4raw-id: //depot/perl@9036

20 years agoThe #9034 needs a MANIFESTation.
Jarkko Hietaniemi [Mon, 5 Mar 2001 15:36:55 +0000 (15:36 +0000)]
The #9034 needs a MANIFESTation.

p4raw-id: //depot/perl@9035

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 5 Mar 2001 15:35:14 +0000 (15:35 +0000)]
Integrate perlio:

[  9032]
Encode implementation "completion"
Implement and document define_encoding()
Implement and document encoding aliases including define_alias()
Make Encode::XS use define_encoding() rather than back-door.
Move run-time *.enc to separate Encode::Tcl module.
Make 'compile' honour <codeset_name>
Change canonical names of to iso-8859-* and US-ascii.

p4raw-link: @9032 on //depot/perlio: 51ef4e1196e74554150c2d1993b5a0e37f6709c9

p4raw-id: //depot/perl@9034

20 years agoRe: [ID 20010301.005] corrupt memory (since @8531, in 5.6.1-T2)
Gurusamy Sarathy [Sun, 4 Mar 2001 22:33:15 +0000 (14:33 -0800)]
Re: [ID 20010301.005] corrupt memory (since @8531, in 5.6.1-T2)
Message-Id: <200103050633.f256XFo06998@smtp3.ActiveState.com>

PMOPs need to remember their own stash so that they can
gracefully remove themselves from their linked list.

p4raw-id: //depot/perl@9033

20 years agoEncode implementation "completion"
Nick Ing-Simmons [Mon, 5 Mar 2001 14:51:50 +0000 (14:51 +0000)]
Encode implementation "completion"
 Implement and document define_encoding()
 Implement and document encoding aliases including define_alias()
 Make Encode::XS use define_encoding() rather than back-door.
 Move run-time *.enc to separate Encode::Tcl module.
 Make 'compile' honour <codeset_name>
 Change canonical names of to iso-8859-* and US-ascii.

p4raw-id: //depot/perlio@9032

20 years agoIntegrate change #9030 from maintperl into mainline.
Jarkko Hietaniemi [Mon, 5 Mar 2001 13:51:17 +0000 (13:51 +0000)]
Integrate change #9030 from maintperl into mainline.

Subject: [PATCH 5.6.1] OS/2 cleanup

p4raw-link: @9030 on //depot/maint-5.6/perl: 2105755b4e61318e9489b9a118af8e270a8bc735

p4raw-id: //depot/perl@9031
p4raw-branched: from //depot/maint-5.6/perl@9029 'branch in'
os2/os2add.sym
p4raw-integrated: from //depot/maint-5.6/perl@9029 'copy in'
os2/Changes os2/OS2/REXX/REXX.pm os2/OS2/REXX/t/rx_cmprt.t
os2/os2.sym (@5902..) os2/Makefile.SHs (@8153..)
os2/OS2/REXX/REXX.xs os2/os2ish.h (@8606..) 'merge in'
lib/ExtUtils/MM_OS2.pm os2/OS2/REXX/Makefile.PL (@5902..)
MANIFEST (@8986..) makedef.pl (@8987..) os2/os2.c (@9016..)
lib/ExtUtils/MM_Unix.pm (@9028..)