23 years agoRE: some win32 fixes
Vadim Konovalov [Tue, 6 Feb 2001 09:23:20 +0000]
RE: some win32 fixes
Message-ID: <402099F49BEED211999700805FC7359F9CAF49@ru0028exch01.spb.lucent.com>

p4raw-id: //depot/perl@8706

23 years agoperlfaq2, re: perlmongers
David H. Adler [Sun, 4 Feb 2001 23:48:23 +0000]
perlfaq2, re: perlmongers
       Message-Id: <20010204234823.A13429@panix.com>

p4raw-id: //depot/perl@8699

23 years agoMissed file f#rom the testharness mess.
Nick Ing-Simmons [Mon, 5 Feb 2001 19:39:31 +0000]
Missed file f#rom the testharness mess.

p4raw-id: //depot/perl@8698

23 years ago[DOC PATCH] overload.pm nits
John Tobey [Sun, 4 Feb 2001 20:40:47 +0000]
[DOC PATCH] overload.pm nits
       Message-Id: <m14Pae7-000FOoC@feynman.localnet>

p4raw-id: //depot/perl@8697

23 years agoThe missed t/TEST part of the grand testharness upgrade.
Nick Ing-Simmons [Sun, 4 Feb 2001 18:15:57 +0000]
The missed t/TEST part of the grand testharness upgrade.

p4raw-id: //depot/perl@8692

23 years agoNew improved test harness
Michael G. Schwern [Sun, 4 Feb 2001 08:01:20 +0000]
New improved test harness
       Subject: Re: [PATCH Test::Harness] Third time's a charm?
       Message-Id: <20010204080120.G10493@blackrider.aocn.com>

p4raw-id: //depot/perl@8691

23 years agoSmall usage change and author gueesing
Jonathan Stowe [Sun, 4 Feb 2001 10:46:01 +0000]
Small usage change and author gueesing
       Message-Id: <Pine.LNX.4.32.0102041037510.1555-100000@orpheus.gellyfish.com>

p4raw-link: @8670 on //depot/perl: ac634a9a38fe527f538270bb24c9a19cd88f5947

p4raw-id: //depot/perl@8690

23 years agoRe: [PATCH lots of pod/] s/chop/chomp/g
Michael G. Schwern [Sat, 3 Feb 2001 22:46:38 +0000]
Re: [PATCH lots of pod/] s/chop/chomp/g
       Message-Id: <20010203224638.E10493@blackrider.aocn.com>

p4raw-id: //depot/perl@8689

23 years ago[ID 20010203.006] perlio.c is mis-reporting argument
Nicholas Clark [Sat, 3 Feb 2001 23:53:16 +0000]
[ID 20010203.006] perlio.c is mis-reporting argument
length byfailing to spot lack of closing )
       Message-Id: <E14PCUW-0001Qo-00@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@8688

23 years agoFor -Dusedevel builds turn off installusrbinperl and turn on
Jarkko Hietaniemi [Sat, 3 Feb 2001 16:39:49 +0000]
For -Dusedevel builds turn off installusrbinperl and turn on
versiononly, a combined idea of Richard Soderberg and Merijn
H. Brand.  You can still override both of these from the command
line if you need to, -Dinstallusrbinperl and -Uversiononly.

p4raw-id: //depot/perl@8685

23 years agoConfigure fix for the DYNIX/ptx F_SETFL problem,
Jarkko Hietaniemi [Sat, 3 Feb 2001 16:16:12 +0000]
Configure fix for the DYNIX/ptx F_SETFL problem,
reported by Peter Prymmer for 5.6-TRIAL1.

p4raw-id: //depot/perl@8683

23 years agoUpdate Changes.
Jarkko Hietaniemi [Thu, 1 Feb 2001 22:34:31 +0000]
Update Changes.

p4raw-id: //depot/perl@8671

23 years agoIntegrate changes #8641,8644,8649,8654,8662,8663,8664,8665,8667,8669
Jarkko Hietaniemi [Thu, 1 Feb 2001 22:15:29 +0000]
Integrate changes #8641,8644,8649,8654,8662,8663,8664,8665,8667,8669
from maintperl.

Upgrade to Getopt::Long 2.25, from Johan Vromans.

more files need to be writable in the source distribution

