platform/upstream/perl.git
21 years agoVMS: with this, 100% make test in Compaq C V6.5-001
Jarkko Hietaniemi [Wed, 2 Jul 2003 05:26:33 +0000 (05:26 +0000)]
VMS: with this, 100% make test in Compaq C V6.5-001
on OpenVMS Alpha V7.3-1, from Craig Berry.

p4raw-id: //depot/perl@19921

21 years agoMove the libgcc.a hack into a section for pre-1.6 NetBSD releases.
Jarkko Hietaniemi [Wed, 2 Jul 2003 05:21:23 +0000 (05:21 +0000)]
Move the libgcc.a hack into a section for pre-1.6 NetBSD releases.
The latest releases of NetBSD don't require the hack.  From
Johnny Lam.

p4raw-id: //depot/perl@19920

21 years agoAdd a new utility, Porting/Modules.
Jarkko Hietaniemi [Tue, 1 Jul 2003 20:02:33 +0000 (20:02 +0000)]
Add a new utility, Porting/Modules.

p4raw-id: //depot/perl@19918

21 years ago[PATCH] long C<=item>s in pod/perlunicode.pod
Robin Barker [Tue, 1 Jul 2003 18:21:34 +0000 (19:21 +0100)]
[PATCH] long C<=item>s in pod/perlunicode.pod
Date: Tue, 1 Jul 2003 18:21:34 +0100
Message-ID: <533D273D4014D411AB1D00062938C4D9040465A9@hotel.npl.co.uk>

Subject:  [PATCH] long C<=item>s in lib/CGI.pm
From: Robin Barker <Robin.Barker@npl.co.uk>
Message-ID: <533D273D4014D411AB1D00062938C4D9040465AA@hotel.npl.co.uk>
Date: Tue, 1 Jul 2003 18:25:17 +0100

Subject: [PATCH] long <=item>s  in lib/ExtUtils/MakeMaker/FAQ.pod
From: Robin Barker <Robin.Barker@npl.co.uk>
Date: Tue, 1 Jul 2003 18:29:09 +0100
Message-ID: <533D273D4014D411AB1D00062938C4D9040465AB@hotel.npl.co.uk>

p4raw-id: //depot/perl@19917

21 years agoB:: fixes + 'When were CVOPs gone ?'
Adrian M. Enache [Tue, 1 Jul 2003 19:51:25 +0000 (22:51 +0300)]
B:: fixes + 'When were CVOPs gone ?'
Message-ID: <20030701165125.GA1521@ratsnest.hole>

p4raw-id: //depot/perl@19916

21 years agoUpgrade to Unicode::Normalize 0.23.
Jarkko Hietaniemi [Tue, 1 Jul 2003 16:22:09 +0000 (16:22 +0000)]
Upgrade to Unicode::Normalize 0.23.

p4raw-id: //depot/perl@19915

21 years agoA naked values() caused shuffling of lib/Config.pm,
Jarkko Hietaniemi [Tue, 1 Jul 2003 13:08:44 +0000 (13:08 +0000)]
A naked values() caused shuffling of lib/Config.pm,
which in turn caused unnecessary rebuilds.

p4raw-id: //depot/perl@19914

21 years agoEven more :utf8 socket testing, now in both directions.
Jarkko Hietaniemi [Tue, 1 Jul 2003 13:01:10 +0000 (13:01 +0000)]
Even more :utf8 socket testing, now in both directions.

p4raw-id: //depot/perl@19913

21 years agoOne more test (does binmode()ing a socket succeed)
Jarkko Hietaniemi [Tue, 1 Jul 2003 12:44:32 +0000 (12:44 +0000)]
One more test (does binmode()ing a socket succeed)
and add -w.

p4raw-id: //depot/perl@19912

21 years agoTweak an existing IO test to test also the change #19910.
Jarkko Hietaniemi [Tue, 1 Jul 2003 12:38:13 +0000 (12:38 +0000)]
Tweak an existing IO test to test also the change #19910.
p4raw-link: @19910 on //depot/perl: 38af81ff258ecdcd67c7b6fdf4b602a68c7fd75f

p4raw-id: //depot/perl@19911

21 years agoIntegrate from perlio:
Jarkko Hietaniemi [Tue, 1 Jul 2003 11:18:27 +0000 (11:18 +0000)]
Integrate from perlio:
[ 19909]
binmode() should affect IoOFP() as well as IoIFP() if it is
distinct (e.g. sockets).
p4raw-link: @19909 on //depot/perlio: 5a828df094714ebe5d444cf1aea96c870ca9e452

