23 years agoNI-S' cunning idea of how to de-UTF8 the "\C-broken" submatches.
Jarkko Hietaniemi [Sun, 18 Mar 2001 05:15:06 +0000]
NI-S' cunning idea of how to de-UTF8 the "\C-broken" submatches.

p4raw-id: //depot/perl@9193

23 years agotr/// UTF-8 patches from Inaba Hiroto.
Jarkko Hietaniemi [Sun, 18 Mar 2001 04:22:43 +0000]
tr/// UTF-8 patches from Inaba Hiroto.

p4raw-id: //depot/perl@9192

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 18 Mar 2001 04:21:17 +0000]
Integrate perlio:

[  9190]
Correct #if EBCDIC side typos.
Builds and passes many tests on OS390.

p4raw-link: @9190 on //depot/perlio: 753838417b30f18133bff09e0b7fa58f5a0db60a

p4raw-id: //depot/perl@9191

23 years agoCorrect #if EBCDIC side typos.
Nick Ing-Simmons [Sat, 17 Mar 2001 20:32:01 +0000]
Correct #if EBCDIC side typos.
Builds and passes many tests on OS390.

p4raw-id: //depot/perlio@9190

23 years agoAdd prerequisites for the perl.third target.
Jarkko Hietaniemi [Sat, 17 Mar 2001 18:55:49 +0000]
Add prerequisites for the perl.third target.

p4raw-id: //depot/perl@9189

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 17 Mar 2001 18:46:00 +0000]
Integrate perlio:

