This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
23 years agointegrate changes#5966..5970 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:42:59 +0000 (03:42 +0000)]
integrate changes#5966..5970 from mainline

add testsuite for B backends, fix bug in B::Deparse (from
Simon Cozens <simon@brecon.co.uk>)

improved docs on the warn_uninit diagnostic (from David Glasser
and Simon Cozens)

tolerate spaces in group names in test on solaris (from David Boyce
<dsb@boyski.com>)

fix Sys::Syslog breakage on domain sockets (from Tom Hughes)

Data::Dumper fumbles negative numbers on 32-bit platforms where
IV is >32bits

p4raw-link: @5970 on //depot/perl: f32b5c8a3d480bafef9db5bbadcdd4567494b8f9
p4raw-link: @5966 on //depot/perl: ccc418afe29dc1a46726ff554dab77d8858db74a

p4raw-id: //depot/maint-5.6/perl@7277

23 years agointegrate change#5965 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:39:30 +0000 (03:39 +0000)]
integrate change#5965 from mainline

avoid "will not stay shared" warnings for our variables (from
Robin Barker)

p4raw-link: @5965 on //depot/perl: 741b63383b6473fc5bf0b6dda1bdea3b4455a006

p4raw-id: //depot/maint-5.6/perl@7276

23 years agointegrate change#5964 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:38:18 +0000 (03:38 +0000)]
integrate change#5964 from mainline

reformat to 72 columns (again)

p4raw-link: @5964 on //depot/perl: be771a8335850a64de9dd531dd7856961d24c430

p4raw-id: //depot/maint-5.6/perl@7275

23 years agointegrate change#5963 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:36:58 +0000 (03:36 +0000)]
integrate change#5963 from mainline

patch from Larry to make (\&) prototype work; added tests for
the same

p4raw-link: @5963 on //depot/perl: 75fc29ea54ba4d478cc0c602155e9d1eac8964e1

p4raw-id: //depot/maint-5.6/perl@7274

23 years agointegrate changes#5956..5962 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:35:51 +0000 (03:35 +0000)]
integrate changes#5956..5962 from mainline

better diagnostics on failed tests (from Ilya Zakharevich)

pod nits (from A. C. Yardley <yardley@tanet.net>)

change#3569 deleted some essential code, revert; avoid use of
atexit() to make DynaLoader work properly on AIX under mod_perl
(from Jens-Uwe Mager <jum@helios.de>)

doubled words in pods (from Simon Cozens
<simon.p.cozens@jp.pwcglobal.com>)

better INSTALL notes on Solaris issues (from Dominic Dunlop)

recognize our, CHECK and INIT in cperl-mode (from Doug MacEachern)

updated README.hpux (from Jeff Okamoto)

p4raw-link: @5962 on //depot/perl: f74a9bd30d3c2206b2400120919ced20a68f30b0
p4raw-link: @5956 on //depot/perl: f0047d3230fc461fd73cd320460e2d28aa944e73
p4raw-link: @3569 on //depot/perl: 054b02d6604bb3beeebed2d8a040d025b131c9a6

p4raw-id: //depot/maint-5.6/perl@7273

23 years agointegrate change#5955 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:31:22 +0000 (03:31 +0000)]
integrate change#5955 from mainline

longstanding bug exposed by change#3307: sort arguments weren't
compiled with the right wantarray context (ensuing runtime lookup
via block_gimme() was getting the incidental context of the
sort() itself)

p4raw-link: @5955 on //depot/perl: 8e3f9bdf33f266c6e827493ca82149fc1598579a
p4raw-link: @3307 on //depot/perl: 82092f1dcd6e496644fe74540fa706cb390be431

p4raw-id: //depot/maint-5.6/perl@7272
p4raw-integrated: from //depot/perl@5955 'copy in' t/op/sort.t
(@5815..) op.c (@5927..)

23 years agointegrate changes#5933,5935,5940..5944,5946,5951,5952 from cfgperl
Gurusamy Sarathy [Mon, 16 Oct 2000 03:29:11 +0000 (03:29 +0000)]
integrate changes#5933,5935,5940..5944,5946,5951,5952 from cfgperl
branch

Flatten the cpp jungle doing the nosuid checking.

Do not assume sign propagation. (from M.J.T. Guy)

Various Unicos 10.0.0.6 fixes. (from Mark Lutz)

Add HAS_FREXPL, HAS_ISNAN, HAS_ISNANL, and HAS_MODFL.
Now pp_ncmp() returns undef is either operand is a NaN.

On second thoughts frexp() does have two arguments.

Document that tr() is not tr(1).

Be more robust on "extreme" (large absolute value)
arguments.  Originally reported by Daniel Connelly
as a problem with asinh() on large negative arguments,
asinh() used to bail out because an argument to log()
ended up being zero.  Ilya Zakharevich proposed using
Taylor's series in such cases, which for such large
arguments is a very good approximation.

Undo "use integer" addition from 64bitint as it seems
to break most of the subtests in Digital UNIX;
Unicos needs to find another way.

