This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
20 years ago_expect and other little tweaks
Michael G. Schwern [Fri, 2 Nov 2001 15:36:41 +0000 (10:36 -0500)]
_expect and other little tweaks
Message-ID: <20011102153641.E23234@blackrider>

p4raw-id: //depot/perl@12817

20 years agopatches for MacOS X 10.1 for perl 5.7.2
Randal L. Schwartz [Fri, 2 Nov 2001 09:33:34 +0000 (01:33 -0800)]
patches for MacOS X 10.1 for perl 5.7.2
Message-ID: <m1wv193wnl.fsf@halfdome.holdit.com>

(two of the changes)

Better coexistence with extensions.

p4raw-id: //depot/perl@12816

20 years agoRe: [PATCH] the the double double word word fix fix
Wolfgang Laun [Fri, 2 Nov 2001 19:43:07 +0000 (20:43 +0100)]
Re: [PATCH] the the double double word word fix fix
Message-Id: <3BE2E93B.627C198E@alcatel.at>

p4raw-id: //depot/perl@12815

20 years agoUpdate Changes.
Jarkko Hietaniemi [Fri, 2 Nov 2001 15:24:10 +0000 (15:24 +0000)]
Update Changes.

p4raw-id: //depot/perl@12814

20 years agoMore encoding testing.
Jarkko Hietaniemi [Fri, 2 Nov 2001 15:19:35 +0000 (15:19 +0000)]
More encoding testing.

p4raw-id: //depot/perl@12813

20 years agoSlight modification of #12811.
Abhijit Menon-Sen [Fri, 2 Nov 2001 15:07:11 +0000 (15:07 +0000)]
Slight modification of #12811.

p4raw-id: //depot/perl@12812

20 years agoRe: [ID 20011101.069] \stat('.') gives "Attempt to free unreferenced scalar"
Radu Greab [Fri, 2 Nov 2001 15:28:58 +0000 (17:28 +0200)]
Re: [ID 20011101.069] \stat('.') gives "Attempt to free unreferenced scalar"
Message-ID: <15330.40858.629851.468818@ix.netsoft.ro>

p4raw-id: //depot/perl@12811

20 years agoRe: Extra MakeMaker noise in lib/ExtUtils/Embed.t @12791
Rafael Garcia-Suarez [Thu, 1 Nov 2001 22:35:50 +0000 (23:35 +0100)]
Re: Extra MakeMaker noise in lib/ExtUtils/Embed.t @12791
Message-ID: <20011101223550.A10849@rafael>

p4raw-id: //depot/perl@12810

20 years ago[REPATCH] Re: [PATCH File::Find] use warnings::register
Rafael Garcia-Suarez [Fri, 2 Nov 2001 14:48:51 +0000 (14:48 +0000)]
[REPATCH] Re: [PATCH File::Find] use warnings::register
Message-Id: <slrn9u5cj6.liq.rgarciasuarez@rafael.kazibao.net>

p4raw-id: //depot/perl@12809

20 years agoAdd documentation.
Jarkko Hietaniemi [Fri, 2 Nov 2001 05:40:21 +0000 (05:40 +0000)]
Add documentation.

p4raw-id: //depot/perl@12808