p4raw-id: //depot/perl@19910
p4raw-integrated: from //depot/perlio@19906 'merge in' pp_sys.c
(@19868..)

21 years agoDo the "aligned contiguous" check only if the arguments
Jarkko Hietaniemi [Tue, 1 Jul 2003 08:03:17 +0000 (08:03 +0000)]
Do the "aligned contiguous" check only if the arguments
look like aligned; re-introduce the "traditional contiguous"
checks with OS/2 special quirks and all.

p4raw-id: //depot/perl@19906

21 years agoSwitch on PERL_IMPLICIT_SYS, not on Win32.
Jarkko Hietaniemi [Tue, 1 Jul 2003 06:22:12 +0000 (06:22 +0000)]
Switch on PERL_IMPLICIT_SYS, not on Win32.

p4raw-id: //depot/perl@19903

21 years agoRegen Glossary et al.
Jarkko Hietaniemi [Tue, 1 Jul 2003 06:20:48 +0000 (06:20 +0000)]
Regen Glossary et al.

p4raw-id: //depot/perl@19902

21 years agoRegen Configure.
Jarkko Hietaniemi [Tue, 1 Jul 2003 05:56:38 +0000 (05:56 +0000)]
Regen Configure.

p4raw-id: //depot/perl@19900

21 years agoMore nanosleep removal.
Jarkko Hietaniemi [Tue, 1 Jul 2003 05:56:14 +0000 (05:56 +0000)]
More nanosleep removal.

p4raw-id: //depot/perl@19899

21 years agoRework Time::HiRes not to need HAS_NANOSLEEP from Configure.
Jarkko Hietaniemi [Tue, 1 Jul 2003 05:54:58 +0000 (05:54 +0000)]
Rework Time::HiRes not to need HAS_NANOSLEEP from Configure.

p4raw-id: //depot/perl@19898

21 years agoRe: Subject: Problems: 5.8.1, Solaris, Configure, sched_yield(), -lrt & -lposix4
Alan Burlison [Tue, 1 Jul 2003 00:03:24 +0000 (01:03 +0100)]
Re: Subject: Problems: 5.8.1, Solaris, Configure, sched_yield(), -lrt & -lposix4
Message-ID: <3F00C1BC.3020103@sun.com>

p4raw-id: //depot/perl@19897

21 years agoIntegrate #19892, #19895 from perlio to compile and avoid
Jarkko Hietaniemi [Mon, 30 Jun 2003 20:20:54 +0000 (20:20 +0000)]
Integrate #19892, #19895 from perlio to compile and avoid
crashing on Win32.

p4raw-id: //depot/perl@19896

21 years agoWin32 hack for doing_taint()
Nick Ing-Simmons [Mon, 30 Jun 2003 14:24:57 +0000 (14:24 +0000)]
Win32 hack for doing_taint()

p4raw-id: //depot/perlio@19895

