23 years agopp_ne() needs a boolean, not an integer.
Jarkko Hietaniemi [Wed, 28 Mar 2001 15:09:23 +0000]
pp_ne() needs a boolean, not an integer.

p4raw-id: //depot/perl@9404

23 years ago(Retracted by #9404.)
Jarkko Hietaniemi [Wed, 28 Mar 2001 14:47:43 +0000]
(Retracted by #9404.)

p4raw-id: //depot/perl@9403

23 years agoRe: [PATCH] Typemap testing
Tim Jenness [Tue, 27 Mar 2001 16:34:03 +0000]
Re: [PATCH] Typemap testing
Message-ID: <Pine.LNX.4.30.0103271633030.21198-100000@lapaki.jach.hawaii.edu>

p4raw-id: //depot/perl@9402

23 years agoRE: 5.6.0 BUG: Lexical warnings aren't lexical
Paul Marquess [Sun, 25 Mar 2001 21:59:15 +0000]
RE: 5.6.0 BUG: Lexical warnings aren't lexical
Message-ID: <000701c0b56e$73944220$07bdfea9@bfs.phone.com>

A variable will be checked for the "use once" warnings if:

1. It is in the scope of a use warnings 'once'
2. It isn't in the scope of the warnings pragma at all AND $^W is set.

Otherwise it won't be checked at all.

Part 1 is what is in perl >= 5.6.0, Part 2 is what I'm fixing.

The enclosed patch partially fixes this issue. What I didn't
get to work was the case where the "used once" warning is enabled
in any file other than the main file.

p4raw-id: //depot/perl@9401

23 years agoExtend the SvROK() testing also to pp_ne(), pointed out by
Jarkko Hietaniemi [Wed, 28 Mar 2001 14:21:00 +0000]
Extend the SvROK() testing also to pp_ne(), pointed out by
Andreas Schwab.

p4raw-id: //depot/perl@9399

23 years ago[ID 20010327.007] New warning from IO::Socket for sockatmark
David Dyck [Tue, 27 Mar 2001 15:16:24 +0000]
[ID 20010327.007] New warning from IO::Socket for sockatmark
Message-Id: <200103272316.PAA21921@dd.tc.fluke.com>

p4raw-id: //depot/perl@9398

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 27 Mar 2001 21:52:49 +0000]
Integrate perlio:

[  9395]
Outline docs for PerlIO and PerlIO::Scalar

[  9394]
PerlIO::Via layer (alpha-ish).

p4raw-link: @9395 on //depot/perlio: b3d30bf7e271096b5b02c85f1129c4e49c36a709
p4raw-link: @9394 on //depot/perlio: e7a1fdd7863072044ba7ced152ae990afb435b16

p4raw-id: //depot/perl@9397

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

p4raw-id: //depot/perlio@9396

23 years agoOutline docs for PerlIO and PerlIO::Scalar
Nick Ing-Simmons [Tue, 27 Mar 2001 21:18:58 +0000]
Outline docs for PerlIO and PerlIO::Scalar

p4raw-id: //depot/perlio@9395

23 years agoPerlIO::Via layer (alpha-ish).
Nick Ing-Simmons [Tue, 27 Mar 2001 20:50:13 +0000]
PerlIO::Via layer (alpha-ish).

p4raw-id: //depot/perlio@9394

23 years agoRetract #9329 now that 9390 should take care of the matter.
Jarkko Hietaniemi [Tue, 27 Mar 2001 20:49:55 +0000]
Retract #9329 now that 9390 should take care of the matter.

p4raw-id: //depot/perl@9393

23 years agoAutoloading Errno.pm when %! is encountered
Robin Houston [Tue, 27 Mar 2001 20:57:11 +0000]
Autoloading Errno.pm when %! is encountered
Message-ID: <20010327205710.A24053@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9390

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 27 Mar 2001 20:24:31 +0000]
Integrate perlio:

[  9384]
Various EBCDIC fixes:
- major revelation that swash code is encoding aware,
(or thought it was) - now it is ;-)
- With that out of the way fix a slab of tr/// cases.
- Fix Encode 'Unicode' to be true Unicode so tests pass.
- As anticipated Base64.xs needed tweaks.
- Until tr/// works right avoid old_encode64 in MIME tests.