20 years agoUnicode: add ToFold mapping. Not used yet; but basically
Jarkko Hietaniemi [Fri, 2 Nov 2001 05:18:45 +0000 (05:18 +0000)]
Unicode: add ToFold mapping.  Not used yet; but basically
a more useful mapping for caseless aka case-ignoring than
doing either lc($a) eq lc($b) or uc($a) eq uc($b); the full
algorithm for creating the foldings uses equivalence classes,
see http://www.unicode.org/unicode/reports/tr21/
Hopefully this feature will be used in //i.
(The folding tables were introduced by #12689.)

p4raw-id: //depot/perl@12807

20 years agoAutoSplit.t clean-up for VMS
Craig A. Berry [Fri, 2 Nov 2001 00:03:52 +0000 (18:03 -0600)]
AutoSplit.t clean-up for VMS
Message-Id: <5.1.0.14.2.20011101235844.02cd4e50@exchi01>

p4raw-id: //depot/perl@12806

20 years agoTrivial doc patch
Andreas König [Fri, 2 Nov 2001 06:11:35 +0000 (07:11 +0100)]
Trivial doc patch
Message-ID: <m37kt94v08.fsf@anima.de>

p4raw-id: //depot/perl@12805

20 years agoMake encoding and charnames pragmas coexist.
Jarkko Hietaniemi [Fri, 2 Nov 2001 02:14:46 +0000 (02:14 +0000)]
Make encoding and charnames pragmas coexist.

p4raw-id: //depot/perl@12804

20 years agoThe basic character classes seem to go untested with Unicode.
Jarkko Hietaniemi [Fri, 2 Nov 2001 01:26:53 +0000 (01:26 +0000)]
The basic character classes seem to go untested with Unicode.

p4raw-id: //depot/perl@12803

20 years ago[PATCH] the the double double word word fix fix
Abhijit Menon-Sen [Fri, 2 Nov 2001 00:39:36 +0000 (00:39 +0000)]
[PATCH] the the double double word word fix fix
From: Richard Soderberg <rs@oregonnet.com>
Date: Thu, 1 Nov 2001 13:12:03 -0800
Message-Id: <200111012112.NAA23288@oregonnet.com>

Subject: Re: [PATCH] the the double double word word fix fix
From: Mark-Jason Dominus <mjd@plover.com>
Date: Thu, 01 Nov 2001 16:43:40 -0500
Message-Id: <20011101214340.2044.qmail@plover.com>

Subject: Re: [PATCH] the the double double word word fix fix
From: Mark-Jason Dominus <mjd@plover.com>
Date: Thu, 01 Nov 2001 16:51:39 -0500
Message-Id: <20011101215139.2196.qmail@plover.com>

p4raw-id: //depot/perl@12802

20 years agoComment tweaks.
Jarkko Hietaniemi [Thu, 1 Nov 2001 14:27:51 +0000 (14:27 +0000)]
Comment tweaks.

p4raw-id: //depot/perl@12801

20 years agoFAQ sync.
Jarkko Hietaniemi [Thu, 1 Nov 2001 14:06:04 +0000 (14:06 +0000)]
FAQ sync.

p4raw-id: //depot/perl@12800

20 years agoIf an encoding is set by -M/-m, it must be in
Jarkko Hietaniemi [Thu, 1 Nov 2001 13:59:42 +0000 (13:59 +0000)]
If an encoding is set by -M/-m, it must be in
effect only for the actual script, not any other
required/-M/-m'ed module, otherwise we enter a nasty
recursion in regexec.c while trying to init the simple
UTF-8 charclasses like PL_utf8_alnum.

p4raw-id: //depot/perl@12799

20 years agoA bit more descriptive name.
Jarkko Hietaniemi [Wed, 31 Oct 2001 21:10:09 +0000 (21:10 +0000)]
A bit more descriptive name.

p4raw-id: //depot/perl@12798

20 years agoTime::Hires test fix
Charles Lane [Wed, 31 Oct 2001 13:47:04 +0000 (08:47 -0500)]
Time::Hires test fix
Message-Id: <011031134626.1227@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@12797

20 years agomake setting signal() persistent
Charles Lane [Wed, 31 Oct 2001 13:43:29 +0000 (08:43 -0500)]
make setting signal() persistent
Message-Id: <011031134318.231c@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@12796

20 years agoVarious test cleanups
Rafael Garcia-Suarez [Tue, 30 Oct 2001 21:56:26 +0000 (22:56 +0100)]
Various test cleanups
Message-ID: <20011030215626.A28503@rafael>

p4raw-id: //depot/perl@12795

20 years agoUpdate Changes.
Jarkko Hietaniemi [Wed, 31 Oct 2001 15:26:59 +0000 (15:26 +0000)]
Update Changes.

p4raw-id: //depot/perl@12794

20 years agoData::Dumper opt. use B::Deparse for coderefs
Rafael Garcia-Suarez [Wed, 31 Oct 2001 17:16:39 +0000 (18:16 +0100)]
Data::Dumper opt. use B::Deparse for coderefs
Message-ID: <20011031171639.A32511@rafael>

p4raw-id: //depot/perl@12793

20 years agoSkip message nit.
Jarkko Hietaniemi [Wed, 31 Oct 2001 15:20:01 +0000 (15:20 +0000)]
Skip message nit.

p4raw-id: //depot/perl@12792

20 years agoRe: [REPATCH] Re: [PATCH] Re: [ID 20011030.064] File::Temp tempdir(CLEANUP => 1)...
Rafael Garcia-Suarez [Wed, 31 Oct 2001 14:49:37 +0000 (14:49 +0000)]
Re: [REPATCH] Re: [PATCH] Re: [ID 20011030.064] File::Temp tempdir(CLEANUP => 1) and -T on OpenBSD 2.9
Message-Id: <slrn9u03sk.hco.rgarciasuarez@rafael.kazibao.net>

p4raw-id: //depot/perl@12791

20 years agoExtend the effect of the encoding pragma to chr() and ord().
Jarkko Hietaniemi [Wed, 31 Oct 2001 14:44:33 +0000 (14:44 +0000)]
Extend the effect of the encoding pragma to chr() and ord().

TODO: regex literals, reentrancy problems with the utf8
and charnames pragmas.

p4raw-id: //depot/perl@12790

20 years agoDoc tweaks.
Jarkko Hietaniemi [Wed, 31 Oct 2001 13:25:02 +0000 (13:25 +0000)]
Doc tweaks.

p4raw-id: //depot/perl@12789

20 years agoForgot new proto.
Jarkko Hietaniemi [Wed, 31 Oct 2001 03:22:34 +0000 (03:22 +0000)]
Forgot new proto.

p4raw-id: //depot/perl@12787

20 years agoClarification: use encoding cannot be used to
Jarkko Hietaniemi [Wed, 31 Oct 2001 02:32:35 +0000 (02:32 +0000)]
Clarification: use encoding cannot be used to
change the default encoding of "your whole script";
only the default encoding of the *data*.  Also, it
seems that "use encoding" does not mix with "use utf8"
(a coredumping recursion ensues).  Should not be a huge
problem since "use utf8" is pretty marginal nowadays.

p4raw-id: //depot/perl@12786

20 years agoMore documentation for the encode pragma.
Jarkko Hietaniemi [Wed, 31 Oct 2001 02:19:49 +0000 (02:19 +0000)]
More documentation for the encode pragma.

p4raw-id: //depot/perl@12785

20 years agoThinko in #12783.
Jarkko Hietaniemi [Wed, 31 Oct 2001 02:08:27 +0000 (02:08 +0000)]
Thinko in #12783.

p4raw-id: //depot/perl@12784

20 years agoMake sv_recode_to_utf8() a real API: the encoding
Jarkko Hietaniemi [Wed, 31 Oct 2001 02:04:22 +0000 (02:04 +0000)]
Make sv_recode_to_utf8() a real API: the encoding
is a parameter, instead of a global.  Document the
PERL_ENCODING.

p4raw-id: //depot/perl@12783

20 years agoEnable -Mencoding=foobar also for string literals.
Jarkko Hietaniemi [Wed, 31 Oct 2001 00:57:42 +0000 (00:57 +0000)]
Enable -Mencoding=foobar also for string literals.

p4raw-id: //depot/perl@12782

20 years agoRe: [PATCH] Re: DynaLoader problem on NCR SVR4 box
Andy Dougherty [Tue, 30 Oct 2001 12:44:27 +0000 (07:44 -0500)]
Re: [PATCH] Re: DynaLoader problem on NCR SVR4 box
Message-ID: <Pine.SOL.4.10.10110301241210.25351-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@12781

20 years agoRE: [PATCH h2xs] Use of static data in XS modules
Paul Marquess [Mon, 29 Oct 2001 23:11:58 +0000 (23:11 +0000)]
RE: [PATCH h2xs] Use of static data in XS modules
Message-ID: <AIEAJICLCBDNAAOLLOKLMEJGDDAA.Paul_Marquess@Yahoo.co.uk>

Add compat.h.

p4raw-id: //depot/perl@12780

20 years agoPerlIOBuf_dup
Nicholas Clark [Mon, 29 Oct 2001 21:52:35 +0000 (21:52 +0000)]
PerlIOBuf_dup
Message-ID: <20011029215235.K41204@plum.flirble.org>

Add prototype.

p4raw-id: //depot/perl@12779

20 years agoMake malloc.c errors more useful
Richard Soderberg [Mon, 29 Oct 2001 22:28:02 +0000 (14:28 -0800)]
Make malloc.c errors more useful
Message-Id: <200110300628.WAA11025@oregonnet.com>

p4raw-id: //depot/perl@12778

20 years agoRetract #12776 - the bug 19990906.001 is still valid.
Jarkko Hietaniemi [Tue, 30 Oct 2001 04:02:10 +0000 (04:02 +0000)]
Retract #12776 - the bug 19990906.001 is still valid.

p4raw-id: //depot/perl@12777

20 years ago(Retracted by #12777)
Michael G. Schwern [Mon, 29 Oct 2001 23:01:08 +0000 (18:01 -0500)]
(Retracted by #12777)
Subject: Perlbug 19990906.001 - segfault on long escaped quote regex
Message-ID: <20011029230108.G18053@blackrider>

p4raw-id: //depot/perl@12776

20 years agoComment nits.
Jarkko Hietaniemi [Tue, 30 Oct 2001 02:56:41 +0000 (02:56 +0000)]
Comment nits.

p4raw-id: //depot/perl@12775

20 years agoMommy, what's a pointer cast?
Richard Soderberg [Mon, 29 Oct 2001 17:01:10 +0000 (09:01 -0800)]
Mommy, what's a pointer cast?
Message-Id: <200110300101.RAA31561@oregonnet.com>

(threads* parts)

p4raw-id: //depot/perl@12773

20 years agoMommy, what's a pointer cast?
Richard Soderberg [Mon, 29 Oct 2001 17:01:10 +0000 (09:01 -0800)]
Mommy, what's a pointer cast?
Message-Id: <200110300101.RAA31561@oregonnet.com>

(the perl.h part)

p4raw-id: //depot/perl@12772

20 years agoOpenBSD likes signal.h
Richard Soderberg [Mon, 29 Oct 2001 17:00:31 +0000 (09:00 -0800)]
OpenBSD likes signal.h
Message-Id: <200110300100.RAA31533@oregonnet.com>

p4raw-id: //depot/perl@12771

20 years agoRE: DB_File-1.79 on Cygwin 1.3.3
Paul Marquess [Mon, 29 Oct 2001 23:04:23 +0000 (23:04 +0000)]
RE: DB_File-1.79 on Cygwin 1.3.3
Message-ID: <AIEAJICLCBDNAAOLLOKLGEJGDDAA.Paul_Marquess@Yahoo.co.uk>

p4raw-id: //depot/perl@12770

20 years agoHiRes.t tweaks
Craig A. Berry [Mon, 29 Oct 2001 12:34:07 +0000 (06:34 -0600)]
HiRes.t tweaks
Message-Id: <5.1.0.14.2.20011029121906.035d7e00@exchi01>

p4raw-id: //depot/perl@12769

20 years agoUpdate Changes.
Jarkko Hietaniemi [Mon, 29 Oct 2001 15:10:04 +0000 (15:10 +0000)]
Update Changes.

p4raw-id: //depot/perl@12768

20 years agoAIX needs an explicit symbol export list.
Jarkko Hietaniemi [Mon, 29 Oct 2001 14:49:28 +0000 (14:49 +0000)]
AIX needs an explicit symbol export list.

p4raw-id: //depot/perl@12767

20 years agoThe test (and the module) would require some
Jarkko Hietaniemi [Mon, 29 Oct 2001 14:08:21 +0000 (14:08 +0000)]
The test (and the module) would require some
quality hacking time to work on EBCDIC.  Based on
the test results nothing seems to be majorly broken,
the module just seems to have strange assumptions:
got: ''\226\225\205'
expected: ''one'
The \226\225\205 being, of course, 'one', in EBCDIC.

p4raw-id: //depot/perl@12766

20 years agoMark the test known to be failing in EBCDIC.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:58:48 +0000 (13:58 +0000)]
Mark the test known to be failing in EBCDIC.

p4raw-id: //depot/perl@12765

20 years agoNone of the libnet modules are going to work in
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:51:51 +0000 (13:51 +0000)]
None of the libnet modules are going to work in
EBCDIC without the Convert::EBCDIC.

p4raw-id: //depot/perl@12764

20 years agoNeither is 0xff illegal UTF-EBCDIC since it's the last C1.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:45:39 +0000 (13:45 +0000)]
Neither is 0xff illegal UTF-EBCDIC since it's the last C1.

p4raw-id: //depot/perl@12763

20 years agoUTF-EBCDIC ain't UTF-8.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:40:17 +0000 (13:40 +0000)]
UTF-EBCDIC ain't UTF-8.

p4raw-id: //depot/perl@12762

20 years agoIn EBCDIC cannot test compile Net::Cmd without Convert::EBCDIC.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:35:35 +0000 (13:35 +0000)]
In EBCDIC cannot test compile Net::Cmd without Convert::EBCDIC.

