platform/upstream/perl.git
23 years agoForgot the unneeded hints/dec_osf.pl into MANIFEST in #9308.
Jarkko Hietaniemi [Fri, 23 Mar 2001 14:25:35 +0000 (14:25 +0000)]
Forgot the unneeded hints/dec_osf.pl into MANIFEST in #9308.

p4raw-id: //depot/perl@9311

23 years agoNet::Ping
Colin McMillen [Thu, 22 Mar 2001 19:30:31 +0000 (13:30 -0600)]
Net::Ping
Message-ID: <20010322193031.A18814@strago.jenovaproject.org>

p4raw-id: //depot/perl@9310

23 years agoEBCDIC patches for Digest::MD5 tests from Peter Prymmer.
Jarkko Hietaniemi [Fri, 23 Mar 2001 13:39:13 +0000 (13:39 +0000)]
EBCDIC patches for Digest::MD5 tests from Peter Prymmer.

p4raw-id: //depot/perl@9309

23 years agoIntegrate Digest-1.00 and Digest-MD5-2.13, from Gisle Aas.
Jarkko Hietaniemi [Fri, 23 Mar 2001 13:20:34 +0000 (13:20 +0000)]
Integrate Digest-1.00 and Digest-MD5-2.13, from Gisle Aas.
- bump the version to 2.14
- drop the base64 tests since they require MIME::Base64
- drop the rfc1321.txt
- drop the hints/dec_osf.pl since it's only needed for
  pre-5.005_03 Perls
Todo:
- the U32 alignment testing is now removed; it needs to
  be reintroduced as as a Config variable (meaning also
  as a Configure test)
- get the new EBCDIC md5sum for MD5.pm
- test in Win32 to see how badly I botched the makefiles

p4raw-id: //depot/perl@9308

23 years agoIntegrate change #9306 from maintperl into mainline,
Jarkko Hietaniemi [Fri, 23 Mar 2001 12:56:14 +0000 (12:56 +0000)]
Integrate change #9306 from maintperl into mainline,
AIX dynaloader for AIXes without <load.h>.

p4raw-link: @9306 on //depot/maint-5.6/perl: b9a292f48852cf3cc66c257e67dbf85c05aceb9a

p4raw-id: //depot/perl@9307
p4raw-integrated: from //depot/maint-5.6/perl@9301 'copy in'
ext/DynaLoader/hints/aix.pl (@9250..)

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Thu, 22 Mar 2001 20:58:04 +0000 (20:58 +0000)]
Integrate perlio:

[  9300]
Don't include $@ in not ok message.

[  9298]
Give a meaning to '&' in n-arg open case:
open($fh,"<&",$scalar);
$scalar can be:
- an integer which does "fdopen"
open($fh,"<&",2); # like open($fh,"<&2")
- something that will yield a file handle via sv_2io()
useful for dup'ing anonymous handles.
e.g.:
open(my $fh,"<&",\*STDIN);
open(my $dup,"<&",$fh);

[  9297]
Implement open($fh,"-|",prog,args...) for HAS_FORK cases.

[  9296]
Re-instate warnings for 'eof STDOUT' etc. by marking STD* as appropriate IoTYPE.

[  9295]
If stdin, stdout or stderr get opened in unexpected read/write state
then warn at time of open not at time of use.

[  9294]
Die on n-arg open(...,"",xxx,yyy,...)
- redirect pipe cases to PerlProc_popen_list() (which just croaks for now)
- die on read/write cases so we can decide what it means later.

[  9293]
perlio tweaks (reported by Nicholas Clark)
Line buffer ttys, PerlIOBuf_tell() on unseekable off-by one,
error check in Pendinf_read().