p4raw-link: @9384 on //depot/perlio: 5ad8ef521b3ffc4e6bbbb9941bc4940d442b56b2

p4raw-id: //depot/perl@9389

23 years agoBetter have a three-element array if one is going to assign
Jarkko Hietaniemi [Tue, 27 Mar 2001 20:21:38 +0000]
Better have a three-element array if one is going to assign
to the third element of that array. (from Tim Jenness)

p4raw-id: //depot/perl@9388

23 years agoIntegrate mainline.
Nick Ing-Simmons [Tue, 27 Mar 2001 20:15:43 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9387

23 years agoRe: perl@9359 breaks HTML::Parser
Gisle Aas [Tue, 27 Mar 2001 11:30:24 +0000]
Re: perl@9359 breaks HTML::Parser
Message-ID: <lrr8zjxb5b.fsf@caliper.ActiveState.com>

Clarify the UTF-8 issues of the API docs.
(Slightly reworded and expanded.)

p4raw-id: //depot/perl@9386

23 years agoIf directory entries compare equal case-insensitively,
Jarkko Hietaniemi [Tue, 27 Mar 2001 19:44:25 +0000]
If directory entries compare equal case-insensitively,
retry case-sensitively.

p4raw-id: //depot/perl@9385

23 years agoVarious EBCDIC fixes:
Nick Ing-Simmons [Tue, 27 Mar 2001 19:38:50 +0000]
Various EBCDIC fixes:
 - major revelation that swash code is encoding aware,
   (or thought it was) - now it is ;-)
 - With that out of the way fix a slab of tr/// cases.
 - Fix Encode 'Unicode' to be true Unicode so tests pass.
 - As anticipated Base64.xs needed tweaks.
 - Until tr/// works right avoid old_encode64 in MIME tests.

p4raw-id: //depot/perlio@9384

23 years agoAdd the std test suite BEGIN block.
Jarkko Hietaniemi [Tue, 27 Mar 2001 18:34:41 +0000]
Add the std test suite BEGIN block.

p4raw-id: //depot/perl@9383

23 years agoAdd debugging output to the test.
Jarkko Hietaniemi [Tue, 27 Mar 2001 15:16:07 +0000]
Add debugging output to the test.

p4raw-id: //depot/perl@9382

23 years agoAdd Tim Jenness' XS::Typemap for exercizing the standard typemap.
Jarkko Hietaniemi [Tue, 27 Mar 2001 15:08:10 +0000]
Add Tim Jenness' XS::Typemap for exercizing the standard typemap.

p4raw-id: //depot/perl@9381

23 years agoTypemap testing
Tim Jenness [Sun, 25 Mar 2001 16:46:12 +0000]
Typemap testing
Message-ID: <Pine.LNX.4.30.0103251629350.16988-101000@lapaki.jach.hawaii.edu>

(The first part of the patch.)

p4raw-id: //depot/perl@9380

23 years agoRe: [PATCH] t/lib/glob-basic.t
Benjamin Sugars [Mon, 26 Mar 2001 14:11:47 +0000]
Re: [PATCH] t/lib/glob-basic.t
Message-ID: <Pine.LNX.4.21.0103261406170.2729-100000@marmot.rim.canoe.ca>

p4raw-id: //depot/perl@9379

23 years agoperlvar nit
Simon Cozens [Tue, 27 Mar 2001 01:12:01 +0000]
perlvar nit
Message-ID: <20010327011201.A19179@netthink.co.uk>

p4raw-id: //depot/perl@9378

23 years agoB::Terse and warnings
Benjamin Sugars [Mon, 26 Mar 2001 23:40:33 +0000]
B::Terse and warnings
Message-ID: <Pine.LNX.4.21.0103262320170.20040-100000@localhost.localdomain>

p4raw-id: //depot/perl@9377

23 years agoDocument sockatmark() some.
Jarkko Hietaniemi [Tue, 27 Mar 2001 14:31:31 +0000]
Document sockatmark() some.

p4raw-id: //depot/perl@9376