p4raw-link: @5946 on //depot/cfgperl: cc255d5f98c29ad53a83e8a6c100b03ac8715700
p4raw-link: @5944 on //depot/cfgperl: dff3e0b830e328ebcc74f828846237175fcfa600
p4raw-link: @5940 on //depot/cfgperl: 8bda1795263a5b700b86a63303514e5d538dd644
p4raw-link: @5935 on //depot/cfgperl: 85e0ebd8793b17cfbac766abc03b5fff57b2b2cd
p4raw-link: @5933 on //depot/cfgperl: 6439433f25b10ec5d9ab02cf0758bdbcfdffe5ff

p4raw-id: //depot/maint-5.6/perl@7271

23 years agointegrate changes#5948,5949,5950 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:09:44 +0000 (03:09 +0000)]
integrate changes#5948,5949,5950 from mainline

typo in vars.pm that leads to cryptic message (from Piotr
Piatkowski <kompas@kompas.usr.onet.pl>)

make perldoc use the pod2man from the same version (from
M.J.T. Guy)

reformat perldiag to avoid long lines

p4raw-link: @5950 on //depot/perl: 75b44862ccfe91d9314cf0481cf385d225bfe78b
p4raw-link: @5949 on //depot/perl: 14178d348d5e4cc1291b5c8895bf9f630e485832
p4raw-link: @5948 on //depot/perl: 3d842d7f4e7f029b47e8a1043b5550350838fb43

p4raw-id: //depot/maint-5.6/perl@7270

23 years agointegrate change#5947 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:05:54 +0000 (03:05 +0000)]
integrate change#5947 from mainline

use &dl_error rather than &dl_load_file as the guard for calling
boot_DynaLoader() (meant to fix dl_error() redefined warnings in
statically built perl)

p4raw-link: @5947 on //depot/perl: b4cea2271f29371e2e2e0dc880d921b95d676b12

p4raw-id: //depot/maint-5.6/perl@7269

23 years agointegrate change#5945 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:04:48 +0000 (03:04 +0000)]
integrate change#5945 from mainline

make module name mandatory after -M switch; reorder perldiag
alphabetically (from Mark-Jason Dominus)

p4raw-link: @5945 on //depot/perl: 6df41af287665da86827e04cbbf0dae1bbd4c94e

p4raw-id: //depot/maint-5.6/perl@7268

23 years agointegrate change#5939 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:03:01 +0000 (03:03 +0000)]
integrate change#5939 from mainline

more pod nits (from Larry Virden)

p4raw-link: @5939 on //depot/perl: a2293a43268c593a8a95d38299057a646f0fb089

p4raw-id: //depot/maint-5.6/perl@7267

23 years agointegrate change#5938 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:01:39 +0000 (03:01 +0000)]
integrate change#5938 from mainline

Consolidated B::Deparse fixes (from Stephen McCamant)

p4raw-link: @5938 on //depot/perl: 6f611a1a07288b915db6721d056da56a6d688631

p4raw-id: //depot/maint-5.6/perl@7266

23 years agointegrate change#5936 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 03:00:43 +0000 (03:00 +0000)]
integrate change#5936 from mainline

additional tests for change#7263 (from Paul Marquess)

p4raw-link: @7263 on //depot/maint-5.6/perl: 11c6c2d2c9012c11650e035a228520458671a751
p4raw-link: @5936 on //depot/perl: 16ff42566a5ab7496ac9e327544d2413ee51edf3

p4raw-id: //depot/maint-5.6/perl@7265

23 years agointegrate change#5934 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:58:34 +0000 (02:58 +0000)]
integrate change#5934 from mainline

propagate lexical warnings from surrounding scope correctly
within string eval() (from Paul Marquess)

p4raw-link: @5934 on //depot/perl: f0a6fc868045c83877fa78e3e0f6f0be236d2a27

p4raw-id: //depot/maint-5.6/perl@7264

23 years agointegrate change#5932 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:56:53 +0000 (02:56 +0000)]
integrate change#5932 from mainline

add rsignal(), whichsig() and do_join() to public API list
(mod_perl uses them to good advantage)

p4raw-link: @5932 on //depot/perl: 412d7f2ac8b8d226b5ba373178f4ce457f246032

p4raw-id: //depot/maint-5.6/perl@7263

23 years agointegrate change#5931 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:55:53 +0000 (02:55 +0000)]
integrate change#5931 from mainline

fix RE brokenness on refs/overloaded things (from Ilya Zakharevich)

p4raw-link: @5931 on //depot/perl: 05b4157f6fee2ece5589511f927d566b229523f9

p4raw-id: //depot/maint-5.6/perl@7262

23 years agointegrate change#5930 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:55:01 +0000 (02:55 +0000)]
integrate change#5930 from mainline

small os390 tweaks (from Peter Prymmer)

p4raw-link: @5930 on //depot/perl: ceda4f9bd200878375d13c58d9a0b95f9d15724b

p4raw-id: //depot/maint-5.6/perl@7261
p4raw-integrated: from //depot/perl@7260 'copy in' makedepend.SH
(@5443..)
p4raw-integrated: from //depot/perl@5930 'copy in' config_h.SH
(@5892..)