p4raw-id: //depot/perl@12761

20 years agoLet's not assume ASCII.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:32:20 +0000 (13:32 +0000)]
Let's not assume ASCII.

p4raw-id: //depot/perl@12760

20 years agoCall the new perlio symbols differently.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:24:54 +0000 (13:24 +0000)]
Call the new perlio symbols differently.

p4raw-id: //depot/perl@12759

20 years agoDon't expect ASCII ordering.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:23:11 +0000 (13:23 +0000)]
Don't expect ASCII ordering.

p4raw-id: //depot/perl@12758

20 years agoForgot from #12756.
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:13:09 +0000 (13:13 +0000)]
Forgot from #12756.

p4raw-id: //depot/perl@12757

20 years agoBeOS tweaks:
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:12:41 +0000 (13:12 +0000)]
BeOS tweaks:
- fseeko and ftello can be found by Configure but
  we do not seem to have prototypes for them so
  let's make up some
- BeOS didn't use to have real sockets (sockets as
  filedescriptors) but the BONE package is supposed
  to fix this.  I do not know how to detect BONEness,
  see hints/beos.sh for a spot that needs to fixed.
- BeOS has O_TEXT != O_BINARY but has no setmode()

p4raw-id: //depot/perl@12756

20 years agoUgly fix to not die when a thread creator is holding locks.
Artur Bergman [Mon, 29 Oct 2001 12:56:12 +0000 (12:56 +0000)]
Ugly fix to not die when a thread creator is holding locks.