23 years agosv_catpvf(sv, "%c", 128) should not UTF-8-ify the sv,
Jarkko Hietaniemi [Tue, 27 Mar 2001 14:00:24 +0000]
sv_catpvf(sv, "%c", 128) should not UTF-8-ify the sv,
noted by Gisle and fixed by NI-S.

p4raw-id: //depot/perl@9375

23 years agoRegen toc.
Jarkko Hietaniemi [Tue, 27 Mar 2001 05:50:01 +0000]
Regen toc.

p4raw-id: //depot/perl@9374

23 years agoPixie documenting.
Jarkko Hietaniemi [Tue, 27 Mar 2001 05:43:51 +0000]
Pixie documenting.

p4raw-id: //depot/perl@9373

23 years agoAdd sockatmark() probing.
Jarkko Hietaniemi [Tue, 27 Mar 2001 05:29:07 +0000]
Add sockatmark() probing.

p4raw-id: //depot/perl@9371

23 years agopp_ncmp() and pp_scmp() should return numeric values, not booleans.
Jarkko Hietaniemi [Mon, 26 Mar 2001 22:01:18 +0000]
pp_ncmp() and pp_scmp() should return numeric values, not booleans.
Really need to benchmark this.

p4raw-id: //depot/perl@9370

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

p4raw-id: //depot/perlio@9369

23 years agoTreat pp_ncmp() and pp_scmp() as in #9366 (ROK).
Jarkko Hietaniemi [Mon, 26 Mar 2001 21:47:03 +0000]
Treat pp_ncmp() and pp_scmp() as in #9366 (ROK).

TODO1: perlbench.
TODO2: le, lt, ge, gt?  Yech.

p4raw-id: //depot/perl@9368

23 years agoToo much cut-and-paste in #9363.
Jarkko Hietaniemi [Mon, 26 Mar 2001 21:34:57 +0000]
Too much cut-and-paste in #9363.

p4raw-id: //depot/perl@9367

23 years ago$ref1 == $ref2 without NV_PRESERVES_UV
Andreas Schwab [Mon, 26 Mar 2001 17:29:04 +0000]
$ref1 == $ref2 without NV_PRESERVES_UV
Message-ID: <jeitkw5z27.fsf@hawking.suse.de>

(The patch for 5.6.0 or so, this is a guess for bleadperl)

p4raw-id: //depot/perl@9366

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 26 Mar 2001 21:07:54 +0000]
Integrate perlio:

[  9364]
REFCNT botch in layer name cache hash.

p4raw-link: @9364 on //depot/perlio: 46236db6145fa50aba9a2041c76a8d3687ffc600

p4raw-id: //depot/perl@9365

23 years agoREFCNT botch in layer name cache hash.
Nick Ing-Simmons [Mon, 26 Mar 2001 20:30:48 +0000]
REFCNT botch in layer name cache hash.

p4raw-id: //depot/perlio@9364

23 years agosocket() leaks file descriptors
Benjamin Sugars [Mon, 26 Mar 2001 13:29:54 +0000]
socket() leaks file descriptors
Message-ID: <Pine.LNX.4.21.0103261315510.2729-100000@marmot.rim.canoe.ca>

Also sockpair() fixed similarly.

p4raw-id: //depot/perl@9363

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 26 Mar 2001 18:37:52 +0000]
Integrate perlio:

[  9361]
Implement flush of linebuffered streams on read of a tty.

[  9360]
Memory tweaks and notes for OEMVS.

p4raw-link: @9361 on //depot/perlio: a9c883f63197ffe78a9fa90fb454b99d9d4027c2
p4raw-link: @9360 on //depot/perlio: 9133bbab1b418762e5735878fdd7f85407fdd45a

p4raw-id: //depot/perl@9362

23 years agoImplement flush of linebuffered streams on read of a tty.
Nick Ing-Simmons [Mon, 26 Mar 2001 17:32:06 +0000]
Implement flush of linebuffered streams on read of a tty.

p4raw-id: //depot/perlio@9361

23 years agoMemory tweaks and notes for OEMVS.
Nick Ing-Simmons [Mon, 26 Mar 2001 17:12:32 +0000]
Memory tweaks and notes for OEMVS.

p4raw-id: //depot/perlio@9360

23 years agoUpdate Changes.
Jarkko Hietaniemi [Mon, 26 Mar 2001 02:12:54 +0000]
Update Changes.