21 years agoIntegrate mainline
Nick Ing-Simmons [Mon, 30 Jun 2003 12:31:51 +0000 (12:31 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@19894

21 years ago"Missing" dTHX for Win32's re-direction of getuid etc.
Nick Ing-Simmons [Mon, 30 Jun 2003 09:42:22 +0000 (09:42 +0000)]
"Missing" dTHX for Win32's re-direction of getuid etc.

p4raw-id: //depot/perlio@19892

21 years agoint is not UV.
Jarkko Hietaniemi [Mon, 30 Jun 2003 08:41:51 +0000 (08:41 +0000)]
int is not UV.

p4raw-id: //depot/perl@19890

21 years agoThe 'contiguous' test for argv[], envp[] was bogus
Jarkko Hietaniemi [Mon, 30 Jun 2003 08:36:38 +0000 (08:36 +0000)]
The 'contiguous' test for argv[], envp[] was bogus
since those need not be in memory end-to-end, e.g.
in Tru64 they are aligned by eight.  Loosen the test
so that 'contiguousness' is fulfilled if the elements
are within PTRSIZE alignment.  This makes Tru64 to pass
the join.t, too.

p4raw-id: //depot/perl@19889

21 years ago$0 doc tweakage.
Jarkko Hietaniemi [Mon, 30 Jun 2003 07:24:18 +0000 (07:24 +0000)]
$0 doc tweakage.

p4raw-id: //depot/perl@19888

21 years ago$0 test tweaks from Andreas.
Jarkko Hietaniemi [Mon, 30 Jun 2003 07:20:58 +0000 (07:20 +0000)]
$0 test tweaks from Andreas.

p4raw-id: //depot/perl@19887

21 years agoMisc Pod Nits.
Rafael Garcia-Suarez [Sun, 29 Jun 2003 19:18:43 +0000 (19:18 +0000)]
Misc Pod Nits.

p4raw-id: //depot/perl@19886

21 years agoFix a faulty alias.
Jarkko Hietaniemi [Sun, 29 Jun 2003 15:49:52 +0000 (15:49 +0000)]
Fix a faulty alias.

p4raw-id: //depot/perl@19885

21 years agoThe joy of $0. Undoing the #16399 makes Andreas'
Jarkko Hietaniemi [Sun, 29 Jun 2003 15:41:05 +0000 (15:41 +0000)]
The joy of $0.  Undoing the #16399 makes Andreas'
tests (see [perl #22811]) pass (yes, padding with space instead
of nul makes no sense, but that seems to work, maybe Linux does
some deep magic in ps(1)?); moving the PL_origalen computation
earlier makes also the threaded-first case fully pass.

But in general modifying the argv[] is very non-portable.
(e.g. in Tru64 it seems to be limited to the size of the
original argv[0] since the argv[] are not contiguous?)

Everybody should just have setproctitle().

p4raw-id: //depot/perl@19884

21 years agoMore on the macro debugging and expansion.
Jarkko Hietaniemi [Sun, 29 Jun 2003 13:47:36 +0000 (13:47 +0000)]
More on the macro debugging and expansion.

p4raw-id: //depot/perl@19883

21 years agoPerl_doing_taint must be public, for programs that embed perl
Rafael Garcia-Suarez [Sun, 29 Jun 2003 13:17:09 +0000 (13:17 +0000)]
Perl_doing_taint must be public, for programs that embed perl

p4raw-id: //depot/perl@19882

21 years agoMore coffee...
Jarkko Hietaniemi [Sun, 29 Jun 2003 10:17:28 +0000 (10:17 +0000)]
More coffee...

p4raw-id: //depot/perl@19881

21 years agoargc, argv.
Jarkko Hietaniemi [Sun, 29 Jun 2003 09:48:50 +0000 (09:48 +0000)]
argc, argv.

p4raw-id: //depot/perl@19880

21 years agoAnother spot where a zero $test{$max} can make things go boom.
Jarkko Hietaniemi [Sun, 29 Jun 2003 09:34:47 +0000 (09:34 +0000)]
Another spot where a zero $test{$max} can make things go boom.

p4raw-id: //depot/perl@19879

21 years agoMove the PL_earlytaint initialization to the PERL_SYS_INIT()
Jarkko Hietaniemi [Sun, 29 Jun 2003 09:28:58 +0000 (09:28 +0000)]
Move the PL_earlytaint initialization to the PERL_SYS_INIT()
as per suggestion from Sarathy.

p4raw-id: //depot/perl@19878

21 years agoThe #19842 is no more needed thanks to #19876,
Jarkko Hietaniemi [Sat, 28 Jun 2003 18:28:01 +0000 (18:28 +0000)]
The #19842 is no more needed thanks to #19876,
and the #19842 was wrong anyway (it affected
only the threaded case.)

p4raw-id: //depot/perl@19877

21 years agoRe: your malloc patches
Ilya Zakharevich [Fri, 27 Jun 2003 06:54:06 +0000 (23:54 -0700)]
Re: your malloc patches
Message-ID: <20030627135406.GA8914@math.berkeley.edu>

More malloc patches: now they seem to work even in Tru64.

p4raw-id: //depot/perl@19876

21 years agoDuh.
Jarkko Hietaniemi [Sat, 28 Jun 2003 18:09:30 +0000 (18:09 +0000)]
Duh.

p4raw-id: //depot/perl@19875

21 years agoRetract #19867; the bug was really much simpler:
Jarkko Hietaniemi [Sat, 28 Jun 2003 17:30:52 +0000 (17:30 +0000)]
Retract #19867; the bug was really much simpler:
the < max must be <= max instead.

p4raw-id: //depot/perl@19874

21 years agoUsing $1 without testing success of the regexp, bad.
Rafael Garcia-Suarez [Sat, 28 Jun 2003 16:02:53 +0000 (16:02 +0000)]
Using $1 without testing success of the regexp, bad.

p4raw-id: //depot/perl@19873

21 years agoSome clarification about the current semantics of CHECK and
Rafael Garcia-Suarez [Sat, 28 Jun 2003 16:01:08 +0000 (16:01 +0000)]
Some clarification about the current semantics of CHECK and
INIT blocks. See bug [perl #22826].

p4raw-id: //depot/perl@19872

21 years ago[Encode] pre-1.97 patches
Dan Kogai [Sat, 28 Jun 2003 01:20:59 +0000 (10:20 +0900)]
[Encode] pre-1.97 patches
Message-Id: <56D5BFEE-A8BB-11D7-9092-000393AE4244@dan.co.jp>

p4raw-id: //depot/perl@19871

21 years agoTwo debugging patches.
Dave Mitchell [Fri, 27 Jun 2003 22:26:24 +0000 (23:26 +0100)]
Two debugging patches.
The first allows to hold symbolic switches in $^D
and more generally fixes assignment to $^D. The
second one improves the information given by -Dl.

Subject: [PATCH] allow $^D = "flags"
Date: Fri, 27 Jun 2003 22:26:24 +0100
Message-ID: <20030627212624.GB12887@fdgroup.com>

Subject: [PATCH] make -Dl show more scope info
From: Dave Mitchell <davem@fdgroup.com>
Date: Fri, 27 Jun 2003 23:00:36 +0100
Message-ID: <20030627220036.GC12887@fdgroup.com>

p4raw-id: //depot/perl@19870

21 years agoFix test count, by Abe Timmerman.
Rafael Garcia-Suarez [Sat, 28 Jun 2003 14:39:40 +0000 (14:39 +0000)]
Fix test count, by Abe Timmerman.

p4raw-id: //depot/perl@19869

21 years agoIntegrate mainline
Nick Ing-Simmons [Fri, 27 Jun 2003 12:59:51 +0000 (12:59 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@19868

21 years agoThe two-for-loops is no more a valid way to walk through
Jarkko Hietaniemi [Fri, 27 Jun 2003 10:08:20 +0000 (10:08 +0000)]
The two-for-loops is no more a valid way to walk through
a hash (this was the reason the Hash/Util.t intermittently
failed, the two-loop didn't find all the SVs of the HV).

p4raw-id: //depot/perl@19867

21 years agoSome warnings about the (im)proper uses of the hash randomisation.
Jarkko Hietaniemi [Fri, 27 Jun 2003 08:54:16 +0000 (08:54 +0000)]
Some warnings about the (im)proper uses of the hash randomisation.

p4raw-id: //depot/perl@19866

21 years agoatoi() doesn't cut the mustard if the PERL_HASH_SEED
Jarkko Hietaniemi [Fri, 27 Jun 2003 08:40:45 +0000 (08:40 +0000)]
atoi() doesn't cut the mustard if the PERL_HASH_SEED
is larger than INT_MAX (atoi() returns -1 in that case).

p4raw-id: //depot/perl@19865

21 years agoUse the PL_earlytaint. (PL_earlytaint is a global,
Jarkko Hietaniemi [Fri, 27 Jun 2003 08:18:47 +0000 (08:18 +0000)]
Use the PL_earlytaint.  (PL_earlytaint is a global,
not per-interp, since perl_construct() is not passed
the argc, argv, and therefore it can't set the per-interp
PL_tainting.)

p4raw-id: //depot/perl@19864

21 years agoIntroduce (global) variable PL_earlytaint which
Jarkko Hietaniemi [Fri, 27 Jun 2003 08:15:11 +0000 (08:15 +0000)]
Introduce (global) variable PL_earlytaint which
is set very early in main(), before perl_parse()
has been called and PL_tainting (or PL_taint_warn)
might have been set.

p4raw-id: //depot/perl@19863

21 years agoMake doing_taint() always available (though not
Jarkko Hietaniemi [Fri, 27 Jun 2003 07:39:58 +0000 (07:39 +0000)]
Make doing_taint() always available (though not
part of the public API).

p4raw-id: //depot/perl@19862

21 years agoDo not obey PERL_HASH_SEED or PERL_HASH_SEED_DEBUG
Jarkko Hietaniemi [Fri, 27 Jun 2003 05:30:03 +0000 (05:30 +0000)]
Do not obey PERL_HASH_SEED or PERL_HASH_SEED_DEBUG
if tainting-- but is this a good thing or a bad thing?
(At least it makes debugging lib/Hash/Util.t harder,
since it has, for no apparent good reason, -T: one must
make a copy of it without the -T.)

p4raw-id: //depot/perl@19861

21 years agoRe: Change 19854: Bite the bullet and apply the hash randomisation patch.
Tim Bunce [Thu, 26 Jun 2003 10:53:22 +0000 (11:53 +0100)]
Re: Change 19854: Bite the bullet and apply the hash randomisation patch.
Message-ID: <20030626095322.GE97463@dansat.data-plan.com>

p4raw-id: //depot/perl@19860

21 years agoHash/Util.t and Encode/t/Aliases.t seem to be having
Jarkko Hietaniemi [Fri, 27 Jun 2003 04:59:23 +0000 (04:59 +0000)]
Hash/Util.t and Encode/t/Aliases.t seem to be having
random failures.  To make these easier to reproduce,
add a variable, PERL_HASH_SEED_DEBUG, to display the
hash seed.  E.g. in Debian/x86 Linux 3.0 PERL_HASH_SEED
of 82972356 makes the first one to fail.

p4raw-id: //depot/perl@19859

21 years agoperlhack update, by Steve Grazzini
Rafael Garcia-Suarez [Thu, 26 Jun 2003 20:21:53 +0000 (20:21 +0000)]
perlhack update, by Steve Grazzini
about macro support in gdb and gcc.

p4raw-id: //depot/perl@19858

21 years agoBite the bullet and apply the hash randomisation patch.
Jarkko Hietaniemi [Thu, 26 Jun 2003 05:32:02 +0000 (05:32 +0000)]
Bite the bullet and apply the hash randomisation patch.
[perl #22371] Algorimic Complexity Attack on Perl 5.6.1, 5.8.0

p4raw-id: //depot/perl@19854

21 years agoRe: P and V
Philip Newton [Wed, 25 Jun 2003 17:50:22 +0000 (19:50 +0200)]
Re: P and V
From: "Philip Newton" <pnewton@gmx.de>
Message-ID: <3EF9E0DE.4786.16A6869@localhost>

p4raw-id: //depot/perl@19853

21 years agoEnhance some macro robustness.
Rafael Garcia-Suarez [Wed, 25 Jun 2003 19:27:42 +0000 (19:27 +0000)]
Enhance some macro robustness.

p4raw-id: //depot/perl@19852

21 years agoFix [perl #21742] :
Rafael Garcia-Suarez [Wed, 25 Jun 2003 19:25:47 +0000 (19:25 +0000)]
Fix [perl #21742] :
require() should always be called in scalar context,
even when it's the last statement in an eval("").

p4raw-id: //depot/perl@19851

21 years agoRe: [perl #22719] ISA cache problem with blessed stash objects
Dave Mitchell [Tue, 24 Jun 2003 13:16:18 +0000 (14:16 +0100)]
Re: [perl #22719] ISA cache problem with blessed stash objects
Message-ID: <20030624121618.GC22675@fdgroup.com>

p4raw-id: //depot/perl@19849

21 years agolib/Perldoc.pm patch for Cygwin Bleadperl
Gerrit P. Haase [Tue, 24 Jun 2003 11:00:34 +0000 (13:00 +0200)]
lib/Perldoc.pm patch for Cygwin Bleadperl
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
Message-ID: <186930306740.20030624110034@familiehaase.de>

p4raw-id: //depot/perl@19848

21 years agoversion.pm up to date with CPAN
John Peacock [Mon, 23 Jun 2003 21:58:18 +0000 (17:58 -0400)]
version.pm up to date with CPAN
Message-ID: <3EF7B03A.2060705@rowman.com>

p4raw-id: //depot/perl@19847

21 years ago[perlport.pod] code point of \cU
SADAHIRO Tomoyuki [Tue, 24 Jun 2003 01:00:16 +0000 (10:00 +0900)]
[perlport.pod] code point of \cU
Message-Id: <20030624004743.1237.BQW10602@nifty.com>

p4raw-id: //depot/perl@19846

21 years agoTest tweaks for VMS from Craig Berry.
Jarkko Hietaniemi [Mon, 23 Jun 2003 04:55:39 +0000 (04:55 +0000)]
Test tweaks for VMS from Craig Berry.

p4raw-id: //depot/perl@19845

21 years agoMove the (pseudo)seed functio for (pseudo)random numbers to util.c.
Jarkko Hietaniemi [Sun, 22 Jun 2003 17:00:10 +0000 (17:00 +0000)]
Move the (pseudo)seed functio for (pseudo)random numbers to util.c.

p4raw-id: //depot/perl@19843

21 years agoUntil the Perl malloc problems in Tru64 are fixed.
Jarkko Hietaniemi [Sun, 22 Jun 2003 16:44:16 +0000 (16:44 +0000)]
Until the Perl malloc problems in Tru64 are fixed.

p4raw-id: //depot/perl@19842

21 years agoRe: Is it a Bug? ($c .= "5") . "6"
Adrian M. Enache [Sat, 21 Jun 2003 03:19:31 +0000 (06:19 +0300)]
Re: Is it a Bug? ($c .= "5") . "6"
Message-ID: <20030621001931.GB1255@ratsnest.hole>

p4raw-id: //depot/perl@19841

21 years ago[perl #22753] overload::StrVal() fails for regexp refs
Fergal Daly [Sat, 21 Jun 2003 19:02:30 +0000 (19:02 +0000)]
[perl #22753] overload::StrVal() fails for regexp refs
From: "fergal@esatclear.ie (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-22753-59662.14.6066295633041@rt.perl.org>

p4raw-id: //depot/perl@19840

21 years agoFileCache 1.03 broken on VMS -- possible patch
Craig A. Berry [Sat, 21 Jun 2003 10:31:59 +0000 (05:31 -0500)]
FileCache 1.03 broken on VMS -- possible patch
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3EF47A6F.9060904@mac.com>

p4raw-id: //depot/perl@19839

21 years agoDebian fix from Brendan O'Dea:
Jarkko Hietaniemi [Sun, 22 Jun 2003 16:16:01 +0000 (16:16 +0000)]
Debian fix from Brendan O'Dea:
Adjust output to screen width.
(adjusted to probe for the stty command)

p4raw-id: //depot/perl@19838

21 years agoDebian fix from Brendan O'Dea:
Jarkko Hietaniemi [Sun, 22 Jun 2003 15:56:45 +0000 (15:56 +0000)]
Debian fix from Brendan O'Dea:
Use a temporary directory to avoid symlink attacks.
Specify -gstabs explicitly (not the default format for gcc 3.2).

p4raw-id: //depot/perl@19837

21 years agoDebian fix from Brendan O'Dea:
Jarkko Hietaniemi [Sun, 22 Jun 2003 15:55:13 +0000 (15:55 +0000)]
Debian fix from Brendan O'Dea:
Bug#156284: the stucture used by pp_accept is too small to hold an
IPv6 address.

p4raw-id: //depot/perl@19836

21 years agoFor characters beyond the BMP the $bits will be undef,
Jarkko Hietaniemi [Sun, 22 Jun 2003 15:46:50 +0000 (15:46 +0000)]
For characters beyond the BMP the $bits will be undef,
which will cause utf8_heavy.pl noise (reported by Daniel Yacob,
analysis and fix from SADAHIRO Tomoyuki)

p4raw-id: //depot/perl@19835

21 years agoAllow for things like -DFILL_CHECK_DEFAULT=0 (from Ilya).
Jarkko Hietaniemi [Fri, 20 Jun 2003 08:42:58 +0000 (08:42 +0000)]
Allow for things like -DFILL_CHECK_DEFAULT=0 (from Ilya).

p4raw-id: //depot/perl@19834

21 years agoDon't do sprintf().
Jarkko Hietaniemi [Fri, 20 Jun 2003 08:16:02 +0000 (08:16 +0000)]
Don't do sprintf().

p4raw-id: //depot/perl@19833

21 years agoShow the source code location of an "assertion botch".
Jarkko Hietaniemi [Fri, 20 Jun 2003 07:43:48 +0000 (07:43 +0000)]
Show the source code location of an "assertion botch".

p4raw-id: //depot/perl@19832

21 years agoMore Perl malloc debugging magic from Ilya. Seems to work in
Jarkko Hietaniemi [Fri, 20 Jun 2003 07:31:11 +0000 (07:31 +0000)]
More Perl malloc debugging magic from Ilya.  Seems to work in
Linux, Solaris, AIX.  Had to do #ifdef OS2 for the <io.h> in
malloc.c, found in AIX since there is no such header.
In Tru64 miniperl fails an assert: "free()ed/realloc()ed-away
memory was overwritten?"
(In IRIX compiles but that doesn't prove much since in IRIX
Perl's malloc is simply not used.)

p4raw-id: //depot/perl@19831

21 years agoRetract #19785 and #19756: JPL nowadays works without this
Jarkko Hietaniemi [Fri, 20 Jun 2003 06:02:21 +0000 (06:02 +0000)]
Retract #19785 and #19756: JPL nowadays works without this
(verified by a true JPL user).

p4raw-id: //depot/perl@19830

21 years agoApparently this is needed for VMS (Craig Berry).
Jarkko Hietaniemi [Thu, 19 Jun 2003 20:18:31 +0000 (20:18 +0000)]
Apparently this is needed for VMS (Craig Berry).

p4raw-id: //depot/perl@19827

21 years agoBump Time::HiRes to 1.49.
Jarkko Hietaniemi [Thu, 19 Jun 2003 15:11:48 +0000 (15:11 +0000)]
Bump Time::HiRes to 1.49.

p4raw-id: //depot/perl@19824

21 years agoThis change chunk doesn't work well with blead.
Jarkko Hietaniemi [Thu, 19 Jun 2003 14:49:37 +0000 (14:49 +0000)]
This change chunk doesn't work well with blead.

p4raw-id: //depot/perl@19822

21 years agoA tweak from Alan Burlison for MM 6.10_07 that makes Solaris
Jarkko Hietaniemi [Thu, 19 Jun 2003 14:27:52 +0000 (14:27 +0000)]
A tweak from Alan Burlison for MM 6.10_07 that makes Solaris
make happy.

p4raw-id: //depot/perl@19821

21 years agoUpgrade to MakeMaker 6.10_07 (from makemaker.org snapshot
Jarkko Hietaniemi [Thu, 19 Jun 2003 14:25:53 +0000 (14:25 +0000)]
Upgrade to MakeMaker 6.10_07 (from makemaker.org snapshot
as of 2003-06-19 18:39 EET).

p4raw-id: //depot/perl@19820

21 years agoRe: [perl #17934] tied STDERR and internal warnings
Steve Grazzini [Wed, 18 Jun 2003 19:42:37 +0000 (15:42 -0400)]
Re: [perl #17934] tied STDERR and internal warnings
Message-ID: <20030618234237.GA6267@grazzini.net>

p4raw-id: //depot/perl@19819

21 years agoemail address correction
Richard Soderberg [Thu, 19 Jun 2003 02:19:31 +0000 (19:19 -0700)]
email address correction
Message-ID: <CGEAIAFGDFMPCFCBLLCOEENKCBAA.rs@crystalflame.net>
From: rs@crystalflame.net (Richard Soderberg)

p4raw-id: //depot/perl@19818

21 years agoMPE/iX gets serious indigestion on w-packed infinities.
Jarkko Hietaniemi [Thu, 19 Jun 2003 05:02:22 +0000 (05:02 +0000)]
MPE/iX gets serious indigestion on w-packed infinities.

p4raw-id: //depot/perl@19816

21 years agoA bunch of minor changes to perlguts.pod.
Rafael Garcia-Suarez [Wed, 18 Jun 2003 20:47:47 +0000 (20:47 +0000)]
A bunch of minor changes to perlguts.pod.

p4raw-id: //depot/perl@19815

21 years agoRe: [perl #22727] split() with re_eval segfaults/panics
Adrian M. Enache [Wed, 18 Jun 2003 23:00:43 +0000 (02:00 +0300)]
Re: [perl #22727] split() with re_eval segfaults/panics
Message-ID: <20030618200043.GA1249@ratsnest.hole>

p4raw-id: //depot/perl@19814

21 years agoUpgrade to Tie::File 0.97.
Jarkko Hietaniemi [Wed, 18 Jun 2003 17:31:50 +0000 (17:31 +0000)]
Upgrade to Tie::File 0.97.

p4raw-id: //depot/perl@19813

21 years agoSync with libnet 1.16
Graham Barr [Wed, 18 Jun 2003 16:41:31 +0000 (16:41 +0000)]
Sync with libnet 1.16

p4raw-id: //depot/perl@19812

21 years agoEncode] 1.96 Released
Dan Kogai [Wed, 18 Jun 2003 19:09:11 +0000 (04:09 +0900)]
Encode] 1.96 Released
Message-Id: <E7FFAE2E-A174-11D7-ACE4-000393AE4244@dan.co.jp>

p4raw-id: //depot/perl@19811

21 years agoOops in change #19809.
Jarkko Hietaniemi [Wed, 18 Jun 2003 09:20:43 +0000 (09:20 +0000)]
Oops in change #19809.
p4raw-link: @19809 on //depot/perl: 1d81eac947dedbd62bc60aa6d92509cbe424fa3d

p4raw-id: //depot/perl@19810

21 years agoIf the first argument of sigaction() was a string, not a number
Jarkko Hietaniemi [Wed, 18 Jun 2003 09:08:47 +0000 (09:08 +0000)]
If the first argument of sigaction() was a string, not a number
(or a SIGXXX 'constant') one got first (if using -w) 'Argument "FOO"
isn't numeric in subroutine entry ...' but after that one got
(depending on the OS) either a coredump (because of trying to
assign to *0 in mg_get) or a hang (because of the sigprocmask()
blocking signals inside POSIX::sigaction, a nasty hang since
one obviously cannot interrupt it...only SIGKILL works).
In older Perls (tried with 5.6.1) one got 'No such signal: SIGZERO ...'
because of the string becoming zero due to the XS typemap magic.
Resolved by making the POSIX::sigaction to try harder to figure
out a valid signal number (one still gets the warning, though),
and returning undef if no sense can be made.

p4raw-id: //depot/perl@19809

21 years agoSome docs for the assertions.
Rafael Garcia-Suarez [Tue, 17 Jun 2003 21:10:06 +0000 (21:10 +0000)]
Some docs for the assertions.

p4raw-id: //depot/perl@19808

21 years agoio_dir.t tweak from Craig Berry.
Jarkko Hietaniemi [Tue, 17 Jun 2003 18:12:26 +0000 (18:12 +0000)]
io_dir.t tweak from Craig Berry.

p4raw-id: //depot/perl@19806

21 years ago/ext/DynaLoader/dl_dyld.xs
Peter O'Gorman [Tue, 17 Jun 2003 23:45:47 +0000 (08:45 +0900)]
/ext/DynaLoader/dl_dyld.xs
From: "Peter O'Gorman" <peter@pogma.com>
Message-Id: <619B6B53-A0D2-11D7-BAF7-003065F6C222@pogma.com>

No need to see dlclose() and dlsym() outside the dl_dyld.xs
(Mac OS X, NeXT), and seeing them is harmful for libdlcompat
of OpenDarwin.

p4raw-id: //depot/perl@19805

21 years agoDOCPATCH Re: $1 remains uncleared for failed matches
Jarkko Hietaniemi [Tue, 17 Jun 2003 13:12:21 +0000 (13:12 +0000)]
DOCPATCH Re: $1 remains uncleared for failed matches
From: david nicol <whatever@davidnicol.com>
Date: 16 Jun 2003 20:35:24 -0500
Message-Id: <1055813724.1580.19.camel@plaza.davidnicol.com>

Subject: Re: DOCPATCH Re: $1 remains uncleared for failed matches
From: Ronald J Kimball <rjk@linguist.Thayer.dartmouth.edu>
Date: Tue, 17 Jun 2003 00:12:04 -0400
Message-ID: <20030617041204.GA34960@linguist.thayer.dartmouth.edu>

p4raw-id: //depot/perl@19804

21 years agoUNICOS: try papering over the Configure symbol scan problems
Jarkko Hietaniemi [Tue, 17 Jun 2003 04:51:33 +0000 (04:51 +0000)]
UNICOS: try papering over the Configure symbol scan problems
by disavowing any knowledge of dynaloading.

p4raw-id: //depot/perl@19802

21 years agoRevert change #19126, a poor attempt at fixing bug #21742.
Marcus Holland-Moritz [Sun, 15 Jun 2003 23:09:03 +0000 (23:09 +0000)]
Revert change #19126, a poor attempt at fixing bug #21742.
The test for #21742 is marked as TODO.
Plus new regression tests from :

Subject: [perl #22708] void context in string eval is broken
From: "Marcus Holland-Moritz" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-22708-59432.14.6755501393177@rt.perl.org>
p4raw-link: @19126 on //depot/perl: a89be09a10c36299e755a956d356eb7f1f643437

p4raw-id: //depot/perl@19801

21 years agounnecessary stringification in eval/die
Steve Grazzini [Sun, 15 Jun 2003 21:02:26 +0000 (21:02 +0000)]
unnecessary stringification in eval/die
Message-ID: <20030615210226.56430.qmail@onion.perl.org>
(See also <slrnbek5u6.cfi.joey@dragon.kitenet.net>
in c.l.p.misc and bug #17763)

p4raw-id: //depot/perl@19800