23 years agointegrate change#5929 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:54:10 +0000 (02:54 +0000)]
integrate change#5929 from mainline

pod nits

p4raw-link: @5929 on //depot/perl: 8870b5c7e468bf26269024a1229e6ad51bcb3798

p4raw-id: //depot/maint-5.6/perl@7260
p4raw-integrated: from //depot/perl@5929 'copy in' pod/perlguts.pod
(@5917..)

23 years agointegrate change#5927 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:52:55 +0000 (02:52 +0000)]
integrate change#5927 from mainline

arrange for next() to resume at the unstack op rather than the
loop conditional, so that scope cleanup happens correctly
(from Stephen McCamant)

p4raw-link: @5927 on //depot/perl: 855383171f82b0033b4163a01d30ba375967a9d0

p4raw-id: //depot/maint-5.6/perl@7259

23 years agointegrate change#5926 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:51:38 +0000 (02:51 +0000)]
integrate change#5926 from mainline

on windows, reserve 16M of stack rather than 128M (allows more
threads to run concurrently)

p4raw-link: @5926 on //depot/perl: 32b22042d2a54453bc0d4b6b7f1d2123903a49be

p4raw-id: //depot/maint-5.6/perl@7258
p4raw-integrated: from //depot/perl@5926 'copy in' win32/Makefile
win32/makefile.mk (@5889..)

23 years agointegrate change#5925 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:50:37 +0000 (02:50 +0000)]
integrate change#5925 from mainline

POSIX-BC tweak (from Ignasi Roca <ignasi.roca@fujitsu.siemens.es>)

p4raw-link: @5925 on //depot/perl: 774a9426b458453030df1c98b66ac127ef21eeb4

p4raw-id: //depot/maint-5.6/perl@7257
p4raw-integrated: from //depot/perl@5925 'copy in' toke.c (@5851..)

23 years agointegrate change#5924 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:49:36 +0000 (02:49 +0000)]
integrate change#5924 from mainline

avoid using uninitialized memory in require version check

p4raw-link: @5924 on //depot/perl: 4305d8abee2315e02cb395dec9deede4e7f9f179

p4raw-id: //depot/maint-5.6/perl@7256
p4raw-integrated: from //depot/perl@5924 'copy in' universal.c
(@5912..) pp_ctl.c (@5914..)

23 years agointegrate changes#5923,5928,6009 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:48:03 +0000 (02:48 +0000)]
integrate changes#5923,5928,6009 from mainline

IO::Poll bugs fixed (from Lincoln Stein <lstein@cshl.org>)

p4raw-link: @6009 on //depot/perl: c8aac49750e64fa298173e55691b4af8a48992fe
p4raw-link: @5928 on //depot/perl: 334f17bde01003b370737ba39ab0a63542aca6dc
p4raw-link: @5923 on //depot/perl: 8bcaa1dfb69612366728f7905b96ca3f11eafd21

p4raw-id: //depot/maint-5.6/perl@7255
p4raw-integrated: from //depot/perl@7254 'edit in'
ext/IO/lib/IO/Poll.pm (@5928..)
p4raw-integrated: from //depot/perl@6009 'copy in' t/lib/io_poll.t
(@5266..)

23 years agointegrate change#5922 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:44:46 +0000 (02:44 +0000)]
integrate change#5922 from mainline

commentary about IoTYPE() (from Nathan Torkington)

p4raw-link: @5922 on //depot/perl: 03fcf2fcc9e751244339c3773a608a59a66f59e8

p4raw-id: //depot/maint-5.6/perl@7254

23 years agointegrate change#5921 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:43:49 +0000 (02:43 +0000)]
integrate change#5921 from mainline

make eq unicode-aware (from Gisle Aas); fix bogus tests revealed

p4raw-link: @5921 on //depot/perl: c5cc35007718d4b8a82486110aec2d59e69a4f79

p4raw-id: //depot/maint-5.6/perl@7253

23 years agointegrate change#5920 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:42:31 +0000 (02:42 +0000)]
integrate change#5920 from mainline

Larry's fix for buggy propagation of utf8-ness in join(); add test

p4raw-link: @5920 on //depot/perl: 8dbfaa5d36ec189ba6941f2f7fc195eeb1133e3f

p4raw-id: //depot/maint-5.6/perl@7252

23 years agointegrate changes#5915..5919 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:41:14 +0000 (02:41 +0000)]
integrate changes#5915..5919 from mainline

various (pod tweaks &c)

p4raw-link: @5919 on //depot/perl: f542ffb367db39e7b23dc65e66936110ad283e81on //depot/metaconfig: f3dcc0361213aced1426f867a58b956e13735fcc
p4raw-link: @5915 on //depot/perl: 6ba81f13e82fbd0c09e1f9e57f15d1b48ef61c8b

p4raw-id: //depot/maint-5.6/perl@7251

23 years agointegrate change#5914 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:38:16 +0000 (02:38 +0000)]
integrate change#5914 from mainline

caller() wasn't returning the right number of elements for
eval {...}

p4raw-link: @5914 on //depot/perl: 811a4de936cdd31b057f2952efd5352bfccbaef0