p4raw-link: @9300 on //depot/perlio: 4fbc943a81ac8168e4ba63497561c515427127d8
p4raw-link: @9298 on //depot/perlio: e620cd7232b242c1500abd8a6a5b86efdf1c5c2b
p4raw-link: @9297 on //depot/perlio: 1f852d0d1f9745d51afb4cb836d527bbbac0c64e
p4raw-link: @9296 on //depot/perlio: a04651f440b69a3f6af9f5fcf427068253775945
p4raw-link: @9295 on //depot/perlio: a00b5bd33cb12556305f4526d4870e67e2ca9517
p4raw-link: @9294 on //depot/perlio: 4a7d1889681c73a99b9a39d8a3d3760367674002
p4raw-link: @9293 on //depot/perlio: 1f47406448f2d51ae8241e146df3675f96b72815

p4raw-id: //depot/perl@9301

23 years agoDon't include $@ in not ok message.
Nick Ing-Simmons [Thu, 22 Mar 2001 17:36:32 +0000 (17:36 +0000)]
Don't include $@ in not ok message.

p4raw-id: //depot/perlio@9300

23 years agoGive a meaning to '&' in n-arg open case:
Nick Ing-Simmons [Thu, 22 Mar 2001 14:35:46 +0000 (14:35 +0000)]
Give a meaning to '&' in n-arg open case:
  open($fh,"<&",$scalar);
  $scalar can be:
  - an integer which does "fdopen"
    open($fh,"<&",2); # like open($fh,"<&2")
  - something that will yield a file handle via sv_2io()
    useful for dup'ing anonymous handles.
    e.g.:
    open(my $fh,"<&",\*STDIN);
    open(my $dup,"<&",$fh);

p4raw-id: //depot/perlio@9298

23 years agoImplement open($fh,"-|",prog,args...) for HAS_FORK cases.
Nick Ing-Simmons [Thu, 22 Mar 2001 13:34:35 +0000 (13:34 +0000)]
Implement open($fh,"-|",prog,args...) for HAS_FORK cases.

p4raw-id: //depot/perlio@9297

23 years agoRe-instate warnings for 'eof STDOUT' etc. by marking STD* as appropriate IoTYPE.
Nick Ing-Simmons [Thu, 22 Mar 2001 12:51:20 +0000 (12:51 +0000)]
Re-instate warnings for 'eof STDOUT' etc. by marking STD* as appropriate IoTYPE.

p4raw-id: //depot/perlio@9296

23 years agoIf stdin, stdout or stderr get opened in unexpected read/write state
Nick Ing-Simmons [Thu, 22 Mar 2001 11:59:44 +0000 (11:59 +0000)]
If stdin, stdout or stderr get opened in unexpected read/write state
then warn at time of open not at time of use.

p4raw-id: //depot/perlio@9295

23 years agoDie on n-arg open(...,"",xxx,yyy,...)
Nick Ing-Simmons [Thu, 22 Mar 2001 10:54:35 +0000 (10:54 +0000)]
Die on n-arg open(...,"",xxx,yyy,...)
 - redirect pipe cases to PerlProc_popen_list() (which just croaks for now)
 - die on read/write cases so we can decide what it means later.

p4raw-id: //depot/perlio@9294

23 years agoperlio tweaks (reported by Nicholas Clark)
Nick Ing-Simmons [Thu, 22 Mar 2001 09:02:45 +0000 (09:02 +0000)]
perlio tweaks (reported by Nicholas Clark)
Line buffer ttys, PerlIOBuf_tell() on unseekable off-by one,
error check in Pendinf_read().

p4raw-id: //depot/perlio@9293

23 years agoRegex tests from Chicheng Zhang. (Already fixed.)
Jarkko Hietaniemi [Thu, 22 Mar 2001 06:06:44 +0000 (06:06 +0000)]
Regex tests from Chicheng Zhang.  (Already fixed.)

p4raw-id: //depot/perl@9291

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Wed, 21 Mar 2001 20:30:54 +0000 (20:30 +0000)]
Integrate perlio:

[  9285]
Multiplicity fix for Dumper.

p4raw-link: @9285 on //depot/perlio: 6cde4e9429924ded8fa67b82555e7528e0d47b56

p4raw-id: //depot/perl@9287

23 years agoMultiplicity fix for Dumper.
Nick Ing-Simmons [Wed, 21 Mar 2001 19:07:13 +0000 (19:07 +0000)]
Multiplicity fix for Dumper.

