platform/upstream/perl.git
23 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

23 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

23 years agoUpdate documentation.
Artur Bergman [Sun, 28 Oct 2001 21:02:33 +0000 (21:02 +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 (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..)

23 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

23 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

23 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

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

p4raw-id: //depot/perlio@12743

23 years agoManpage updates.
Artur Bergman [Sun, 28 Oct 2001 14:47:10 +0000 (14:47 +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 (14:39 +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 (14:14 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@12740

23 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

23 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

23 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

23 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

23 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..)

23 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

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 (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

23 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

23 years agoIntegrate Mainline
Nick Ing-Simmons [Sun, 28 Oct 2001 11:09:59 +0000 (11:09 +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 (11:05 +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 (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

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 (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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

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

p4raw-id: //depot/perl@12718

23 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

23 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

23 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

23 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

23 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

23 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

23 years agoUse ref count scheme rather than PerlLIO_dup() to do fp_dup().
Nick Ing-Simmons [Sat, 27 Oct 2001 19:49:25 +0000 (19:49 +0000)]
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-id: //depot/perlio@12711

23 years agoLet's not replace reason if there's one already supplied.
Jarkko Hietaniemi [Sat, 27 Oct 2001 17:07:46 +0000 (17:07 +0000)]
Let's not replace reason if there's one already supplied.

p4raw-id: //depot/perl@12710

23 years ago[no reason given] is not good.
Jarkko Hietaniemi [Sat, 27 Oct 2001 17:02:30 +0000 (17:02 +0000)]
[no reason given] is not good.

p4raw-id: //depot/perl@12709

23 years agoldlibpth can exist but be unset.
Jarkko Hietaniemi [Sat, 27 Oct 2001 16:54:07 +0000 (16:54 +0000)]
ldlibpth can exist but be unset.

p4raw-id: //depot/perl@12708

23 years agoUnicode: property alias naming cleanup.
Jarkko Hietaniemi [Sat, 27 Oct 2001 16:47:07 +0000 (16:47 +0000)]
Unicode: property alias naming cleanup.

p4raw-id: //depot/perl@12707

23 years agoFAQ sync.
Jarkko Hietaniemi [Sat, 27 Oct 2001 15:24:06 +0000 (15:24 +0000)]
FAQ sync.

p4raw-id: //depot/perl@12706

23 years agoIntegrate change #12703 from maintperl;
Jarkko Hietaniemi [Sat, 27 Oct 2001 15:23:15 +0000 (15:23 +0000)]
Integrate change #12703 from maintperl;

typemap stuff intervenes before declaration, move it to PREINIT
section

(an empty integrate, but now the files are in sync
 between the branches)

p4raw-link: @12703 on //depot/maint-5.6/perl: 88cc773e1e8562e40e686f6b5e5dac09c8147ef9

p4raw-id: //depot/perl@12705
p4raw-integrated: from //depot/maint-5.6/perl@12704 'ignore'
ext/ODBM_File/ODBM_File.xs (@12668..)

23 years agoMore PerlIO symbols.
Jarkko Hietaniemi [Sat, 27 Oct 2001 15:21:17 +0000 (15:21 +0000)]
More PerlIO symbols.

p4raw-id: //depot/perl@12704

23 years agoIntegrate mainline
Nick Ing-Simmons [Sat, 27 Oct 2001 14:09:35 +0000 (14:09 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@12702

23 years agotweak divide
Nicholas Clark [Fri, 26 Oct 2001 22:52:17 +0000 (23:52 +0100)]
tweak divide
Message-Id: <20011026225217.B20275@plum.flirble.org>

p4raw-id: //depot/perl@12700

23 years agoRe: DynaLoader problem on NCR SVR4 box
Andy Dougherty [Fri, 26 Oct 2001 14:36:29 +0000 (10:36 -0400)]
Re: DynaLoader problem on NCR SVR4 box
Message-ID: <Pine.SOL.4.10.10110261434280.23229-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@12698

23 years agoWhen you're root, many things become writable.
Jarkko Hietaniemi [Fri, 26 Oct 2001 18:42:58 +0000 (18:42 +0000)]
When you're root, many things become writable.

p4raw-id: //depot/perl@12697

23 years agoUpdate Changes.
Jarkko Hietaniemi [Fri, 26 Oct 2001 15:52:58 +0000 (15:52 +0000)]
Update Changes.

p4raw-id: //depot/perl@12696

23 years agoTerm/Cap.t attempts to access the floppy drive for no good reason
Gurusamy Sarathy [Fri, 26 Oct 2001 15:34:31 +0000 (15:34 +0000)]
Term/Cap.t attempts to access the floppy drive for no good reason
on dosish systems

p4raw-id: //depot/perl@12695

23 years agofix misleading comment on known inadequacy in B::Terse, and skip
Gurusamy Sarathy [Fri, 26 Oct 2001 15:15:16 +0000 (15:15 +0000)]
fix misleading comment on known inadequacy in B::Terse, and skip
it correctly

p4raw-id: //depot/perl@12694

23 years agofix spurious AutoSplit.t failure under windows
Gurusamy Sarathy [Fri, 26 Oct 2001 14:53:56 +0000 (14:53 +0000)]
fix spurious AutoSplit.t failure under windows

p4raw-id: //depot/perl@12693

23 years agoTime::HiRes::alarm() ain't gonna work either if ualarm() ain't
Gurusamy Sarathy [Fri, 26 Oct 2001 14:39:06 +0000 (14:39 +0000)]
Time::HiRes::alarm() ain't gonna work either if ualarm() ain't

p4raw-id: //depot/perl@12692

23 years agoMore logical to use %04"UVXf" than %"UVuf" since
Jarkko Hietaniemi [Fri, 26 Oct 2001 14:34:15 +0000 (14:34 +0000)]
More logical to use %04"UVXf" than %"UVuf" since
the Unicode standard prefers hex.

p4raw-id: //depot/perl@12691

23 years agochange#12065 seems to have broken Encode build on windows; fix
Gurusamy Sarathy [Fri, 26 Oct 2001 14:15:55 +0000 (14:15 +0000)]
change#12065 seems to have broken Encode build on windows; fix

p4raw-link: @12065 on //depot/perl: 6275698708d25f5dab8a4495910263deacde43b5

p4raw-id: //depot/perl@12690

23 years agoUnicode: add the case folding table.
Jarkko Hietaniemi [Fri, 26 Oct 2001 14:12:04 +0000 (14:12 +0000)]
Unicode: add the case folding table.

p4raw-id: //depot/perl@12689

23 years agoGet the new functions right, do not export lock since we use builtin lock.
Artur Bergman [Fri, 26 Oct 2001 13:51:29 +0000 (13:51 +0000)]
Get the new functions right, do not export lock since we use builtin lock.
TODO: fix xsubpp to support the new prototypes

p4raw-id: //depot/perl@12688

23 years agoUSE_ENVIRON_ARRAY instead of !MACOS_TRADITIONAL,
Jarkko Hietaniemi [Fri, 26 Oct 2001 13:43:03 +0000 (13:43 +0000)]
USE_ENVIRON_ARRAY instead of !MACOS_TRADITIONAL,
as suggested by Sarathy.

p4raw-id: //depot/perl@12687

23 years agoavoid compiler warning
Gurusamy Sarathy [Fri, 26 Oct 2001 13:39:52 +0000 (13:39 +0000)]
avoid compiler warning

p4raw-id: //depot/perl@12686

23 years agoWinCE update from Rainer Keuchel.
Jarkko Hietaniemi [Fri, 26 Oct 2001 13:39:12 +0000 (13:39 +0000)]
WinCE update from Rainer Keuchel.

p4raw-id: //depot/perl@12685

23 years agoAnd then finally cond_wait cond_signal and cond_broadcast are now implmented.
Artur Bergman [Fri, 26 Oct 2001 13:34:33 +0000 (13:34 +0000)]
And then finally cond_wait cond_signal and cond_broadcast are now implmented.

p4raw-id: //depot/perl@12684

23 years agoMore fixes that were made to the core and not in the libnet src
Graham Barr [Fri, 26 Oct 2001 13:32:47 +0000 (13:32 +0000)]
More fixes that were made to the core and not in the libnet src

p4raw-id: //depot/perl@12683

23 years agoRe: DB_File-1.79 on Cygwin 1.3.3
H.Merijn Brand [Fri, 26 Oct 2001 13:55:21 +0000 (15:55 +0200)]
Re: DB_File-1.79 on Cygwin 1.3.3
Message-Id: <20011026135017.F575.H.M.BRAND@hccnet.nl>

(plus make the db-recno.t#59 accept both \n and \r\n)

p4raw-id: //depot/perl@12682

23 years agoFix tests to be able to run in the core and the CPAN dist
Graham Barr [Fri, 26 Oct 2001 13:22:38 +0000 (13:22 +0000)]
Fix tests to be able to run in the core and the CPAN dist

p4raw-id: //depot/perl@12681

23 years agoRe: perl@12605 on VMS, [minor PATCH enclosed]
Charles Lane [Fri, 26 Oct 2001 08:34:46 +0000 (04:34 -0400)]
Re: perl@12605 on VMS, [minor PATCH enclosed]
Message-Id: <011026081912.dc29b@DUPHY4.Physics.Drexel.Edu>

p4raw-id: //depot/perl@12680

23 years agoSync libnet modules with what will be libnet-1.08
Graham Barr [Fri, 26 Oct 2001 13:11:00 +0000 (13:11 +0000)]
Sync libnet modules with what will be libnet-1.08

p4raw-id: //depot/perl@12679

23 years agoIntegrate maintperl changes #12268 and #12669;
Jarkko Hietaniemi [Fri, 26 Oct 2001 13:03:01 +0000 (13:03 +0000)]
Integrate maintperl changes #12268 and #12669;

final touches to the audit for statics and thread-unsafe code
* make DB_File, ODBM_File thread-safe
* remove unnecessary/dangerous statics and protect others
  from not getting accidentally enabled under threaded perls

windows support functions get_childdir() et al aren't exported
correctly under vanilla build

Testing under win32 appreciated since changes there had
to be manually merged and I cannot test how badly did I do.

p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22

p4raw-id: //depot/perl@12678
p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in'
win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs
(@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs
(@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl
(@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..)
toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs
ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c
(@12668..)

23 years agoMore Config::threads to threads::threads changes
Artur Bergman [Fri, 26 Oct 2001 12:37:17 +0000 (12:37 +0000)]
More Config::threads to threads::threads changes

p4raw-id: //depot/perl@12677

23 years agoMake new() work exactly like create(). Move from Config::threads to threads::threads
Artur Bergman [Fri, 26 Oct 2001 12:31:46 +0000 (12:31 +0000)]
Make new() work exactly like create(). Move from Config::threads to threads::threads

p4raw-id: //depot/perl@12676

23 years agoAllocing a TLS in runtime is not too hot.
Artur Bergman [Fri, 26 Oct 2001 12:06:30 +0000 (12:06 +0000)]
Allocing a TLS in runtime is not too hot.

p4raw-id: //depot/perl@12675

23 years agoDon't display debug data.
Artur Bergman [Fri, 26 Oct 2001 11:59:09 +0000 (11:59 +0000)]
Don't display debug data.

p4raw-id: //depot/perl@12674

23 years agoExtend support of change #12672 to support arrays and hashes. Shared reference support is
Artur Bergman [Fri, 26 Oct 2001 11:35:47 +0000 (11:35 +0000)]
Extend support of change #12672 to support arrays and hashes. Shared reference support is
complete bar support for blessed objects.
TODO: tests for shared arrays and more hv reference tests. Also a complex test testing all types intermixed.

p4raw-link: @12672 on //depot/perl: 409b1fd3668e7a4d9e663c5b16ba2364947b127b

p4raw-id: //depot/perl@12673

23 years agoFix case where shared reference does not exist in current thread.
Artur Bergman [Fri, 26 Oct 2001 11:15:28 +0000 (11:15 +0000)]
Fix case where shared reference does not exist in current thread.

p4raw-id: //depot/perl@12672

23 years agoSupport for references in shared arrays.
Artur Bergman [Fri, 26 Oct 2001 08:48:52 +0000 (08:48 +0000)]
Support for references in shared arrays.

p4raw-id: //depot/perl@12671

23 years agoAdd tests for references in hashes.
Artur Bergman [Fri, 26 Oct 2001 08:30:11 +0000 (08:30 +0000)]
Add tests for references in hashes.

p4raw-id: //depot/perl@12670

23 years agoFix sharedsv.c compile-time warnings.
Richard Soderberg [Thu, 25 Oct 2001 23:42:50 +0000 (19:42 -0400)]
Fix sharedsv.c compile-time warnings.
Message-Id: <NAEKLNAAHLMBPMPNBMLEKEJCEAAA.rs@crystalflame.net>

p4raw-id: //depot/perl@12667

23 years agoIntegrate change #12664 from maintperl;
Jarkko Hietaniemi [Fri, 26 Oct 2001 02:07:17 +0000 (02:07 +0000)]
Integrate change #12664 from maintperl;

the newest GCCs don't seem to like C<"string1"##STRING2>
so keep it as C<"string1" STRING2> (latter appears to
work everywhere)

p4raw-link: @12664 on //depot/maint-5.6/perl: 607cda642ea5296498be6c3d456d2b4311d99342

p4raw-id: //depot/perl@12666
p4raw-integrated: from //depot/maint-5.6/perl@12665 'merge in'
ext/DynaLoader/dlutils.c (@12653..)

23 years agoperl.h for Mac OS (Classic)
Chris Nandor [Thu, 25 Oct 2001 22:15:03 +0000 (18:15 -0400)]
perl.h for Mac OS (Classic)
Message-Id: <p0510030db7fe771a5a34@[10.0.1.177]>

p4raw-id: //depot/perl@12665

23 years agoAUTHORS update.
Jarkko Hietaniemi [Thu, 25 Oct 2001 22:59:44 +0000 (22:59 +0000)]
AUTHORS update.

p4raw-id: //depot/perl@12663

23 years agoIntegrate change #12660 from maintperl;
Jarkko Hietaniemi [Thu, 25 Oct 2001 22:50:41 +0000 (22:50 +0000)]
Integrate change #12660 from maintperl;

make the dMY_CXT stuff available under all of
MULTIPLICITY/PERL_OBJECT/USE_ITHREADS

p4raw-link: @12660 on //depot/maint-5.6/perl: a70d410d4148e74336b898085586ebf4fe5e0ddc

p4raw-id: //depot/perl@12662
p4raw-integrated: from //depot/maint-5.6/perl@12661 'merge in' perl.h
(@12652..)

23 years agoDB_File-1.79
Paul Marquess [Fri, 26 Oct 2001 00:03:54 +0000 (01:03 +0100)]
DB_File-1.79
Message-ID: <AIEAJICLCBDNAAOLLOKLAEELDDAA.paul.marquess@openwave.com>

p4raw-id: //depot/perl@12661

23 years agoRe: [ID 20011025.054] Segmentation fault when using the function read not correctly
Michael G. Schwern [Thu, 25 Oct 2001 18:28:12 +0000 (14:28 -0400)]
Re: [ID 20011025.054] Segmentation fault when using the function read not correctly
Message-ID: <20011025182812.M4811@blackrider>

p4raw-id: //depot/perl@12659

23 years agoSTRLEN != int.
Jarkko Hietaniemi [Thu, 25 Oct 2001 20:54:58 +0000 (20:54 +0000)]
STRLEN != int.

p4raw-id: //depot/perl@12658

23 years agoremove small IVop redundancy
Nicholas Clark [Thu, 25 Oct 2001 22:48:28 +0000 (23:48 +0100)]
remove small IVop redundancy
Message-ID: <20011025224827.M66471@plum.flirble.org>

p4raw-id: //depot/perl@12657

23 years agoRe: Not OK @12650
Andy Dougherty [Thu, 25 Oct 2001 15:34:02 +0000 (11:34 -0400)]
Re: Not OK @12650
Message-ID: <Pine.SOL.4.10.10110251520300.22317-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@12655

23 years agoIntegrate changes #12652 and #12653 from maintperl;
Jarkko Hietaniemi [Thu, 25 Oct 2001 18:07:58 +0000 (18:07 +0000)]
Integrate changes #12652 and #12653 from maintperl;

more tweaks to change#12626
* move the boilerplate code over to perl.h and make DynaLoader
  use it
* make re, Opcode, File::Glob and B threadsafe
* re.xs needed s/deinstall/uninstall/ (guess nobody uses
  C<no re;> anywhere)

include XS_VERSION in MY_CXT_KEY (tweak for change#12652)

File::Glob required a bit more work in bleadperl
because of ExtUtils::Constant (see the Makefile.PL change)

p4raw-link: @12652 on //depot/maint-5.6/perl: 3bc8871b91a24662eada2114d9a016153718b1c4
p4raw-link: @12626 on //depot/maint-5.6/perl: 512dcce54ea4db665708f91609bdd0a6126d1acd

p4raw-id: //depot/perl@12654
p4raw-integrated: from //depot/maint-5.6/perl@12650 'edit in'
ext/B/B.xs ext/DynaLoader/dlutils.c (@12652..) 'merge in'
perl.h (@12597..) ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs
ext/re/re.xs (@12652..)

23 years agoRe: ithreads doesn't like usedl=n
Andy Dougherty [Thu, 25 Oct 2001 13:16:00 +0000 (09:16 -0400)]
Re: ithreads doesn't like usedl=n
Message-ID: <Pine.SOL.4.10.10110251312200.22183-100000@maxwell.phys.lafayette.edu>

Special-case threads::shared.

p4raw-id: //depot/perl@12650

23 years agoGetting fancier...
Jarkko Hietaniemi [Thu, 25 Oct 2001 16:21:35 +0000 (16:21 +0000)]
Getting fancier...

p4raw-id: //depot/perl@12649

23 years agocsh - what a pain.
Jarkko Hietaniemi [Thu, 25 Oct 2001 14:26:20 +0000 (14:26 +0000)]
csh - what a pain.

p4raw-id: //depot/perl@12648

23 years agoUpdate Changes.
Jarkko Hietaniemi [Thu, 25 Oct 2001 14:04:01 +0000 (14:04 +0000)]
Update Changes.

p4raw-id: //depot/perl@12647

23 years agoAllow resetting the locale system for the duration
Jarkko Hietaniemi [Thu, 25 Oct 2001 13:34:19 +0000 (13:34 +0000)]
Allow resetting the locale system for the duration
of the build (Mac OS X default setting LANG=En_US
ist kaputt)

p4raw-id: //depot/perl@12646

23 years agoUpdate the MD5 checksum of MD5.xs (caused by #12642)
Jarkko Hietaniemi [Thu, 25 Oct 2001 13:04:17 +0000 (13:04 +0000)]
Update the MD5 checksum of MD5.xs (caused by #12642)

p4raw-id: //depot/perl@12645

23 years agoOmit needless calls to pod2man (perl@12641)
Andy Dougherty [Thu, 25 Oct 2001 09:56:57 +0000 (05:56 -0400)]
Omit needless calls to pod2man (perl@12641)
Message-ID: <Pine.SOL.4.10.10110250955390.18833-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@12644

23 years agoAdd support for reference members of hashes.
Artur Bergman [Thu, 25 Oct 2001 12:28:26 +0000 (12:28 +0000)]
Add support for reference members of hashes.

p4raw-id: //depot/perl@12643

23 years agoext/Digest/MD5/MD5.xs RFC typo
Norton Allen [Thu, 25 Oct 2001 08:53:56 +0000 (04:53 -0400)]
ext/Digest/MD5/MD5.xs RFC typo
Message-Id: <200110251253.IAA180600866@rosamund.arp.harvard.edu>

p4raw-id: //depot/perl@12642

23 years agoTests shared hashes.
Artur Bergman [Thu, 25 Oct 2001 10:27:39 +0000 (10:27 +0000)]
Tests shared hashes.

p4raw-id: //depot/perl@12641

23 years agoFix threadcounts for arrays and hashes.
Artur Bergman [Thu, 25 Oct 2001 10:18:23 +0000 (10:18 +0000)]
Fix threadcounts for arrays and hashes.

p4raw-id: //depot/perl@12640

23 years agoNote to self, doing *src_ary++ in a macro that evaluates
Artur Bergman [Thu, 25 Oct 2001 10:17:26 +0000 (10:17 +0000)]
Note to self, doing *src_ary++ in a macro that evaluates
the value more than once is a good way to dump core.

p4raw-id: //depot/perl@12639

23 years agoIntegrate change #12636 from maintperl; more dl fixups.
Jarkko Hietaniemi [Thu, 25 Oct 2001 05:18:06 +0000 (05:18 +0000)]
Integrate change #12636 from maintperl; more dl fixups.

p4raw-link: @12636 on //depot/maint-5.6/perl: a9c18911d1898cd817acac82893d0885251fc35e

p4raw-id: //depot/perl@12638
p4raw-integrated: from //depot/maint-5.6/perl@12637 'copy in'
ext/DynaLoader/dl_next.xs ext/DynaLoader/dl_vms.xs (@12626..)
'merge in' ext/DynaLoader/dl_mac.xs (@12626..)