p4raw-id: //depot/maint-5.6/perl@7250

23 years agointegrate change#5913 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:37:02 +0000 (02:37 +0000)]
integrate change#5913 from mainline

pod nit: $yday range for localtime/gmtime is 0..364 not 1..365
(from Mark-Jason Dominus)

p4raw-link: @5913 on //depot/perl: 874b18133d8cd6ab29e7805e88ba1ecb668b632a

p4raw-id: //depot/maint-5.6/perl@7249

23 years agointegrate change#5912 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:35:58 +0000 (02:35 +0000)]
integrate change#5912 from mainline

fix totally broken caching in UNIVERSAL::isa() (from
Nick Ing-Simmons)

p4raw-link: @5912 on //depot/perl: 46e4b22b349f2fc617bcb5c937a01a6be391d76f

p4raw-id: //depot/maint-5.6/perl@7248

23 years agointegrate changes#5910,5911 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:34:27 +0000 (02:34 +0000)]
integrate changes#5910,5911 from mainline

typo in pod

add linebreak properties from unicode/LineBrk.txt (from
Dave Hartnoll <Dave_Hartnoll@3b2.com>)

p4raw-link: @5911 on //depot/perl: a77b4ae565b96b8c105f16b41208cbbafb447a74
p4raw-link: @5910 on //depot/perl: 7284b4ab7ff638e1d3459e352767847bc6c9e7ff
p4raw-link: @3 on //depot/thrperl: a4f68e9b64464684b732bc17fd65ed4a1aa4708c

p4raw-id: //depot/maint-5.6/perl@7247

23 years agointegrate change#5909 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:33:29 +0000 (02:33 +0000)]
integrate change#5909 from mainline

mode argument to do_binmode() should be file mode, not boolean

p4raw-link: @5909 on //depot/perl: 100be497fd1deb257705c1648aa68435e70846c6

p4raw-id: //depot/maint-5.6/perl@7246

23 years agointegrate change#5908 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:31:04 +0000 (02:31 +0000)]
integrate change#5908 from mainline

introduce illegal symbols into null package so that
gv_fetchpv(...,TRUE) always returns a valid GV even when the
symbol is trapped by strictures (avoids coredumps)

p4raw-link: @5908 on //depot/perl: f180df804d1cde858e3e94db2f42efcc697d07d9

p4raw-id: //depot/maint-5.6/perl@7245

23 years agointegrate changes#5905,5906,5907,6064 from mainline
Gurusamy Sarathy [Mon, 16 Oct 2000 02:26:51 +0000 (02:26 +0000)]
integrate changes#5905,5906,5907,6064 from mainline

printf/sprintf didn't get quad types right under use64bitint

p4raw-link: @6064 on //depot/perl: be28567c7b4a66645fbbd71964c8c6819169207c
p4raw-link: @5907 on //depot/cfgperl: 7cfcdf208eb7eff0b6f8313f1a5b14880681119d
p4raw-link: @5906 on //depot/cfgperl: c3151b5bff1507258038c60db5a81e30ddecd245
p4raw-link: @5905 on //depot/cfgperl: 686fa4bb8e88f0c9a36218cdbf3c49f4a7b93b2a

p4raw-id: //depot/maint-5.6/perl@7242
p4raw-integrated: from //depot/perl@6064 'edit in' pp_sys.c (@6032..)
sv.c (@6061..)

23 years agobe more optimal about clearing @_
Gurusamy Sarathy [Thu, 8 Jun 2000 14:54:21 +0000 (14:54 +0000)]
be more optimal about clearing @_

p4raw-id: //depot/perl@6216

23 years agotweak comment about @DB::args
Gurusamy Sarathy [Thu, 8 Jun 2000 14:33:04 +0000 (14:33 +0000)]
tweak comment about @DB::args

p4raw-id: //depot/perl@6215

23 years ago@_ can't have junk in it even in the non-USE_ITHREADS case because
Gurusamy Sarathy [Thu, 8 Jun 2000 13:57:54 +0000 (13:57 +0000)]
@_ can't have junk in it even in the non-USE_ITHREADS case because
caller() wants to populate @DB::args with it (causes a coredump
in Carp::confess())

p4raw-id: //depot/perl@6214

23 years agoback out change#6106 (seems problematic)
Gurusamy Sarathy [Thu, 8 Jun 2000 07:06:35 +0000 (07:06 +0000)]
back out change#6106 (seems problematic)

p4raw-link: @6106 on //depot/cfgperl: e10d0c8254dbe3d4b5c3b2ddb628e61762ab88b4

p4raw-id: //depot/perl@6213

23 years agoPerl_eval_pv() leaks 4 bytes every time it is called because it
Gurusamy Sarathy [Tue, 6 Jun 2000 00:42:59 +0000 (00:42 +0000)]
Perl_eval_pv() leaks 4 bytes every time it is called because it
does a PUSHMARK that's never ever POPMARKed; in general, only
Perl_call_[sp]v() need a PUSHMARK for incoming arguments;
Perl_eval_[sp]v() don't because they don't take any incoming
arguments (this leak has been around since the original version
of perl_eval_pv() in 5.003_97e)