p4raw-id: //depot/perlio@9285

23 years agoIntegrate mainline - (does not build xTHX issue in Dumper).
Nick Ing-Simmons [Wed, 21 Mar 2001 19:01:07 +0000 (19:01 +0000)]
Integrate mainline - (does not build xTHX issue in Dumper).

p4raw-id: //depot/perlio@9284

23 years agoThe #9270 would have leaked a scalar if pp_substr()
Jarkko Hietaniemi [Wed, 21 Mar 2001 17:15:43 +0000 (17:15 +0000)]
The #9270 would have leaked a scalar if pp_substr()
returned early.

p4raw-id: //depot/perl@9282

23 years agoMore pixie cleaning.
Jarkko Hietaniemi [Wed, 21 Mar 2001 13:33:00 +0000 (13:33 +0000)]
More pixie cleaning.

p4raw-id: //depot/perl@9276

23 years agoUpdate Changes.
Jarkko Hietaniemi [Wed, 21 Mar 2001 03:54:17 +0000 (03:54 +0000)]
Update Changes.

p4raw-id: //depot/perl@9275

23 years agoFirst stab at making Data::Dumper to grok Unicode.
Jarkko Hietaniemi [Wed, 21 Mar 2001 03:48:24 +0000 (03:48 +0000)]
First stab at making Data::Dumper to grok Unicode.

TODO: tests, EBCDICify.

p4raw-id: //depot/perl@9274

23 years agoFix for
Benjamin Sugars [Tue, 20 Mar 2001 10:02:56 +0000 (05:02 -0500)]
Fix for

Subject: Memory leak in unquoted print
Message-ID: <Pine.LNX.4.21.0103200958180.1538-100000@marmot.rim.canoe.ca>

p4raw-id: //depot/perl@9273

23 years agoRe: [PATCH] POSIX::getcwd()
Benjamin Sugars [Mon, 19 Mar 2001 15:07:03 +0000 (10:07 -0500)]
Re: [PATCH] POSIX::getcwd()
Message-ID: <Pine.LNX.4.21.0103191454500.1820-100000@marmot.rim.canoe.ca>

p4raw-id: //depot/perl@9272

23 years agoCwd.pm docs
Benjamin Sugars [Tue, 20 Mar 2001 15:33:32 +0000 (10:33 -0500)]
Cwd.pm docs
Message-ID: <Pine.LNX.4.21.0103201516550.7893-100000@marmot.rim.canoe.ca>

p4raw-id: //depot/perl@9271

23 years agoContinue 4-arg substr() UTF-8 fixage.
Jarkko Hietaniemi [Wed, 21 Mar 2001 01:16:29 +0000 (01:16 +0000)]
Continue 4-arg substr() UTF-8 fixage.

p4raw-id: //depot/perl@9270

23 years agoIntegrate changes #9262,9264,9265,9266 from maintperl to mainline.
Jarkko Hietaniemi [Wed, 21 Mar 2001 00:46:14 +0000 (00:46 +0000)]
Integrate changes #9262,9264,9265,9266 from maintperl to mainline.

revert the leak fix in change#9142 (problem needs a more experimental
fix unsuitable for 5.6.1)

do alphabetical sorting by default (for csh compatibility)

cut-n-paste goof in change#9264

VMS piping fixes (from Charles Lane)

p4raw-link: @9266 on //depot/maint-5.6/perl: 72d1c956969523b19a71b5ffb5af9479f09d0e6a
p4raw-link: @9265 on //depot/maint-5.6/perl: 8549c3fc2da30e970df00a46a796a39e843777aa
p4raw-link: @9264 on //depot/maint-5.6/perl: 1086ad2319c3ee3e3873c478e76309ea4f03453b
p4raw-link: @9262 on //depot/maint-5.6/perl: a89eb504d1201e0dad09aaf86db07d000904f216
p4raw-link: @9142 on //depot/maint-5.6/perl: 26972843796e21c404c9d13ec5ee86e7b952a2bd