perl_clone() wants to clone PL_numeric_radix_sv (fix for change#8626)

Solaris 2.7 i386 #defines SP in /usr/include/sys/reg.h

Subject: Re: [PATCH perl5.6.1-TRIAL2] long C<=item>s in perlmodlib.pod

Allow the float to be fuzzier.

need to use INT2PTR instead of a straight cast or ia64 fails

Subject: Re: [ID 20010201.006] bad pointer from perlfunc to perlmod

add ppaddr as one of the compatibility symbols under -DPERL_POLLUTE

p4raw-link: @8662 on //depot/maint-5.6/perl: 4fd7b88664e5220d434e86a4171b6501199a0df5
p4raw-link: @8654 on //depot/maint-5.6/perl: 570327f99599d50e7689d7f8e58ce0062abb9bfd
p4raw-link: @8649 on //depot/maint-5.6/perl: e077e268546d6372b301e6674cc72c8d19727a93
p4raw-link: @8644 on //depot/maint-5.6/perl: 0a4931cb101d4c4c7af706ed2960bc1b4935992e
p4raw-link: @8641 on //depot/maint-5.6/perl: c266a57ee93b609f48ccb9173c2a3073a28cd0db
p4raw-link: @8626 on //depot/maint-5.6/perl: e77a7f40d76565c12d43428402884505d5496c8f

p4raw-id: //depot/perl@8670
p4raw-integrated: from //depot/maint-5.6/perl@8650 'copy in'
Porting/makerel (@7298..) lib/Getopt/Long.pm (@7895..)
pod/perlmodlib.PL (@8175..) 'ignore' pod/perlmodlib.pod
(@8640..) 'merge in' t/lib/peek.t (@8151..) ext/POSIX/POSIX.xs
(@8177..) embed.pl pp.h (@8620..) embedvar.h (@8626..)
pod/perlfunc.pod (@8630..)
p4raw-integrated: from //depot/maint-5.6/perl@8649 'merge in' sv.c
(@8634..)

23 years agoWatch out for cross compiling for EPOC (usually done on linux)
Olaf Flebbe [Wed, 31 Jan 2001 23:15:34 +0000]
Watch out for cross compiling for EPOC (usually done on linux)

Subject: [perl-5-6-1-trial2] patches for EPOC
Message-ID: <Pine.LNX.4.02.10101312314470.5682-100000@milkyway.science-computing.de>

p4raw-id: //depot/perl@8650

23 years agoAll the uses of PL_numeric_radix must be protected by
Olaf Flebbe [Wed, 31 Jan 2001 23:15:34 +0000]
All the uses of PL_numeric_radix must be protected by
USE_LOCALE_NUMERIC, noticed by Olaf Flebbe in

Subject: [perl-5-6-1-trial2] patches for EPOC
Message-ID: <Pine.LNX.4.02.10101312314470.5682-100000@milkyway.science-computing.de>

p4raw-id: //depot/perl@8648

23 years agoMacrofy a magic UTF-8 test.
Jarkko Hietaniemi [Wed, 31 Jan 2001 22:56:16 +0000]
Macrofy a magic UTF-8 test.

p4raw-id: //depot/perl@8647

23 years agoRe: [PATCH] Re: [ID 20010105.023] numeric problems in IRIX
Nicholas Clark [Tue, 30 Jan 2001 19:51:05 +0000]
Re: [PATCH] Re: [ID 20010105.023] numeric problems in IRIX
Message-ID: <20010130195105.R76607@plum.flirble.org>

op/inc cure.

p4raw-id: //depot/perl@8637

23 years agoFix for the fa_IR locale failure. The reason for the failure
Jarkko Hietaniemi [Tue, 30 Jan 2001 20:26:33 +0000]
Fix for the fa_IR locale failure.  The reason for the failure
was that Perl was assuming the decimal separator aka the radix
separator is one character.  The Farsi-Iranian locale crushed
that bad assumption since there the separator is 'Momayyez',
glyphwise looking somewhat like a slash, and in Unicode UTF-8
encoded in two bytes, 0xd9 0xab.

p4raw-id: //depot/perl@8625

23 years agoMicroperl sync.
Jarkko Hietaniemi [Tue, 30 Jan 2001 19:41:41 +0000]
Microperl sync.

p4raw-id: //depot/perl@8622

23 years agoprotect VMS test harness from chdir switcheroo
Craig A. Berry [Mon, 29 Jan 2001 22:51:29 +0000]
protect VMS test harness from chdir switcheroo
Message-Id: <p04330101b69bef0ebab4@[172.16.52.1]>

p4raw-id: //depot/perl@8618

23 years agoAdd missing CV flags to dump.c
Tim Jenness [Mon, 29 Jan 2001 21:48:55 +0000]
Add missing CV flags to dump.c
Message-ID: <Pine.LNX.4.30.0101292144280.14179-100000@lapaki.jach.hawaii.edu>

p4raw-id: //depot/perl@8617

23 years agoUTF-8 nit from Inaba Hiroto.
Jarkko Hietaniemi [Tue, 30 Jan 2001 18:18:51 +0000]
UTF-8 nit from Inaba Hiroto.

p4raw-id: //depot/perl@8615

23 years agoIntegrate changes #8608,8609,8610,8611,8612,8613 from maintperl.
Jarkko Hietaniemi [Tue, 30 Jan 2001 18:13:38 +0000]
Integrate changes #8608,8609,8610,8611,8612,8613 from maintperl.

perl's internal variables are not for public consumption,
move their docs from perlapi.pod to perlintern.pod

support for -Dusethreads build under HP-UX 10.20 and DCE threads
library (11.0 and later have pthreads but 10.x don't)

avoid uninitialized value warnings

canonicalize paths when doing chdir() on windows (or Cwd::getcwd()
gets weird results)

perldoc nit on windows

make it possible to run the tests outside the source tree
(there's still a dependency on ../lib being the library
location)

p4raw-link: @8612 on //depot/maint-5.6/perl: 21b80573951053245624647c6ea0077acae22b99
p4raw-link: @8611 on //depot/maint-5.6/perl: 706e8e4d2d0a6985197cb1cb76dc3d2575cd159e
p4raw-link: @8610 on //depot/maint-5.6/perl: fc1aae957f18d75529c72450055ab0d424b7d318
p4raw-link: @8609 on //depot/maint-5.6/perl: 13b98125bf15a4dfacaa2c6f56d3742c97180500
p4raw-link: @8608 on //depot/maint-5.6/perl: f893c726cdaa1ccdec167db9b2ff5c2fdc19e29b

p4raw-id: //depot/perl@8614
p4raw-integrated: from //depot/maint-5.6/perl@8596 'copy in'
t/lib/dprof/V.pm t/op/flip.t utils/perldoc.PL (@8159..)
win32/bin/search.pl (@8166..) t/io/tell.t (@8175..)
hints/hpux.sh (@8601..) thread.h (@8606..) 'ignore'
pod/perlintern.pod (@7766..) pod/perlapi.pod (@8605..) 'merge
in' intrpvar.h t/base/term.t (@7895..) win32/vdir.h (@8156..)
thrdvar.h (@8602..) perlapi.c (@8606..)

23 years agoSignedness nit.
Jarkko Hietaniemi [Tue, 30 Jan 2001 02:16:17 +0000]
Signedness nit.

p4raw-id: //depot/perl@8596

23 years agoEBCDIC patch for Storable, from Peter Prymmer.
Jarkko Hietaniemi [Tue, 30 Jan 2001 02:11:07 +0000]
EBCDIC patch for Storable, from Peter Prymmer.

p4raw-id: //depot/perl@8595

23 years agoyet another tweak to lib/b.t for EBCDIC
Peter Prymmer [Mon, 29 Jan 2001 16:51:38 +0000]
yet another tweak to lib/b.t for EBCDIC
Message-ID: <Pine.OSF.4.10.10101291646320.230748-100000@aspara.forte.com>

p4raw-id: //depot/perl@8594

23 years agopod problems in io
Peter Prymmer [Mon, 29 Jan 2001 16:46:25 +0000]
pod problems in io
Message-ID: <Pine.OSF.4.10.10101291636420.230748-100000@aspara.forte.com>

p4raw-id: //depot/perl@8593

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 30 Jan 2001 00:48:20 +0000]
Integrate perlio:

[  8591]
GNU 'merge' Simon's copy of perliol.pod with version
patched by Craig's patch.

[  8590]
PerlIO doc tweaks from Craig A. Berry <craig.berry@psinetcs.com>

p4raw-link: @8591 on //depot/perlio: 9d79914594fed2aeeee07968feace7d26f9332c9
p4raw-link: @8590 on //depot/perlio: 3039a93d20f525d68a979d28a46c6bc76a0d463e

p4raw-id: //depot/perl@8592

23 years agoGNU 'merge' Simon's copy of perliol.pod with version
Nick Ing-Simmons [Mon, 29 Jan 2001 22:02:28 +0000]
GNU 'merge' Simon's copy of perliol.pod with version
patched by Craig's patch.

p4raw-id: //depot/perlio@8591

23 years agoPerlIO doc tweaks from Craig A. Berry <craig.berry@psinetcs.com>
Nick Ing-Simmons [Mon, 29 Jan 2001 21:55:10 +0000]
PerlIO doc tweaks from Craig A. Berry <craig.berry@psinetcs.com>

p4raw-id: //depot/perlio@8590

23 years agoIntegrate change #8586 from maint-5.6/perl.
Jarkko Hietaniemi [Mon, 29 Jan 2001 15:35:33 +0000]
Integrate change #8586 from maint-5.6/perl.

make the BOM detection code not call tell() until it has to
(meant to fix esoteric compatibility issues where PL_rsfp
is overridden)

p4raw-link: @8586 on //depot/maint-5.6/perl: 7b18f0b9fd425b568b9ff49e195709c84e549b71

p4raw-id: //depot/perl@8589
p4raw-integrated: from //depot/maint-5.6/perl@8588 'merge in' toke.c
(@8579..)

23 years agoMAking Solaris malloc() the default
Lupe Christoph [Mon, 29 Jan 2001 12:59:36 +0000]
MAking Solaris malloc() the default
Message-ID: <20010129125936.Z4830@alanya.lupe-christoph.de>

The README.solaris part slightly tweaked.

p4raw-id: //depot/perl@8588

23 years ago[ID 20010128.003] [PATCH] perlre.pod \b buglet
root@ak-75.mind.de [Sun, 28 Jan 2001 20:32:29 +0000]
[ID 20010128.003] [PATCH] perlre.pod \b buglet
Message-Id: <200101281932.UAA15768@ak-75.mind.de>

p4raw-id: //depot/perl@8587

23 years agoUpdate Changes.
Jarkko Hietaniemi [Sun, 28 Jan 2001 20:05:45 +0000]
Update Changes.

p4raw-id: //depot/perl@8585

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 28 Jan 2001 19:30:02 +0000]
Integrate perlio:

[  8582]
Add pod/perliol.pod to MANIFEST :-(

[  8581]
PerlIO documentation. Proofing and sub-editing requested.

p4raw-link: @8582 on //depot/perlio: d5ed24328bb9459af92b6545aa51dd9d971234f0
p4raw-link: @8581 on //depot/perlio: 50b80e251bdb7e866faeb20ccfeb18b474ffc6cb

p4raw-id: //depot/perl@8584

23 years agoPatch from Inaba Hiroto:
Jarkko Hietaniemi [Sun, 28 Jan 2001 19:28:40 +0000]
Patch from Inaba Hiroto:
- canonical UTF-8 hash keys: if a key string for a hash is
  UTF8-on, try downgrade the string and use it if
  unicode::distinct is not in effect.
  For the task, I added a function bytes_from_utf8() to utf8.c.
  It might resemble utf8_to_bytes() but it is not convenient
  to the task.
  Made a test for it and added to t/op/each.t
- Changed do_print in doio.c to apply sv_utf8_(downgrade|upgrade) to
  the mortal copy of the argument SV.
  And changed t/io/utf8.t test 18 which expects print() to
  upgrade its argument.
- re-implement sv_eq with bytes_from_utf8()
- some bug fixes
  - tr/// does not handle UTF8 range (\x{}-\x{})
  - \ before raw UTF8 character produced
    "Malformed UTF-8 character" warning.
  - "\x{100}\N{CENT SIGN}" is Malformed.
    Added tests for these 3.
  - and one silly bug (by me) with qu operator.

p4raw-id: //depot/perl@8583

23 years agoAdd pod/perliol.pod to MANIFEST :-(
Nick Ing-Simmons [Sun, 28 Jan 2001 19:25:04 +0000]
Add pod/perliol.pod to MANIFEST :-(

p4raw-id: //depot/perlio@8582

23 years agoPerlIO documentation. Proofing and sub-editing requested.
Nick Ing-Simmons [Sun, 28 Jan 2001 19:22:40 +0000]
PerlIO documentation. Proofing and sub-editing requested.

p4raw-id: //depot/perlio@8581

23 years agoRetract #8552.
Jarkko Hietaniemi [Sun, 28 Jan 2001 02:06:12 +0000]
Retract #8552.

p4raw-id: //depot/perl@8573

23 years agoIntegrate mainline
Nick Ing-Simmons [Sat, 27 Jan 2001 11:10:38 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8567

23 years agoMore documentation for the regexp context stack.
Jarkko Hietaniemi [Sat, 27 Jan 2001 06:22:48 +0000]
More documentation for the regexp context stack.

p4raw-id: //depot/perl@8566

23 years agoUpdate Changes.
Jarkko Hietaniemi [Sat, 27 Jan 2001 05:21:57 +0000]
Update Changes.

p4raw-id: //depot/perl@8565

23 years agoThreadedness patch for #8562 from Doug MacEachern.
Jarkko Hietaniemi [Sat, 27 Jan 2001 04:44:04 +0000]
Threadedness patch for #8562 from Doug MacEachern.

p4raw-id: //depot/perl@8564

23 years ago[ID 20000808.005] OP_REFGEN as an lvalue
Stephen McCamant [Thu, 25 Jan 2001 01:17:21 +0000]
[ID 20000808.005] OP_REFGEN as an lvalue
Message-ID: <14959.59703.507462.978833@soda.csua.berkeley.edu>

p4raw-id: //depot/perl@8563

23 years agoRe: Announce : Tokener reporting patch
Simon Cozens [Mon, 22 Jan 2001 02:17:22 +0000]
Re: Announce : Tokener reporting patch
Message-ID: <20010122021722.A9334@pembro26.pmb.ox.ac.uk>

p4raw-id: //depot/perl@8562

23 years agoForgot from #8545. Oops.
Jarkko Hietaniemi [Sat, 27 Jan 2001 04:17:24 +0000]
Forgot from #8545.  Oops.

p4raw-id: //depot/perl@8561

23 years agoA better module compilation test, use MANIFEST as suggested
Jarkko Hietaniemi [Sat, 27 Jan 2001 03:01:47 +0000]
A better module compilation test, use MANIFEST as suggested
by Spider.

p4raw-id: //depot/perl@8560

23 years agoEBCDIC cleanup for B test
Peter Prymmer [Fri, 26 Jan 2001 16:38:08 +0000]
EBCDIC cleanup for B test
Message-ID: <Pine.OSF.4.10.10101261635400.14820-100000@aspara.forte.com>

p4raw-id: //depot/perl@8559

23 years agoEBCDIC branch for pragma/sub-lval.t
Peter Prymmer [Fri, 26 Jan 2001 16:05:11 +0000]
EBCDIC branch for pragma/sub-lval.t
Message-ID: <Pine.OSF.4.10.10101261603460.14820-100000@aspara.forte.com>

p4raw-id: //depot/perl@8558

23 years agoa peek at uuencoded EBCDIC (st-06compat.t)
Peter Prymmer [Fri, 26 Jan 2001 14:47:46 +0000]
a peek at uuencoded EBCDIC (st-06compat.t)
Message-ID: <Pine.OSF.4.10.10101261443561.14820-100000@aspara.forte.com>

p4raw-id: //depot/perl@8557

23 years agominor update to README.os390
Peter Prymmer [Fri, 26 Jan 2001 14:33:27 +0000]
minor update to README.os390
Message-ID: <Pine.OSF.4.10.10101261425560.14820-100000@aspara.forte.com>

p4raw-id: //depot/perl@8556

23 years agoNo point in checking the length before we know whether the pointer
Jarkko Hietaniemi [Sat, 27 Jan 2001 00:35:47 +0000]
No point in checking the length before we know whether the pointer
is bogus or not, fixes Abigail's odbm failures in Linux.

p4raw-id: //depot/perl@8555

23 years agoIntegrate mainline
Nick Ing-Simmons [Fri, 26 Jan 2001 19:01:31 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8554

23 years ago(Retracted by #8573)
Michael G. Schwern [Fri, 26 Jan 2001 09:28:31 +0000]
(Retracted by #8573)

Subject: [PATCH Text::Wrap 2000.06292219] Spurious leading whitespace
Message-ID: <20010126092831.A15328@blackrider.aocn.com>

p4raw-id: //depot/perl@8552

23 years agoIntegrate mainline
Nick Ing-Simmons [Thu, 25 Jan 2001 19:42:30 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8550

23 years agoLayout using tabulator is not a good idea in a pod.
Jarkko Hietaniemi [Thu, 25 Jan 2001 14:49:05 +0000]
Layout using tabulator is not a good idea in a pod.

p4raw-id: //depot/perl@8547

23 years agooverload int()
Ilya Zakharevich [Wed, 24 Jan 2001 19:06:57 +0000]
overload int()
Message-ID: <20010124190657.A8512@math.ohio-state.edu>

p4raw-id: //depot/perl@8545

23 years agocompletion and docs for dynamic loading on OS/390
Peter Prymmer [Wed, 24 Jan 2001 17:17:14 +0000]
completion and docs for dynamic loading on OS/390
Message-ID: <Pine.OSF.4.10.10101241706120.411912-100000@aspara.forte.com>

p4raw-id: //depot/perl@8544

23 years agoIntegrate mainline.
Nick Ing-Simmons [Tue, 23 Jan 2001 19:30:57 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@8534

23 years agoForgotten from #8501.
Jarkko Hietaniemi [Tue, 23 Jan 2001 16:15:46 +0000]
Forgotten from #8501.

p4raw-id: //depot/perl@8533

23 years agoRE: [PATCH perl@8269] Corrections for Perl_yylex_r (used by a reentrant parser as...
Roca, Ignasi [Mon, 22 Jan 2001 17:51:58 +0000]
RE: [PATCH perl@8269] Corrections for Perl_yylex_r (used by a reentrant parser as Bison)
Message-ID: <5930DC161690D21196670090271575470397E915@madt009a.siemens.es>

p4raw-id: //depot/perl@8532

23 years agoUpdate Changes.
Jarkko Hietaniemi [Tue, 23 Jan 2001 15:46:01 +0000]
Update Changes.

p4raw-id: //depot/perl@8531

23 years agoDe-cut-and-pasto.
Jarkko Hietaniemi [Tue, 23 Jan 2001 15:38:39 +0000]
De-cut-and-pasto.

p4raw-id: //depot/perl@8530

23 years agoDocument the mkdir trailing slashes case.
Jarkko Hietaniemi [Tue, 23 Jan 2001 15:11:04 +0000]
Document the mkdir trailing slashes case.

p4raw-id: //depot/perl@8529

23 years agolib/lib.pm is arch dependent, and lib/lib_pm.PL shouldn't
Abigail [Mon, 28 Aug 2000 20:35:08 +0000]
lib/lib.pm is arch dependent, and lib/lib_pm.PL shouldn't
get installed:

Subject: lib/lib.pm
Message-ID: <20000829003508.21281.qmail@foad.org>

p4raw-id: //depot/perl@8528

23 years agoAttach -perlio to the archname if so selected.
Jarkko Hietaniemi [Tue, 23 Jan 2001 14:43:19 +0000]
Attach -perlio to the archname if so selected.

p4raw-id: //depot/perl@8526

23 years agopod/perlvar.pod
Abigail [Tue, 23 Jan 2001 01:41:10 +0000]
pod/perlvar.pod
Message-ID: <20010123004110.22259.qmail@foad.org>

p4raw-id: //depot/perl@8525

23 years agoA bug introduced in #8217 (the undefined variable in the
Jarkko Hietaniemi [Tue, 23 Jan 2001 14:22:32 +0000]
A bug introduced in #8217 (the undefined variable in the
lib/safe1_t #3) fixed, by Charles Lane:

The earlier patch made it so that stuff running in Safe
compartments could do a "caller" and see "main".  That
little change in name is done right before the code in
the compartment is run, and apparantly the parser
was picking up the stash name before it got changed.

(why it was threaded vs. unthreaded Perl that was sensitive to this
I still don't know...and it probably doesn't matter).

I tryed removing the stash name-change and saw that threaded Perl
did indeed pass the lib/safe1.t tests.

So here's a patch; a routine (_safe_pkg_prep) is added to Opcode to
do the name change (and to connect _ in the compartment to the global
_) which is removed from _safe_call_sv.   Then Safe.pm is modified
to call _safe_pkg_prep when creating a new compartment.

Passes all tests with threaded perl on linux; passes all tests
with unthreaded perl on VMS.

At some point I'll probably want to revisit Safe and Opcode to
provide more sensible handling of global variables...and to get
formats working in Safe compartments, which they don't do currently.

p4raw-id: //depot/perl@8524

23 years agoAlso the lib/Thread.pm itself needs to be ignored if
Jarkko Hietaniemi [Tue, 23 Jan 2001 14:11:58 +0000]
Also the lib/Thread.pm itself needs to be ignored if
the Thread extension hasn't been built.

p4raw-id: //depot/perl@8523

23 years agoprint() instead of warn() so that stderr doesn't get
Jarkko Hietaniemi [Tue, 23 Jan 2001 13:51:28 +0000]
print() instead of warn() so that stderr doesn't get
unnecessarily polluted.

p4raw-id: //depot/perl@8522

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Tue, 23 Jan 2001 13:49:48 +0000]
Integrate perlio:

[  8520]
More messing with Encode:
Extra fields in header to allow multiple names and to record
other things "compile" knows.
Re-organise compile to factor out common output routines.

[  8519]
Change file-of-files command line from -F to -f to avoid case issues on VMS.

p4raw-link: @8520 on //depot/perlio: dcda1f94ccf07b68dc3a74b49b117aa6026f2557
p4raw-link: @8519 on //depot/perlio: 3865e8e16e47e0d7cb9fff45bba4e84e396abd42

p4raw-id: //depot/perl@8521

23 years agoMore messing with Encode:
Nick Ing-Simmons [Mon, 22 Jan 2001 21:44:00 +0000]
More messing with Encode:
  Extra fields in header to allow multiple names and to record
  other things "compile" knows.
  Re-organise compile to factor out common output routines.

p4raw-id: //depot/perlio@8520

23 years agoChange file-of-files command line from -F to -f to avoid case issues on VMS.
Nick Ing-Simmons [Mon, 22 Jan 2001 20:33:50 +0000]
Change file-of-files command line from -F to -f to avoid case issues on VMS.

p4raw-id: //depot/perlio@8519

23 years agoIntegrate mainline
Nick Ing-Simmons [Mon, 22 Jan 2001 20:28:13 +0000]
Integrate mainline

p4raw-id: //depot/perlio@8518

23 years agoAdd sv_force_normal() to sv_utf8_downgrade() as suggested
Jarkko Hietaniemi [Mon, 22 Jan 2001 15:37:17 +0000]
Add sv_force_normal() to sv_utf8_downgrade() as suggested
by Inaba Hiroto.

p4raw-id: //depot/perl@8517

23 years agoMore SIG_SIZE fixes.
Jarkko Hietaniemi [Mon, 22 Jan 2001 14:55:15 +0000]
More SIG_SIZE fixes.

p4raw-id: //depot/perl@8516

23 years agotypo in last week's configure.com frenzy
Craig A. Berry [Mon, 22 Jan 2001 00:42:24 +0000]
typo in last week's configure.com frenzy
Message-Id: <p04330103b6917f35375b@[172.16.52.1]>

p4raw-id: //depot/perl@8515

23 years agoVMS catches up with change #8501
Craig A. Berry [Sun, 21 Jan 2001 23:03:25 +0000]
VMS catches up with change #8501
Message-Id: <p04330101b691596f577f@[172.16.52.1]>

p4raw-id: //depot/perl@8514

23 years agoAdd the .ucm encoding tables to the MANIFEST.
Jarkko Hietaniemi [Mon, 22 Jan 2001 14:14:00 +0000]
Add the .ucm encoding tables to the MANIFEST.

p4raw-id: //depot/perl@8513

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Mon, 22 Jan 2001 13:43:33 +0000]
Integrate perlio:

[  8511]
Make "real" layers of ":utf8" and ":raw".
So now PERLIO=utf8 perl ...
does what Andreas wanted.
Fix arg passing in open.pm (still have a Carp issue).

[  8508]
Switch "compiled in" encodings to .ucm format.
(Leave others as .enc till we can run-time load .ucm,
or find some other way to load them.)

p4raw-link: @8511 on //depot/perlio: dfebf9581083f76d0f88d6a3edc9e5b72e852d91
p4raw-link: @8508 on //depot/perlio: e03ac09223e234f57407d65d0cb9cc67f3394e0a

p4raw-id: //depot/perl@8512

23 years agoMake "real" layers of ":utf8" and ":raw".
Nick Ing-Simmons [Sun, 21 Jan 2001 23:44:47 +0000]
Make "real" layers of ":utf8" and ":raw".
 So now PERLIO=utf8 perl ...
does what Andreas wanted.
Fix arg passing in open.pm (still have a Carp issue).

p4raw-id: //depot/perlio@8511

23 years agoDocument the regex content pushing/popping a bit better.
Jarkko Hietaniemi [Sun, 21 Jan 2001 22:56:53 +0000]
Document the regex content pushing/popping a bit better.

p4raw-id: //depot/perl@8510

23 years agoTweak the mkdir trailing slash code some more.
Jarkko Hietaniemi [Sun, 21 Jan 2001 22:55:44 +0000]
Tweak the mkdir trailing slash code some more.

TO DO: the same handling should probably be done for
all the other filesystem functions that can have directories
as their arguments.

p4raw-id: //depot/perl@8509

23 years agoSwitch "compiled in" encodings to .ucm format.
Nick Ing-Simmons [Sun, 21 Jan 2001 21:37:43 +0000]
Switch "compiled in" encodings to .ucm format.
(Leave others as .enc till we can run-time load .ucm,
or find some other way to load them.)

p4raw-id: //depot/perlio@8508

23 years agoIntegrate (partial) mainline.
Nick Ing-Simmons [Sun, 21 Jan 2001 21:02:03 +0000]
Integrate (partial) mainline.

p4raw-id: //depot/perlio@8507

23 years agoUpdate Changes.
Jarkko Hietaniemi [Sun, 21 Jan 2001 20:09:30 +0000]
Update Changes.

p4raw-id: //depot/perl@8506

23 years agoMinor typos in perlfaq2.pod
Stephen P. Potter [Fri, 19 Jan 2001 16:01:13 +0000]
Minor typos in perlfaq2.pod
Message-Id: <200101192101.QAA11911@spotter.yi.org>

with a nit from Philip Newton.

p4raw-id: //depot/perl@8505

23 years agoSanity check for conflicting thread flavours.
Jarkko Hietaniemi [Sun, 21 Jan 2001 19:32:21 +0000]
Sanity check for conflicting thread flavours.

p4raw-id: //depot/perl@8503

23 years agoThe SIG_SIZE is the number of the elements *excluding*
Jarkko Hietaniemi [Sun, 21 Jan 2001 19:22:26 +0000]
The SIG_SIZE is the number of the elements *excluding*
the terminating NULL.

p4raw-id: //depot/perl@8501

23 years agoIntegrate perlio:
Jarkko Hietaniemi [Sun, 21 Jan 2001 18:31:31 +0000]
Integrate perlio:

[  8498]
Encode cleanup.
Add command line control over "compile" so that Makefile.PL
needs can be combined with other uses.
Use command line options in Makefile.PL.
Fix multi-byte parsing in .ucm files.

[  8497]
Warn and set errno when open(...,":encoding(xxxxx)",...) cannot find xxxxx.

[  8496]
Fixup after integrate:
missed the .sym files that are changed by regen_headers
sv.c and proto.h disagreed about pTHX_ ness of EXPECT_NUMBER.

[  8484]
Infrastructure to allow:
open($fh,"|-",@array);
to be implemented
i.e. mark pp_open as needing a stack mark, and make pp_open
process its args in that style (and pass them _all_ to tied handles OPEN).
Invent do_openn() which takes SV ** at allow it to see multiple args.
Note this does not _do_ anything yet.

p4raw-link: @8498 on //depot/perlio: afdae191a418d1363d2ddc3dcefffb0785c0a155
p4raw-link: @8497 on //depot/perlio: 52744f63cab71e4f408a2490707f42c331bb389e
p4raw-link: @8496 on //depot/perlio: 9dd79c3f9b66ee5059b4277b6f15d5bfcd846510
p4raw-link: @8484 on //depot/perlio: a567e93b903bc9849952c06533059c2f2e2fb226

p4raw-id: //depot/perl@8500

23 years agoRe: 8482 busted for $^V sprintf()s on OS/390
Hugo van der Sanden [Sun, 21 Jan 2001 13:34:05 +0000]
Re: 8482 busted for $^V sprintf()s on OS/390
Message-Id: <200101211334.NAA18121@crypt.compulink.co.uk>

In sprintf UTF8ize only if necessary.

p4raw-id: //depot/perl@8499

23 years agoEncode cleanup.
Nick Ing-Simmons [Sun, 21 Jan 2001 16:25:32 +0000]
Encode cleanup.
Add command line control over "compile" so that Makefile.PL
needs can be combined with other uses.
Use command line options in Makefile.PL.
Fix multi-byte parsing in .ucm files.

p4raw-id: //depot/perlio@8498

23 years agoWarn and set errno when open(...,":encoding(xxxxx)",...) cannot find xxxxx.
Nick Ing-Simmons [Sun, 21 Jan 2001 12:56:27 +0000]
Warn and set errno when open(...,":encoding(xxxxx)",...) cannot find xxxxx.

p4raw-id: //depot/perlio@8497

23 years agoFixup after integrate:
Nick Ing-Simmons [Sun, 21 Jan 2001 12:18:45 +0000]
Fixup after integrate:
 missed the .sym files that are changed by regen_headers
 sv.c and proto.h disagreed about pTHX_ ness of EXPECT_NUMBER.

p4raw-id: //depot/perlio@8496

23 years agoIntegrate mainline.
Nick Ing-Simmons [Sun, 21 Jan 2001 11:51:07 +0000]
Integrate mainline.

p4raw-id: //depot/perlio@8495

23 years agoForgot the expect_number() prototype.
Jarkko Hietaniemi [Sat, 20 Jan 2001 23:12:11 +0000]
Forgot the expect_number() prototype.

p4raw-id: //depot/perl@8494

23 years agoREADME.vms URL updates
Peter Prymmer [Fri, 19 Jan 2001 18:59:02 +0000]
README.vms URL updates
Message-ID: <Pine.OSF.4.10.10101191856510.61572-100000@aspara.forte.com>

Plus Craig A. Berry's suggestion to use compaq.com instead
of digital.com.

p4raw-id: //depot/perl@8493

23 years agoMemory management calls documentation.
Jarkko Hietaniemi [Sat, 20 Jan 2001 22:50:05 +0000]
Memory management calls documentation.

p4raw-id: //depot/perl@8492

23 years agoSignedness nit plus few memcpy/Copy nits.
Jarkko Hietaniemi [Sat, 20 Jan 2001 22:38:33 +0000]
Signedness nit plus few memcpy/Copy nits.

p4raw-id: //depot/perl@8491

23 years agominor typos in some dl_$foo.xs files
Peter Prymmer [Fri, 19 Jan 2001 18:43:14 +0000]
minor typos in some dl_$foo.xs files
Message-ID: <Pine.OSF.4.10.10101191841080.61505-100000@aspara.forte.com>

p4raw-id: //depot/perl@8490