p4raw-id: //depot/perl@6201

23 years agofix yet another eval"" leak under USE_ITHREADS
Gurusamy Sarathy [Fri, 2 Jun 2000 22:43:13 +0000 (22:43 +0000)]
fix yet another eval"" leak under USE_ITHREADS

p4raw-id: //depot/perl@6195

23 years agofix small eval"" memory leaks under USE_ITHREADS
Gurusamy Sarathy [Fri, 2 Jun 2000 18:22:06 +0000 (18:22 +0000)]
fix small eval"" memory leaks under USE_ITHREADS

p4raw-id: //depot/perl@6194

23 years agovec() loses numericalness (modified version of patch suggested
Gurusamy Sarathy [Thu, 1 Jun 2000 09:38:21 +0000 (09:38 +0000)]
vec() loses numericalness (modified version of patch suggested
by Robin Barker)

p4raw-id: //depot/perl@6191

23 years agosubmit missing embed.pl change
Gurusamy Sarathy [Thu, 1 Jun 2000 09:26:15 +0000 (09:26 +0000)]
submit missing embed.pl change

p4raw-id: //depot/perl@6190

23 years agocounting tr/// corrupts later operation (from M.J.T Guy)
Gurusamy Sarathy [Thu, 1 Jun 2000 09:05:34 +0000 (09:05 +0000)]
counting tr/// corrupts later operation (from M.J.T Guy)

p4raw-id: //depot/perl@6189

23 years agoh2xs tweaks
Gurusamy Sarathy [Thu, 1 Jun 2000 08:58:39 +0000 (08:58 +0000)]
h2xs tweaks

p4raw-id: //depot/perl@6188

23 years agoreplace pod2latex with the one in Pod-LaTeX v0.52 from CPAN
Gurusamy Sarathy [Thu, 1 Jun 2000 08:50:07 +0000 (08:50 +0000)]
replace pod2latex with the one in Pod-LaTeX v0.52 from CPAN
(from Tim Jenness <t.jenness@jach.hawaii.edu>)

p4raw-id: //depot/perl@6187

23 years agofurther qualify references to "alphanumeric" (from Wolfgang Laun
Gurusamy Sarathy [Thu, 1 Jun 2000 08:24:40 +0000 (08:24 +0000)]
further qualify references to "alphanumeric" (from Wolfgang Laun
<wolfgang.laun@alcatel.at>)

p4raw-id: //depot/perl@6186

23 years agoremove incorrect documentation about implicit split to @_ in
Gurusamy Sarathy [Thu, 1 Jun 2000 08:12:00 +0000 (08:12 +0000)]
remove incorrect documentation about implicit split to @_ in
list context, which never really worked in perl 5 (from
M.J.T. Guy)

p4raw-id: //depot/perl@6185

23 years agotweak for change#6127
Gurusamy Sarathy [Thu, 1 Jun 2000 07:52:27 +0000 (07:52 +0000)]
tweak for change#6127

p4raw-link: @6127 on //depot/perl: 968b39461011b9bd1e503c77c95c2eeec281b946

p4raw-id: //depot/perl@6184

23 years agoSelfLoader can lose $@ in AUTOLOAD() (from Nicholas Clark
Gurusamy Sarathy [Thu, 1 Jun 2000 07:41:02 +0000 (07:41 +0000)]
SelfLoader can lose $@ in AUTOLOAD() (from Nicholas Clark
<nick@ccl4.org>)

p4raw-id: //depot/perl@6183

23 years agobuggy modulus on UVs introduced by change#3378 (resulted in
Gurusamy Sarathy [Wed, 31 May 2000 22:37:51 +0000 (22:37 +0000)]
buggy modulus on UVs introduced by change#3378 (resulted in
4063328477 % 65535 amounting to 27406, instead of 27407)

p4raw-link: @3378 on //depot/perl: 25da4f389200e19df8aa50bcef9af9506f48ed2e

p4raw-id: //depot/perl@6179

23 years agofix buggy multiline matching of C<"a\nxb\n" =~ /(?!\A)x/m>
Gurusamy Sarathy [Wed, 31 May 2000 05:05:42 +0000 (05:05 +0000)]
fix buggy multiline matching of C<"a\nxb\n" =~ /(?!\A)x/m>
(from Ilya Zakharevich)

p4raw-id: //depot/perl@6172

23 years agoscalar() doesn't force scalar context when used in void context
Gurusamy Sarathy [Wed, 31 May 2000 05:01:47 +0000 (05:01 +0000)]
scalar() doesn't force scalar context when used in void context
(from Simon Cozens)

p4raw-id: //depot/perl@6171

23 years agochange#6142 needs tweaks to tests to work where there's no symlink()
Gurusamy Sarathy [Wed, 31 May 2000 04:41:33 +0000 (04:41 +0000)]
change#6142 needs tweaks to tests to work where there's no symlink()
(from Helmut Jarausch <jarausch@igpm.rwth-aachen.de>)

p4raw-link: @6142 on //depot/perl: 704ea872433dd6d5a1c650f509289fdea5c037ab

p4raw-id: //depot/perl@6170

23 years agointegrate cfgperl contents into mainline
Gurusamy Sarathy [Wed, 31 May 2000 04:29:49 +0000 (04:29 +0000)]
integrate cfgperl contents into mainline

p4raw-id: //depot/perl@6169

23 years agoTweak NV_PRESERVES_UV*, vms/subconfigure.com left untouched.
Jarkko Hietaniemi [Tue, 30 May 2000 22:53:37 +0000 (22:53 +0000)]
Tweak NV_PRESERVES_UV*, vms/subconfigure.com left untouched.

p4raw-id: //depot/cfgperl@6168

23 years agotweak todo
Jarkko Hietaniemi [Tue, 30 May 2000 22:20:21 +0000 (22:20 +0000)]
tweak todo

p4raw-id: //depot/cfgperl@6167

23 years agoIntroduce HAS_GETESPWNAM, HAS_GETPRPWNAM, and I_PROT
Jarkko Hietaniemi [Tue, 30 May 2000 22:11:51 +0000 (22:11 +0000)]
Introduce HAS_GETESPWNAM, HAS_GETPRPWNAM, and I_PROT
in case somebody wants to write an extension for more
shadow database interfaces.

p4raw-id: //depot/cfgperl@6166

23 years agoIntegrate with Sarathy.
Jarkko Hietaniemi [Tue, 30 May 2000 18:35:34 +0000 (18:35 +0000)]
Integrate with Sarathy.

p4raw-id: //depot/cfgperl@6165

23 years agodetypo
Jarkko Hietaniemi [Tue, 30 May 2000 18:30:16 +0000 (18:30 +0000)]
detypo

p4raw-id: //depot/cfgperl@6164

23 years agofix memory leak in C<eval "BEGIN {}"> (bug in change#4579)
Gurusamy Sarathy [Tue, 30 May 2000 03:24:03 +0000 (03:24 +0000)]
fix memory leak in C<eval "BEGIN {}"> (bug in change#4579)

p4raw-link: @4579 on //depot/perl: ed094fafab5cc8979a919ec8755493543b6bddf5

p4raw-id: //depot/perl@6163

23 years agofix memory leak in method call optimization (change#3768);
Gurusamy Sarathy [Tue, 30 May 2000 03:09:38 +0000 (03:09 +0000)]
fix memory leak in method call optimization (change#3768);
made C<eval "$x->foo()"> leak

p4raw-link: @3768 on //depot/perl: f5d5a27c761624409884a263632e1a922439502b

p4raw-id: //depot/perl@6162

23 years agoAdd autogeneration of perlmodlib.pod and the new perlnewmod.pod,
Jarkko Hietaniemi [Mon, 29 May 2000 17:56:26 +0000 (17:56 +0000)]
Add autogeneration of perlmodlib.pod and the new perlnewmod.pod,
both from Simon Cozens.

p4raw-id: //depot/cfgperl@6161

23 years agoChanges for the File::Temp 0.08 (change #6159) test suite
Jarkko Hietaniemi [Mon, 29 May 2000 17:23:55 +0000 (17:23 +0000)]
Changes for the File::Temp 0.08 (change #6159) test suite
to fit better into the Perl distribution test framework.

p4raw-link: @6159 on //depot/cfgperl: 1c19c86813086fb9efca2171c6506afe1bfe8cc4

p4raw-id: //depot/cfgperl@6160

23 years agoUpgrade to File::Temp 0.08 from Tim Jenness via CPAN.
Jarkko Hietaniemi [Mon, 29 May 2000 16:55:36 +0000 (16:55 +0000)]
Upgrade to File::Temp 0.08 from Tim Jenness via CPAN.

p4raw-id: //depot/cfgperl@6159

23 years agoAdd fallback to tmpfile for use in cases where user's relying on
Charles Bailey [Mon, 29 May 2000 16:22:08 +0000 (16:22 +0000)]
Add fallback to tmpfile for use in cases where user's relying on
       ACLs on SYS$SCRATCH to permit file creation. (based on Charles
       Lane's patch)

p4raw-id: //depot/vmsperl@6158

23 years agoRegen Configure to jive with #6149.
Jarkko Hietaniemi [Mon, 29 May 2000 03:10:36 +0000 (03:10 +0000)]
Regen Configure to jive with #6149.

p4raw-id: //depot/cfgperl@6157

23 years agoIntegrate with Sarathy.
Jarkko Hietaniemi [Mon, 29 May 2000 03:01:38 +0000 (03:01 +0000)]
Integrate with Sarathy.

p4raw-id: //depot/cfgperl@6156

23 years agosmall bug in change#6144; remove random \xA0 character that snuck
Gurusamy Sarathy [Sun, 28 May 2000 21:15:58 +0000 (21:15 +0000)]
small bug in change#6144; remove random \xA0 character that snuck
in via change#6145

p4raw-link: @6145 on //depot/perl: e03d20b37534005291cfa8844300128459541e0e
p4raw-link: @6144 on //depot/perl: 0eb0485562acdea1555bc121d0e989d63a918d26

p4raw-id: //depot/perl@6155

23 years agoavoid type mismatch warning
Gurusamy Sarathy [Sun, 28 May 2000 21:04:19 +0000 (21:04 +0000)]
avoid type mismatch warning

p4raw-id: //depot/perl@6154

23 years agoprettier Test::Harness output on failed tests (from Nicholas Clark
Gurusamy Sarathy [Sun, 28 May 2000 20:58:31 +0000 (20:58 +0000)]
prettier Test::Harness output on failed tests (from Nicholas Clark
<nick@Bagpuss.uk.boo.com>)

p4raw-id: //depot/perl@6153

23 years agocosmetic fixups of RE debug output (from Ilya Zakharevich)
Gurusamy Sarathy [Sun, 28 May 2000 20:53:42 +0000 (20:53 +0000)]
cosmetic fixups of RE debug output (from Ilya Zakharevich)

p4raw-id: //depot/perl@6152

23 years agofix accidental pessimization in RE optimizer (from Ilya Zakharevich)
Gurusamy Sarathy [Sun, 28 May 2000 20:50:28 +0000 (20:50 +0000)]
fix accidental pessimization in RE optimizer (from Ilya Zakharevich)

p4raw-id: //depot/perl@6151

23 years agoperlrequick.pod updates (from Mark Kvale <kvale@phy.ucsf.edu>)
Gurusamy Sarathy [Sun, 28 May 2000 20:39:58 +0000 (20:39 +0000)]
perlrequick.pod updates (from Mark Kvale <kvale@phy.ucsf.edu>)

p4raw-id: //depot/perl@6150

23 years agoOS/2 tweaks for usethreads build (from Rocco Caputo
Gurusamy Sarathy [Sun, 28 May 2000 20:35:16 +0000 (20:35 +0000)]
OS/2 tweaks for usethreads build (from Rocco Caputo
<troc@netrus.net>)

p4raw-id: //depot/perl@6149

23 years agoclose open file before chmod() (from Rocco Caputo <troc@netrus.net>)
Gurusamy Sarathy [Sun, 28 May 2000 20:21:07 +0000 (20:21 +0000)]
close open file before chmod() (from Rocco Caputo <troc@netrus.net>)

p4raw-id: //depot/perl@6148

23 years agoadd a make entry to Config.pm so "perl -V:make" works on VMS
Gurusamy Sarathy [Sun, 28 May 2000 20:12:41 +0000 (20:12 +0000)]
add a make entry to Config.pm so "perl -V:make" works on VMS
(from Peter Prymmer)

p4raw-id: //depot/perl@6147

23 years agodoc typo
Gurusamy Sarathy [Sun, 28 May 2000 20:06:15 +0000 (20:06 +0000)]
doc typo

p4raw-id: //depot/perl@6146

23 years agomake xsubpp skip embedded pod (from Matthias Neeracher
Gurusamy Sarathy [Sun, 28 May 2000 18:44:33 +0000 (18:44 +0000)]
make xsubpp skip embedded pod (from Matthias Neeracher
<neeri@iis.ee.ethz.ch>)

p4raw-id: //depot/perl@6145

23 years agoMacOS support, part 2: make AutoSplit use File::Spec instead
Gurusamy Sarathy [Sun, 28 May 2000 18:42:49 +0000 (18:42 +0000)]
MacOS support, part 2: make AutoSplit use File::Spec instead
of assuming Unixisms; *UNTESTED on Unix* (from Matthias Neeracher
<neeri@iis.ee.ethz.ch>)

p4raw-id: //depot/perl@6144

23 years agoMacOS support, part 1 (from Matthias Neeracher
Gurusamy Sarathy [Sun, 28 May 2000 18:41:12 +0000 (18:41 +0000)]
MacOS support, part 1 (from Matthias Neeracher
<neeri@iis.ee.ethz.ch>)

p4raw-id: //depot/perl@6143

23 years agoFile::Find fails to chdir when chasing symlinks (from
Gurusamy Sarathy [Sun, 28 May 2000 18:21:51 +0000 (18:21 +0000)]
File::Find fails to chdir when chasing symlinks (from
Helmut Jarausch <jarausch@igpm.rwth-aachen.de>)

p4raw-id: //depot/perl@6142

23 years agoBSD/OS (bsdi) hints update by Timur I. Bakeyev and Todd C. Miller,
Jarkko Hietaniemi [Sun, 28 May 2000 14:25:15 +0000 (14:25 +0000)]
BSD/OS (bsdi) hints update by Timur I. Bakeyev and Todd C. Miller,
forwarded by Peter Seebach from the bsdi-users mailing list.
p5p Message-Id: <200005280543.AAA24519@guild.plethora.net>

p4raw-id: //depot/perl@6141

23 years agoIntegrate with Sarathy.
Jarkko Hietaniemi [Sun, 28 May 2000 14:11:57 +0000 (14:11 +0000)]
Integrate with Sarathy.

p4raw-id: //depot/cfgperl@6140

23 years agorevise mktables.PL for bugs and newness in Unicode 3.0
Gurusamy Sarathy [Sun, 28 May 2000 10:01:48 +0000 (10:01 +0000)]
revise mktables.PL for bugs and newness in Unicode 3.0
(from James Bence <jbence@amgen.com>)

p4raw-id: //depot/perl@6139

23 years agoadd note about the handling of negative indices to tied arrays
Gurusamy Sarathy [Sun, 28 May 2000 08:50:32 +0000 (08:50 +0000)]
add note about the handling of negative indices to tied arrays
(from Michael G Schwern <schwern@pobox.com>)

p4raw-id: //depot/perl@6138

23 years agofix bogus redeclaration warning for "our" variables in different
Gurusamy Sarathy [Sun, 28 May 2000 08:46:10 +0000 (08:46 +0000)]
fix bogus redeclaration warning for "our" variables in different
scopes

p4raw-id: //depot/perl@6137

23 years agorandom pod typos (from Peter Scott <Peter@PSDT.com>)
Gurusamy Sarathy [Sun, 28 May 2000 08:31:20 +0000 (08:31 +0000)]
random pod typos (from Peter Scott <Peter@PSDT.com>)

p4raw-id: //depot/perl@6136

23 years agoenable Test::Harness to dynamically determine column width etc.
Gurusamy Sarathy [Sun, 28 May 2000 08:17:50 +0000 (08:17 +0000)]
enable Test::Harness to dynamically determine column width etc.
(from Rob Napier <rnapier@employees.org>)

p4raw-id: //depot/perl@6135

23 years agomake Test::Harness use wait.h/WCOREDUMP if available
Gurusamy Sarathy [Sun, 28 May 2000 08:13:39 +0000 (08:13 +0000)]
make Test::Harness use wait.h/WCOREDUMP if available
(from Ben Tilly <ben_tilly@hotmail.com>)

p4raw-id: //depot/perl@6134

23 years agoelide bogus test in change#6132
Gurusamy Sarathy [Sun, 28 May 2000 08:08:05 +0000 (08:08 +0000)]
elide bogus test in change#6132

p4raw-link: @6132 on //depot/perl: 114bafba71b4fe6a08258e1f6dfc504b5d9fd70c

p4raw-id: //depot/perl@6133

23 years agowarnings::enabled() doesn't fall back to looking at $^W if
Gurusamy Sarathy [Sun, 28 May 2000 08:03:14 +0000 (08:03 +0000)]
warnings::enabled() doesn't fall back to looking at $^W if
caller isn't using lexical warnings (from Paul Marquess)

p4raw-id: //depot/perl@6132

23 years agoavoid warnings in POSIX.pm (from Barrie Slaymaker)
Gurusamy Sarathy [Sun, 28 May 2000 07:57:47 +0000 (07:57 +0000)]
avoid warnings in POSIX.pm (from Barrie Slaymaker)

p4raw-id: //depot/perl@6131

23 years agofix places that mean C<"word" character> but say C<alphanumeric
Gurusamy Sarathy [Sun, 28 May 2000 07:29:12 +0000 (07:29 +0000)]
fix places that mean C<"word" character> but say C<alphanumeric
character>

p4raw-id: //depot/perl@6130

23 years agoVMS test harness tweak (from Jesper Naur <jesper.naur@post.tele.dk>)
Gurusamy Sarathy [Sun, 28 May 2000 07:18:41 +0000 (07:18 +0000)]
VMS test harness tweak (from Jesper Naur <jesper.naur@post.tele.dk>)

p4raw-id: //depot/perl@6129

23 years agonew perlxstut example for passing/returning refs to arrays
Gurusamy Sarathy [Sun, 28 May 2000 07:12:55 +0000 (07:12 +0000)]
new perlxstut example for passing/returning refs to arrays
(from David Lowe <dlowe@pootpoot.com>)

p4raw-id: //depot/perl@6128

23 years agocall_method(...,G_EVAL) can longjmp() out if the method probing
Gurusamy Sarathy [Sun, 28 May 2000 07:02:50 +0000 (07:02 +0000)]
call_method(...,G_EVAL) can longjmp() out if the method probing
failed (from Gisle Aas)

p4raw-id: //depot/perl@6127

23 years agochange#2879 broke rvalue autovivification of magicals such as ${$num}
Gurusamy Sarathy [Sun, 28 May 2000 06:39:53 +0000 (06:39 +0000)]
change#2879 broke rvalue autovivification of magicals such as ${$num}
(reworked variant of patch suggested by Simon Cozens)

p4raw-link: @2879 on //depot/perl: 35cd451c5a1303394968903750cc3b3a1a6bc892

p4raw-id: //depot/perl@6126

23 years agoenable propagating exception objects via Perl_croak() in XS code
Gurusamy Sarathy [Sun, 28 May 2000 05:14:55 +0000 (05:14 +0000)]
enable propagating exception objects via Perl_croak() in XS code
(from Gisle Aas)

p4raw-id: //depot/perl@6125

23 years agointegrate vmsperl contents into mainline
Gurusamy Sarathy [Sun, 28 May 2000 05:07:28 +0000 (05:07 +0000)]
integrate vmsperl contents into mainline

p4raw-id: //depot/perl@6124