p4raw-id: //depot/perl@12755

20 years agoIntegrate change #12752 from maintperl;
Jarkko Hietaniemi [Mon, 29 Oct 2001 12:31:34 +0000 (12:31 +0000)]
Integrate change #12752 from maintperl;

croak(Nullch) wasn't printing the contents of ERRSV if there was
no outer eval (bug in change#6125)

p4raw-link: @12752 on //depot/maint-5.6/perl: f106aadabce363af9302c25bec7308d85ddd04a2
p4raw-link: @6125 on //depot/perl: 9983fa3c886b6f0a857997142e62341929a9b601

p4raw-id: //depot/perl@12754
p4raw-integrated: from //depot/maint-5.6/perl@12753 'merge in' util.c
(@12668..)

20 years agoUse of static data in XS modules
Paul Marquess [Sun, 28 Oct 2001 21:19:07 +0000 (21:19 +0000)]
Use of static data in XS modules
Message-ID: <AIEAJICLCBDNAAOLLOKLIEHNDDAA.Paul_Marquess@Yahoo.co.uk>

with nits from Sarathy.

p4raw-id: //depot/perl@12753

20 years agoMore todo for the encoding pragma.
Jarkko Hietaniemi [Sun, 28 Oct 2001 23:11:15 +0000 (23:11 +0000)]
More todo for the encoding pragma.

p4raw-id: //depot/perl@12751

20 years agoAdd the encoding pragma to control the "upgrade"
Jarkko Hietaniemi [Sun, 28 Oct 2001 22:55:24 +0000 (22:55 +0000)]
Add the encoding pragma to control the "upgrade"
from the native eight bit data to Unicode.

TODO: \x.. and \0... literals.  \N{}.  chr()? ord()?

p4raw-id: //depot/perl@12750

20 years agoUpdate documentation.
Artur Bergman [Sun, 28 Oct 2001 21:02:33 +0000 (21:02 +0000)]
Update documentation.

p4raw-id: //depot/perl@12749

20 years agoIntegrate change #12747 from maintperl;
Jarkko Hietaniemi [Sun, 28 Oct 2001 20:55:57 +0000 (20:55 +0000)]
Integrate change #12747 from maintperl;

finishing touches to system() fixes on windows:
* detect cmd shell correctly even if it had full path in it
* more quoting needed for single-arg system if the argument
  really had multiple quoted arguments within it
* be smarter about not calling the shell when the executable
  has spaces, but otherwise does not need shell involvement
* add a testsuite (windows-specific currently)

p4raw-link: @12747 on //depot/maint-5.6/perl: 2bab9a31df533a6c8068e22c59c8dfb29a47c95e

p4raw-id: //depot/perl@12748
p4raw-branched: from //depot/maint-5.6/perl@12746 'branch in'
t/op/system.t t/op/system_tests
p4raw-edited: from //depot/maint-5.6/perl@12746 'ignore'
pod/perltodo.pod (@8171..) MANIFEST (@11426..)
p4raw-integrated: from //depot/maint-5.6/perl@12746 'merge in'
win32/win32.c (@12725..)

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 28 Oct 2001 16:34:35 +0000 (16:34 +0000)]
Integrate perlio:

