23 years agoIntegrate mainline
Nick Ing-Simmons [Sat, 3 Nov 2001 11:42:15 +0000]
Integrate mainline

p4raw-id: //depot/perlio@12831

23 years agoFix clone_leak problem.
Nick Ing-Simmons [Sat, 3 Nov 2001 10:27:34 +0000]
Fix clone_leak problem.
PerlIOStdio_dup was leaking FILE * as it was still doing fdopen()
as vestige of calling PerlLIO_dup().

p4raw-id: //depot/perlio@12830

23 years agoTweaks attempting to locate Doug's clone_leak leak.
Nick Ing-Simmons [Sat, 3 Nov 2001 09:40:46 +0000]
Tweaks attempting to locate Doug's clone_leak leak.
 - add some PerlIO_debug()
 - handle PerlIO_clone() with empty lists (clone before Perl_parse())
 - Even if it closing stdout etc. do a fflush()

p4raw-id: //depot/perlio@12829

23 years agoIntegrate mainline
Nick Ing-Simmons [Sat, 3 Nov 2001 08:34:31 +0000]
Integrate mainline

p4raw-id: //depot/perlio@12828

23 years agoUgly bandaid to stop C<package;> from segfaulting (remember to
Abhijit Menon-Sen [Sat, 3 Nov 2001 03:45:19 +0000]
Ugly bandaid to stop C<package;> from segfaulting (remember to
remove this later). Based on a patch from Robert Spier in
<15330.61459.14452.795263@rls.cx>.

p4raw-id: //depot/perl@12827

23 years agomicroperl sync.
Jarkko Hietaniemi [Fri, 2 Nov 2001 23:56:00 +0000]
microperl sync.

p4raw-id: //depot/perl@12826

23 years agoDefinitions for the Unicode Newline Guidelines.
Jarkko Hietaniemi [Fri, 2 Nov 2001 23:20:03 +0000]
Definitions for the Unicode Newline Guidelines.

p4raw-id: //depot/perl@12825

23 years ago(retracted by #12871)
Jarkko Hietaniemi [Fri, 2 Nov 2001 23:08:05 +0000]
(retracted by #12871)

There is no csh of any kind in default BeOS.
For the purposes of miniperl globbing, bash
will do.

p4raw-id: //depot/perl@12824

23 years agoIntegrate change #12820 from macperl to maint and blead;
Jarkko Hietaniemi [Fri, 2 Nov 2001 21:56:36 +0000]
Integrate change #12820 from macperl to maint and blead;

Fix up (dynaloading) to work properly with multiplicity

p4raw-link: @12820 on //depot/maint-5.6/macperl: 1254e164e862d84b4c35d69c6880819df23c4acd

p4raw-id: //depot/perl@12823
p4raw-integrated: from //depot/maint-5.6/macperl@12818 'merge in'
ext/DynaLoader/dl_mac.xs (@12699..)

23 years agoLocate _PATH_LOG if it's a socket even if not #defined
Jarkko Hietaniemi [Fri, 2 Nov 2001 21:03:58 +0000]
Locate _PATH_LOG if it's a socket even if not #defined
(helps Tru64)  From Paul David Fardy <pdf@morgan.ucs.mun.ca>,
via Nicholas Clark.

p4raw-id: //depot/perl@12818

23 years ago_expect and other little tweaks
Michael G. Schwern [Fri, 2 Nov 2001 15:36:41 +0000]
_expect and other little tweaks
Message-ID: <20011102153641.E23234@blackrider>

p4raw-id: //depot/perl@12817

23 years agopatches for MacOS X 10.1 for perl 5.7.2
Randal L. Schwartz [Fri, 2 Nov 2001 09:33:34 +0000]
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

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

p4raw-id: //depot/perl@12815

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

p4raw-id: //depot/perl@12814

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

p4raw-id: //depot/perl@12813

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

p4raw-id: //depot/perl@12812

23 years agoRe: [ID 20011101.069] \stat('.') gives "Attempt to free unreferenced scalar"
Radu Greab [Fri, 2 Nov 2001 15:28:58 +0000]
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

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

p4raw-id: //depot/perl@12810

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

p4raw-id: //depot/perl@12809

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

p4raw-id: //depot/perl@12808

23 years agoUnicode: add ToFold mapping. Not used yet; but basically
Jarkko Hietaniemi [Fri, 2 Nov 2001 05:18:45 +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

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

p4raw-id: //depot/perl@12806

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

p4raw-id: //depot/perl@12805

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

p4raw-id: //depot/perl@12804

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

p4raw-id: //depot/perl@12803

23 years ago[PATCH] the the double double word word fix fix
Abhijit Menon-Sen [Fri, 2 Nov 2001 00:39:36 +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

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

p4raw-id: //depot/perl@12801

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

p4raw-id: //depot/perl@12800

23 years agoIf an encoding is set by -M/-m, it must be in
Jarkko Hietaniemi [Thu, 1 Nov 2001 13:59:42 +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

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

p4raw-id: //depot/perl@12798

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

p4raw-id: //depot/perl@12797

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

p4raw-id: //depot/perl@12796

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

p4raw-id: //depot/perl@12795

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

p4raw-id: //depot/perl@12794

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

p4raw-id: //depot/perl@12793

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

p4raw-id: //depot/perl@12792

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

23 years agoExtend the effect of the encoding pragma to chr() and ord().
Jarkko Hietaniemi [Wed, 31 Oct 2001 14:44:33 +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

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

p4raw-id: //depot/perl@12789

23 years agoIntegrate mainline
Nick Ing-Simmons [Wed, 31 Oct 2001 08:59:56 +0000]
Integrate mainline

p4raw-id: //depot/perlio@12788

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

p4raw-id: //depot/perl@12787

23 years agoClarification: use encoding cannot be used to
Jarkko Hietaniemi [Wed, 31 Oct 2001 02:32:35 +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

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

p4raw-id: //depot/perl@12785

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

p4raw-id: //depot/perl@12784

23 years agoMake sv_recode_to_utf8() a real API: the encoding
Jarkko Hietaniemi [Wed, 31 Oct 2001 02:04:22 +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

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

p4raw-id: //depot/perl@12782

23 years agoRe: [PATCH] Re: DynaLoader problem on NCR SVR4 box
Andy Dougherty [Tue, 30 Oct 2001 12:44:27 +0000]
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

23 years agoRE: [PATCH h2xs] Use of static data in XS modules
Paul Marquess [Mon, 29 Oct 2001 23:11:58 +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

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

Add prototype.

p4raw-id: //depot/perl@12779

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

p4raw-id: //depot/perl@12778

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

p4raw-id: //depot/perl@12777

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

p4raw-id: //depot/perl@12776

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

p4raw-id: //depot/perl@12775

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

(threads* parts)

p4raw-id: //depot/perl@12773

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

(the perl.h part)

p4raw-id: //depot/perl@12772

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

p4raw-id: //depot/perl@12771

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

p4raw-id: //depot/perl@12770

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

p4raw-id: //depot/perl@12769

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

p4raw-id: //depot/perl@12768

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

p4raw-id: //depot/perl@12767

23 years agoThe test (and the module) would require some
Jarkko Hietaniemi [Mon, 29 Oct 2001 14:08:21 +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

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

p4raw-id: //depot/perl@12765

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

p4raw-id: //depot/perl@12764

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

p4raw-id: //depot/perl@12763

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

p4raw-id: //depot/perl@12762

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

p4raw-id: //depot/perl@12761

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

p4raw-id: //depot/perl@12760

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

p4raw-id: //depot/perl@12759

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

p4raw-id: //depot/perl@12758

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

p4raw-id: //depot/perl@12757

23 years agoBeOS tweaks:
Jarkko Hietaniemi [Mon, 29 Oct 2001 13:12:41 +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

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

p4raw-id: //depot/perl@12755

23 years agoIntegrate change #12752 from maintperl;
Jarkko Hietaniemi [Mon, 29 Oct 2001 12:31:34 +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..)

23 years agoUse of static data in XS modules
Paul Marquess [Sun, 28 Oct 2001 21:19:07 +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

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

p4raw-id: //depot/perl@12751

23 years agoAdd the encoding pragma to control the "upgrade"
Jarkko Hietaniemi [Sun, 28 Oct 2001 22:55:24 +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

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

p4raw-id: //depot/perl@12749

23 years agoIntegrate change #12747 from maintperl;
Jarkko Hietaniemi [Sun, 28 Oct 2001 20:55:57 +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..)

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 28 Oct 2001 16:34:35 +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

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

p4raw-id: //depot/perlio@12745

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

p4raw-id: //depot/perlio@12744

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

p4raw-id: //depot/perlio@12743

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

p4raw-id: //depot/perl@12742

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

p4raw-id: //depot/perl@12741

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

p4raw-id: //depot/perlio@12740

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

p4raw-id: //depot/perl@12739

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 28 Oct 2001 14:03:58 +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

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

p4raw-id: //depot/perlio@12737

23 years agoHave :stdio layer update an honour the fd refcnt table.
Nick Ing-Simmons [Sun, 28 Oct 2001 13:50: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

23 years agoIntegrate changes #12724 and #12725 from maintperl;
Jarkko Hietaniemi [Sun, 28 Oct 2001 13:34:37 +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..)

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 28 Oct 2001 13:31:54 +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

23 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]
Use fd refcounts to solve the problem highlighted by new Embed.t, at
least for PERLIO=perlio unthreaded case

p4raw-id: //depot/perlio@12733

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

p4raw-id: //depot/perlio@12732

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

p4raw-id: //depot/perlio@12731

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

p4raw-id: //depot/perlio@12730

23 years agoAdapt testcase from Doug Maceachern <dougm@covalent.net> for perlio_destruct
Nick Ing-Simmons [Sun, 28 Oct 2001 09:36:20 +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

23 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]
Change #12726 changed require 5.002 to 5.0 somehow, I know I never changed that
line manually!

p4raw-id: //depot/perl@12728

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

p4raw-id: //depot/perl@12727

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

p4raw-id: //depot/perl@12726

23 years agoExplicitly expect only 4 or 8 bytes of PTRSIZE.
Jarkko Hietaniemi [Sun, 28 Oct 2001 03:32: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