p4raw-id: //depot/perl@9359

23 years agoDocument the most common pixie options.
Jarkko Hietaniemi [Mon, 26 Mar 2001 02:05:32 +0000]
Document the most common pixie options.

p4raw-id: //depot/perl@9358

23 years agoFor perl.pixie check *before* compiling that optimize is -g,
Jarkko Hietaniemi [Mon, 26 Mar 2001 01:25:28 +0000]
For perl.pixie check *before* compiling that optimize is -g,
as for perl.third.

p4raw-id: //depot/perl@9357

23 years agormdir lib/Digest, lib/MIME, and lib/PerlIO.
Jarkko Hietaniemi [Mon, 26 Mar 2001 01:13:41 +0000]
rmdir lib/Digest, lib/MIME, and lib/PerlIO.

p4raw-id: //depot/perl@9356

23 years agoRemove t/perl.third.
Jarkko Hietaniemi [Mon, 26 Mar 2001 01:11:19 +0000]
Remove t/perl.third.

p4raw-id: //depot/perl@9355

23 years agoImplement IO::Socket::atmark(), inspired by Lincoln Stein's
Jarkko Hietaniemi [Mon, 26 Mar 2001 00:23:38 +0000]
Implement IO::Socket::atmark(), inspired by Lincoln Stein's
IO::Sockatmark().

p4raw-id: //depot/perl@9354

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 25 Mar 2001 22:25:04 +0000]
Integrate perlio:

[  9351]
Fix readline in list mode to tell rest of world that it has
things on the stack. Otherwise if perl code gets invoked
underneath it it scribbles over results-so-far.
(Why TIEHANDLE has not tripped on this is a mystery.)

[  9350]
win32/makefile.mk typos

[  9348]
Make it text

[  9346]
Add destruct time hook to PerlIO (for work-in-process implementing
layers in perl code. In such cases layers need to be popped before
we loose the ability to run perl code.)
Also back-out "PerlIO::object" hook - it isn't going to work like that...

[  9345]
Avoid at leasy one of undefined warnings in Encode.

[  9343]
Missing return value.

p4raw-link: @9351 on //depot/perlio: 09e8efccba1f47d53c182ecd6161dfcbbbc53b0f
p4raw-link: @9350 on //depot/perlio: 2590d28705872a65d11745576d64aa79a6c9cdfe
p4raw-link: @9348 on //depot/perlio: e8c26a5fe91df45297036573f4007ab8d23de7e9
p4raw-link: @9346 on //depot/perlio: 13621cfb31449eed71b690b723c2463019b1b277
p4raw-link: @9345 on //depot/perlio: 8040349a05f5a3f1e93bde55d8359e415c47bf01
p4raw-link: @9343 on //depot/perlio: a144b9898613715625621889c13893a8238e4af6

p4raw-id: //depot/perl@9353

23 years agoRe: [ID 20010215.006] Bad arg length for Socket::unpack_sockaddr_un, length is 14 ...
Radu Greab [Fri, 23 Mar 2001 21:14:59 +0000]
Re: [ID 20010215.006] Bad arg length for Socket::unpack_sockaddr_un, length is 14 ...
Message-ID: <15035.41139.646781.478457@ix.netsoft.ro>

p4raw-id: //depot/perl@9352

23 years agoFix readline in list mode to tell rest of world that it has
Nick Ing-Simmons [Sun, 25 Mar 2001 22:15:02 +0000]
Fix readline in list mode to tell rest of world that it has
things on the stack. Otherwise if perl code gets invoked
underneath it it scribbles over results-so-far.
(Why TIEHANDLE has not tripped on this is a mystery.)

p4raw-id: //depot/perlio@9351

23 years agowin32/makefile.mk typos
Nick Ing-Simmons [Sun, 25 Mar 2001 22:10:13 +0000]
win32/makefile.mk typos

p4raw-id: //depot/perlio@9350

23 years agoIntegrate now-non-binary file.
Nick Ing-Simmons [Sun, 25 Mar 2001 21:31:14 +0000]
Integrate now-non-binary file.

p4raw-id: //depot/perlio@9349