p4raw-id: //depot/perl@9269
p4raw-integrated: from //depot/maint-5.6/perl@9268 'copy in'
ext/File/Glob/Changes ext/File/Glob/bsd_glob.c
ext/File/Glob/bsd_glob.h (@5902..) ext/File/Glob/Glob.pm
(@7770..) vms/vmspipe.com (@8636..) vms/vms.c (@8986..) 'edit
in' ext/File/Glob/Glob.xs (@9264..) 'merge in' scope.c
(@9142..)

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Wed, 21 Mar 2001 00:37:04 +0000 (00:37 +0000)]
Integrate perlio:

[  9267]
More EBCDIC stuff:
- Loose the extra level of function on ASCII.
- spotted a chr(0) issue in sv.c
- re-work of UTF-X tr/// ranges to work in Unicode
space. Still issues with the "0xff is illegal UTF-8" hack.
- Yet another ad. hoc. utf8 'upgrade' in op.c recoded
(why do it once when you can do it all over the place :-(
- Enable HINTS_UTF8 on EBCDIC - then ignore it in toke.c,
need utf8.pm for swashes.
- Simplified and commented scan_const() in toke.c
Still something wrong regexp and tr (swashes?).

p4raw-link: @9267 on //depot/perlio: 2b9d42f0ba1bb562fe21327dc7948ab1a5397a19

p4raw-id: //depot/perl@9268

23 years agoMore EBCDIC stuff:
Nick Ing-Simmons [Tue, 20 Mar 2001 20:04:39 +0000 (20:04 +0000)]
More EBCDIC stuff:
 - Loose the extra level of function on ASCII.
 - spotted a chr(0) issue in sv.c
 - re-work of UTF-X tr/// ranges to work in Unicode
   space. Still issues with the "0xff is illegal UTF-8" hack.
 - Yet another ad. hoc. utf8 'upgrade' in op.c recoded
   (why do it once when you can do it all over the place :-(
 - Enable HINTS_UTF8 on EBCDIC - then ignore it in toke.c,
   need utf8.pm for swashes.
 - Simplified and commented scan_const() in toke.c
Still something wrong regexp and tr (swashes?).

p4raw-id: //depot/perlio@9267

23 years agoIntegrate changes #9259,9260 from maintperl into mainline.
Jarkko Hietaniemi [Tue, 20 Mar 2001 14:26:25 +0000 (14:26 +0000)]
Integrate changes #9259,9260 from maintperl into mainline.

Subject: [MacPerl-Porters] [PATCH] POSIX, File::Path (Mac OS) for 5.6.1 and 5.7

Subject: [PATCH perl-5.6.1-TRIAL3/run.c] printf warning

p4raw-link: @9260 on //depot/maint-5.6/perl: b83ee361c1b8f0045f0125bffa546780643848c4
p4raw-link: @9259 on //depot/maint-5.6/perl: 5a271d91b72f558a378756b049d1040c9ff0a63c

p4raw-id: //depot/perl@9261
p4raw-integrated: from //depot/maint-5.6/perl@9258 'copy in'
lib/File/Path.pm (@8175..) 'merge in' ext/POSIX/POSIX.xs
(@8885..) run.c (@8987..)

23 years agoUpdate Changes.
Jarkko Hietaniemi [Tue, 20 Mar 2001 05:09:34 +0000 (05:09 +0000)]
Update Changes.

p4raw-id: //depot/perl@9258

23 years agotr/// UTF-8 tests for Inaba Hiroto's latest patches.
Jarkko Hietaniemi [Tue, 20 Mar 2001 05:04:25 +0000 (05:04 +0000)]
tr/// UTF-8 tests for Inaba Hiroto's latest patches.

p4raw-id: //depot/perl@9257

23 years agosubstr($bytestr, i, n, $charstr)
Jarkko Hietaniemi [Mon, 19 Mar 2001 23:17:17 +0000 (23:17 +0000)]
substr($bytestr, i, n, $charstr)

TODO: we are still broken if $bytestr needs UTF-8 upgrading.

p4raw-id: //depot/perl@9255

23 years agoRearrange the make test target prerequisites so that
Jarkko Hietaniemi [Mon, 19 Mar 2001 22:25:09 +0000 (22:25 +0000)]
Rearrange the make test target prerequisites so that
in a parallel make 'all' is finished before 'test'.

p4raw-id: //depot/perl@9254

23 years agoPATCH: cosmetic tweak in pp_ctl.c
Robin Houston [Mon, 19 Mar 2001 15:48:41 +0000 (15:48 +0000)]
PATCH: cosmetic tweak in pp_ctl.c
Message-ID: <20010319154841.A28174@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9253

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 19 Mar 2001 21:42:27 +0000 (21:42 +0000)]
Integrate perlio:

[  9248]
Tweak to perly.y to allow -DDEBUGGING to compile on OS390.
(Building on OS390 uses native YACC and YYDEBUG has other
side effects.)

[  9246]
More EBCDIC fixes.

p4raw-link: @9248 on //depot/perlio: 1e0e26cb26fde01fd11e7cf9703ff3045aed4e51
p4raw-link: @9246 on //depot/perlio: c4d5f83add3e03ac76c328ed8a29701d939174ce

p4raw-id: //depot/perl@9252

23 years agoIntegrate changes #9244,9247,9250 from maintperl into mainline.
Jarkko Hietaniemi [Mon, 19 Mar 2001 21:31:28 +0000 (21:31 +0000)]
Integrate changes #9244,9247,9250 from maintperl into mainline.

Dynaloading in 64-bit AIX with vac.

p4raw-link: @9250 on //depot/maint-5.6/perl: cbdca039b5e144d1778a3f526024bb6da2a58a72
p4raw-link: @9247 on //depot/maint-5.6/perl: 1d70f4d9891a32fb9ebe5b896f754b8c759ffece
p4raw-link: @9244 on //depot/maint-5.6/perl: f816f13eaa91bfe02a64ccda4a80eee889237c24

p4raw-id: //depot/perl@9251
p4raw-integrated: from //depot/maint-5.6/perl@9243 'copy in'
ext/DynaLoader/hints/aix.pl (@5902..) ext/DynaLoader/dl_aix.xs
(@9247..) 'merge in' hints/aix.sh (@8537..)

23 years agoIntegrate mainline.
Nick Ing-Simmons [Mon, 19 Mar 2001 20:59:37 +0000 (20:59 +0000)]
Integrate mainline.

p4raw-id: //depot/perlio@9249

23 years agoTweak to perly.y to allow -DDEBUGGING to compile on OS390.
Nick Ing-Simmons [Mon, 19 Mar 2001 20:22:07 +0000 (20:22 +0000)]
Tweak to perly.y to allow -DDEBUGGING to compile on OS390.
(Building on OS390 uses native YACC and YYDEBUG has other
 side effects.)

p4raw-id: //depot/perlio@9248

23 years agoMore EBCDIC fixes.
Nick Ing-Simmons [Mon, 19 Mar 2001 19:27:57 +0000 (19:27 +0000)]
More EBCDIC fixes.

p4raw-id: //depot/perlio@9246

23 years agobad =item paragraphs
Robin Barker [Mon, 19 Mar 2001 18:01:57 +0000 (18:01 +0000)]
bad =item paragraphs
Message-Id: <200103191801.SAA01072@tempest.npl.co.uk>

p4raw-id: //depot/perl@9243

23 years agoUTF-8 tr/// battle continues, ammunition from Inaba Hiroto.
Jarkko Hietaniemi [Mon, 19 Mar 2001 18:58:43 +0000 (18:58 +0000)]
UTF-8 tr/// battle continues, ammunition from Inaba Hiroto.

TODO: tests.

p4raw-id: //depot/perl@9242

23 years agoIntegrate change #9233 from maintperl into mainline.
Jarkko Hietaniemi [Mon, 19 Mar 2001 14:24:26 +0000 (14:24 +0000)]
Integrate change #9233 from maintperl into mainline.

some refcounts were incorrect in perl_clone()

p4raw-link: @9233 on //depot/maint-5.6/perl: dca1bc40364bec892edf18517ed5e3c914edecc6

p4raw-id: //depot/perl@9240
p4raw-integrated: from //depot/maint-5.6/perl@9233 'merge in' sv.c
(@9197..)

23 years agoIntegrate change #9219 from maintperl into mainline.
Jarkko Hietaniemi [Mon, 19 Mar 2001 02:07:38 +0000 (02:07 +0000)]
Integrate change #9219 from maintperl into mainline.

remove duplicated tests

p4raw-link: @9219 on //depot/maint-5.6/perl: d25866bd13dc76915b2d6894a02c852f6a2dd720

p4raw-id: //depot/perl@9225
p4raw-integrated: from //depot/maint-5.6/perl@9223 'copy in'
t/op/re_tests (@8780..)

23 years agoDocument -Dmksymlinks.
Jarkko Hietaniemi [Mon, 19 Mar 2001 02:01:25 +0000 (02:01 +0000)]
Document -Dmksymlinks.

p4raw-id: //depot/perl@9223

23 years agoCleanup pixie residue.
Jarkko Hietaniemi [Mon, 19 Mar 2001 00:49:43 +0000 (00:49 +0000)]
Cleanup pixie residue.

p4raw-id: //depot/perl@9221

23 years agoDocument the use of pixie/prof; create make targets for it.
Jarkko Hietaniemi [Mon, 19 Mar 2001 00:44:47 +0000 (00:44 +0000)]
Document the use of pixie/prof; create make targets for it.

TODO: make t/TEST pixie-aware.

p4raw-id: //depot/perl@9220

23 years agoDocument Third Degree some more, and also PERL_DESTRUCT_LEVEL.
Jarkko Hietaniemi [Sun, 18 Mar 2001 23:59:31 +0000 (23:59 +0000)]
Document Third Degree some more, and also PERL_DESTRUCT_LEVEL.

p4raw-id: //depot/perl@9218

23 years agoRewrite the tests section of Makefile to be less redundant
Jarkko Hietaniemi [Sun, 18 Mar 2001 23:25:20 +0000 (23:25 +0000)]
Rewrite the tests section of Makefile to be less redundant
and to allow for more flexible test targets, many recursive
make calls introduced.

p4raw-id: //depot/perl@9217

23 years agoDocument the use of Third Degree (sparsely).
Jarkko Hietaniemi [Sun, 18 Mar 2001 22:30:04 +0000 (22:30 +0000)]
Document the use of Third Degree (sparsely).

p4raw-id: //depot/perl@9216

23 years agoMake targets for testing with Third Degree.
Jarkko Hietaniemi [Sun, 18 Mar 2001 22:10:30 +0000 (22:10 +0000)]
Make targets for testing with Third Degree.

p4raw-id: //depot/perl@9215

23 years agoThe podchecker relaxations need to mirrored also at the tests.
Jarkko Hietaniemi [Sun, 18 Mar 2001 21:08:53 +0000 (21:08 +0000)]
The podchecker relaxations need to mirrored also at the tests.

p4raw-id: //depot/perl@9214

23 years agoUpdate Changes.
Jarkko Hietaniemi [Sun, 18 Mar 2001 20:56:21 +0000 (20:56 +0000)]
Update Changes.

p4raw-id: //depot/perl@9213

23 years agoLooking for config.sh in parent directories isn't
Jarkko Hietaniemi [Sun, 18 Mar 2001 20:36:59 +0000 (20:36 +0000)]
Looking for config.sh in parent directories isn't
very useful for the toplevel Makefile.

p4raw-id: //depot/perl@9212

23 years agoOn "make clean" take care of Third Degree droppings.
Jarkko Hietaniemi [Sun, 18 Mar 2001 20:33:37 +0000 (20:33 +0000)]
On "make clean" take care of Third Degree droppings.

p4raw-id: //depot/perl@9211

23 years agoAdd a hook for running the tests under the Third Degree
Jarkko Hietaniemi [Sun, 18 Mar 2001 20:21:34 +0000 (20:21 +0000)]
Add a hook for running the tests under the Third Degree
debugging tool (set $ENV{PERL_3LOG} to non-zero)

TODO: Document the use of Third Degree.

p4raw-id: //depot/perl@9210

23 years agoRegen toc and api pods.
Jarkko Hietaniemi [Sun, 18 Mar 2001 20:19:07 +0000 (20:19 +0000)]
Regen toc and api pods.

p4raw-id: //depot/perl@9209

23 years agopodchecker relaxations from Michael Stevens.
Jarkko Hietaniemi [Sun, 18 Mar 2001 20:07:43 +0000 (20:07 +0000)]
podchecker relaxations from Michael Stevens.

p4raw-id: //depot/perl@9207

23 years agoRetract the changes made at #9176 to Neil's and Ilya's module pods.
Jarkko Hietaniemi [Sun, 18 Mar 2001 20:04:24 +0000 (20:04 +0000)]
Retract the changes made at #9176 to Neil's and Ilya's module pods.

p4raw-id: //depot/perl@9206

23 years agoIntegrate changes #9161,9162 from maintperl to mainline.
Jarkko Hietaniemi [Sun, 18 Mar 2001 19:54:45 +0000 (19:54 +0000)]
Integrate changes #9161,9162 from maintperl to mainline.

clearing of $ENV{PERL_DESTRUCT_LEVEL} interferes with purify
       results

p4raw-link: @9162 on //depot/maint-5.6/perl: cc873c8a609f4b56edba9b88f1b4496679d365b9
p4raw-link: @9161 on //depot/maint-5.6/perl: 1d073d17caf7c28dffb8fcb759327c7e2554da80

p4raw-id: //depot/perl@9205
p4raw-integrated: from //depot/maint-5.6/perl@9204 'copy in'
t/op/magic.t (@9161..)

23 years agoMake perl.third checks more understandable to the builder.
Jarkko Hietaniemi [Sun, 18 Mar 2001 19:37:46 +0000 (19:37 +0000)]
Make perl.third checks more understandable to the builder.

p4raw-id: //depot/perl@9204

23 years agoRe-integrate #9138 from maintperl to mainline,
Jarkko Hietaniemi [Sun, 18 Mar 2001 19:20:54 +0000 (19:20 +0000)]
Re-integrate #9138 from maintperl to mainline,
the squelching of the unneeded "Scalars leaked" messages.

p4raw-id: //depot/perl@9203
p4raw-integrated: from //depot/maint-5.6/perl@9202 '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..) t/op/pat.t (@9076..)

23 years agoMore robust and more paranoid perl.third target.
Jarkko Hietaniemi [Sun, 18 Mar 2001 18:48:36 +0000 (18:48 +0000)]
More robust and more paranoid perl.third target.

p4raw-id: //depot/perl@9202

23 years agoIntegrate change #9197 from maintperl to mainline.
Jarkko Hietaniemi [Sun, 18 Mar 2001 18:39:21 +0000 (18:39 +0000)]
Integrate change #9197 from maintperl to mainline.

more thorough cleaning of arenas.

p4raw-link: @9197 on //depot/maint-5.6/perl: ec3d44d040803cac937295d8f4740e6a36ba30fb

p4raw-id: //depot/perl@9201
p4raw-integrated: from //depot/maint-5.6/perl@9200 'merge in'
t/op/sort.t (@7895..) perl.c (@9064..) sv.c (@9108..) embed.pl
proto.h (@9154..)

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 18 Mar 2001 18:25:17 +0000 (18:25 +0000)]
Integrate perlio:

[  9199]
Prefer !UTF8_IS_INVARIANT() over UTF8_IS_CONTINUED() when that
is the sense of the test being done. Avoid some magical 127 and 128 values
by using macros.

[  9198]
UTF-X encoding invariance for Encode:
- move Encode::utf8_encode to utf8::encode (likewise decode,upgrade,downgrade,valid)
- move the XS code for those to universal.c (so in miniperl)
- add utf8::unicode_to_native and its inverse to allow EBCDIC to work in true unicode.
- change ext/Encode/compile to use above.
- Fix t/lib/encode.t for above
- Teach t/lib/b.t to expect -uutf8
- In utf8.c look for SWASHNEW rather than just utf8:: package to see if
utf8.pm is needed.

[  9196]
Fix pragma/utf8.t # 15
- if toke.c is processing a SvUTF8 string then single quoted '...' etc.
are SvUTF8 as well.

p4raw-link: @9199 on //depot/perlio: 63cd067459124b5dc1d2ae98453df4ffdff11607
p4raw-link: @9198 on //depot/perlio: 1b026014ba0f5424fabe070eda050db5e7df518a
p4raw-link: @9196 on //depot/perlio: be4731d2ab91c4f6213bf88a0084f6128a0db383

p4raw-id: //depot/perl@9200

23 years agoPrefer !UTF8_IS_INVARIANT() over UTF8_IS_CONTINUED() when that
Nick Ing-Simmons [Sun, 18 Mar 2001 15:23:51 +0000 (15:23 +0000)]
Prefer !UTF8_IS_INVARIANT() over UTF8_IS_CONTINUED() when that
is the sense of the test being done. Avoid some magical 127 and 128 values
by using macros.

p4raw-id: //depot/perlio@9199

23 years agoUTF-X encoding invariance for Encode:
Nick Ing-Simmons [Sun, 18 Mar 2001 14:18:12 +0000 (14:18 +0000)]
UTF-X encoding invariance for Encode:
 - move Encode::utf8_encode to utf8::encode (likewise decode,upgrade,downgrade,valid)
 - move the XS code for those to universal.c (so in miniperl)
 - add utf8::unicode_to_native and its inverse to allow EBCDIC to work in true unicode.
 - change ext/Encode/compile to use above.
 - Fix t/lib/encode.t for above
 - Teach t/lib/b.t to expect -uutf8
 - In utf8.c look for SWASHNEW rather than just utf8:: package to see if
   utf8.pm is needed.

p4raw-id: //depot/perlio@9198

23 years agoFix pragma/utf8.t # 15
Nick Ing-Simmons [Sun, 18 Mar 2001 10:57:29 +0000 (10:57 +0000)]
Fix pragma/utf8.t # 15
 - if toke.c is processing a SvUTF8 string then single quoted '...' etc.
   are SvUTF8 as well.

p4raw-id: //depot/perlio@9196

23 years agoIntegrate mainline
Nick Ing-Simmons [Sun, 18 Mar 2001 09:27:06 +0000 (09:27 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@9195

23 years agoSarathy's clear_pmop patch with Radu Greab's fix,
Jarkko Hietaniemi [Sun, 18 Mar 2001 05:29:59 +0000 (05:29 +0000)]
Sarathy's clear_pmop patch with Radu Greab's fix,
Hiroto's, Nicholas Clark's, and Vadim Konovalov's tests.

p4raw-id: //depot/perl@9194

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 (05:15 +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 (04:22 +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 (04:21 +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 (20:32 +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 (18:55 +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 (18:46 +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 (18:38 +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 (18:34 +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 (18:29 +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 (17:44 +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 (15:55 +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 (09:16 +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 (09:15 +0000)]
Integrate mainline.

p4raw-id: //depot/perlio@9181

23 years agoEBCDIC Fixes.
Nick Ing-Simmons [Fri, 16 Mar 2001 17:23:21 +0000 (17:23 +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 (14:10 +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 (03:19 +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 (03:15 +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 (21:25 +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 (20:01 +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 (03:28 -0800)]
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 (20:21 +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 (15: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 (22:26 +0300)]
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 (14:54 +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 (14:19 +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 (18:46 -0500)]
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 (13:53 +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 (01:05 +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 (00:58 +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 (22:02 +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 (21:45 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@9159