[  9186]
MANIFEST addition :-(

[  9185]
Infrastructure to use UTF-EBCDIC rather than UTF-8 as the internal
encoding on EBCDIC platforms. This has property that U+0000..U+009F i.e.
a superset of ASCII are invariant under the encoding. This is EBCDIC
friendly as an encoded string can be looked at as being EBCDIC by lexer
sprintf("0",...) etc. in same manner that a UTF-8 string be considered
ASCII on ASCII machines.
- re-arrange utf8.h to get ASCII specific vs Unicode generic bits
seperate.
- Add some more macros to comprehend different shift amounts and
possible swizzle in UTF-EBCDIC vs UTF-8. Change utf8.c to use them.
- add utfebcdic.h which provides UTF-EBCDIC versions of the macros,
and conditionally #include it.
EBCDIC build as yet untested.  ASCII still fails the one test.

[  9184]
Minor naming change UTF8_IS_ASCII => UTF8_IS_INVARIANT

p4raw-link: @9186 on //depot/perlio: 57ce1777e628f108f670a828f77ce6475bb81e32
p4raw-link: @9185 on //depot/perlio: 1d72bdf6104ef56ab17c3abedf522be0125851c7
p4raw-link: @9184 on //depot/perlio: d742c382eed38a7010c93d369ad6896d826c21d6

p4raw-id: //depot/perl@9188

23 years agoAdd a make rule for perl.third (the Third Degree memory debugging
Jarkko Hietaniemi [Sat, 17 Mar 2001 18:38:47 +0000]
Add a make rule for perl.third (the Third Degree memory debugging
tool of Tru64 / Digital UNIX / DEC OSF/1, see man third or man atom)

p4raw-id: //depot/perl@9187

23 years agoMANIFEST addition :-(
Nick Ing-Simmons [Sat, 17 Mar 2001 18:34:48 +0000]
MANIFEST addition :-(

p4raw-id: //depot/perlio@9186

23 years agoInfrastructure to use UTF-EBCDIC rather than UTF-8 as the internal
Nick Ing-Simmons [Sat, 17 Mar 2001 18:29:50 +0000]
Infrastructure to use UTF-EBCDIC rather than UTF-8 as the internal
encoding on EBCDIC platforms. This has property that U+0000..U+009F i.e.
a superset of ASCII are invariant under the encoding. This is EBCDIC
friendly as an encoded string can be looked at as being EBCDIC by lexer
sprintf("%d",...) etc. in same manner that a UTF-8 string be considered
ASCII on ASCII machines.

 - re-arrange utf8.h to get ASCII specific vs Unicode generic bits
   seperate.
 - Add some more macros to comprehend different shift amounts and
   possible swizzle in UTF-EBCDIC vs UTF-8. Change utf8.c to use them.
 - add utfebcdic.h which provides UTF-EBCDIC versions of the macros,
   and conditionally #include it.

EBCDIC build as yet untested.  ASCII still fails the one test.

p4raw-id: //depot/perlio@9185

23 years agoMinor naming change UTF8_IS_ASCII => UTF8_IS_INVARIANT
Nick Ing-Simmons [Sat, 17 Mar 2001 17:44:16 +0000]
Minor naming change UTF8_IS_ASCII => UTF8_IS_INVARIANT

p4raw-id: //depot/perlio@9184

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 17 Mar 2001 15:55:42 +0000]
Integrate perlio:

[  9182]
Allow test to pass even when \C leaves SvUTF8 set by adding 'use bytes'

[  9180]
EBCDIC Fixes.

[  9173]
1st day's EBCDIC fixes:
- toke.c's parsing of strings needed attention
needed to conditionally e2a if string was already UTF-8
- e2a/a2e tables where wrong way round.
- new macros in utf8.h

p4raw-link: @9182 on //depot/perlio: 73d6d5898f99c77c19a56e8934a3f0d8ab9918b8
p4raw-link: @9180 on //depot/perlio: db42d1485c38c3442e7b62e63d45f5e5b9b66ee1
p4raw-link: @9173 on //depot/perlio: 60f7a97ae5b801dc0b103022b69814f3a1161856

p4raw-id: //depot/perl@9183

23 years agoAllow test to pass even when \C leaves SvUTF8 set by adding 'use bytes'
Nick Ing-Simmons [Sat, 17 Mar 2001 09:16:06 +0000]
Allow test to pass even when \C leaves SvUTF8 set by adding 'use bytes'

p4raw-id: //depot/perlio@9182

23 years agoIntegrate mainline.
Nick Ing-Simmons [Sat, 17 Mar 2001 09:15:11 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9181

23 years agoEBCDIC Fixes.
Nick Ing-Simmons [Fri, 16 Mar 2001 17:23:21 +0000]
EBCDIC Fixes.

p4raw-id: //depot/perlio@9180

23 years agoRe-apply #9024 as the Storable 1.0.11 (#9069) overwrote
Jarkko Hietaniemi [Fri, 16 Mar 2001 14:10:12 +0000]
Re-apply #9024 as the Storable 1.0.11 (#9069) overwrote
a change needed to work around an AIX compiler bug.

p4raw-id: //depot/perl@9179

23 years agoWith Damian's approval synchronize damian's modules'
Jarkko Hietaniemi [Fri, 16 Mar 2001 03:19:59 +0000]
With Damian's approval synchronize damian's modules'
licensing with Perl's standard module licensing.

p4raw-id: //depot/perl@9178

23 years agoMake the Filter::Util:Call files have their own copies
Jarkko Hietaniemi [Fri, 16 Mar 2001 03:15:34 +0000]
Make the Filter::Util:Call files have their own copies
of the Perl standard module licensing, from Paul Marquess.

p4raw-id: //depot/perl@9177

23 years agomore pod patches
Michael Stevens [Thu, 15 Mar 2001 21:25:18 +0000]
more pod patches
Message-ID: <20010315212518.A18870@firedrake.org>

p4raw-id: //depot/perl@9176

23 years agothe uncontroversial doc patches
Michael Stevens [Thu, 15 Mar 2001 20:01:12 +0000]
the uncontroversial doc patches
Message-ID: <20010315200112.A7636@firedrake.org>

p4raw-id: //depot/perl@9175

23 years agoext/GDBM_File GDBM_NOLOCK constant
Paul Lindner [Fri, 16 Mar 2001 11:28:03 +0000]
ext/GDBM_File GDBM_NOLOCK constant
Message-ID: <20010316112803.A7577@inuus.com>

p4raw-id: //depot/perl@9174

23 years ago1st day's EBCDIC fixes:
Nick Ing-Simmons [Thu, 15 Mar 2001 20:21:03 +0000]
1st day's EBCDIC fixes:
 - toke.c's parsing of strings needed attention
   needed to conditionally e2a if string was already UTF-8
 - e2a/a2e tables where wrong way round.
 - new macros in utf8.h

p4raw-id: //depot/perlio@9173

23 years agoUpdate Changes.
Jarkko Hietaniemi [Thu, 15 Mar 2001 15:17:17 +0000]
Update Changes.

p4raw-id: //depot/perl@9172

23 years agoRe: Another Borland C++ problem.
Vadim Konovalov [Sat, 10 Mar 2001 19:26:07 +0000]
Re: Another Borland C++ problem.
Message-ID: <001601c0a97f$143fcc40$da7b55c2@vad>

Borland filename case problem.

p4raw-id: //depot/perl@9171

23 years agoAdd Locale::Codes 1.06, from Neil Bowers.
Jarkko Hietaniemi [Thu, 15 Mar 2001 14:54:23 +0000]
Add Locale::Codes 1.06, from Neil Bowers.

p4raw-id: //depot/perl@9170

23 years agoUpgrade to Storable 1.0.11, from Raphael Manfredi.
Jarkko Hietaniemi [Thu, 15 Mar 2001 14:19:01 +0000]
Upgrade to Storable 1.0.11, from Raphael Manfredi.

p4raw-id: //depot/perl@9169

23 years agoperldoc
Ilya Zakharevich [Wed, 14 Mar 2001 23:46:52 +0000]
perldoc
Message-ID: <20010314234652.A7972@math.ohio-state.edu>

p4raw-id: //depot/perl@9167

23 years agosigaction test condition tweakage.
Jarkko Hietaniemi [Thu, 15 Mar 2001 13:53:15 +0000]
sigaction test condition tweakage.

p4raw-id: //depot/perl@9166

23 years agoAvoid stomping off the beginning of an array in tr///.
Jarkko Hietaniemi [Thu, 15 Mar 2001 01:05:01 +0000]
Avoid stomping off the beginning of an array in tr///.

p4raw-id: //depot/perl@9164

23 years agoh2ph strictness and cleanliness from Kurt Starsinic.
Jarkko Hietaniemi [Thu, 15 Mar 2001 00:58:57 +0000]
h2ph strictness and cleanliness from Kurt Starsinic.

p4raw-id: //depot/perl@9163

23 years agoDo not use the Perl malloc in IRIX, suggested by
Jarkko Hietaniemi [Wed, 14 Mar 2001 22:02:10 +0000]
Do not use the Perl malloc in IRIX, suggested by
Helmus Jarausch.

p4raw-id: //depot/perl@9160

23 years agoIntegrate mainline
Nick Ing-Simmons [Wed, 14 Mar 2001 21:45:59 +0000]
Integrate mainline

p4raw-id: //depot/perlio@9159

23 years agoThe Day of the Retractions continues: the #9138
Jarkko Hietaniemi [Wed, 14 Mar 2001 21:10:09 +0000]
The Day of the Retractions continues: the #9138
(integrated in #9144) doesn't work well in mainline.

p4raw-id: //depot/perl@9158

23 years agoThe #9145 CANNOT be enabled: the clear_pmop code still
Jarkko Hietaniemi [Wed, 14 Mar 2001 20:58:12 +0000]
The #9145 CANNOT be enabled: the clear_pmop code still
dumps core all over in Tru64.

p4raw-id: //depot/perl@9157

23 years agoIntegrate change #9154 from maintperl to mainline.
Jarkko Hietaniemi [Wed, 14 Mar 2001 20:48:06 +0000]
Integrate change #9154 from maintperl to mainline.

PerlIO_stdoutf() wasn't properly supported under PERL_IMPLICIT_SYS
(caused Storable 1.0.10 to break on windows)

p4raw-link: @9154 on //depot/maint-5.6/perl: 241ea079897f140daac27d059c9935e78ec152ec

p4raw-id: //depot/perl@9156
p4raw-integrated: from //depot/maint-5.6/perl@9155 'copy in' globals.c
(@5902..) 'merge in' global.sym (@8599..) iperlsys.h (@8800..)
objXSUB.h perlapi.c (@8993..) embed.h embed.pl proto.h
(@9108..)

23 years agoRetract #9136: breaks threading (and binary compatibility).
Jarkko Hietaniemi [Wed, 14 Mar 2001 20:23:53 +0000]
Retract #9136: breaks threading (and binary compatibility).

p4raw-id: //depot/perl@9155

23 years agoTweaked a tweak from H.Merijn Brand on the sigaction test.
Jarkko Hietaniemi [Wed, 14 Mar 2001 13:35:21 +0000]
Tweaked a tweak from H.Merijn Brand on the sigaction test.

p4raw-id: //depot/perl@9153

23 years agoreenable change#9145 (the test was busted due to a missing
Gurusamy Sarathy [Wed, 14 Mar 2001 07:01:29 +0000]
reenable change#9145 (the test was busted due to a missing
C<print "ok 27\n">)

p4raw-link: @9145 on //depot/perl: 4af0bda917eceeead6e59e5dc7c6b28fce055a0a

p4raw-id: //depot/perl@9151

23 years agoRetract #9145.
Jarkko Hietaniemi [Wed, 14 Mar 2001 06:38:36 +0000]
Retract #9145.

p4raw-id: //depot/perl@9150

23 years agoRetract #9143.
Jarkko Hietaniemi [Wed, 14 Mar 2001 06:14:56 +0000]
Retract #9143.

p4raw-id: //depot/perl@9149

23 years agoUninitialized Memory Read in regexec.c
Gurusamy Sarathy [Wed, 14 Mar 2001 06:13:02 +0000]
Uninitialized Memory Read in regexec.c

p4raw-id: //depot/perl@9148

23 years agoPATCH: make goto work in nested eval ""
Robin Houston [Wed, 14 Mar 2001 04:16:10 +0000]
PATCH: make goto work in nested eval ""
Message-ID: <20010314041610.A16307@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9147

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

p4raw-id: //depot/perl@9146

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

p4raw-id: //depot/perl@9145

23 years agoIntegrate changes #9137,9138,9142 from maintperl into mainline.
Jarkko Hietaniemi [Wed, 14 Mar 2001 03:50:38 +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..)

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

p4raw-id: //depot/perl@9143

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

p4raw-id: //depot/perl@9141

23 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]
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

23 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]
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

23 years ago(Retracted by #9155)
Jens-Uwe Mager [Wed, 21 Feb 2001 21:32:04 +0000]
(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

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 13 Mar 2001 22:50:05 +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..)

23 years agoIntegrate change #9131 from maintperl into mainline.
Jarkko Hietaniemi [Tue, 13 Mar 2001 22:49:05 +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..)

23 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]
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

23 years agoRe: 9122 and sigaction/switch on HP-UX 11.00
H.Merijn Brand [Tue, 13 Mar 2001 18:41:26 +0000]
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

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

p4raw-id: //depot/perl@9129

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

p4raw-id: //depot/perl@9128

23 years agoIntegrate mainline.
Nick Ing-Simmons [Tue, 13 Mar 2001 21:26:30 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9127

23 years ago#ifdef'ed out code to make packed side of pack/unpack
Nick Ing-Simmons [Tue, 13 Mar 2001 20:39:51 +0000]
#ifdef'ed out code to make packed side of pack/unpack
octets. (i.e. pack('U') => encode_utf8).

p4raw-id: //depot/perlio@9126

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

p4raw-id: //depot/perl@9125

23 years agoWorkaround for the buggy ("internal compiler error")
Jarkko Hietaniemi [Tue, 13 Mar 2001 14:22:45 +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

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

p4raw-id: //depot/perl@9122

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

p4raw-id: //depot/perl@9121

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

p4raw-id: //depot/perl@9120

23 years agoIntegrate change #9116 from maintperl into mainline.
Jarkko Hietaniemi [Tue, 13 Mar 2001 01:49:41 +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..)

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

p4raw-id: //depot/perl@9118

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

p4raw-id: //depot/perl@9117

23 years agoRe: [ID 20010305.005] "use integer" doesn't make rand() return integers
John L. Allen [Tue, 6 Mar 2001 10:50:51 +0000]
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

23 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]
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

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 13 Mar 2001 00:29:00 +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..)

23 years agoIntegrate mainline.
Nick Ing-Simmons [Mon, 12 Mar 2001 21:16:33 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9111

23 years ago#ifdef'ed out code for 'USE_BYTES_DOWNGRADES' case.
Nick Ing-Simmons [Mon, 12 Mar 2001 21:00:13 +0000]
#ifdef'ed out code for 'USE_BYTES_DOWNGRADES' case.

p4raw-id: //depot/perlio@9110

23 years agoIntegrate change #9108 from maintperl to mainline.
Jarkko Hietaniemi [Mon, 12 Mar 2001 16:04:47 +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..)

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 12 Mar 2001 05:15:31 +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

23 years agoregcomp.c is working in native space, not Unicode space (if different)
Nick Ing-Simmons [Sun, 11 Mar 2001 20:10:12 +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

23 years agoAudit #ifdef EBCDIC and #ifndef ASCIIish, replace latter with former.
Nick Ing-Simmons [Sun, 11 Mar 2001 19:39:34 +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

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

p4raw-id: //depot/perlio@9104

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

p4raw-id: //depot/perlio@9103

23 years agoUSE_SFIO issues as observed by Chris Nandor <pudge@pobox.com>
Nick Ing-Simmons [Sun, 11 Mar 2001 17:44:20 +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

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

p4raw-id: //depot/perl@9101

23 years agoUse #if defined(USE_PERLIO) && !defined(USE_SFIO) instead of just
Jarkko Hietaniemi [Sat, 10 Mar 2001 22:14:29 +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

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

p4raw-id: //depot/perl@9099

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

p4raw-id: //depot/perl@9098

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 10 Mar 2001 14:38:07 +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

23 years agoEBCDIC sanity - phase I
Nick Ing-Simmons [Sat, 10 Mar 2001 11:55:43 +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

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Fri, 9 Mar 2001 22:10:01 +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

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

p4raw-id: //depot/perlio@9094

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

p4raw-id: //depot/perlio@9093

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

p4raw-id: //depot/perl@9092

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

p4raw-id: //depot/perl@9091

23 years agoRe: [ID 19990808.001] [PATCH] FETCH triggered on exists()
Robert Spier [Fri, 9 Mar 2001 03:30:20 +0000]
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

23 years agoAdd /sbin and /usr/sbin to the list of directories scanned
Jarkko Hietaniemi [Fri, 9 Mar 2001 14:59:02 +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

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

p4raw-id: //depot/perl@9088

23 years agoRe: [ PATCH perl@8956 ] new debug option -DR shows ref counts
Dave Mitchell [Fri, 9 Mar 2001 13:49:31 +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

23 years agoA modified version of
anders@broadcom.com [Wed, 7 Mar 2001 14:35:24 +0000]
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

23 years agoRe: mission impossible for the day
Alex Gough [Thu, 8 Mar 2001 17:18:19 +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

23 years agoRe: [ PATCH perl@8956 ] new debug option -DR shows ref counts
Dave Mitchell [Thu, 8 Mar 2001 12:06:57 +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

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

p4raw-id: //depot/perl@9083

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

p4raw-id: //depot/perl@9082

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

p4raw-id: //depot/perl@9081

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

p4raw-id: //depot/perl@9080

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

p4raw-id: //depot/perl@9079