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

21 years ago[perl #22622] Bogus error codes from File::Copy::move
Amick, Eric [Mon, 9 Jun 2003 15:48:09 +0000 (15:48 +0000)]
[perl #22622] Bogus error codes from File::Copy::move
From: "Amick, Eric" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-22622-59134.12.3966151660257@rt.perl.org>

p4raw-id: //depot/perl@19799

21 years agoAnd even more glibc fcntl constants, this time mostly F_XXX.
Jarkko Hietaniemi [Mon, 16 Jun 2003 12:26:29 +0000 (12:26 +0000)]
And even more glibc fcntl constants, this time mostly F_XXX.
Be more conservative and use @EXPORT_OK instead of @EXPORT.

p4raw-id: //depot/perl@19798

21 years agoEven more glibc O_ modes.
Jarkko Hietaniemi [Mon, 16 Jun 2003 08:05:11 +0000 (08:05 +0000)]
Even more glibc O_ modes.

p4raw-id: //depot/perl@19797

21 years agoAdd O_NOATIME.
Jarkko Hietaniemi [Mon, 16 Jun 2003 07:59:26 +0000 (07:59 +0000)]
Add O_NOATIME.

p4raw-id: //depot/perl@19796

21 years agoInstead of fancy condvar footwork do a simple join,
Jarkko Hietaniemi [Mon, 16 Jun 2003 06:51:19 +0000 (06:51 +0000)]
Instead of fancy condvar footwork do a simple join,
as suggested by Arthur.

p4raw-id: //depot/perl@19795

21 years agoRename again the warning about $* being no longer supported
Rafael Garcia-Suarez [Sun, 15 Jun 2003 21:01:18 +0000 (21:01 +0000)]
Rename again the warning about $* being no longer supported
(and update perldiag this time!)

p4raw-id: //depot/perl@19794

21 years agoRemove all magic in untie()
Aaron J. Mackey [Fri, 13 Jun 2003 08:22:05 +0000 (04:22 -0400)]
Remove all magic in untie()

Subject: Re: untie from within FETCH/STORE not working under 5.8.0 (fwd)
Message-ID: <Pine.OSF.4.33.0306130820570.29017-100000@alpha10.bioch.virginia.edu>
(plus a test case)

p4raw-id: //depot/perl@19793

21 years agoStart using Perl malloc in FreeBSD since the system malloc
Dan Kogai [Mon, 16 Jun 2003 01:48:49 +0000 (10:48 +0900)]
Start using Perl malloc in FreeBSD since the system malloc
is reaaally slooow for Perl.

Subject: FreeBSD 5.1 vs. -Uusemymalloc
Message-Id: <3CE9B94D-9F51-11D7-AF50-000393AE4244@dan.co.jp>

p4raw-id: //depot/perl@19790

21 years agoOS2 patches
Ilya Zakharevich [Sat, 14 Jun 2003 17:49:57 +0000 (10:49 -0700)]
OS2 patches
Message-ID: <20030615004956.GA28272@math.berkeley.edu>

p4raw-id: //depot/perl@19789

21 years agoReindent a section of the file.
Jarkko Hietaniemi [Sun, 15 Jun 2003 15:05:40 +0000 (15:05 +0000)]
Reindent a section of the file.

p4raw-id: //depot/perl@19788

21 years agoUnused variable.
Jarkko Hietaniemi [Sun, 15 Jun 2003 15:01:26 +0000 (15:01 +0000)]
Unused variable.

p4raw-id: //depot/perl@19787

21 years agoRe: [PATCH: sv.c] strchr() running amok in sv_vcatpvfn()
Marcus Holland-Moritz [Sun, 15 Jun 2003 10:48:40 +0000 (12:48 +0200)]
Re: [PATCH: sv.c] strchr() running amok in sv_vcatpvfn()
From: "Marcus Holland-Moritz" <mhx-perl@gmx.net>
Message-ID: <004a01c3331a$ec001320$3445eed9@R2D2>

p4raw-id: //depot/perl@19786

21 years agoMost often unused variables.
Jarkko Hietaniemi [Sun, 15 Jun 2003 07:37:02 +0000 (07:37 +0000)]
Most often unused variables.

p4raw-id: //depot/perl@19785

21 years agoRename the warning about $* being removed,
Rafael Garcia-Suarez [Sat, 14 Jun 2003 20:08:52 +0000 (20:08 +0000)]
Rename the warning about $* being removed,
as suggested by Dave Mitchell

p4raw-id: //depot/perl@19784

21 years agoThe FileCache 1.03 tests from belg4mit.
Jarkko Hietaniemi [Sat, 14 Jun 2003 16:30:23 +0000 (16:30 +0000)]
The FileCache 1.03 tests from belg4mit.

p4raw-id: //depot/perl@19783

21 years agoMention the Unicode::Regex::Set module.
Jarkko Hietaniemi [Sat, 14 Jun 2003 13:45:01 +0000 (13:45 +0000)]
Mention the Unicode::Regex::Set module.

p4raw-id: //depot/perl@19782

21 years agoFollowup on #19779: make the helper function static,
Jarkko Hietaniemi [Sat, 14 Jun 2003 13:39:45 +0000 (13:39 +0000)]
Followup on #19779: make the helper function static,
and rename it for paranoia reasons.

p4raw-id: //depot/perl@19781

21 years agostrchr() running amok in sv_vcatpvfn()
Marcus Holland-Moritz [Sat, 14 Jun 2003 12:51:31 +0000 (14:51 +0200)]
strchr() running amok in sv_vcatpvfn()
From: "Marcus Holland-Moritz" <mhx-perl@gmx.net>
Message-ID: <041901c33262$eac8ae30$f248eed9@R2D2>

(choosing the safe alternative)

p4raw-id: //depot/perl@19779

21 years agoExercise the utf8:: "internal" functions.
Jarkko Hietaniemi [Sat, 14 Jun 2003 09:28:01 +0000 (09:28 +0000)]
Exercise the utf8:: "internal" functions.

p4raw-id: //depot/perl@19778

21 years agoHaving to pull in the whole Encode just to get SvUTF8()
Jarkko Hietaniemi [Sat, 14 Jun 2003 09:05:07 +0000 (09:05 +0000)]
Having to pull in the whole Encode just to get SvUTF8()
is a bit too much: introduce utf8::is_utf8().

p4raw-id: //depot/perl@19777

21 years agoSlight tweaks on the length() and chr() entries,
Jarkko Hietaniemi [Sat, 14 Jun 2003 08:56:11 +0000 (08:56 +0000)]
Slight tweaks on the length() and chr() entries,
passing-by rewrapping on the rmdir entry.

p4raw-id: //depot/perl@19776

21 years agotest.pl-ify and add a couple of tests.
Jarkko Hietaniemi [Sat, 14 Jun 2003 08:50:16 +0000 (08:50 +0000)]
test.pl-ify and add a couple of tests.

p4raw-id: //depot/perl@19775

21 years agoSlight reorg of the binmode() entry.
Jarkko Hietaniemi [Sat, 14 Jun 2003 08:05:01 +0000 (08:05 +0000)]
Slight reorg of the binmode() entry.

p4raw-id: //depot/perl@19773

21 years agoIllegal cpp.
Jarkko Hietaniemi [Sat, 14 Jun 2003 07:07:38 +0000 (07:07 +0000)]
Illegal cpp.

p4raw-id: //depot/perl@19772

21 years agoRe: FileCache
Jerrad Pierce [Sat, 14 Jun 2003 01:35:05 +0000 (21:35 -0400)]
Re: FileCache
Message-ID: <3EEAB409.7B4C21EA@mit.edu>

FileCache 1.03.

p4raw-id: //depot/perl@19770

21 years agoRemove the deprecated $* variable.
Rafael Garcia-Suarez [Fri, 13 Jun 2003 19:17:50 +0000 (19:17 +0000)]
Remove the deprecated $* variable.
Incidentally, this fixes bug #22354, about unwanted
action-at-distance of the /m regexp modifier.
Add a new warning to advertise this fact.

p4raw-id: //depot/perl@19769

21 years agoEncode simply needs more work on EBCDIC.
Jarkko Hietaniemi [Fri, 13 Jun 2003 17:08:45 +0000 (17:08 +0000)]
Encode simply needs more work on EBCDIC.

p4raw-id: //depot/perl@19768

21 years agoRedundancy removal from Brian De Pradine;
Jarkko Hietaniemi [Fri, 13 Jun 2003 17:05:01 +0000 (17:05 +0000)]
Redundancy removal from Brian De Pradine;
both the forms, pthread_mutexattr_settype() and
pthread_mutexattr_setkind_np(), exist on z/OS.

p4raw-id: //depot/perl@19767

21 years agoSomehow MPE/iX managed to get
Jarkko Hietaniemi [Fri, 13 Jun 2003 17:02:57 +0000 (17:02 +0000)]
Somehow MPE/iX managed to get
"18/0Illegal division by zero at ../lib/Test/Harness.pm line 921."

p4raw-id: //depot/perl@19766

21 years agoRe: [perl #18849] fork/system bug on FreeBSD
Alan Ferrency [Wed, 11 Jun 2003 14:07:00 +0000 (10:07 -0400)]
Re: [perl #18849] fork/system bug on FreeBSD
Message-ID: <Pine.BSF.4.30.0306111348450.32145-100000@smx.pair.com>

(the first alternative)

p4raw-id: //depot/perl@19765

21 years agoApparently the __APPLE__ cpp symbol is not Officially Sanctioned
Jarkko Hietaniemi [Fri, 13 Jun 2003 14:33:51 +0000 (14:33 +0000)]
Apparently the __APPLE__ cpp symbol is not Officially Sanctioned
way of detecting Darwin/Mac OS X; instead it is recommended to
detect the OS at a higher level and pass the information manually
down to the application, using e.g. a -Ddefinition.

p4raw-id: //depot/perl@19764

21 years agoDefine a cpp symbol, BSDish, if that looks appropriate.
Jarkko Hietaniemi [Fri, 13 Jun 2003 14:12:13 +0000 (14:12 +0000)]
Define a cpp symbol, BSDish, if that looks appropriate.

p4raw-id: //depot/perl@19763

21 years agoEven more tweakage on symbol scanning from Alan Burlison.
Jarkko Hietaniemi [Fri, 13 Jun 2003 12:00:06 +0000 (12:00 +0000)]
Even more tweakage on symbol scanning from Alan Burlison.

p4raw-id: //depot/perl@19760

21 years agoSync with libnet 1.15
Graham Barr [Fri, 13 Jun 2003 07:01:11 +0000 (07:01 +0000)]
Sync with libnet 1.15

p4raw-id: //depot/perl@19758

21 years agoThe changes #8803 and #8896 that fixed JPL for use with
Jarkko Hietaniemi [Fri, 13 Jun 2003 05:09:17 +0000 (05:09 +0000)]
The changes #8803 and #8896 that fixed JPL for use with
JDK 1.2/1.3 had somehow disappeared.
p4raw-link: @8803 on //depot/perl: 103a71894980ab015937511f33d840c7f030e8a4

p4raw-id: //depot/perl@19756

21 years agoAdd a new warning, "Newline in left-justified string for printf/sprintf"
Robin Barker [Wed, 11 Jun 2003 18:10:14 +0000 (19:10 +0100)]
Add a new warning, "Newline in left-justified string for printf/sprintf"
to be issued if the string to be left-justified by s?printf contains
a newline.

Subject: [PATCH] RE: [perl #22599] Strange behaviour when combining foreac h and printf
Message-ID: <533D273D4014D411AB1D00062938C4D904046571@hotel.npl.co.uk>

p4raw-id: //depot/perl@19752

21 years agoPatch for a warning emitted twice, from :
Steve Grazzini [Wed, 11 Jun 2003 00:46:47 +0000 (20:46 -0400)]
Patch for a warning emitted twice, from :
Subject: [PATCH: perl@19733] "perldoc -f -X" + "extra warning from -T"
Message-ID: <20030611044647.GA16696@grazzini.net>

p4raw-id: //depot/perl@19751

21 years agoIn free we want to destroy, not init, thanks to Tim Bunce for
Artur Bergman [Thu, 12 Jun 2003 15:03:55 +0000 (15:03 +0000)]
In free we want to destroy, not init, thanks to Tim Bunce for
detecting this. Should hopefully fix memory leak on Tru64

p4raw-id: //depot/perl@19750

21 years agoMore perlio ->Open paranoia. Set errno to EINVAL if there's
Jarkko Hietaniemi [Thu, 12 Jun 2003 13:27:44 +0000 (13:27 +0000)]
More perlio ->Open paranoia.  Set errno to EINVAL if there's
no ->Open, not if ->Open returns NULL.

p4raw-id: //depot/perl@19749

21 years agoFurther perlio doc tweaks.
Jarkko Hietaniemi [Thu, 12 Jun 2003 11:32:44 +0000 (11:32 +0000)]
Further perlio doc tweaks.

p4raw-id: //depot/perl@19748

21 years agoSlightly amended version of the proposed patch for
Jarkko Hietaniemi [Thu, 12 Jun 2003 11:25:19 +0000 (11:25 +0000)]
Slightly amended version of the proposed patch for
"[perl #22390] export PERLIO=bytes segfaults";
the amendment is to set errno.
TODO: we really should not get here if the layer
stack is corrupt or non-sensical (like "bytes").

p4raw-id: //depot/perl@19747

21 years agoBe polite and destroy the mutexes and conditions we use!
Artur Bergman [Thu, 12 Jun 2003 08:37:39 +0000 (08:37 +0000)]
Be polite and destroy the mutexes and conditions we use!

p4raw-id: //depot/perl@19746

21 years agoRe: [PATCH] Annoyingly unhelpful messages from lib/File/Temp/t/security.t
Andy Dougherty [Wed, 11 Jun 2003 12:57:58 +0000 (08:57 -0400)]
Re: [PATCH] Annoyingly unhelpful messages from lib/File/Temp/t/security.t
Message-ID: <Pine.SOL.4.53.0306111252540.19074@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@19744