This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
21 years agoRe: [perl #15439] unreferenced scalar due to double DESTROY
Dave Mitchell [Sun, 19 Jan 2003 16:43:54 +0000 (16:43 +0000)]
Re: [perl #15439] unreferenced scalar due to double DESTROY
Message-ID: <20030119164353.B24444@fdgroup.com>

p4raw-id: //depot/perl@18554

21 years agoTerm::Complete problem + fix (Was: Re: muttprofile + perl 5.8)
Martti Rahkila [Sat, 18 Jan 2003 00:25:39 +0000 (02:25 +0200)]
Term::Complete problem + fix (Was: Re: muttprofile + perl 5.8)
Message-ID: <20030118002539.A30585@wurlitzer.hut.fi>

(chose the 'even safer' version)

p4raw-id: //depot/perl@18553

21 years agoassert PV isn't RV
Nicholas Clark [Fri, 17 Jan 2003 19:40:45 +0000 (19:40 +0000)]
assert PV isn't RV
Message-ID: <20030117194044.GB297@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@18552

21 years agoIntegrate from maint-5.8:
Jarkko Hietaniemi [Wed, 22 Jan 2003 12:28:11 +0000 (12:28 +0000)]
Integrate from maint-5.8:
[ 18375]
Better version of change #18370; use the new 'E' flag
so that cxinc is exposed (as cpp) only to List::Util
(well, any extension) (well, anyone who does -DPERL_EXT),
no need to export it globally.
p4raw-link: @18375 on //depot/maint-5.8/perl: c8ec9884b4dd9ffdd0a7d1514952a74c55bfab3e
p4raw-link: @18370 on //depot/maint-5.8/perl: 94115b5677e78fbc3321ad88fedfaa3b6bc804bf

p4raw-id: //depot/perl@18551
p4raw-integrated: from //depot/maint-5.8/perl@18545 'copy in'
ext/List/Util/Makefile.PL (@17645..) 'merge in' embed.fnc
embed.h global.sym (@18370..)

21 years ago#if defined(__irix__) (for stdio invalidate) from Jarkko.
Nick Ing-Simmons [Wed, 22 Jan 2003 12:27:48 +0000 (12:27 +0000)]
#if defined(__irix__) (for stdio invalidate) from Jarkko.

p4raw-id: //depot/perlio@18550

21 years agoReport layer name (without arg) on fail, and attempt to
Nick Ing-Simmons [Wed, 22 Jan 2003 09:06:23 +0000 (09:06 +0000)]
Report layer name (without arg) on fail, and attempt to
autoload layer name. (Fix for [perl #20460]).

p4raw-id: //depot/perlio@18549

21 years agoAdd defined(__osf__) case to invalidate_fileno (for Tru64).
Nick Ing-Simmons [Wed, 22 Jan 2003 08:47:24 +0000 (08:47 +0000)]
Add defined(__osf__) case to invalidate_fileno (for Tru64).

p4raw-id: //depot/perlio@18548

21 years agoTweak APItest for new semantics of printf.
Nick Ing-Simmons [Wed, 22 Jan 2003 08:32:59 +0000 (08:32 +0000)]
Tweak APItest for new semantics of printf.
Now printf() is always real printf() and not #define'd to
PerlIO_stdoutf() so PerlIO_flush() when STDOUT is redirected
back to original file does not affect stdout unless we are
using :stdio as implementation. So things printf()ed XS side
are not written to file (and turn up at end of test).
So add an XS function which does fflush(stdout), modify .pm
file to export it and .t file to call it.

p4raw-id: //depot/perlio@18547

21 years agoIntegrate mainline
Nick Ing-Simmons [Wed, 22 Jan 2003 08:26:14 +0000 (08:26 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@18546

21 years agoAUTHORS correction
Richard Soderberg [Wed, 22 Jan 2003 02:08:13 +0000 (21:08 -0500)]
AUTHORS correction
Message-Id: <45B4D3AE-2DD8-11D7-8CF9-000393801F84@crystalflame.net>

p4raw-id: //depot/perl@18545

21 years agoContinuation of #18542.
Jarkko Hietaniemi [Wed, 22 Jan 2003 03:45:01 +0000 (03:45 +0000)]
Continuation of #18542.

p4raw-id: //depot/perl@18544

21 years agoUpdate the MD5 checksums.
Jarkko Hietaniemi [Wed, 22 Jan 2003 03:21:23 +0000 (03:21 +0000)]
Update the MD5 checksums.

p4raw-id: //depot/perl@18543

21 years ago#18530 misses a couple of pTHX definitions
Hugo van der Sanden [Wed, 22 Jan 2003 01:37:52 +0000 (01:37 +0000)]
#18530 misses a couple of pTHX definitions

p4raw-id: //depot/perl@18542

21 years agoTry to make including patchlevel.h a bit more
Jarkko Hietaniemi [Tue, 21 Jan 2003 22:08:51 +0000 (22:08 +0000)]
Try to make including patchlevel.h a bit more
robust (use <> instead of "") and in case of
failure (PERL_VERSION didn't get defined) try
to fail (by trying to #include an "obviously"
named file that should not exist) (didn't use
#error since IIRC older cpps do not have it)
(Tries to address [perl #20276].)

p4raw-id: //depot/perl@18541

21 years agostdio does NOT set errno==EBADF on invalidated fileno
Nick Ing-Simmons [Tue, 21 Jan 2003 20:53:00 +0000 (20:53 +0000)]
stdio does NOT set errno==EBADF on invalidated fileno

p4raw-id: //depot/perlio@18540

21 years agoTry the invalidate_fileno() idea for non-leaky stdio sockets.
Nick Ing-Simmons [Tue, 21 Jan 2003 20:22:55 +0000 (20:22 +0000)]
Try the invalidate_fileno() idea for non-leaky stdio sockets.

p4raw-id: //depot/perlio@18539

21 years agoRe: FreeBSD 5 hints patch
Yitzchak Scott-Thoennes [Mon, 30 Dec 2002 18:01:16 +0000 (10:01 -0800)]
Re: FreeBSD 5 hints patch
       Message-ID: <spPE+gzkg+6F092yn@efn.org>

p4raw-id: //depot/perl@18538

21 years agoAllow explicit -C enable/disable by -C:1/-C:0
Jarkko Hietaniemi [Tue, 21 Jan 2003 14:18:40 +0000 (14:18 +0000)]
Allow explicit -C enable/disable by -C:1/-C:0
(suggested by Peter Haworth).

p4raw-id: //depot/perl@18536

21 years agoPATCH: perldoc in MAINT branch (probably unstable too)
Chip Turner [Thu, 2 Jan 2003 11:35:57 +0000 (06:35 -0500)]
PATCH: perldoc in MAINT branch (probably unstable too)
Message-ID: <vzksmwb8q6q.fsf@minbar.devel.redhat.com>

p4raw-id: //depot/perl@18534

21 years agoRe: [perl #17757] s///g fails when using English & study in 5.8.0
Hugo van der Sanden [Thu, 2 Jan 2003 14:33:49 +0000 (14:33 +0000)]
Re: [perl #17757] s///g fails when using English & study in 5.8.0
Message-Id: <200301021433.h02EXno03562@crypt.compulink.co.uk>

p4raw-id: //depot/perl@18533

21 years agoRe: [perl #19236] perlsyn: implicit localisation in while()
Martien Verbruggen [Tue, 31 Dec 2002 16:42:28 +0000 (03:42 +1100)]
Re: [perl #19236] perlsyn: implicit localisation in while()
Message-Id: <slrnb12bi4.4tt.mgjv@martien.heliotrope.home>

p4raw-id: //depot/perl@18532

21 years agointegrate #18366-18370 from maint-5.8:
Hugo van der Sanden [Tue, 21 Jan 2003 01:52:49 +0000 (01:52 +0000)]
integrate #18366-18370 from maint-5.8:
Implement the CPP namespace protection from [perl #8610];
unless a function has an 'A' flag, it's defined only if
PERL_CORE.  (Why do we have so many many functions with an
'A' flag, is another matter.)  (The number of #ifdef PERL_COREs
could be cut down further by having a state variable and
inserting #ifdefs and #endifs when the state flips.)

Caught by change #18366; thanks to the re extension we have some
functions that are file static but yet part of "the public API"...
Maybe a new class of exportability (a new embed.fnc flag) is
required for this case.

Continue on change #18367; implement the said flag, 'E'.
(Some nm output studying was needed to get the right set
of re symbols defined.)

In AIX (strict symbol exports) the cxinc is needed for List::Util.
p4raw-link: @18367 on //depot/maint-5.8/perl: 6f21c313c98cc4764e09fbbce2c8792576c90d7d
p4raw-link: @18366 on //depot/maint-5.8/perl: 704f60d9cfa8683df64f005e872b37aea8f9d60e

p4raw-id: //depot/perl@18531

21 years agointegrate (by hand) #18353 and #18359 from maint-5.8:
Hugo van der Sanden [Tue, 21 Jan 2003 01:37:03 +0000 (01:37 +0000)]
integrate (by hand) #18353 and #18359 from maint-5.8:
Introduce a cache for UTF-8 data: length and byte<->char offset
mapping are stored in a new type of magic.  Speeds up length(),
substr(), index(), rindex(), pos(), and some parts of s///.

The speedup varies a lot (on the usual suspects: what is the
access pattern of the data, compiler, CPU), but should be at
least one order of magnitude, and getting to the same magnitude
as byte string speeds, and in some cases  (length on unchanged data)
even reaching the byte string speed.  On the other hand, in some
cases (index) the byte speed is still faster by a factor of five
or so, but the bottleneck there does not seem to be any more
the byte<->char offset mapping (instead, the fbm_instr() speed).

There is one cache slot for the length, and only two for the
byte<->char offset mapping (the first one for the start->offset,
and the second for the offset->offset+length, when talking
in substr() terms).

Code this hairy is bound to have hairy trolls hiding under it.
[...]
A small tweak on top of #18353: don't display mg_len bytes of
mg_ptr for PERL_MAGIC_utf8 because that's not what's there.

p4raw-id: //depot/perl@18530

21 years agointegrate #18349 from maint-5.8:
Hugo van der Sanden [Tue, 21 Jan 2003 00:44:20 +0000 (00:44 +0000)]
integrate #18349 from maint-5.8:
At least partially address [perl #10000] by speeding
up both the ASCII case (by about 2-3%) and the UTF-8 case
(by about 45%).  The major trick is to avoid hitting the
costly S_reginclass().  (Even before this patch the speedup
since 5.8.0 was about 40-50%.)  After this the UTF-8 case is
still about 30-60% slower than the ASCII case.  (Note that
I'm unable to reproduce the 10-fold speed difference of the
original bug report; I can see a factor of 2 or 3, but no more.)

p4raw-id: //depot/perl@18529
p4raw-integrated: from //depot/maint-5.8/perl@18528 'merge in'
regexec.c (@18347..)

21 years agosilence warning
Dave Mitchell [Sun, 29 Dec 2002 15:09:31 +0000 (15:09 +0000)]
silence warning
Message-ID: <20021229150931.C2325@fdgroup.com>

p4raw-id: //depot/perl@18528

21 years agoperl version reporting
H.Merijn Brand [Wed, 18 Dec 2002 08:30:32 +0000 (09:30 +0100)]
perl version reporting
From: "H.Merijn Brand" <h.m.brand@hccnet.nl>
Message-Id: <20021218081957.ABD8.H.M.BRAND@hccnet.nl>

p4raw-id: //depot/perl@18527

21 years agoRe: When Storable and Devel::DProf mix, core dump [perl #19385]
Blair Zajac [Wed, 8 Jan 2003 12:28:35 +0000 (04:28 -0800)]
Re: When Storable and Devel::DProf mix, core dump [perl #19385]
Message-ID: <3E1C89F3.2B4759C@orcaware.com>

p4raw-id: //depot/perl@18526

21 years agoIntegrate from perlio:
Jarkko Hietaniemi [Mon, 20 Jan 2003 17:51:10 +0000 (17:51 +0000)]
Integrate from perlio:
[ 18520]
Move #define printf out of perl.h into appropriate
PerlIO files.
p4raw-link: @18520 on //depot/perlio: f2b1176c042dd0d792a0f916f759bd848210d4d8

p4raw-id: //depot/perl@18524

21 years agoUpgrade to Digest 1.02.
Jarkko Hietaniemi [Mon, 20 Jan 2003 17:48:51 +0000 (17:48 +0000)]
Upgrade to Digest 1.02.

p4raw-id: //depot/perl@18523

21 years ago[perl #20408] SV's SvPVX get freed even when its SvLEN is zero
Adrian M. Enache [Mon, 20 Jan 2003 01:54:07 +0000 (01:54 +0000)]
[perl #20408] SV's SvPVX get freed even when its SvLEN is zero
From: "enache@rdslink.ro (via RT)" <perlbug-followup@perl.org>
Message-Id: <rt-20408-49009.18.2567818321236@bugs6.perl.org>

p4raw-id: //depot/perl@18522

21 years agoRetract #18154 (integrate of perlio #18507), not enough
Jarkko Hietaniemi [Mon, 20 Jan 2003 17:37:35 +0000 (17:37 +0000)]
Retract #18154 (integrate of perlio #18507), not enough
threadsafety.

p4raw-id: //depot/perl@18521

21 years agoMove #define printf out of perl.h into appropriate
Nick Ing-Simmons [Mon, 20 Jan 2003 15:09:08 +0000 (15:09 +0000)]
Move #define printf out of perl.h into appropriate
PerlIO files.

p4raw-id: //depot/perlio@18520

21 years agoEncode MANIFEST update.
Jarkko Hietaniemi [Mon, 20 Jan 2003 12:25:43 +0000 (12:25 +0000)]
Encode MANIFEST update.

p4raw-id: //depot/perl@18519

21 years agoIntegrate mainline
Nick Ing-Simmons [Mon, 20 Jan 2003 09:37:52 +0000 (09:37 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@18518

21 years agoIntegrate #18405 from maint-5.8 which fixes whitespac
Nick Ing-Simmons [Mon, 20 Jan 2003 08:34:10 +0000 (08:34 +0000)]
Integrate #18405 from maint-5.8 which fixes whitespac
issues in open(FH,"&...")

p4raw-id: //depot/perl@18517
p4raw-integrated: from //depot/maint-5.8/perl@18516 'merge in' doio.c
(@18405..)

21 years agomicroperl update.
Jarkko Hietaniemi [Sun, 19 Jan 2003 13:48:10 +0000 (13:48 +0000)]
microperl update.

p4raw-id: //depot/perl@18516

21 years agoIntegrate from perlio:
Jarkko Hietaniemi [Sat, 18 Jan 2003 18:36:00 +0000 (18:36 +0000)]
Integrate from perlio:
[ 18507]
Thread-protection for dup/fclose/dup2 scheme of stdio leak
avoidance.
p4raw-link: @18507 on //depot/perlio: 997ec9b4c5029a8aa56f484e7b625da92e3e0521

p4raw-id: //depot/perl@18514

21 years agoSlight pod reformatting based on [perl #20284].
Jarkko Hietaniemi [Sat, 18 Jan 2003 18:07:01 +0000 (18:07 +0000)]
Slight pod reformatting based on [perl #20284].

p4raw-id: //depot/perl@18513

21 years agoEPOC perl address updates.
Jarkko Hietaniemi [Fri, 17 Jan 2003 21:00:15 +0000 (21:00 +0000)]
EPOC perl address updates.

p4raw-id: //depot/perl@18512

21 years agoUpgrade to Digest 1.01.
Jarkko Hietaniemi [Fri, 17 Jan 2003 20:23:42 +0000 (20:23 +0000)]
Upgrade to Digest 1.01.

p4raw-id: //depot/perl@18511

21 years agoTypo fixes from jmc@prioris.mini.pw.edu.pl (from openbsd.bugs)
Jarkko Hietaniemi [Fri, 17 Jan 2003 19:53:37 +0000 (19:53 +0000)]
Typo fixes from jmc@prioris.mini.pw.edu.pl (from openbsd.bugs)

p4raw-id: //depot/perl@18510

21 years agoUpgrade to Digest::MD5 2.22.
Jarkko Hietaniemi [Fri, 17 Jan 2003 19:45:11 +0000 (19:45 +0000)]
Upgrade to Digest::MD5 2.22.

p4raw-id: //depot/perl@18509

21 years agoRe: 18457 on cygwin/20030113
Nick Ing-Simmons [Fri, 17 Jan 2003 15:10:34 +0000 (15:10 +0000)]
Re: 18457 on cygwin/20030113
Message-Id: <20030117151034.2651.3@bactrian.elixent.com>

p4raw-id: //depot/perl@18508

21 years agoThread-protection for dup/fclose/dup2 scheme of stdio leak
Nick Ing-Simmons [Fri, 17 Jan 2003 14:05:27 +0000 (14:05 +0000)]
Thread-protection for dup/fclose/dup2 scheme of stdio leak
avoidance.

p4raw-id: //depot/perlio@18507

21 years agoCorrect typo (actually copy/paste of wrong thing).
Nick Ing-Simmons [Fri, 17 Jan 2003 14:04:18 +0000 (14:04 +0000)]
Correct typo (actually copy/paste of wrong thing).

p4raw-id: //depot/perlio@18506

21 years agoIntegrate from perlio:
Jarkko Hietaniemi [Fri, 17 Jan 2003 13:21:51 +0000 (13:21 +0000)]
Integrate from perlio:
[ 18476]
Remove workaround for :stdio layer bug now fixed
(Fixes #18975)
p4raw-link: @18476 on //depot/perlio: 7e56aaa774b02dc64ace76ea7efe134ad4e18d03

p4raw-id: //depot/perl@18504

21 years agoIntegrate from maint-5.6:
Jarkko Hietaniemi [Thu, 16 Jan 2003 22:53:23 +0000 (22:53 +0000)]
Integrate from maint-5.6:
[ 18477]
search utility doesn't skip exe/lib/pdb files properly on windows
p4raw-link: @18477 on //depot/maint-5.6/perl: 37af9f487a3ad816fb4a9e8724e9b7e9e9985df2

p4raw-id: //depot/perl@18502
p4raw-integrated: from //depot/maint-5.6/perl@18501 'copy in'
win32/bin/search.pl (@9312..)

21 years agoRe: [perl #19977] unlocalized $_ in File::Find clobbers upstream $_
Jos I. Boumans [Thu, 16 Jan 2003 14:04:48 +0000 (15:04 +0100)]
Re: [perl #19977] unlocalized $_ in File::Find clobbers upstream $_
From: "Jos I. Boumans" <kane@dwim.org>
Message-ID: <3E26ADF0.6010605@dwim.org>
(with test tweaks)

p4raw-id: //depot/perl@18501

21 years agoIntegrate #18447 from maint-5.8 :
Rafael Garcia-Suarez [Thu, 16 Jan 2003 21:17:14 +0000 (21:17 +0000)]
Integrate #18447 from maint-5.8 :
test.pl-ise t/op/fh.t.

p4raw-id: //depot/perl@18500
p4raw-integrated: from //depot/maint-5.8/perl@18499 'copy in' t/op/fh.t
(@17645..)

21 years agoIntegrate changes to Attribute::Handlers from maint-5.8
Richard Clamp [Mon, 9 Dec 2002 11:10:24 +0000 (11:10 +0000)]
Integrate changes to Attribute::Handlers from maint-5.8
(18404 and 18427).
Subject: [PATCH] Re: Attribute::Handlers phase variance
Message-ID: <20021209111024.GA14365@mirth.demon.co.uk>

p4raw-id: //depot/perl@18499
p4raw-integrated: from //depot/maint-5.8/perl@18498 'copy in'
lib/Attribute/Handlers.pm (@18080..)
lib/Attribute/Handlers/t/multi.t (@18404..)

21 years agoIntegrate changes #18422 and #18423 from maint-5.8.
Rafael Garcia-Suarez [Thu, 16 Jan 2003 20:48:10 +0000 (20:48 +0000)]
Integrate changes #18422 and #18423 from maint-5.8.
18422 :
Third Degree found a read of uninit memory (after setting
grent_size with sysconf(), pwent_size was read).  Also make
the ERANGE/INVARG more consistent.
18423 :
spent_size was still off.  (As far as I can tell
_SC_GETPW_R_SIZE_MAX is supposed to be used also
for spents, not just pwents.)
p4raw-link: @18422 on //depot/maint-5.8/perl: c45c44aa17d6498a967957363477eb572b803726

p4raw-id: //depot/perl@18498
p4raw-integrated: from //depot/maint-5.8/perl@18497 'copy in' reentr.h
(@17645..) reentr.c reentr.pl (@18422..)

21 years agoRe: [perl #19393] Bug in Time::localtime?
Dave Mitchell [Wed, 1 Jan 2003 21:43:24 +0000 (21:43 +0000)]
Re: [perl #19393] Bug in Time::localtime?
Message-ID: <20030101214324.F12907@fdgroup.com>
(integrated from change #18397 in maint-5.8)
p4raw-link: @18397 on //depot/maint-5.8/perl: 7bc6bea4535085425366718a732073dd9f13e3fc

p4raw-id: //depot/perl@18497
p4raw-integrated: from //depot/maint-5.8/perl@18496 'copy in'
lib/Time/Local.pm lib/Time/Local.t (@17645..)

21 years agoFix 'use encoding' I/O for code points 0x80..0xFF;
Jarkko Hietaniemi [Thu, 16 Jan 2003 20:36:23 +0000 (20:36 +0000)]
Fix 'use encoding' I/O for code points 0x80..0xFF;
code changes from Inaba Hiroto; test tweaks by jhi.

p4raw-id: //depot/perl@18496

21 years agoIt seems the binmode() is needed with UTF-8 locales enabled.
Jarkko Hietaniemi [Thu, 16 Jan 2003 20:19:36 +0000 (20:19 +0000)]
It seems the binmode() is needed with UTF-8 locales enabled.

p4raw-id: //depot/perl@18495

21 years agoUpgrade to CGI.pm 2.89.
Jarkko Hietaniemi [Thu, 16 Jan 2003 20:11:35 +0000 (20:11 +0000)]
Upgrade to CGI.pm 2.89.

p4raw-id: //depot/perl@18494

21 years agoUpdate for ext/MIME/Base64/
Gisle Aas [Mon, 30 Dec 2002 07:34:34 +0000 (23:34 -0800)]
Update for ext/MIME/Base64/
Message-ID: <lrhecvzfjp.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@18493

21 years agoUpdate for ext/Digest/MD5/
Gisle Aas [Mon, 30 Dec 2002 07:38:16 +0000 (23:38 -0800)]
Update for ext/Digest/MD5/
Message-ID: <lrd6njzfdj.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@18492

21 years agoif (0) the PL_widesyscalls code for now: Sarathy
Jarkko Hietaniemi [Thu, 16 Jan 2003 19:24:10 +0000 (19:24 +0000)]
if (0) the PL_widesyscalls code for now: Sarathy
should take another look to see whether it is really
safe to remove the code, too.

p4raw-id: //depot/perl@18491

21 years agoMake the locale-induced UTF-8-ification of STD fhs
Jarkko Hietaniemi [Thu, 16 Jan 2003 01:58:39 +0000 (01:58 +0000)]
Make the locale-induced UTF-8-ification of STD fhs
and the default file open layer explicit (either -C
or PERL_UTF8_LOCALE), instead of implicit (and unasked-for).

p4raw-id: //depot/perl@18490

21 years agoperlrun.pod: fix -i examples
Brendan O'Dea [Sun, 12 Jan 2003 06:18:32 +0000 (17:18 +1100)]
perlrun.pod: fix -i examples
Message-ID: <20030111191832.GA19441@londo.c47.org>

p4raw-id: //depot/perl@18489

21 years agodiagnostics.pm: useful apropos description for splain
Brendan O'Dea [Sun, 12 Jan 2003 06:17:30 +0000 (17:17 +1100)]
diagnostics.pm: useful apropos description for splain
Message-ID: <20030111191730.GA19420@londo.c47.org>

p4raw-id: //depot/perl@18488

21 years agoAdd a test case for bug [perl #19545]
Rafael Garcia-Suarez [Wed, 15 Jan 2003 20:45:14 +0000 (20:45 +0000)]
Add a test case for bug [perl #19545]

p4raw-id: //depot/perl@18487

21 years agoisa() and can() didn't work on magic variables
Rafael Garcia-Suarez [Wed, 15 Jan 2003 20:34:52 +0000 (20:34 +0000)]
isa() and can() didn't work on magic variables
see Message-Id: <20030114220737.2190ba7c.rgarciasuarez@free.fr>
plus a test case by B. Goldberg

p4raw-id: //depot/perl@18486

21 years agoRe: [perl #19566] Perl 5.8.0 segfault
Stephen McCamant [Thu, 2 Jan 2003 18:08:23 +0000 (13:08 -0500)]
Re: [perl #19566] Perl 5.8.0 segfault
Message-ID: <15892.50791.692636.982873@syllepsis.MIT.EDU>
Plus a test by Jarkko
Integrated from changes 18444 and 18446 from maint-5.8

p4raw-id: //depot/perl@18485
p4raw-branched: from //depot/maint-5.8/perl@18484 'branch in'
t/op/readline.t
p4raw-integrated: from //depot/maint-5.8/perl@18446 'merge in' MANIFEST
(@18436..)
p4raw-integrated: from //depot/maint-5.8/perl@18444 'merge in' pp_hot.c
(@18173..)

21 years agoUpgrade to Time::HiRes 1.42.
Jarkko Hietaniemi [Wed, 15 Jan 2003 14:09:57 +0000 (14:09 +0000)]
Upgrade to Time::HiRes 1.42.

p4raw-id: //depot/perl@18484

21 years agoDetypo.
Jarkko Hietaniemi [Wed, 15 Jan 2003 00:23:20 +0000 (00:23 +0000)]
Detypo.

p4raw-id: //depot/perl@18483

21 years agoIntegrate change #18365 from maint-5.8 :
Rafael Garcia-Suarez [Tue, 14 Jan 2003 21:41:04 +0000 (21:41 +0000)]
Integrate change #18365 from maint-5.8 :
Doc tweak on the S_ macros.
p4raw-link: @18365 on //depot/maint-5.8/perl: 378127987ff4c88cb2a8690e8ec78a2aaeb118a0

p4raw-id: //depot/perl@18482
p4raw-integrated: from //depot/maint-5.8/perl@18365 'merge in'
pod/perlfunc.pod (@18364..)

21 years agoApparently some stdios have bugs (no! don't tell it is so!)
Jarkko Hietaniemi [Tue, 14 Jan 2003 12:40:24 +0000 (12:40 +0000)]
Apparently some stdios have bugs (no! don't tell it is so!)
or there is a corner of stdio that is substandardised.

p4raw-id: //depot/perl@18481

21 years agoEncode 1.84 broke the subtest #7, further study required.
Jarkko Hietaniemi [Tue, 14 Jan 2003 01:25:14 +0000 (01:25 +0000)]
Encode 1.84 broke the subtest #7, further study required.

p4raw-id: //depot/perl@18480

21 years agoAdd a test for encoding 'utf8'.
Jarkko Hietaniemi [Mon, 13 Jan 2003 23:13:02 +0000 (23:13 +0000)]
Add a test for encoding 'utf8'.

p4raw-id: //depot/perl@18479

21 years agoUpgrade to Encode 1.84.
Jarkko Hietaniemi [Mon, 13 Jan 2003 23:10:55 +0000 (23:10 +0000)]
Upgrade to Encode 1.84.

p4raw-id: //depot/perl@18478

21 years agoRemove workaround for :stdio layer bug now fixed
Nick Ing-Simmons [Mon, 13 Jan 2003 10:14:22 +0000 (10:14 +0000)]
Remove workaround for :stdio layer bug now fixed
(Fixes #18975)

p4raw-id: //depot/perlio@18476

21 years agoIntegrate from perlio:
Jarkko Hietaniemi [Mon, 13 Jan 2003 02:42:47 +0000 (02:42 +0000)]
Integrate from perlio:
[ 18471]
Fix #18711 and add test for it (and indeed tell on write
handles at all !

(#18711 Serious bug of tell() in perl)
p4raw-link: @18471 on //depot/perlio: 0678cb22c235366e6443f8ba36afc299093d457c

p4raw-id: //depot/perl@18475

21 years agoIntegrate from perlio:
Jarkko Hietaniemi [Mon, 13 Jan 2003 02:41:04 +0000 (02:41 +0000)]
Integrate from perlio:
[ 18470]
Fix #16306 and #16880

(#16306 Big Badda leak in Sockets)
(#16880 Memory leak with IO::Socket in Perl v5.8.0)
p4raw-link: @18470 on //depot/perlio: 9217ff3fe3ec1aad7b12d79198ffb9252d6908de

p4raw-id: //depot/perl@18474

21 years agoIntegrate perlio #18040 and #18043 (no real changes;
Jarkko Hietaniemi [Mon, 13 Jan 2003 02:38:33 +0000 (02:38 +0000)]
Integrate perlio #18040 and #18043 (no real changes;
some whitespace changes but ignored them so that Dan's
version of Encode wins)

p4raw-id: //depot/perl@18473

21 years agoIntegrate perlio to mainline:
Jarkko Hietaniemi [Mon, 13 Jan 2003 01:31:01 +0000 (01:31 +0000)]
Integrate perlio to mainline:
[ 18240]
Avoid eqtime() wiping the file (as suggested by
"Luis G. Uribe C." <GUribe@SoftHome.net>
p4raw-link: @18240 on //depot/perlio: a6bd83f0a15d2730a2e1d4ba3319cc912869b7f3

p4raw-id: //depot/perl@18472
p4raw-integrated: from //depot/perlio@18468 'copy in'
lib/ExtUtils/Command.pm (@17257..)

21 years agoFix #18711 and add test for it (and indeed tell on write
Nick Ing-Simmons [Sun, 12 Jan 2003 17:34:33 +0000 (17:34 +0000)]
Fix #18711 and add test for it (and indeed tell on write
handles at all !

p4raw-id: //depot/perlio@18471

21 years agoFix #16306 and #16880
Nick Ing-Simmons [Sun, 12 Jan 2003 14:06:15 +0000 (14:06 +0000)]
Fix #16306 and #16880

p4raw-id: //depot/perlio@18470

21 years agoIntegrate Mainline
Nick Ing-Simmons [Sun, 12 Jan 2003 09:54:42 +0000 (09:54 +0000)]
Integrate Mainline

p4raw-id: //depot/perlio@18469

21 years agoVMS perly build tweak
Craig A. Berry [Thu, 9 Jan 2003 14:44:40 +0000 (08:44 -0600)]
VMS perly build tweak
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <a05200f03ba4389ff49eb@[172.16.52.1]>

p4raw-id: //depot/perl@18468

21 years agoDocument that ${^TAINT} is read-only.
Rafael Garcia-Suarez [Thu, 9 Jan 2003 21:03:07 +0000 (21:03 +0000)]
Document that ${^TAINT} is read-only.

p4raw-id: //depot/perl@18467

21 years agoFix the doc for splitpath() in the File::Spec modules :
Rafael Garcia-Suarez [Wed, 8 Jan 2003 22:02:26 +0000 (22:02 +0000)]
Fix the doc for splitpath() in the File::Spec modules :
this function doesn't return undef in any case.

p4raw-id: //depot/perl@18465

21 years agolabel code in pp_ctl.c
Nicholas Clark [Thu, 26 Dec 2002 21:19:36 +0000 (21:19 +0000)]
label code in pp_ctl.c
Message-ID: <20021226211935.GE284@Bagpuss.unfortu.net>
(Integrated from change #18400 from maint-5.8)
p4raw-link: @18400 on //depot/maint-5.8/perl: ab4e87da5f15e988acf1c2de6c4dc8360964c519

p4raw-id: //depot/perl@18464
p4raw-integrated: from //depot/maint-5.8/perl@18400 'merge in' pp_ctl.c
(@18271..)

21 years ago[DOCPATCH] hv_store and hv_store_ent
Nicholas Clark [Wed, 1 Jan 2003 18:17:59 +0000 (18:17 +0000)]
[DOCPATCH] hv_store and hv_store_ent
Message-ID: <20030101181757.GB296@Bagpuss.unfortu.net>
(Integrated from change #18399 from maint-5.8)
p4raw-link: @18399 on //depot/maint-5.8/perl: b2b6dc3cf24b6bbbd2bcc5f30ade990aeb310850

p4raw-id: //depot/perl@18463
p4raw-integrated: from //depot/maint-5.8/perl@18462 'merge in' hv.c
(@18271..)

21 years agoIntegrate change #18391 from maint-5.8:
Rafael Garcia-Suarez [Wed, 8 Jan 2003 21:24:09 +0000 (21:24 +0000)]
Integrate change #18391 from maint-5.8:
Document the installprefix trick for compiling PASE Perl in AIX.
p4raw-link: @18391 on //depot/maint-5.8/perl: 5a241cb678264e621c90d31a1ef48b5f90c48a14

p4raw-id: //depot/perl@18462
p4raw-integrated: from //depot/maint-5.8/perl@18461 'copy in'
README.os400 (@18082..)

21 years agoIntegrate change #18362 from maint-5.8:
Rafael Garcia-Suarez [Wed, 8 Jan 2003 21:16:54 +0000 (21:16 +0000)]
Integrate change #18362 from maint-5.8:
Fix [perl #18666] (taking the more conservative approach).
p4raw-link: @18362 on //depot/maint-5.8/perl: bcd31b804be27d8e7f3a254e1ef926468a1fef19

p4raw-id: //depot/perl@18461
p4raw-integrated: from //depot/maint-5.8/perl@18460 'copy in'
lib/File/Spec/Unix.pm (@18080..)

21 years agoIntegrate change #18361 from maint-5.8:
Rafael Garcia-Suarez [Wed, 8 Jan 2003 21:14:20 +0000 (21:14 +0000)]
Integrate change #18361 from maint-5.8:
Document that the socketpair tests are unhappy in old SCO,
as per [perl #18537].
p4raw-link: @18361 on //depot/maint-5.8/perl: 4096d0de323484cdb8e1bff9fd6221ce48264172

p4raw-id: //depot/perl@18460
p4raw-integrated: from //depot/maint-5.8/perl@18459 'copy in'
pod/perl58delta.pod (@18173..)

21 years agoPerlFAQ sync.
Rafael Garcia-Suarez [Wed, 8 Jan 2003 20:48:19 +0000 (20:48 +0000)]
PerlFAQ sync.

p4raw-id: //depot/perl@18459

21 years ago%_ (was Re: [PATCH] operation on `PL_na' may be undefined)
Nicholas Clark [Thu, 26 Dec 2002 21:16:27 +0000 (21:16 +0000)]
%_ (was Re: [PATCH] operation on `PL_na' may be undefined)
Message-ID: <20021226211626.GD284@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@18456

21 years agointegrate more with report_evil_fh
Nicholas Clark [Thu, 26 Dec 2002 20:56:21 +0000 (20:56 +0000)]
integrate more with report_evil_fh
Message-ID: <20021226205620.GA16584@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@18455

21 years agoIntegrate podlators-1.25
Hugo van der Sanden [Tue, 7 Jan 2003 08:45:54 +0000 (08:45 +0000)]
Integrate podlators-1.25

p4raw-id: //depot/perl@18454

21 years agoChange the value of ${^TAINT} : 0 without taint checks,
Rafael Garcia-Suarez [Mon, 6 Jan 2003 20:31:43 +0000 (20:31 +0000)]
Change the value of ${^TAINT} : 0 without taint checks,
1 with -T, and -1 with -t or -TU.

p4raw-id: //depot/perl@18453

21 years agoVMS test adjustments
Craig A. Berry [Sat, 4 Jan 2003 11:26:00 +0000 (05:26 -0600)]
VMS test adjustments
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3E171928.1040100@mac.com>

p4raw-id: //depot/perl@18451

21 years ago[DOCPATCH] File::Copy's synopsis
Nicholas Clark [Wed, 1 Jan 2003 21:09:30 +0000 (21:09 +0000)]
[DOCPATCH] File::Copy's synopsis
Message-ID: <20030101210930.GE296@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@18441

21 years agoIntegrate change #18420 from maint-5.8:
Rafael Garcia-Suarez [Sat, 4 Jan 2003 16:31:31 +0000 (16:31 +0000)]
Integrate change #18420 from maint-5.8:
Mea culpa: the join() was the string join, not the
ithreads join().
p4raw-link: @18420 on //depot/maint-5.8/perl: dc2db835acbafd52ada4dd348b5bf804f5b81b3a

p4raw-id: //depot/perl@18440
p4raw-integrated: from //depot/maint-5.8/perl@18439 'copy in'
ext/threads/t/join.t (@18241..)

21 years ago[perl #15184] ExtUtils/t/Embed.t fails with -Duseshrplib -Dlibperl=...
Rafael Garcia-Suarez [Fri, 13 Dec 2002 00:54:43 +0000 (01:54 +0100)]
[perl #15184] ExtUtils/t/Embed.t fails with -Duseshrplib -Dlibperl=...
Message-Id: <20021213005443.3077a229.rgarciasuarez@free.fr>
Same as change 18403 for maint-5.8 branch

p4raw-id: //depot/perl@18439

21 years agoRe: [PATCH] Tiny nits in perlre.pod
Andreas König [Fri, 3 Jan 2003 00:57:15 +0000 (01:57 +0100)]
Re: [PATCH] Tiny nits in perlre.pod
Message-ID: <m33cob14x0.fsf@k242.linux.bogus>

p4raw-id: //depot/perl@18438

21 years agoThe problems.t is back.
Jarkko Hietaniemi [Sat, 4 Jan 2003 14:36:08 +0000 (14:36 +0000)]
The problems.t is back.

p4raw-id: //depot/perl@18435

21 years agoForgot to add problems.t with change #18419
Artur Bergman [Sat, 4 Jan 2003 07:43:50 +0000 (07:43 +0000)]
Forgot to add problems.t with change #18419
p4raw-link: @18419 on //depot/perl: 0405e91e9230dfa76b6164c6ed64f7dab29ff49a

p4raw-id: //depot/perl@18434

21 years agoOne more (or, rather, less) //.
Jarkko Hietaniemi [Sat, 4 Jan 2003 04:48:30 +0000 (04:48 +0000)]
One more (or, rather, less) //.

p4raw-id: //depot/perl@18432