[ 12745]
Mingw32 fixup for Embed.t

[ 12744]
GCC vs MS 64-bit constant syntax

p4raw-link: @12745 on //depot/perlio: 67bfc91867fd75eeb711a86bf337c87079d98807
p4raw-link: @12744 on //depot/perlio: b4a4f8bf62726f6e928b5c27bb457067fcfbb235

p4raw-id: //depot/perl@12746

20 years agoMingw32 fixup for Embed.t
Nick Ing-Simmons [Sun, 28 Oct 2001 16:08:14 +0000 (16:08 +0000)]
Mingw32 fixup for Embed.t

p4raw-id: //depot/perlio@12745

20 years agoGCC vs MS 64-bit constant syntax
Nick Ing-Simmons [Sun, 28 Oct 2001 15:54:14 +0000 (15:54 +0000)]
GCC vs MS 64-bit constant syntax

p4raw-id: //depot/perlio@12744

20 years agoIntegrate mainline
Nick Ing-Simmons [Sun, 28 Oct 2001 15:42:55 +0000 (15:42 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@12743

20 years agoManpage updates.
Artur Bergman [Sun, 28 Oct 2001 14:47:10 +0000 (14:47 +0000)]
Manpage updates.

p4raw-id: //depot/perl@12742

20 years agoNewline confusion: t/TEST sees an extra newline and gets huffy.
Jarkko Hietaniemi [Sun, 28 Oct 2001 14:39:55 +0000 (14:39 +0000)]
Newline confusion: t/TEST sees an extra newline and gets huffy.

p4raw-id: //depot/perl@12741

20 years agoIntegrate mainline
Nick Ing-Simmons [Sun, 28 Oct 2001 14:14:24 +0000 (14:14 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@12740

20 years agoNeed to be ./executed.
Jarkko Hietaniemi [Sun, 28 Oct 2001 14:06:58 +0000 (14:06 +0000)]
Need to be ./executed.

p4raw-id: //depot/perl@12739

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 28 Oct 2001 14:03:58 +0000 (14:03 +0000)]
Integrate perlio:

[ 12737]
Tweak for build with Mingw32 - __attribute__((unused)) is not liked
by gcc -xc++.

[ 12736]
Have :stdio layer update an honour the fd refcnt table.
Embed.t now passes with PERLIO=stdio as well (tested under ithreads)

p4raw-link: @12737 on //depot/perlio: 1c85e96a88f6bac005ba2c0b226e3ed81d5ca9cc
p4raw-link: @12736 on //depot/perlio: 1751d01517ae68e043553e12532e976a8feb2f80

p4raw-id: //depot/perl@12738

20 years agoTweak for build with Mingw32 - __attribute__((unused)) is not liked
Nick Ing-Simmons [Sun, 28 Oct 2001 13:53:45 +0000 (13:53 +0000)]
Tweak for build with Mingw32 - __attribute__((unused)) is not liked
by gcc -xc++.

p4raw-id: //depot/perlio@12737

20 years agoHave :stdio layer update an honour the fd refcnt table.
Nick Ing-Simmons [Sun, 28 Oct 2001 13:50:50 +0000 (13:50 +0000)]
Have :stdio layer update an honour the fd refcnt table.
Embed.t now passes with PERLIO=stdio as well (tested under ithreads)

p4raw-id: //depot/perlio@12736

20 years agoIntegrate changes #12724 and #12725 from maintperl;
Jarkko Hietaniemi [Sun, 28 Oct 2001 13:34:37 +0000 (13:34 +0000)]
Integrate changes #12724 and #12725 from maintperl;
multiarg system now works.

p4raw-link: @12724 on //depot/maint-5.6/perl: 6f4cfcb97a0b0fa96d668b36d13b94efbc2453a3

p4raw-id: //depot/perl@12735
p4raw-integrated: from //depot/maint-5.6/perl@12734 'merge in'
win32/win32.c (@12724..)

20 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 28 Oct 2001 13:31:54 +0000 (13:31 +0000)]
Integrate perlio:

[ 12733]
Use fd refcounts to solve the problem highlighted by new Embed.t, at
least for PERLIO=perlio unthreaded case

[ 12732]
Typo in exe name

[ 12730]
Fixup Embed.t for Win32/VC++

[ 12729]
Adapt testcase from Doug Maceachern <dougm@covalent.net> for perlio_destruct
bug as lib/ExtUtils/Embed.t which tests that and some aspects of
ExtUtils::Embed.

[ 12711]
Use ref count scheme rather than PerlLIO_dup() to do fp_dup().
Restores op/fork.t on Win32 (still segfault on exit of ok 2).

[ 12557]
All tests pass (legitimately) on ithreads

[ 12555]
Restore non-ithreads build. Interestingly binmode test passes
non-ithreads - so crlf layer is not damaged and ithreads fail
is a symptom ...

[ 12552]
Win32 PerlIO_cleanup special cases should no longer be required.

[ 12551]
Multiple win32io.o is fatal for GCC (and noise with VC++)

[ 12547]
Convert rest of PerlIO's memory tables to per-interp and add clone functions
for them. Call explicit cleanup during destruct process.
- one binmode test is failing
- also ext/threads/t/basic.t fails under make test, and is noisy under
harness. (Threads results are intermingled and don't match order expected.)

[ 12544]
PerlIO layer table as PL_perlio (per-interpreter)

[ 12541]
Fix typos in new locking on MemShared
Make buffers in PerlIOBuf_* in per-thread heap (they are cloned after all...)
- seems to make segfaults more deterministic - suspect they are
attempt to free() after Interp and Host have gone.

[ 12540]
Remove the MemShared re-#define (again)

[ 12539]
Use locks on MemShared

p4raw-link: @12733 on //depot/perlio: 168d58725e27e79cccc6d9848fb20fa3a91b5746
p4raw-link: @12732 on //depot/perlio: b1b2427f0e4638dc00cb156274394cb88b9c20d6
p4raw-link: @12730 on //depot/perlio: 1091dea485b700b0121770b0cbb0ffa417266d9e
p4raw-link: @12729 on //depot/perlio: f1feeb72ef65793d07f6b0333f64df9b07a006b1
p4raw-link: @12711 on //depot/perlio: 93a8090dc33a049e3827420ced6c7db56ab1f529
p4raw-link: @12557 on //depot/perlio: 56a2bab7c22806897577c69e86796669bc5a9a3a
p4raw-link: @12555 on //depot/perlio: 3aaf42a70f921d9bb089a4793680c24d83c92281
p4raw-link: @12552 on //depot/perlio: d93f9f22eaa7dce16568cb2193ca194466bae1c2
p4raw-link: @12551 on //depot/perlio: 6148bcae7e00c79a54ab24cae043d9cc48443237
p4raw-link: @12547 on //depot/perlio: 3a1ee7e89ce6793a321c9c259b0464c3f464c5ce
p4raw-link: @12544 on //depot/perlio: a1ea730d96bcc07b3d616a92ace3927de8290cdd
p4raw-link: @12541 on //depot/perlio: 7fcdafbdb0bffcc321d3a9c54e5d13442d621313
p4raw-link: @12540 on //depot/perlio: 5ed1ec7bdfae87aa5419ee42de2a3f5267b16906
p4raw-link: @12539 on //depot/perlio: f3dccfae94e790b7365a85a459e510b162f9a8d6

p4raw-id: //depot/perl@12734

20 years agoUse fd refcounts to solve the problem highlighted by new Embed.t, at
Nick Ing-Simmons [Sun, 28 Oct 2001 13:07:16 +0000 (13:07 +0000)]
Use fd refcounts to solve the problem highlighted by new Embed.t, at
least for PERLIO=perlio unthreaded case

p4raw-id: //depot/perlio@12733

20 years agoTypo in exe name
Nick Ing-Simmons [Sun, 28 Oct 2001 11:10:24 +0000 (11:10 +0000)]
Typo in exe name

p4raw-id: //depot/perlio@12732

20 years agoIntegrate Mainline
Nick Ing-Simmons [Sun, 28 Oct 2001 11:09:59 +0000 (11:09 +0000)]
Integrate Mainline

p4raw-id: //depot/perlio@12731

20 years agoFixup Embed.t for Win32/VC++
Nick Ing-Simmons [Sun, 28 Oct 2001 11:05:35 +0000 (11:05 +0000)]
Fixup Embed.t for Win32/VC++

p4raw-id: //depot/perlio@12730

20 years agoAdapt testcase from Doug Maceachern <dougm@covalent.net> for perlio_destruct
Nick Ing-Simmons [Sun, 28 Oct 2001 09:36:20 +0000 (09:36 +0000)]
Adapt testcase from Doug Maceachern <dougm@covalent.net> for perlio_destruct
bug as lib/ExtUtils/Embed.t which tests that and some aspects of
ExtUtils::Embed.

p4raw-id: //depot/perlio@12729

20 years agoChange #12726 changed require 5.002 to 5.0 somehow, I know I never changed that
Artur Bergman [Sun, 28 Oct 2001 08:12:53 +0000 (08:12 +0000)]
Change #12726 changed require 5.002 to 5.0 somehow, I know I never changed that
line manually!

p4raw-id: //depot/perl@12728

20 years agoAnd here we use the prototypes.
Artur Bergman [Sun, 28 Oct 2001 08:02:09 +0000 (08:02 +0000)]
And here we use the prototypes.

p4raw-id: //depot/perl@12727

20 years agoSupport [] style prototypes.
Artur Bergman [Sun, 28 Oct 2001 08:00:48 +0000 (08:00 +0000)]
Support [] style prototypes.

p4raw-id: //depot/perl@12726

20 years agoExplicitly expect only 4 or 8 bytes of PTRSIZE.
Jarkko Hietaniemi [Sun, 28 Oct 2001 03:32:32 +0000 (03:32 +0000)]
Explicitly expect only 4 or 8 bytes of PTRSIZE.
No final #else #error because we do not seem to
be using #error?

p4raw-id: //depot/perl@12723

20 years agoTime::HiRes ualarm for VMS without one
Charles Lane [Sat, 27 Oct 2001 23:28:44 +0000 (18:28 -0500)]
Time::HiRes ualarm for VMS without one
Message-Id: <011027232650.19ae30@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@12722

20 years agoRegen perlapi, perltoc.
Jarkko Hietaniemi [Sun, 28 Oct 2001 01:53:34 +0000 (01:53 +0000)]
Regen perlapi, perltoc.

p4raw-id: //depot/perl@12721

20 years agosv.h documentation
Tim Jenness [Sat, 27 Oct 2001 15:27:41 +0000 (05:27 -1000)]
sv.h documentation
Message-ID: <Pine.LNX.4.33.0110271526270.24647-100000@lapaki>

p4raw-id: //depot/perl@12720

20 years ago"nmake clean" fails to clean ext/... because buildext.pl calls
Gurusamy Sarathy [Sat, 27 Oct 2001 23:42:51 +0000 (23:42 +0000)]
"nmake clean" fails to clean ext/... because buildext.pl calls
system("nmake -nologo", "clean") and there is no executable
called "nmake -nologo"; this used to "work" pre-change#12559 due
to bugs in multiarg system() that have since been fixed

p4raw-link: @12559 on //depot/maint-5.6/perl: c196af81e4de7395bbcca7607214cb47be8a55c0

p4raw-id: //depot/perl@12719

20 years agoUpdate Changes.
Jarkko Hietaniemi [Sat, 27 Oct 2001 21:58:35 +0000 (21:58 +0000)]
Update Changes.

p4raw-id: //depot/perl@12718

20 years agoperlhack.pod addendum for consideration (perlbug mail interface)
Richard Foley [Sun, 28 Oct 2001 00:48:32 +0000 (02:48 +0200)]
perlhack.pod addendum for consideration (perlbug mail interface)
Message-ID: <15xbQQ-1BoWxsC@fwd02.sul.t-online.com>

p4raw-id: //depot/perl@12717

20 years agoMust store pointers with the right width.
Jarkko Hietaniemi [Sat, 27 Oct 2001 21:41:02 +0000 (21:41 +0000)]
Must store pointers with the right width.

p4raw-id: //depot/perl@12716

20 years agoIntegrate change #12711 from perlio;
Jarkko Hietaniemi [Sat, 27 Oct 2001 21:22:52 +0000 (21:22 +0000)]
Integrate change #12711 from perlio;

Use ref count scheme rather than PerlLIO_dup() to do fp_dup().
Restores op/fork.t on Win32 (still segfault on exit of ok 2).

p4raw-link: @12711 on //depot/perlio: 93a8090dc33a049e3827420ced6c7db56ab1f529

p4raw-id: //depot/perl@12715

20 years agomake minitest
Nicholas Clark [Sat, 27 Oct 2001 22:56:16 +0000 (23:56 +0100)]
make minitest
Message-ID: <20011027225616.L20275@plum.flirble.org>

p4raw-id: //depot/perl@12714

20 years agoPatch #12661 missed this.
Jarkko Hietaniemi [Sat, 27 Oct 2001 20:58:33 +0000 (20:58 +0000)]
Patch #12661 missed this.

p4raw-id: //depot/perl@12713

20 years agoC RTL awareness update for VMS
Craig A. Berry [Sat, 27 Oct 2001 16:07:47 +0000 (11:07 -0500)]
C RTL awareness update for VMS
Message-Id: <5.1.0.14.2.20011027134037.01bebc60@exchi01>

p4raw-id: //depot/perl@12712