23 years agoMake it text
Nick Ing-Simmons [Sun, 25 Mar 2001 21:27:24 +0000]
Make it text

p4raw-id: //depot/perlio@9348

23 years agoIntegrate mainline.
Nick Ing-Simmons [Sun, 25 Mar 2001 21:25:37 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9347

23 years agoAdd destruct time hook to PerlIO (for work-in-process implementing
Nick Ing-Simmons [Sun, 25 Mar 2001 20:58:15 +0000]
Add destruct time hook to PerlIO (for work-in-process implementing
layers in perl code. In such cases layers need to be popped before
we loose the ability to run perl code.)
Also back-out "PerlIO::object" hook - it isn't going to work like that...

p4raw-id: //depot/perlio@9346

23 years agoAvoid at leasy one of undefined warnings in Encode.
Nick Ing-Simmons [Sun, 25 Mar 2001 20:49:11 +0000]
Avoid at leasy one of undefined warnings in Encode.

p4raw-id: //depot/perlio@9345

23 years agoA workaround for using Term::ReadLine in emacs minibuffer
Jarkko Hietaniemi [Sun, 25 Mar 2001 20:37:43 +0000]
A workaround for using Term::ReadLine in emacs minibuffer
from Wybo Dekker <wybo@servalys.nl> and Johan Vromans;
additional tweaks from Ilya Zakharevich.

p4raw-id: //depot/perl@9344

23 years agoMissing return value.
Nick Ing-Simmons [Sun, 25 Mar 2001 20:21:14 +0000]
Missing return value.

p4raw-id: //depot/perlio@9343

23 years agoRoll back the version numbers of Digest::MD5 and MIME::Base64
Jarkko Hietaniemi [Sun, 25 Mar 2001 16:21:00 +0000]
Roll back the version numbers of Digest::MD5 and MIME::Base64
to equal the CPAN versions since no code changes have been made.

p4raw-id: //depot/perl@9342

23 years agoEscape 8-bit characters.
Jarkko Hietaniemi [Sun, 25 Mar 2001 16:01:48 +0000]
Escape 8-bit characters.

p4raw-id: //depot/perl@9341

23 years agoreadd mimeqp.t as xtext (used to be binary because of the literal 8-bit
Gurusamy Sarathy [Sun, 25 Mar 2001 15:50:53 +0000]
readd mimeqp.t as xtext (used to be binary because of the literal 8-bit
chars)

p4raw-id: //depot/perl@9340

23 years agodelete mimeqp.t for later add with text mode set
Gurusamy Sarathy [Sun, 25 Mar 2001 15:48:50 +0000]
delete mimeqp.t for later add with text mode set

p4raw-id: //depot/perl@9339

23 years agoIntegrate mainline.
Nick Ing-Simmons [Sun, 25 Mar 2001 09:01:57 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9338

23 years agoAdd MIME::Base64 here and there. Again, a lot of
Jarkko Hietaniemi [Sun, 25 Mar 2001 04:23:24 +0000]
Add MIME::Base64 here and there.  Again, a lot of
optimism is in the air.

p4raw-id: //depot/perl@9337

23 years agoAdd PerlIO::Scalar to win32/Makefile. (I'm doing
Jarkko Hietaniemi [Sun, 25 Mar 2001 04:12:43 +0000]
Add PerlIO::Scalar to win32/Makefile. (I'm doing
this by ear as I do not do Win32 programming.)

p4raw-id: //depot/perl@9336

23 years agoPut back the MD5-Base64 tests now that we have MIME::Base64.
Jarkko Hietaniemi [Sun, 25 Mar 2001 04:03:50 +0000]
Put back the MD5-Base64 tests now that we have MIME::Base64.

p4raw-id: //depot/perl@9335

23 years agoAdd MIME::Base 2.12 from Gisle Aas, version number bumped to 2.13.
Jarkko Hietaniemi [Sun, 25 Mar 2001 03:58:53 +0000]
Add MIME::Base 2.12 from Gisle Aas, version number bumped to 2.13.

p4raw-id: //depot/perl@9334

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 24 Mar 2001 20:14:37 +0000]
Integrate perlio:

[  9332]
Fix un-init variable leading to spurious "Out of Memory!"

[  9331]
Tweak docs for C<open> (boy does that need wholesale revision...)
and update layers internals doc.

p4raw-link: @9332 on //depot/perlio: fe9745bfc279b016730696fd0a6abca4d493be60
p4raw-link: @9331 on //depot/perlio: b76cc8ba45957a82b545cf2a7b818233e6c0d507

p4raw-id: //depot/perl@9333

23 years agoFix un-init variable leading to spurious "Out of Memory!"
Nick Ing-Simmons [Sat, 24 Mar 2001 19:40:34 +0000]
Fix un-init variable leading to spurious "Out of Memory!"

p4raw-id: //depot/perlio@9332

23 years agoTweak docs for C<open> (boy does that need wholesale revision...)
Nick Ing-Simmons [Sat, 24 Mar 2001 19:09:59 +0000]
Tweak docs for C<open> (boy does that need wholesale revision...)
and update layers internals doc.

p4raw-id: //depot/perlio@9331

23 years agoThe length might be uninitialized garbage if the *svp is the undef.
Jarkko Hietaniemi [Sat, 24 Mar 2001 18:42:11 +0000]
The length might be uninitialized garbage if the *svp is the undef.

p4raw-id: //depot/perl@9330

23 years ago(Retracted by #9393)
Simon Cozens [Sat, 24 Mar 2001 17:13:17 +0000]
(Retracted by #9393)

Subject: [PATCH h2xs] $!{EINVAL} requires "use Errno"
Message-ID: <20010324171317.A13406@netthink.co.uk>

p4raw-id: //depot/perl@9329

23 years agoIntegrate mainline.
Nick Ing-Simmons [Sat, 24 Mar 2001 17:22:02 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9328

23 years agoIntegrate mainline.
Nick Ing-Simmons [Sat, 24 Mar 2001 17:16:02 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@9327

23 years agoUpgrade to Unicode 3.1 beta 2001-03-23.
Jarkko Hietaniemi [Sat, 24 Mar 2001 17:00:42 +0000]
Upgrade to Unicode 3.1 beta 2001-03-23.

p4raw-id: //depot/perl@9326

23 years agoRe: B::Deparse bug (5.6.0)
Robin Houston [Sat, 24 Mar 2001 14:33:09 +0000]
Re: B::Deparse bug (5.6.0)
Message-ID: <20010324143309.B17734@puffinry.freeserve.co.uk>

p4raw-id: //depot/perl@9325

23 years agoBoldly add extensions to be built to VMS, EPOC, UTS,
Jarkko Hietaniemi [Sat, 24 Mar 2001 16:21:56 +0000]
Boldly add extensions to be built to VMS, EPOC, UTS,
U/WIN, and VM/ESA (and fixups for DJGPP).  Some of
these additions may be too optimistic.

p4raw-id: //depot/perl@9324

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sat, 24 Mar 2001 16:06:01 +0000]
Integrate perlio:

[  9322]
Routine Win32 regen_config_h - no real changes.

[  9321]
PerlIO fixups for Win32:
- provide win33_popenlist() - non-functional as yet.
- avoid need for aTHX in PerlIO_debug calls - even if not
enabled args are still evaluated so Win32 has trouble during fork().
- Add PerlIO/Scalar to list of extensions in win32/makefile.mk
- Fixup makedef.pl for latest set of symbols.

[  9320]
POSIX::getcwd XS code to call Cwd::cwd when HAS_GETCWD not defined
was gibberish - broke it on WIn32 at least.

[  9319]
Generated files.

[  9318]
Implement:
1.  open($fh,"+<",undef);  # add test to t/io/open.t
2.  open($fh,"+<",\$var);  # New test t/lib/io_scalar.t

p4raw-link: @9322 on //depot/perlio: e009d45070febfef5a59a9468c3cb4e6ad05051f
p4raw-link: @9321 on //depot/perlio: 8c0134a884f927d58f584b87281e5a27133cbf8f
p4raw-link: @9320 on //depot/perlio: 5dd1177c222be3aa5f44de160a952953bc5703a5
p4raw-link: @9319 on //depot/perlio: c60e0e098045567c2313456d074b4094292b050c
p4raw-link: @9318 on //depot/perlio: f6c77cf1bf4d7cb2c7a64dd7608120b471f84062

p4raw-id: //depot/perl@9323

23 years agoRoutine Win32 regen_config_h - no real changes.
Nick Ing-Simmons [Sat, 24 Mar 2001 14:39:12 +0000]
Routine Win32 regen_config_h - no real changes.

p4raw-id: //depot/perlio@9322

23 years agoPerlIO fixups for Win32:
Nick Ing-Simmons [Sat, 24 Mar 2001 14:31:49 +0000]
PerlIO fixups for Win32:
 - provide win33_popenlist() - non-functional as yet.
 - avoid need for aTHX in PerlIO_debug calls - even if not
   enabled args are still evaluated so Win32 has trouble during fork().
 - Add PerlIO/Scalar to list of extensions in win32/makefile.mk
 - Fixup makedef.pl for latest set of symbols.

p4raw-id: //depot/perlio@9321

23 years agoPOSIX::getcwd XS code to call Cwd::cwd when HAS_GETCWD not defined
Nick Ing-Simmons [Sat, 24 Mar 2001 14:26:58 +0000]
POSIX::getcwd XS code to call Cwd::cwd when HAS_GETCWD not defined
was gibberish - broke it on WIn32 at least.

p4raw-id: //depot/perlio@9320

23 years agoGenerated files.
Nick Ing-Simmons [Sat, 24 Mar 2001 11:29:41 +0000]
Generated files.

p4raw-id: //depot/perlio@9319

23 years agoImplement:
Nick Ing-Simmons [Sat, 24 Mar 2001 10:29:37 +0000]
Implement:
 1.  open($fh,"+<",undef);  # add test to t/io/open.t
 2.  open($fh,"+<",\$var);  # New test t/lib/io_scalar.t

p4raw-id: //depot/perlio@9318

23 years agoAIX does seems to have optimization problems with its C compilers.
Jarkko Hietaniemi [Fri, 23 Mar 2001 23:41:25 +0000]
AIX does seems to have optimization problems with its C compilers.

p4raw-id: //depot/perl@9317

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Fri, 23 Mar 2001 23:40:46 +0000]
Integrate perlio:

[  9314]
Perlio internals re-organized.
- open process creates AV of layer/arg pairs
(appends layers from open() or open.pm to default list).
- push arg is now an SV.
- layer ->Open get passed the AV
- open is no longer mandatory method.
- topmost layer that has ->Open method does the open
- any layers above are pushed once that returns.
- vtable re-ordered so dummy layers need only provide push/pop methods.

[  9313]
Check in a stable (working) version before next round of tweaks.
Changes include:
- Move default layers code out of doio.c and into perlio.c
- Single routine for parsing layer specification strings.
- Skeleton support for demand loading of layers
- Core-dump avoidance if PERLIO environment specifies loadable layer
(does not _work_ as need IO to load and need load to do IO ...)

[  9305]
Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.

[  9304]
Render -Duseperlio functional again.
- this is "quick fix" which calls PerlIO_apply_layers after opening,
which is what old scheme did. New scheme needs to change that
to make open(...,\$scalar) etc. work but this will do for now.

[  9303]
Avoid "reopen" semantics for time being. Fix bug in dup logic.
-Uuseperlio now works again.
-Duseperlio is still poorly. Don't merge yet...

[  9302]
Snapshot of new PerlIO open scheme. Still buggy - mainly in open($fh,">&STDOUT!")
type code.
- Invent PerlIO_openn() - which has "lots" of args a bit like do_openn() which
is its main caller. In particular now has access to "extra" args, and
can tell when an open handle is "reopened" (or duped?).
- In -Duseperlio PerlIO_open() et. al. are now wrappers on PerlIO_openn().
- In -Uuseperlio (untested as yet) PerlIO_openn() is a wrapper on
PerlIO_open() et. al. (i.e. other way round).
- Collapse "vtable" entries for layers - was fdopen/open/reopen now just open
with args close to PerlIO_openn().

p4raw-link: @9314 on //depot/perlio: e3f3bf95bcb81efe35cb0f0d3e3528d5c002dcec
p4raw-link: @9313 on //depot/perlio: 1141d9f89ca1cb89e46951e8afc784c7b4862cd2
p4raw-link: @9305 on //depot/perlio: a999f61be32148694ba1c2837b1a303e42fd96b1
p4raw-link: @9304 on //depot/perlio: 5e334b7bcf49bf053aa25da896a1ff98c12dd228
p4raw-link: @9303 on //depot/perlio: 6e60e805618a52942747f76233ecc85135a964e3
p4raw-link: @9302 on //depot/perlio: ee518936bd3eee0065c20591f5182f733dadd4bd

p4raw-id: //depot/perl@9316

23 years agoFix the EBCDIC MD5.pm checksum, from Pter Prymmer.
Jarkko Hietaniemi [Fri, 23 Mar 2001 22:16:30 +0000]
Fix the EBCDIC MD5.pm checksum, from Pter Prymmer.

p4raw-id: //depot/perl@9315

23 years agoPerlio internals re-organized.
Nick Ing-Simmons [Fri, 23 Mar 2001 20:49:02 +0000]
Perlio internals re-organized.
 - open process creates AV of layer/arg pairs
   (appends layers from open() or open.pm to default list).
 - push arg is now an SV.
 - layer ->Open get passed the AV
 - open is no longer mandatory method.
 - topmost layer that has ->Open method does the open
 - any layers above are pushed once that returns.
 - vtable re-ordered so dummy layers need only provide push/pop methods.

p4raw-id: //depot/perlio@9314

23 years agoCheck in a stable (working) version before next round of tweaks.
Nick Ing-Simmons [Fri, 23 Mar 2001 16:27:41 +0000]
Check in a stable (working) version before next round of tweaks.
Changes include:
 - Move default layers code out of doio.c and into perlio.c
 - Single routine for parsing layer specification strings.
 - Skeleton support for demand loading of layers
 - Core-dump avoidance if PERLIO environment specifies loadable layer
   (does not _work_ as need IO to load and need load to do IO ...)

p4raw-id: //depot/perlio@9313

23 years agoForgot the unneeded hints/dec_osf.pl into MANIFEST in #9308.
Jarkko Hietaniemi [Fri, 23 Mar 2001 14:25:35 +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]
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]
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]
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]
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 agoAdd pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.
Nick Ing-Simmons [Fri, 23 Mar 2001 11:00:42 +0000]
Add pTHX_ to -Duseperlio API where it does not conflict with legacy stuff.

p4raw-id: //depot/perlio@9305

23 years agoRender -Duseperlio functional again.
Nick Ing-Simmons [Fri, 23 Mar 2001 10:20:46 +0000]
Render -Duseperlio functional again.
 - this is "quick fix" which calls PerlIO_apply_layers after opening,
   which is what old scheme did. New scheme needs to change that
   to make open(...,\$scalar) etc. work but this will do for now.

p4raw-id: //depot/perlio@9304

23 years agoAvoid "reopen" semantics for time being. Fix bug in dup logic.
Nick Ing-Simmons [Fri, 23 Mar 2001 09:53:20 +0000]
Avoid "reopen" semantics for time being. Fix bug in dup logic.
-Uuseperlio now works again.
-Duseperlio is still poorly. Don't merge yet...

p4raw-id: //depot/perlio@9303

23 years agoSnapshot of new PerlIO open scheme. Still buggy - mainly in open($fh,">&STDOUT!")
Nick Ing-Simmons [Thu, 22 Mar 2001 22:26:51 +0000]
Snapshot of new PerlIO open scheme. Still buggy - mainly in open($fh,">&STDOUT!")
type code.
  - Invent PerlIO_openn() - which has "lots" of args a bit like do_openn() which
    is its main caller. In particular now has access to "extra" args, and
    can tell when an open handle is "reopened" (or duped?).
  - In -Duseperlio PerlIO_open() et. al. are now wrappers on PerlIO_openn().
  - In -Uuseperlio (untested as yet) PerlIO_openn() is a wrapper on
    PerlIO_open() et. al. (i.e. other way round).
  - Collapse "vtable" entries for layers - was fdopen/open/reopen now just open
    with args close to PerlIO_openn().

p4raw-id: //depot/perlio@9302

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Thu, 22 Mar 2001 20:58:04 +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]
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]
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