This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
17 years agoIntegrate:
Nicholas Clark [Sun, 4 Feb 2007 21:32:10 +0000 (21:32 +0000)]
Integrate:
[ 23753]
Turn INIT_TLS_AND_INTERP into a static function

[ 23755]
Foolishly I committed change 23753 before remembering to test without
ithreads. No tests => bugs. This should fix them.

[ 30119]
Change 23753 wasn't quite a perfect refactoring, as it omitted calling
PERL_SET_THX(my_perl); when !PL_curinterp for non-ithreads.
However, this would not have made a difference for any configuration
buildable from the blead source alone.
p4raw-link: @30119 on //depot/perl: c0bce9aa45a3d3e9c7a6fd9886d453d0ab22e69d
p4raw-link: @23755 on //depot/perl: daa7d858611c04f05c8f8e9aadf2e84dafe7e1e8
p4raw-link: @23753 on //depot/perl: e6827a76d6739cf7ead59ff0f2fbe7afeb7086ed

p4raw-id: //depot/maint-5.8/perl@30121
p4raw-integrated: from //depot/perl@30118 'edit in' perl.c (@30105..)

17 years agoIntegrate:
Nicholas Clark [Sun, 4 Feb 2007 19:27:45 +0000 (19:27 +0000)]
Integrate:
[ 23161]
make -Dl log runops loop entry and exit, and jump level popping
p4raw-link: @23161 on //depot/perl: 9f3673fbb8fe5a0673a009424f0aef544e49f0f4

p4raw-id: //depot/maint-5.8/perl@30118
p4raw-integrated: from //depot/perl@23161 'merge in' dump.c (@22607..)
scope.h (@23023..)

17 years agolocal $[ works quite nicely in maint, so un-TODO it.
Nicholas Clark [Sun, 4 Feb 2007 19:00:56 +0000 (19:00 +0000)]
local $[ works quite nicely in maint, so un-TODO it.

p4raw-id: //depot/maint-5.8/perl@30117

17 years agoPut the assignment to $XS_VERSION in a BEGIN block too.
Nicholas Clark [Sun, 4 Feb 2007 18:51:01 +0000 (18:51 +0000)]
Put the assignment to $XS_VERSION in a BEGIN block too.

p4raw-id: //depot/maint-5.8/perl@30116

17 years agoIntegrate:
Nicholas Clark [Sun, 4 Feb 2007 18:49:54 +0000 (18:49 +0000)]
Integrate:
[ 24041]
Don't use vars in DynaLoader
Remove left-over maintenance code

[ 24271]
Subject: [PATCH] Symbian port of Perl
From: <jarkko.hietaniemi@nokia.com>
Date: Mon, 18 Apr 2005 13:18:30 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>

[ 27522]
Avoid hardcoded $(OBJ_EXT)

[ 27549]
Move DynaLoader.o into libperl.so.

This avoids the need to statically link DynaLoader into the stub perl
executable and make libperl.so provide all the code needed to get a
functional embedded perl interpreter up running.  As a side effect
this also moves DynaLoader into libperl.a for non-useshrplib builds.

Fixes [perl #32539]

[ 27566]
Adjust docs to reflect that DynaLoader, as of change 27549,
is part of libperl.

[ 28226]
Subject: [PATCH] Test script for DynaLoader
From: Sébastien Aperghis-Tramoni <maddingue@free.fr>
Date: Thu, 18 May 2006 16:46:00 +0200
Message-ID: <1147963560.446c88a8891e1@imp1-g19.free.fr>

[ 28227]
Nits in the DynaLoader test: make it warning-clean,
and avoid checking OS- and locale-specific messages

[ 28228]
We can now remove DynaLoader from 1_compile.t

[ 28274]
Better handling for error-checking
From: IRC/#p5p/Maddingue (Sebastien Aperghis-Tramoni)

[ 28308]
Subject: Re: [PATCH] Test script for DynaLoader
From: demerphq <demerphq@gmail.com>
Date: Thu, 25 May 2006 13:20:53 +0200
Message-ID: <9b18b3110605250420m7431bfbeve44aada2025264f7@mail.gmail.com>

[ 28318]
use the same arg names everyone else does and handle undef filename

[ 28321]
Subject: [PATCH] DynaLoader.t: less assumptions
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Message-ID: <44796AF2.8060903@gmail.com>
Date: Sun, 28 May 2006 12:18:42 +0300

[ 28333]
And some more DynaLoader things that should not be tested on
VMS since they are not part of the implementation.

[ 28840]
darwin also seems to be lacking a dl_unload_file() in its
DynaLoader, so some additional skips are needed.  If I only
had a NeXT to test with now...

[ 29017]
Upgrade to XSLoader-0.07.

[ 29188]
Subject: [patch at 21983] factor out $^O eq 'darwin' from XSLoader.pm
From: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **" <vkonovalov@Lucent.com>
Date: Thu, 2 Nov 2006 12:36:49 +0100
Message-ID: <E3FB32585BF1D411B9E900805FF51A080204E833@ru0022exch001u.ru.lucent.com>

[ 29198]
Wrap the $VERSION initialization of DynaLoader in a BEGIN block

Subject: [perl #40651] (Obscure) Bug in Dynaloader
From: gml4410@ggr.co.uk (via RT) <perlbug-followup@perl.org>
Date: Thu, 02 Nov 2006 09:30:34 -0800
Message-ID: <rt-3.5.HEAD-4979-1162488633-1267.40651-75-0@perl.org>

[ 29200]
The assignment to $VERSION must be on its own line, for
ExtUtils::MM_Unix::parse_version to be happy.

[ 29253]
The DynaLoader test isn't happy with OpenBSD's libc.so.39.3.

[ 29580]
Subject: [PATCH 5.8.8] OS/2-specific fixes, round II
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Date: Mon, 18 Dec 2006 00:45:24 -0800
Message-ID: <20061218084524.GA14866@powdermilk.math.berkeley.edu>

[ 29707]
Subject: DynaLoader test failure on cygwin
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Date: Sun, 7 Jan 2007 11:56:21 -0800 (PST)
Message-ID: <1675.63.226.247.31.1168199781.squirrel@63.226.247.31>

[ 29857]
Fix a typo in Dynaloader_pm.PL.
p4raw-link: @29857 on //depot/perl: 9a51af3b09f25dd504977c67060c711ea9f5f0fb
p4raw-link: @29707 on //depot/perl: d53b420d8e0e4f75c003bddd61a32105d179ab71
p4raw-link: @29580 on //depot/perl: 9d419b5f6925ac8219b490513f2c0e4f2d7c7f74
p4raw-link: @29253 on //depot/perl: 267f5f64315a4965dfc8a2d7ffdf3d10d3d1566c
p4raw-link: @29200 on //depot/perl: e240c90c8379c0167b78b57a96eb176cec0373e0
p4raw-link: @29198 on //depot/perl: 816b255b3713d16e7c9ee4c3736d7096b851b609
p4raw-link: @29188 on //depot/perl: 68d3ba501ed4219f9b173a4c9e373c024180d087
p4raw-link: @29017 on //depot/perl: 150e77ce34d3aa0165d475fba43d6f619fb12856
p4raw-link: @28840 on //depot/perl: ce12ed1954bf0c4d162d21f2c053dcf26b258c10
p4raw-link: @28333 on //depot/perl: a555bf5f31118dc6a4a7ad3e3615d3d8660d71a0
p4raw-link: @28321 on //depot/perl: f3c90b3644a4d1b01ee1a6fe678bc1357e85a56a
p4raw-link: @28318 on //depot/perl: a491bdcd42edb4bd84d631c28c304d781a4d4fa2
p4raw-link: @28308 on //depot/perl: c3026122df2ea8c3b01e4d1278d0519e50eeab9a
p4raw-link: @28274 on //depot/perl: 41b994da4e3577414d4dc63b509f70f6de8273bd
p4raw-link: @28228 on //depot/perl: 10f91f053f257c9c488e3b21a128ba70b5e0c2e3
p4raw-link: @28227 on //depot/perl: 69c6e315c98d99868530e196742fac905986d491
p4raw-link: @28226 on //depot/perl: 51254d33a14eeacb273f244a97f13b86d9e56aa2
p4raw-link: @27566 on //depot/perl: a90be0136120263e3a9bbc095158abaa7ae2eeb5
p4raw-link: @27549 on //depot/perl: 908fcb8bef8cbab8cfe098520d89599eb7d1a16c
p4raw-link: @27522 on //depot/perl: 25785bc1464b6f682bcd13889b9868abe4c22570
p4raw-link: @24271 on //depot/perl: 27da23d53ccce622bc51822f59df8def79b4df95
p4raw-link: @24041 on //depot/perl: ad5c2da20a409831a6acfe749626ce0396b43b3f

p4raw-id: //depot/maint-5.8/perl@30115
p4raw-branched: from //depot/perl@30113 'branch in'
ext/DynaLoader/t/DynaLoader.t (@29253..)
p4raw-integrated: from //depot/perl@30113 'copy in'
ext/DynaLoader/t/XSLoader.t (@25766..) ext/DynaLoader/dl_vms.xs
(@28063..)
p4raw-integrated: from //depot/perl@29198 'edit in'
ext/DynaLoader/DynaLoader_pm.PL (@24271..)
p4raw-integrated: from //depot/perl@29188 'ignore'
ext/DynaLoader/XSLoader_pm.PL (@29017..)
p4raw-integrated: from //depot/perl@28228 'merge in' t/lib/1_compile.t
(@27198..)
p4raw-integrated: from //depot/perl@28226 'merge in' MANIFEST
(@28214..)
p4raw-integrated: from //depot/perl@27566 'copy in'
lib/ExtUtils/Embed.pm (@23186..)
p4raw-integrated: from //depot/perl@27549 'merge in' writemain.SH
(@24074..) Makefile.SH (@27519..) ext/util/make_ext (@27521..)
p4raw-integrated: from //depot/perl@27522 'edit in'
ext/DynaLoader/Makefile.PL (@5381..)
p4raw-integrated: from //depot/perl@24271 'merge in'
ext/DynaLoader/dlutils.c (@24081..)

17 years agoRevert the reversion of change 23524 and restore 23348:
Vadim Konovalov [Sun, 3 Oct 2004 22:10:06 +0000 (02:10 +0400)]
Revert the reversion of change 23524 and restore 23348:

[ 23348]
Subject: [PATCH-for-23341] dynaloader improvements and cleanup
Message-ID: <138-1837306906.20041003221006@vkonovalov.ru>
p4raw-link: @23348 on //depot/perl: 1c7f9087b1206cc798470bc670fc38b5c413712a

p4raw-id: //depot/maint-5.8/perl@30113

17 years agoProvide a fixed $DynaLoader::XS_VERSION of 1.05, to fix bug #32539
Nicholas Clark [Sun, 4 Feb 2007 11:54:14 +0000 (11:54 +0000)]
Provide a fixed $DynaLoader::XS_VERSION of 1.05, to fix bug #32539
whilst also allowing $DynaLoader::VERSION to be incremented (and
DynaLoader upgraded)

p4raw-id: //depot/maint-5.8/perl@30112

17 years agoClarify that all the dire (sounding) "unsafe" warnings apply to 5005
Nicholas Clark [Sat, 3 Feb 2007 19:00:21 +0000 (19:00 +0000)]
Clarify that all the dire (sounding) "unsafe" warnings apply to 5005
threads.

p4raw-id: //depot/maint-5.8/perl@30110

17 years agoIntegrate:
Nicholas Clark [Sat, 3 Feb 2007 18:52:20 +0000 (18:52 +0000)]
Integrate:
[ 29502]
Downgrading a fixed or floating substring of a pattern whilst matching
a studied string seems to get to a "should not happen" [bug #41067]
It seems that Perl_regexec_flags() assumes that if the pre-downgraded
substring is FBM compiled, then the downgraded version will be too,
hence changing the downgrade and upgrade routines to FBM compile seems
to be a correct fix.

[ 29503]
Remove code duplication in S_to_utf8_substr() and S_to_byte_substr()
by taking advantage of how anchored_* and float_* are stored in arrays
to use a loop.

[ 30092]
Change 29502 wasn't perfect - you need to remove any extra trailing
"\n" added by fbm_compile(), before recompiling with the same flags.
In turn, to do that, it's best to store the flags even for short
"PVBM"s.
p4raw-link: @30092 on //depot/perl: 610460f93dd5a2665c479dc22acb80489faf9ce7
p4raw-link: @29503 on //depot/perl: a1cac82e623c5bbb331e6465011c5b46dfbfc277
p4raw-link: @29502 on //depot/perl: 0b3e77ec2e46a23afe97475f6b9bf7880fae85f1

p4raw-id: //depot/maint-5.8/perl@30109
p4raw-integrated: from //depot/perl@30107 'edit in' util.c (@30015..)
p4raw-integrated: from //depot/perl@29503 'edit in' regcomp.h
(@29468..)
p4raw-edited: from //depot/perl@29502 'edit in' regexec.c (@29445..)
p4raw-integrated: from //depot/perl@29502 'edit in' t/op/re_tests
(@29445..)

17 years agoIntegrate:
Nicholas Clark [Sat, 3 Feb 2007 18:08:37 +0000 (18:08 +0000)]
Integrate:
[ 26793]
Cygwin issue (26792) and patchlevel (26790)

Subject: Re: Cygwin status, maint and blead
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Fri, 6 Jan 2006 13:47:10 -0800
Message-ID: <20060106214710.GA592@efn.org>

Subject: Re: Cygwin status, maint and blead
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Thu, 10 Nov 2005 00:46:33 -0800
Message-ID: <20051110084633.GA3364@efn.org>

[ 26947]
Make dump and -u croak on Win32 and Cygwin to avoid confusion
such as was seen here:

Subject: Weird Win32 error: "This application has requested the Runtime to terminate it in an unusual way."
From: demerphq <demerphq@gmail.com>
Date: Thu, 26 Jan 2006 15:40:42 +0100
Message-ID: <9b18b3110601260640x34b2442cnf5379d2f83b74187@mail.gmail.com>

[ 27252]
Subject: [PATCH] op/magic failure on cygwin after 1.5.19-4
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Mon, 20 Feb 2006 11:09:33 -0800
Message-ID: <20060220190933.GA1316@efn.org>

[ 27865]
Subject: [PATCH] fix cygwin build
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Sun, 16 Apr 2006 18:05:20 -0700
Message-ID: <20060417010520.GA2888@efn.org>

[ 28803]
Fix to first problem causing Cygwin Perl to fail to build
in a path with spaces in it.

[ 29142]
Changes to get perl to compile with g++ on Cygwin.  Some additional
changes will be needed to get it to link though.

[ 29427]
-Dprefix failed on Cygwin unless the directory ${installbin} already
existed prior to running make.

[ 29713]
Subject: help cygwin find its dlls even on taint tests with no path
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Date: Sun, 7 Jan 2007 16:56:28 -0800 (PST)
Message-ID: <2437.63.226.247.31.1168217788.squirrel@63.226.247.31>
p4raw-link: @29713 on //depot/perl: 2d4c99b6ea67fa79bdee6f202f54e253766058e2
p4raw-link: @29427 on //depot/perl: 1825a77ced10b37b12ef95486da9e62f3f6bd0ea
p4raw-link: @29142 on //depot/perl: 667e29483278676092af95a151e7ae7d8eb1d304
p4raw-link: @28803 on //depot/perl: d7d7d533fb289d8ec4fa1b5fb02f927ed0cb90cc
p4raw-link: @27865 on //depot/perl: 52ef5499a7834e9d44061a993a2621a1bf3a4def
p4raw-link: @27252 on //depot/perl: 4bbb71267116eb89ad713505b2cb1ec776c520e0
p4raw-link: @26947 on //depot/perl: 84d78eb7303a2024a7c31dbf1ef17c1815e84d3c
p4raw-link: @26793 on //depot/perl: 3591879277a8c0b18a5f875cc7f9b46814925f5d

p4raw-id: //depot/maint-5.8/perl@30107
p4raw-integrated: from //depot/perl@30106 'copy in' t/op/magic.t
(@26428..) 'merge in' malloc.c (@28007..) t/op/taint.t
(@29669..)
p4raw-integrated: from //depot/perl@29142 'copy in' cygwin/cygwin.c
(@26215..) 'edit in' perl.h (@29124..) 'merge in' sv.c
(@29116..)
p4raw-integrated: from //depot/perl@28803 'ignore' cygwin/Makefile.SHs
(@27865..)
p4raw-integrated: from //depot/perl@26947 'merge in' pod/perlport.pod
(@25761..) pod/perldiag.pod (@26784..) perl.c (@26940..)
p4raw-integrated: from //depot/perl@26793 'edit in' Configure
(@26668..)

17 years agoIntegrate:
Jarkko Hietaniemi [Thu, 28 Sep 2006 12:40:04 +0000 (15:40 +0300)]
Integrate:
[ 28896]
Subject: reentr reshuffle
Message-ID: <451B9874.7060000@iki.fi>

[ 28897]
Regen for #28896

[ 29639]
With xlow and xhigh as U32, PAD_MAX shouldn't be IV_MAX, as on a 64 bit
system this can't be stored.
p4raw-link: @29639 on //depot/perl: c8185ac54029b05b732120d080bda5abfdc295d5
p4raw-link: @28897 on //depot/perl: a3dd3f83348437070092a136b32ab37a34255c76
p4raw-link: @28896 on //depot/perl: 832a833bda7470a7163fbdbf0c6029513869c248

p4raw-id: //depot/maint-5.8/perl@30106
p4raw-integrated: from //depot/perl@30102 'copy in' pod/perlembed.pod
(@26901..) 'merge in' pod/perlxs.pod (@26523..)
p4raw-integrated: from //depot/perl@29639 'merge in' pad.c (@29632..)
p4raw-edited: from //depot/perl@28897 'edit in' reentr.h (@28750..)
p4raw-integrated: from //depot/perl@28897 'edit in' reentr.c (@28886..)
p4raw-integrated: from //depot/perl@28896 'edit in' reentr.pl
(@28886..)

17 years agoIntegrate:
Nicholas Clark [Fri, 2 Feb 2007 22:11:03 +0000 (22:11 +0000)]
Integrate:
[ 29616]
Fix RT #6006: Regexp replaces using large replacement variables fail
some of the time (i.e. when the substitution contains something
like ${10}). Patch derived from a patch by Hugo van der Sanden;
added also a second test (Yves Orton already added a TODO test
for this.)

[ 29617]
A better fix for RT #6006: revert change 29616, which was bogus,
and add OP_SCOPE to the list of "dangerous" ops that might appear
on the right side of s///.
However, this fix does not work under taint mode, and op/subst.t
has -T.

[ 29618]
Remove -T from op/subst.t, and add a new test file, substT.t,
to run the s/// tests under taint mode; mark the test for
RT #6006 as TODO, but only with -T.

[ 29619]
Fix #6006 for taint mode too.
p4raw-link: @29619 on //depot/perl: 10250113e7a9436d0e11467beb33a1b1c5888098
p4raw-link: @29618 on //depot/perl: 25aae3a72e52ac6a70711f3dce68629d59f1cf87
p4raw-link: @29617 on //depot/perl: e80b829c678662da5bda5d8b6fb6d7de54064909
p4raw-link: @29616 on //depot/perl: 3be6978253328b9f1f41af44a42a6ef871b7117e

p4raw-id: //depot/maint-5.8/perl@30102
p4raw-branched: from //depot/perl@30100 'branch in' t/op/substT.t
p4raw-integrated: from //depot/perl@29618 'edit in' t/op/subst.t
(@29616..) 'merge in' MANIFEST (@29615..)
p4raw-edited: from //depot/perl@29616 'edit in' op.c (@29585..)

17 years agoIntegrate:
yves orton [Fri, 17 Nov 2006 16:07:00 +0000 (16:07 +0000)]
Integrate:
[ 29308]
Subject: [perl #36909] $^R undefined on matches involving backreferences
From: yves orton via RT <bugs-perl5@bugs6.perl.org>
p4raw-link: @29308 on //depot/perl: f0852a51af159e1bea17f91d673cfba18804cbb5

p4raw-id: //depot/maint-5.8/perl@30100
p4raw-edited: from //depot/perl@29308 'edit in' t/op/pat.t (@29301..)
p4raw-integrated: from //depot/perl@29308 'copy in' t/op/subst.t
(@28620..) 'edit in' regexec.c (@29279..) 'ignore' regcomp.c
(@29301..)

17 years agoIntegrate:
Jarkko Hietaniemi [Thu, 4 Jan 2007 03:35:54 +0000 (22:35 -0500)]
Integrate:
[ 29644]
As freeing up PL_linestr is now done via the scope stack, there's no
need to make any temporary varariable a mortal, and waste effort on
the temp stack (not) clearing it up.

[ 29647]
Rationalise the logic in lex_start for creating a new temporary if the
passed in SV is read only or doesn't end in ';'. Also, allow a NULL
pointer to imply a zero length string, which saves creating a mortal
in pp_require, only for it to be ignored in favour of a new SV.

[ 29685]
Subject: Re: [PATCH] Symbian port: add Series 90 support
Message-ID: <459CBC6A.4060806@iki.fi>

Fixes a VC7/VC7.1 linker error following #29650/#29651
p4raw-link: @29685 on //depot/perl: 17dd9954ac1485d9f7bfd39f371dd627e20503a9
p4raw-link: @29647 on //depot/perl: 10efb74f64fe893d58bec201ca5044ac1e94c795
p4raw-link: @29644 on //depot/perl: 6c5ce11d20b3449b2088bdfd556ac149927f51e9

p4raw-id: //depot/maint-5.8/perl@30099
p4raw-integrated: from //depot/perl@29685 'ignore' perl.h (@29684..)
'merge in' util.c (@29653..)
p4raw-integrated: from //depot/perl@29647 'ignore' proto.h (@29457..)
'merge in' embed.fnc (@29480..) pp_ctl.c (@29584..)
p4raw-integrated: from //depot/perl@29644 'edit in' toke.c (@29643..)

17 years agoIntegrate:
Nicholas Clark [Fri, 2 Feb 2007 20:54:46 +0000 (20:54 +0000)]
Integrate:
[ 29193]
eval $undef should emit one warning, not three.
Also ensure that eval $undef clears $@ (it did, but only by luck)

[ 29194]
add test that eval undef clears $@

[ 29195]
Change #29193 makes this addition unneeded
p4raw-link: @29195 on //depot/perl: 6727fff1549ac0959bf3db3fb9ee2bdc2e31327c
p4raw-link: @29194 on //depot/perl: eb0348242d61a494f99b29d5799609411296b7da
p4raw-link: @29193 on //depot/perl: 0eb20fa22aa27beb10ebb64e033f5856e121ab29

p4raw-id: //depot/maint-5.8/perl@30098
p4raw-integrated: from //depot/perl@30097 'edit in' t/op/eval.t
(@24387..)
p4raw-integrated: from //depot/perl@29195 'copy in' t/lib/common.pl
(@29184..)
p4raw-integrated: from //depot/perl@29193 'merge in' pp_ctl.c
(@29058..) toke.c (@29191..)

17 years agoIntegrate:
H.Merijn Brand [Wed, 1 Nov 2006 17:03:55 +0000 (18:03 +0100)]
Integrate:
[ 26401]
Missing file from last change

[ 29182]
Fix the failures in warnings tests when PERL_UNICODE is defined
that show up in the smokes under UTF-8 locales. Based on :

Subject: Re: UTF-8 Failures in smoke ($PERL_UNICODE)
From: "H.Merijn Brand" <h.m.brand@xs4all.nl>
Message-ID: <20061101170355.7c57b515@pc09>

[ 29184]
More heuristics to make warnings.t pass under different
combinations of PERL_UNICODE / locale
p4raw-link: @29184 on //depot/perl: 2afd7d8ec8fc4ff46d0a672736d091ff66ec22c6
p4raw-link: @29182 on //depot/perl: a983b08dc7c658d412bac21b8ceac00c24ae5c11
p4raw-link: @26401 on //depot/perl: 25ae1130f781118f78fbcd7bd13d6c8f4f21734a

p4raw-id: //depot/maint-5.8/perl@30097
p4raw-integrated: from //depot/perl@30096 'copy in' lib/warnings.t
(@24883..)
p4raw-branched: from //depot/perl@29184 'branch in' t/lib/common.pl
(@29182..)
p4raw-integrated: from //depot/perl@26400 'edit in' MANIFEST (@26391..)

17 years agoIntegrate:
Nicholas Clark [Fri, 2 Feb 2007 18:03:45 +0000 (18:03 +0000)]
Integrate:
[ 28559]
Cleanup and conversion to t/test.pl

[ 29643]
PL_linestr needs to survive until the end of scope, not just the next
FREETMPS. Fixes the underlying cause of the thread cloning SEGV
reported in http://www.nntp.perl.org/group/perl.perl5.porters/63123

[ 29668]
PVMG can be isUV too.
p4raw-link: @29668 on //depot/perl: 2e94196c9b65166bc30c1956b01df877a36f8934
p4raw-link: @29643 on //depot/perl: db4997f00d6b1ad267e4fec6a272e72e29719dd1
p4raw-link: @28559 on //depot/perl: e7ecf62cedd0a2f997ee793f65cc0d739269e707

p4raw-id: //depot/maint-5.8/perl@30096
p4raw-branched: from //depot/perl@30095 'branch in'
t/op/threads_create.pl
p4raw-edited: from //depot/perl@29668 'edit in' dump.c (@29642..)
p4raw-integrated: from //depot/perl@29643 'edit in' t/op/threads.t
(@27267..) 'merge in' toke.c (@29601..) MANIFEST (@29625..)
sv.c (@29642..)
p4raw-integrated: from //depot/perl@28559 'edit in'
ext/Devel/Peek/t/Peek.t (@27325..)

17 years agoIntegrate:
Nicholas Clark [Fri, 2 Feb 2007 17:46:17 +0000 (17:46 +0000)]
Integrate:
[ 29628]
Change PAD_MAX to something a bit less FORTRAN-ish than 999999999.

[ 29629]
Abstract the pad code's overloaded use of SvNVX and SvIVX into
4 macros COP_SEQ_RANGE_LOW, COP_SEQ_RANGE_HIGH, PARENT_PAD_INDEX
and PARENT_FAKELEX_FLAGS

[ 29631]
Move PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI to pad.h, export them via
B.pm, so that B::Concise doesn't need to hard code magic numbers.

[ 29663]
Probably better to make PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI special
cases, instead of scanning pad.h to find them, and picking up 3 other
superfluous definitions as a side effect.
p4raw-link: @29663 on //depot/perl: 077a3fa2c3fff382cd8a867b1b39765df61a6fc7
p4raw-link: @29631 on //depot/perl: 6c5e080d01cb781ede98cb40c5af749e9d939e17
p4raw-link: @29629 on //depot/perl: 809abb02185a4df0f7a1a043727bae7a5c08a798
p4raw-link: @29628 on //depot/perl: fc83298a3a621f1e679e6f21aceaef1ab9198bc1

p4raw-id: //depot/maint-5.8/perl@30095
p4raw-integrated: from //depot/perl@30094 'edit in' ext/B/B/Deparse.pm
(@29512..) ext/B/B/Concise.pm (@29629..) ext/B/defsubs_h.PL
(@29631..)
p4raw-edited: from //depot/perl@29631 'edit in' pad.c (@29630..)
p4raw-integrated: from //depot/perl@29631 'edit in'
ext/B/t/concise-xs.t (@29512..)
p4raw-integrated: from //depot/perl@29629 'edit in' pad.h (@27754..)
ext/B/B.pm (@29475..) 'merge in' ext/B/B.xs (@29544..)

17 years agoIntegrate:
Nicholas Clark [Fri, 2 Feb 2007 16:57:24 +0000 (16:57 +0000)]
Integrate:
[ 29506]
Subject: [PATCH] Re: [perl #41065] Out of memory!, while extending scalar
From: Marcus Holland-Moritz <mhx-perl@gmx.net>
Date: Sun, 10 Dec 2006 22:32:32 +0100
Message-ID: <20061210223232.0f3a5318@r2d2>

[ 29574]
Subject: [PATCH] perl.c: leak avoidance
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 16 Dec 2006 11:48:13 -0500
Message-ID: <4584234D.7070209@iki.fi>

[ 29590]
Subject: [PATCH] Don't destroy the Unicode system environment on Perl startup
From: Jan Dubois <jand@ActiveState.com>
Date: Mon, 18 Dec 2006 16:34:33 -0800
Message-ID: <bsbeo2hama2sdo3kqdbrdhp505caeft6h9@4ax.com>

[ 29614]
syswrite() wasn't reporting a warning when writing to a filehandle
opened only for input.
p4raw-link: @29614 on //depot/perl: cf16741603085845f81fd648e5e3d2673dbdf560
p4raw-link: @29590 on //depot/perl: e17132c10efa2439add7a8a0b72ec676600f50f3
p4raw-link: @29574 on //depot/perl: 30985c42177cbe6a80b41e614f8691b272398f01
p4raw-link: @29506 on //depot/perl: bbb8a7e0703e09f15457e855696dbeebcd270517

p4raw-id: //depot/maint-5.8/perl@30094
p4raw-integrated: from //depot/perl@30077 'merge in'
t/lib/warnings/pp_sys (@27199..)
p4raw-integrated: from //depot/perl@29614 'merge in' pp_sys.c
(@29408..)
p4raw-integrated: from //depot/perl@29574 'edit in' perl.c (@29422..)
p4raw-integrated: from //depot/perl@29506 'merge in' doop.c (@28957..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 23:50:30 +0000 (23:50 +0000)]
Integrate:
[ 29492]
In Perl_fbm_instr(), no need to calculate the address of the table if
we're going to return anyway.

[ 29493]
Exterminate! 2 pieces of superfluous code related to UV setting.

[ 29494]
PVBMs mustn't enter anything that turns SVIVisUV_on().

[ 29518]
Change SvTAIL() to check that both SVpbm_TAIL|SVpbm_VALID are true.
SVpbm_VALID is the same bit value is SVf_IVisUV, which means that
PVBMs can't actually ever be IOK. Therefore move BmUSEFUL() into the
IV union, and save one I32 per PVBM.

[ 29534]
Shrink Perl_sv_peek() and Perl_do_sv_dump() by using type to name
lookup tables.
p4raw-link: @29534 on //depot/perl: 5357ca29ecd5f7ab33549d1714a21c4f6a9931ad
p4raw-link: @29518 on //depot/perl: 78d0cf80609ca6ef7050cc76fbcfe7807885b9ce
p4raw-link: @29494 on //depot/perl: 50caf62e77809dea76eee38c00ffaa08a0153def
p4raw-link: @29493 on //depot/perl: 052d0a1435e1caea295a2e88fc678a10a6dce19f
p4raw-link: @29492 on //depot/perl: 3566a07d0a1971a157d7d35ea17ca7d26f785868

p4raw-id: //depot/maint-5.8/perl@30077
p4raw-edited: from //depot/perl@29534 'edit in' dump.c (@29360..)
p4raw-integrated: from //depot/perl@29493 'edit in' sv.c (@29488..)
p4raw-integrated: from //depot/perl@29492 'edit in' util.c (@29489..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 23:16:13 +0000 (23:16 +0000)]
Integrate:
[ 29429]
Verify that the debugger has an array where to store lines before
doing so. This fixes an assertion failure when parsing a script
that begins with '#!perl -d'.
Also, code factorization in toke.c.

[ 29433]
Remove the pp_entersub specific logic from S_get_db_sub.

[ 29434]
Make get_db_sub non-static, and call it from pp_goto, which allows the
removal of duplicate code. (The conversion of GvSV(PL_DBsub) to
GvSVn(PL_DBsub) implicit in this change should fix a failure with
Devel::SmallProf.)

[ 29463]
Move Perl_get_db_sub() from pp_hot.c to util.c

[ 29749]
In toke.c, merge S_update_debugger_info_pv() and
S_update_debugger_info_sv() into S_update_debugger_info().
p4raw-link: @29749 on //depot/perl: 5fa550fb3553a576bba2951a8073ed615edabf77
p4raw-link: @29463 on //depot/perl: c51f309cf368f501b8590fd49c5bad910c416040
p4raw-link: @29434 on //depot/perl: 005a8a35ce5b6191102f848d17a5c617740a685c
p4raw-link: @29433 on //depot/perl: a9ef256d686ebab6464dfd2ad06eb0aff1240f34
p4raw-link: @29429 on //depot/perl: 80a702cd72c27fd870b2290d0adc07670c338743

p4raw-id: //depot/maint-5.8/perl@30075
p4raw-integrated: from //depot/perl@29749 'edit in' toke.c (@29711..)
p4raw-edited: from //depot/perl@29463 'edit in' util.c (@29350..)
p4raw-integrated: from //depot/perl@29463 'edit in' pp_hot.c (@29434..)
p4raw-integrated: from //depot/perl@29434 'edit in' proto.h (@29433..)
p4raw-integrated: from //depot/perl@29433 'edit in' embed.fnc
(@29430..) 'ignore' pp_ctl.c (@29247..)
p4raw-integrated: from //depot/perl@29429 'edit in' embed.h (@29394..)
'merge in' op.c (@29360..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 22:57:54 +0000 (22:57 +0000)]
Integrate:
[ 29327]
Make undef $SIG{FOO} ignore the signal FOO

[ 29328]
Actually, undef $SIG{FOO} should restore the default signal
handler. Else, once we exit a block where the signal handler was
localized, it becomes ignored.
p4raw-link: @29328 on //depot/perl: baf38871fc80983cac18186eda941e2cc1b9430b
p4raw-link: @29327 on //depot/perl: ef3f8aa3fa68a53e4fb36a449b1b8f7b88d809d9

p4raw-id: //depot/maint-5.8/perl@30074
p4raw-integrated: from //depot/perl@29328 'edit in' mg.c (@29327..)

17 years agoIntegrate:
yves orton [Fri, 17 Nov 2006 10:17:48 +0000 (02:17 -0800)]
Integrate:
[ 29311]
Subject: [perl #18209] bug in regex s/\s$word\s/ /gi; and $&
From: "yves orton via RT" <perlbug-followup@perl.org>
Date: Fri, 17 Nov 2006 10:17:48 -0800
Message-ID: <rt-3.5.HEAD-1713-1163787467-1300.18209-15-0@perl.org>

[ 29312]
Subject: [perl #18209] bug in regex s/\s$word\s/ /gi; and $&
From: "yves orton via RT" <perlbug-followup@perl.org>
Date: Fri, 17 Nov 2006 10:17:48 -0800
Message-ID: <rt-3.5.HEAD-1713-1163787467-1300.18209-15-0@perl.org>
p4raw-link: @29312 on //depot/perl: a678b0e43642b70fc74cc90fbae9fc1913934001
p4raw-link: @29311 on //depot/perl: 04e1c60a43cf1dcb6771259219d8604b30e6705b

p4raw-id: //depot/maint-5.8/perl@30073
p4raw-edited: from //depot/perl@29312 'edit in' t/op/pat.t (@29311..)
p4raw-integrated: from //depot/perl@29312 'merge in' mg.c (@29271..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 22:30:00 +0000 (22:30 +0000)]
Integrate:
[ 29361]
Fix for bug #38631: tied variables don't work with .= <>

[ 29416]
Subject: [perl #41008] Setting $0 invalidates environment shown by ps
From: alexander_bluhm@genua.de (via RT) <perlbug-followup@perl.org>
Date: Tue, 28 Nov 2006 05:09:31 -0800
Message-ID: <rt-3.5.HEAD-32013-1164719371-480.41008-75-0@perl.org>

[ 29446]
Subject: Re: [perl #38868] Changing $0 on darwin leads to excessive padding in 'ps'
From: Chris Dolan <chris@chrisdolan.net>
Date: Sat, 2 Dec 2006 09:37:08 -0600
Message-Id: <005671A0-5C2B-464C-85B9-A91E52278194@chrisdolan.net>

[ 29488]
add missing OP_REFCNT_LOCK/UNLOCKs and document it

[ 29530]
The overly-picky AIX xlc compiler doesn't like the style
from patch #29446

[ 29531]
Subject: [PATCH] mg.c: #ifdef only the different bits
From: jhi@cc.hut.fi (Jarkko Hietaniemi)
Date: Tue, 12 Dec 2006 15:18:53 +0200 (EET)
Message-Id: <20061212131853.C2CBA43A67@anubis.hut.fi>
p4raw-link: @29531 on //depot/perl: 60777a0ddefff116b2ee80376468ae1812a47dcc
p4raw-link: @29530 on //depot/perl: 8a89a4f1bb82cfdcf0d60fe79d4a46789692b97f
p4raw-link: @29488 on //depot/perl: d3c72c2aff7252db1d3477802ef64270fef79eae
p4raw-link: @29446 on //depot/perl: 235ac35db87eeb01f0e613de4bd82180b6fa10e8
p4raw-link: @29416 on //depot/perl: 9d3968b272fe0ca6f9e4110df961b705d4665965
p4raw-link: @29361 on //depot/perl: 0f722b558ffdeebb2a4a1827ea54471c04bdd41d

p4raw-id: //depot/maint-5.8/perl@30071
p4raw-integrated: from //depot/perl@30070 'merge in' t/op/readline.t
(@29273..)
p4raw-integrated: from //depot/perl@29488 'merge in' op.h (@29360..)
sv.c (@29430..)
p4raw-integrated: from //depot/perl@29416 'edit in' mg.c (@29360..)
p4raw-integrated: from //depot/perl@29361 'merge in' pp_hot.c
(@29360..)

17 years agoIntegrate:
yves orton [Fri, 17 Nov 2006 09:48:14 +0000 (01:48 -0800)]
Integrate:
[ 29239]
[perl #40718] perl parser bug leading to memory corruption
quoted-string parser naughtily maintained a pointer into an SV
which could get realloc()ed.

[ 29263]
Fix a bug in the debugger tracing variables when one was eval'ing
a string including a "#line" directive containing the actual
name of the file already. (following-up change #25409)

[ 29273]
Fix bug #39037: rcatline doesn't stringify references

[ 29310]
Subject: [perl #22395] regexp /(.*)[bc]/ 10000 times slower in 5.8.0 vs 5.6.1
From: "yves orton via RT" <perlbug-followup@perl.org>
Date: Fri, 17 Nov 2006 09:48:14 -0800
Message-ID: <rt-3.5.HEAD-1666-1163785693-404.22395-15-0@perl.org>

[ 29310]
Subject: [perl #22395] regexp /(.*)[bc]/ 10000 times slower in 5.8.0 vs 5.6.1
From: "yves orton via RT" <perlbug-followup@perl.org>
Date: Fri, 17 Nov 2006 09:48:14 -0800
Message-ID: <rt-3.5.HEAD-1666-1163785693-404.22395-15-0@perl.org>

[ 29310]
Subject: [perl #22395] regexp /(.*)[bc]/ 10000 times slower in 5.8.0 vs 5.6.1
From: "yves orton via RT" <perlbug-followup@perl.org>
Date: Fri, 17 Nov 2006 09:48:14 -0800
Message-ID: <rt-3.5.HEAD-1666-1163785693-404.22395-15-0@perl.org>

[ 29330]
Unify the two warnings "Can't declare %s in %s", in line with what's
documented in perldiag.

[ 29336]
Invalidate the method lookup cache when assigning to a glob
named "isa". (That happens when importing "isa" from UNIVERSAL,
for example.) Fixes bug #24824.

[ 29350]
Fix infinite loop in Perl_my_strftime() for failing strftime()
p4raw-link: @29350 on //depot/perl: 7743c30757199ca2f38bf73a40c6d3a6aef6b5ea
p4raw-link: @29336 on //depot/perl: ae6d515f69537dd5e2631b15104c2c90d022fd19
p4raw-link: @29330 on //depot/perl: fab01b8e4080035d4784d26a98f32ff7082031b0
p4raw-link: @29310 on //depot/perl: cf2a2b693556595262000bd111376253d237e7a7
p4raw-link: @29273 on //depot/perl: 48de12d940c558762a4819fcf31deba3b8cb6fea
p4raw-link: @29263 on //depot/perl: e5527e4b218996e0d66f0df3471b217282de3bb5
p4raw-link: @29239 on //depot/perl: 0331ef07c86d2e7ed952b45f1b72f9cab35c4845
p4raw-link: @25409 on //depot/perl: e66cf94c7069ec9c7bdb94d5438988fe7012771f

p4raw-id: //depot/maint-5.8/perl@30070
p4raw-integrated: from //depot/perl@30069 'edit in' t/op/universal.t
(@28392..) 'merge in' t/op/attrs.t (@28761..)
p4raw-integrated: from //depot/perl@29350 'merge in' util.c (@29314..)
p4raw-integrated: from //depot/perl@29336 'edit in' pp_hot.c (@29273..)
p4raw-integrated: from //depot/perl@29330 'merge in' op.c (@29329..)
p4raw-edited: from //depot/perl@29310 'edit in' t/op/pat.t (@29308..)
p4raw-integrated: from //depot/perl@29310 'merge in' regcomp.c
(@29308..)
p4raw-integrated: from //depot/perl@29273 'merge in' t/op/readline.t
(@28364..)
p4raw-integrated: from //depot/perl@29263 'edit in' toke.c (@29239..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 21:05:26 +0000 (21:05 +0000)]
Integrate:
[ 29201]
Subject: [PATCH] replace S_sv_pos_b2u_forwards with utf8_length (was: sv_pos_b2u dislikes the extended UTF-8)
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Sun, 21 May 2006 14:00:43 +0900
Message-Id: <20060521140011.358D.BQW10602@nifty.com>

[ 29229]
Subject: [PATCH] Perl_die() / Perl_croak()
From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Date: Tue, 07 Nov 2006 23:27:40 -0800
Message-ID: <455186EC.8010906@p6m7g8.com>

(backported to embed.fnc)

[ 29259]
Subject: [PATCH] was RE: Perl_die() / Perl_croak()
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Date: Mon, 13 Nov 2006 10:25:08 -0000
Message-ID: <2C2E01334A940D4792B3E115F95B7226149377@exchsvr1.npl.ad.local>

[ 29313]
Tweaks needed to get Perl compiling with g++ on OpenBSD.

[ 29363]
Remove superfluous SvROK()

[ 29386]
Change (well, correct) S_add_data to take and return a U32.

[ 29387]
Simplify S_add_data(), given that realloc will NULL acts as malloc().

[ 29476]
save_I8 is not a mathom.

[ 29482]
Subject: [PATCH] Perl_save_destructor is not a mathom
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Date: Wed, 6 Dec 2006 11:12:13 -0800 (PST)
Message-ID: <20061206191213.35036.qmail@web30206.mail.mud.yahoo.com>

[ 29486]
No need to upgrade if all we're going to do is return.
p4raw-link: @29486 on //depot/perl: d07077ccb1603dbe7825b6fa721a5e5e922b807e
p4raw-link: @29482 on //depot/perl: 12ab1f5870d67c16798ce1851c193e75f4346248
p4raw-link: @29476 on //depot/perl: 581888587cc86bb21abcd35374b8f9e3c2857fa0
p4raw-link: @29387 on //depot/perl: 4a4e7719d3ad3a7cd7b1504c2ab39dd9db11de1f
p4raw-link: @29386 on //depot/perl: 2eccd3b2550197fc30b4f217fbedb861d6732099
p4raw-link: @29363 on //depot/perl: a9fe210d2c78e54078c497ec463a09bde9076605
p4raw-link: @29313 on //depot/perl: b91fbb9359c40ba617276a21a86b8809f9df07f0
p4raw-link: @29259 on //depot/perl: cdfeb707a2638190212953e4a52d8460de223429
p4raw-link: @29229 on //depot/perl: ac979cf5a6398fe3588f85b203caac3e0ac8b7ea
p4raw-link: @29201 on //depot/perl: 6448472a7a0e4a2f91d781fd6991f5f5126d6fbc

p4raw-id: //depot/maint-5.8/perl@30069
p4raw-integrated: from //depot/perl@30068 'merge in' t/op/index.t
(@28550..)
p4raw-integrated: from //depot/perl@29486 'edit in' util.c (@29463..)
p4raw-edited: from //depot/perl@29482 'edit in' scope.c (@29476..)
p4raw-integrated: from //depot/perl@29476 'edit in' mathoms.c
(@29221..)
p4raw-edited: from //depot/perl@29387 'edit in' regcomp.c (@29386..)
p4raw-integrated: from //depot/perl@29313 'merge in' perlio.c
(@29155..)
p4raw-integrated: from //depot/perl@29259 'edit in' perl.h proto.h
(@29252..) 'merge in' embed.pl (@28472..)
p4raw-integrated: from //depot/perl@29229 'edit in' embed.fnc
(@29222..)
p4raw-edited: from //depot/perl@29201 'edit in' sv.c (@29142..)
p4raw-integrated: from //depot/perl@29201 'merge in' embed.h (@29187..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 20:23:46 +0000 (20:23 +0000)]
Integrate:
[ 29197]
When code is loaded through an @INC-hook, and when this hook
has set a filename entry in %INC, make sure __FILE__ is set
for this code accordingly to the contents of that %INC entry.

[ 29235]
Change the documentation of the return values of @INC-hooks to match
what is tested to work. (It's a bit confusing that optional values
might appear at the middle, too.)

[ 29236]
Subject: [PATCH t/op/inccode.t] fails under minitest
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Date: Wed, 8 Nov 2006 15:18:23 -0000
Message-ID: <2C2E01334A940D4792B3E115F95B7226120AA5@exchsvr1.npl.ad.local>

[ 29584]
Subject: [PATCH blead] Re: [perl #41071] require stringifies code references in tied @INC
From: Rick Delaney <rick@bort.ca>
Date: Fri, 15 Dec 2006 23:28:25 -0500
Message-ID: <20061216042825.GB23501@localhost.localdomain>
p4raw-link: @29584 on //depot/perl: c38a65302a7e2e2ea9b8748d368c87d573add6fd
p4raw-link: @29236 on //depot/perl: ab7423222bba21f69873406be80957820f00b893
p4raw-link: @29235 on //depot/perl: cec0e1a713ccb7c8fc9ec931b52653d1683bcbb9
p4raw-link: @29197 on //depot/perl: a3b58a99a41a86ac422b863ee2844e354b2915f3

p4raw-id: //depot/maint-5.8/perl@30068
p4raw-branched: from //depot/perl@29584 'branch in' t/op/inccode-tie.t
p4raw-integrated: from //depot/perl@29584 'merge in' MANIFEST
(@29580..)
p4raw-integrated: from //depot/perl@29236 'ignore' t/op/inccode.t
(@29197..)
p4raw-integrated: from //depot/perl@29235 'merge in' pod/perlfunc.pod
(@29230..)
p4raw-integrated: from //depot/perl@29197 'edit in' pp_ctl.c (@29193..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 19:07:36 +0000 (19:07 +0000)]
Integrate:
[ 29033]
Subject: [perl #40557] regexec.c saves context stack position improperly
From: Dave Bailey (via RT) <perlbug-followup@perl.org>
Date: Tue, 17 Oct 2006 09:37:28 -0700
Message-ID: <rt-3.5.HEAD-4979-1161103047-337.40557-75-0@perl.org>

[ 29059]
zero length $1 took too long to detect utf8-ness

[ 29063]
only do \C hackery if \C is seen

From: demerphq <demerphq@gmail.com>
Date: Fri, 20 Oct 2006 12:38:13 +0200
Subject: Re: utf8 regexp performance problem
Message-ID: <9b18b3110610200338k5df1d3afpf829fbc0f3663a75@mail.gmail.com>
p4raw-link: @29063 on //depot/perl: 526550006a9e67e99d92fcb1eb05fe7b52d5172a
p4raw-link: @29059 on //depot/perl: 4978b1831a24ff36fc8bea075526005cdf40e132
p4raw-link: @29033 on //depot/perl: ea8d6ae1f062ab3b10e0ad05f17970dead9860ff

p4raw-id: //depot/maint-5.8/perl@30066
p4raw-integrated: from //depot/perl@29063 'edit in' mg.c (@29059..)
p4raw-integrated: from //depot/perl@29033 'merge in' scope.h (@28252..)
scope.c (@28858..) regexec.c (@28998..)

17 years agoIntegrate:
SADAHIRO Tomoyuki [Fri, 27 Oct 2006 00:19:34 +0000 (09:19 +0900)]
Integrate:
[ 29040]
panic if we attempt to sv_setsv to or from an already freed SV.

[ 29097]
No warning was produced if perl failed to load PerlIO::scalar
(contrary to other PerlIO layers.)

[ 29108]
Fix small leak with -F at interpreter destruction

[ 29116]
Subject: Re: [perl #40583] sprintf "%#04X" also uppercases the 0x-prefix
Message-Id: <20061027001924.B158.BQW10602@nifty.com>

[ 29143]
Change the non-mkstemp, non-win32 code path of PerlIO_tmpfile
to use PerlIO_fdopen so that when the tmpfile is closed we do
not decrement a ref count that doesn't exist or is zero.
p4raw-link: @29143 on //depot/perl: 085e731f54b0044b320e296e710d73b7205fdf7a
p4raw-link: @29116 on //depot/perl: e6bb52fd8a15fdb23e83c108d05608cd4c7ff736
p4raw-link: @29108 on //depot/perl: 84386e14e5a1a25955637097f35813958ed6f356
p4raw-link: @29097 on //depot/perl: 75208dda88c67964167b44f78b4c8a0a93b6aa9c
p4raw-link: @29040 on //depot/perl: 29f4f0ab0cd22a86a6abeeb9b5de96d9506fd84a

p4raw-id: //depot/maint-5.8/perl@30065
p4raw-integrated: from //depot/perl@30063 'merge in' t/op/sprintf.t
(@29104..)
p4raw-integrated: from //depot/perl@29116 'edit in' pod/perlfunc.pod
(@29106..)
p4raw-integrated: from //depot/perl@29108 'merge in' perl.c (@29053..)
p4raw-integrated: from //depot/perl@29097 'edit in' perlio.c (@29065..)
p4raw-integrated: from //depot/perl@29040 'edit in' sv.c (@29025..)

17 years agoAnd now actually fixed. (All tests pass)
Nicholas Clark [Mon, 29 Jan 2007 18:20:31 +0000 (18:20 +0000)]
And now actually fixed. (All tests pass)

p4raw-id: //depot/maint-5.8/perl@30063

17 years agoFix up damage from change 30061 - at least make sv.c compile.
Nicholas Clark [Mon, 29 Jan 2007 18:02:23 +0000 (18:02 +0000)]
Fix up damage from change 30061 - at least make sv.c compile.
[Problem caused by not running make test in the correct tree]

p4raw-id: //depot/maint-5.8/perl@30062

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 17:39:20 +0000 (17:39 +0000)]
Integrate:
[ 29008]
Don't bother checking for bad characters in prototypes if we're not
going to warn about them.

[ 29028]
Less brace nesting.

[ 29042]
Using explicit printf-like APIs with a format of "%s" isn't the world's
most efficient idea.

[ 29068]
Quiet a warning in pp_sys.c on AIX.

[ 29157]
VOL should be used instead of volatile in the core.

[ 29190]
This volatile modifier is not on the referent, but on the pointer
(see change 28606)
p4raw-link: @29190 on //depot/perl: e3cbe32fd54913ec661efbd9621eea9e70c8ca47
p4raw-link: @29157 on //depot/perl: 8ea43dc8262c63460fee9fcba4164e8b15a45289
p4raw-link: @29068 on //depot/perl: 2c2f35abb7961b572c45e5e167bb72553908228d
p4raw-link: @29042 on //depot/perl: 00e0e810c1b6ec448029dccbfb10081759cf8705
p4raw-link: @29028 on //depot/perl: d9f2850e1dace825c523d7e9c58701cfcfa11e3c
p4raw-link: @29008 on //depot/perl: 28cc6278baa5798d61d516dada16b1e45d160952

p4raw-id: //depot/maint-5.8/perl@30061
p4raw-integrated: from //depot/perl@29190 'edit in' op.c (@29187..)
p4raw-integrated: from //depot/perl@29157 'merge in' perl.c (@29108..)
p4raw-integrated: from //depot/perl@29068 'merge in' pp_sys.c
(@28910..)
p4raw-integrated: from //depot/perl@29042 'edit in' XSUB.h (@28966..)
'merge in' dump.c (@28957..)
p4raw-integrated: from //depot/perl@29028 'edit in' toke.c (@29026..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 17:14:16 +0000 (17:14 +0000)]
Integrate:
[ 28867]
Subject: [PATCH] C++: add -Wno-used-parameter, and drop ODBM_File
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Tue, 19 Sep 2006 09:19:22 +0300
Message-ID: <450F8BEA.1010802@iki.fi>

[ 28914]
Subject: Re: [PATCH] cflags.SH: rethink of the gcc -std=c89 and -pedantic
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 02 Oct 2006 13:04:14 +0300
Message-ID: <4520E41E.8040300@iki.fi>

[ 28955]
Subject: [PATCH] cflags.SH: strip -std=c89 for g++
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 07 Oct 2006 13:37:04 +0300
Message-ID: <45278350.8020707@iki.fi>

[ 29398]
Subject: [PATCH] Re: [PATCH] perlhack: some portability updates
From: Dominic Dunlop <shouldbedomo@mac.com>
Date: Sun, 26 Nov 2006 12:01:16 +0100
Message-Id: <253514EB-BA57-4A43-93FA-75D6F3CF27BC@mac.com>

[ 29400]
Typo fix (by Dominic Dunlop)

[ 30016]
If we have specified -Dgccansipedantic on the Configure command-line,
assume we really want it

[ 30019]
cflags.SH was broken: it was compiling a C file for testing available
command-line options, but this C file was including perl.h, which in
turn includes config.h, which might not be present at that time. So
force the generation of config.h.
p4raw-link: @30019 on //depot/perl: 6ef8aa7c9cfbc9b6bc5d5b07d6e1506e3058b4aa
p4raw-link: @30016 on //depot/perl: 3e8416a3d479179c18109951e5260dc3c0ae4158
p4raw-link: @29400 on //depot/perl: 5cf489d61c74279295e704d8bb682720f309c5fa
p4raw-link: @29398 on //depot/perl: e5afc1aea69c61fd216c89b539e0b6d44ea5b581
p4raw-link: @28955 on //depot/perl: 9ac4c1072a98d8d5ad54c6972c40921620c69d8e
p4raw-link: @28914 on //depot/perl: a07cd53d52eddd3373b7f4babb55144d44a1613d
p4raw-link: @28867 on //depot/perl: a7ae1e4a956bbd5ffa44d286e0591bf4c0e7c341

p4raw-id: //depot/maint-5.8/perl@30060
p4raw-integrated: from //depot/perl@29398 'merge in' perl.h (@29397..)
p4raw-integrated: from //depot/perl@28914 'edit in' cflags.SH
(@28867..)
p4raw-integrated: from //depot/perl@28867 'merge in' Makefile.SH
(@28790..)

17 years agoIntegrate:
Nicholas Clark [Mon, 29 Jan 2007 16:46:38 +0000 (16:46 +0000)]
Integrate:
[ 28917]
Subject: [perl #40427] Segfault in pack
From: dgay@acm.org (via RT) <perlbug-followup@perl.org>
Date: Thu, 28 Sep 2006 17:30:37 -0700
Message-ID: <rt-3.5.HEAD-31259-1159489837-428.40427-75-0@perl.org>

[ 28975]
fix bad free in do_exec3()

[ 28985]
Subject: [perl #40473] sprintf width+precision fails on wide chars
From: Anatoly Vorobey (via RT) <perlbug-followup@perl.org>
Date: Sun, 08 Oct 2006 17:58:16 -0700
Message-ID: <rt-3.5.HEAD-31259-1160355496-1702.40473-75-0@perl.org>

[ 28993]
Missing % in format string

[ 29016]
Avoid undefined behaviour for -DPERL_MEM_LOG by not using a direct
dereference of member of the structure being reallocated as part of
the size calculation. (There may be other similar bugs).

[ 29025]
Subject: [PATCH] Re: sprintf 64 test
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Sun, 15 Oct 2006 16:51:34 +0900
Message-Id: <20061015165052.77AD.BQW10602@nifty.com>

1. nullify 0 flag in integer conversions when precision is given
2. ignore space after a plus sign as a sign for a nonnegative number
3. make a negative precision through * working as if the precision
   is omitted
p4raw-link: @29025 on //depot/perl: 9911cee9a9c011ce0c7f2203e6247489dafc24ae
p4raw-link: @29016 on //depot/perl: 2eb97020013532fece8d6206100165c4e92a4350
p4raw-link: @28993 on //depot/perl: d04ff51e6b5e54b835a6e38cc4037da588963d3b
p4raw-link: @28985 on //depot/perl: 59b61096be97d8d463125e3b0422c5a6bd05f1e5
p4raw-link: @28975 on //depot/perl: 15db3ae289ff45bb22c7aa4fbfecdc85d7503321
p4raw-link: @28917 on //depot/perl: ee790063445e363f16d5865913a74a9b6fe5cc39

p4raw-id: //depot/maint-5.8/perl@30058
p4raw-integrated: from //depot/perl@30057 'merge in' pp_pack.c
(@28786..)
p4raw-integrated: from //depot/perl@29025 'edit in' sv.c (@28985..)
'merge in' t/op/sprintf.t (@28839..) pod/perlfunc.pod
(@28965..)
p4raw-integrated: from //depot/perl@29016 'merge in' regcomp.c
(@29005..)
p4raw-integrated: from //depot/perl@28993 'merge in' perl.h (@28966..)
p4raw-integrated: from //depot/perl@28985 'edit in' t/op/sprintf2.t
(@28328..)
p4raw-integrated: from //depot/perl@28975 'merge in' doio.c (@28886..)

17 years agoIntegrate:
Jarkko Hietaniemi [Thu, 21 Sep 2006 09:08:47 +0000 (12:08 +0300)]
Integrate:
[ 28877]
Subject: [PATCH] deal with some gcc warnings
Message-ID: <45122C6F.9080904@iki.fi>

[ 28910]
In pp_binmode, call mode_from_discipline() once and remember the result.

[ 28911]
In PerlIO_debug(), if tainting or set*id, set PL_perlio_debug_fd to -1
first time through to reduce the checks on subsequent calls.

[ 28947]
Don't bother generating the "Operation \"%s\": no method found..."
message text if we're not going to use it.

[ 28950]
Generate the overload enum and names array programatically, which
allows experimentation with the order. The new order shaves nearly
900 bytes from gv.o, because the compiler can make smaller branch
tables for switch statements.

[ 28951]
Fix typo spotted by Rafael. Close the file handle explicity and check
for errors. Add overload.pl to regen.pl

[ 28952]
Make the executable slightly smaller by using PL_hexdigit in
Perl_sv_vcatpvfn.

[ 28961]
Make reference stringification (blessed and unblessed) about as fast as
is possible, because I'm told it's used quite frequently.

[ 29015]
Use Perl_croak_nocontext() rather than Perl_croak() for the snprintf()
and vsnprintf() macros.
p4raw-link: @29015 on //depot/perl: 12e82c57598512160891396c5760944e2e0d31c5
p4raw-link: @28961 on //depot/perl: fafee734dd1789ab8d2c4d54e0089d2894535aeb
p4raw-link: @28952 on //depot/perl: 14eb61abeadfb74caff7a54735fa8cd3088a535e
p4raw-link: @28951 on //depot/perl: 8c798f879fd93d8d52542fe5d6d63725e8005251
p4raw-link: @28950 on //depot/perl: bab3dc31a54b991bcbbb7b33bb5ede8251f0e056
p4raw-link: @28947 on //depot/perl: 4cc0ca1820795147dd27e5805c8227de0ebaace3
p4raw-link: @28911 on //depot/perl: 582588d244ad30f176d66f31670f637b0bdb9884
p4raw-link: @28910 on //depot/perl: f0a78170a1cd45c5019f6c77288041aa0767e0ff
p4raw-link: @28877 on //depot/perl: b57a0404d6b6347be89474e64fcdac6ac6ea98db

p4raw-id: //depot/maint-5.8/perl@30057
p4raw-added: from //depot/perl@30056 'edit' overload.h
p4raw-integrated: from //depot/perl@30056 'merge in' regen.pl
(@28790..)
p4raw-added: from //depot/perl@28951 'edit' overload.pl (@28950..)
p4raw-integrated: from //depot/perl@28950 'edit in' perl.h (@28949..)
'merge in' MANIFEST (@28933..)
p4raw-integrated: from //depot/perl@28947 'merge in' gv.c (@28674..)
p4raw-integrated: from //depot/perl@28911 'edit in' perlio.c (@28879..)
p4raw-integrated: from //depot/perl@28910 'merge in' pp_sys.c
(@28741..)
p4raw-integrated: from //depot/perl@28877 'edit in' sv.c (@28865..)
'merge in' reentr.c (@28565..) reentr.pl (@28750..) doio.c
(@28863..) util.c (@28864..)

17 years agoIntegrate:
Jarkko Hietaniemi [Sat, 19 Aug 2006 14:34:53 +0000 (17:34 +0300)]
Integrate:
[ 27795]
(Hopefully) fix coredumps in ByteLoader, which were a side effect of
fixing a bug in B, and non-robust autogenerated code. When
autogenerating initialiser statements for an array, it's a bad plan to
have the size of that array hard coded.

[ 27826]
Coverity was getting upset about an assignment from a function
returning int to a U8 variable. Curiously it was only getting upset
about the first of many.
However, we are doing NO ERROR CHECKING on whether we read in the
requested number of bytes of bytecode. All except BGET_op_tr_array
will now croak on a short read.

[ 27874]
Oops. Change 27826 had an error in the definition of BGET_PADOFFSET().

[ 28638]
Silence the VC7 compiler warning in the following smoke:
http://www.nntp.perl.org/group/perl.daily-build.reports/39824

[ 28667]
Try to reinstate the fix of change #28638 by patching bytecode.pl and
not the file it generates

[ 28668]
Provide a BGET_svtype, required by #28667

[ 28739]
Subject: [PATCH] bytecode.t failures in Tru64: svtype (enum) is int, not long
Message-Id: <200608191134.k7JBYroK518962@kosh.hut.fi>

plus fix 28739 to use U32 rather than I32 to avoid an error on this
ILP 32 bit system. (Checked also with -Duse64bitint, but we await the
verdict on an LP64 system)
p4raw-link: @28739 on //depot/perl: cd47bfdcdcaf11bca8ccb0afadaaa1d23503b9ee
p4raw-link: @28668 on //depot/perl: 103a10514868618165742e26004f4b21f10d36df
p4raw-link: @28667 on //depot/perl: f716adb3f9a09676aaac557a3b2b8fee45443c0d
p4raw-link: @28638 on //depot/perl: 98e3ba2c7915a38045b973577ec684fa0de54948
p4raw-link: @27874 on //depot/perl: 77c0971848175eeb99efb2cca9509cbb29622d32
p4raw-link: @27826 on //depot/perl: 7d78471c63f10d04f55bbf9f835712005c358e03
p4raw-link: @27795 on //depot/perl: 93d343c6c59d1d6b5e6307c31585c77ab830183d

p4raw-id: //depot/maint-5.8/perl@30056
p4raw-edited: from //depot/perl@28739 'edit in' ext/B/B/Assembler.pm
(@28670..)
p4raw-integrated: from //depot/perl@28668 'edit in'
ext/ByteLoader/bytecode.h (@28257..)
p4raw-integrated: from //depot/perl@28667 'edit in' bytecode.pl
(@28258..) 'merge in' ext/B/B/Asmdata.pm (@28258..)
p4raw-integrated: from //depot/perl@28638 'edit in'
ext/ByteLoader/byterun.c (@28258..)

17 years agoIntegrate:
Yves Orton [Tue, 23 May 2006 22:27:40 +0000 (00:27 +0200)]
Integrate:
[ 28297]
Subject: [PATCH] Stop harness from printing summary table header for each row in table
Message-ID: <9b18b3110605231327t316104caoce301668178ee442@mail.gmail.com>

[ 28304]
Upgrade to Test-Harness-2.60

[ 28384]
Upgrade to Test::Harness 2.62

[ 28386]
Adapt the new Test::Harness test to the core

[ 28953]
Upgrade to Test-Harness-2.64
p4raw-link: @28953 on //depot/perl: 5b1ebecd6d20d472272a372288570616cb63b531
p4raw-link: @28386 on //depot/perl: e77388947cb2bf6620678b8c9693537e8c7df7e6
p4raw-link: @28384 on //depot/perl: d1ef75db26a53db337bba97d4d09e1f6e1468cbe
p4raw-link: @28304 on //depot/perl: d820f32464b89cbf6fad2e850108345a3b36aaa1
p4raw-link: @28297 on //depot/perl: cdfe229e642682dd52e04cdd1232a90648b35fe3

p4raw-id: //depot/maint-5.8/perl@30055
p4raw-branched: from //depot/perl@30054 'branch in'
lib/Test/Harness/Results.pm lib/Test/Harness/t/failure.t
(@28386..)
p4raw-integrated: from //depot/perl@30054 'copy in'
lib/Test/Harness/t/callback.t (@22021..)
lib/Test/Harness/t/00compile.t (@24314..)
lib/Test/Harness/t/strap-analyze.t (@24941..)
lib/Test/Harness/Util.pm lib/Test/Harness/t/prove-switches.t
lib/Test/Harness/t/test-harness.t (@27902..)
lib/Test/Harness/Straps.pm lib/Test/Harness/bin/prove
(@27940..) lib/Test/Harness/Changes (@28384..)
p4raw-integrated: from //depot/perl@28953 'edit in' MANIFEST (@28950..)
p4raw-integrated: from //depot/perl@28304 'edit in' lib/Test/Harness.pm
(@28297..)

17 years agoChange 28489 giveth, and change 28488 taketh away. (Although for most
Nicholas Clark [Sun, 28 Jan 2007 23:29:04 +0000 (23:29 +0000)]
Change 28489 giveth, and change 28488 taketh away. (Although for most
people time flows forwards, so they won't see it this way). But the
problem is that 28488 taketh away the {}, and whilst 28489 puteth them
back, 28489 was about state variables, so I'm not merging it.
Hence this need for a manual fixup. (And something else I'd like to
fixup is gcc, for not having a C89-death-or-glory flag)

p4raw-id: //depot/maint-5.8/perl@30054

17 years agoFix bug introduced by a clean merge in change 30051. Either my test
Nicholas Clark [Sun, 28 Jan 2007 23:11:59 +0000 (23:11 +0000)]
Fix bug introduced by a clean merge in change 30051. Either my test
environment is screwy, or my ability to read (or at least notice things)
is impaired. Although I suspect upgrading to Test::Harness 2.62 will
help, as that restores the die-on-errors, which t/harness lacks
currently.

p4raw-id: //depot/maint-5.8/perl@30053

17 years agoIntegrate:
Nicholas Clark [Sun, 28 Jan 2007 21:56:48 +0000 (21:56 +0000)]
Integrate:
[ 28626]
Clear up most of the VC6 compiler warnings in the following smoke:
http://www.nntp.perl.org/group/perl.daily-build.reports/39733
p4raw-link: @28626 on //depot/perl: 670f1322a800dc03404a696600a617f3804f797d

p4raw-id: //depot/maint-5.8/perl@30051
p4raw-integrated: from //depot/perl@28626 'edit in' pp.c (@28381..)
hv.c (@28570..) op.c (@28606..) 'merge in' pp_pack.c (@28289..)
ext/XS/APItest/APItest.xs (@28335..) ext/B/B.xs (@28337..)
utf8.c (@28607..)

17 years agoUpdate Changes
Nicholas Clark [Sun, 28 Jan 2007 08:28:43 +0000 (08:28 +0000)]
Update Changes

p4raw-id: //depot/maint-5.8/perl@30049

17 years agoIntegrate:
Nicholas Clark [Sun, 28 Jan 2007 00:08:17 +0000 (00:08 +0000)]
Integrate:
[ 27951]
Subject: [perl #38709] Opening '|-' triggers unjustified taint check
From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
Date: Fri, 10 Mar 2006 20:10:49 -0800
Message-ID: <rt-3.0.11-38709-130993.2.89182805885773@perl.org>

[ 28488]
Fix a bug on setting OPpASSIGN_COMMON on a AASSIGN op when the left
side is made out a list declared with our(). In this case OPpLVAL_INTRO
isn't set on the left op, so we just remove that check. Add new tests.

[ 28879]
Subject: RE: Combining UTF-16 output with :crlf is awkward
From: "Jan Dubois" <jand@ActiveState.com>
Date: Thu, 6 Apr 2006 18:37:21 -0700
Message-ID: <0bbe01c659e3$d0c334a0$2217a8c0@candy>

[ 29297]
Change #27951 added tests to t/op/taint.t involving taint, opening
"|-".  Unfortunately, this usually reacts badly on OpenBSD with
threaded Perls, causing zombie processes nearly every time this is run.
For now, skipping the test seem reasonable while working on a solution
to the problem.

[ 29302]
Change 29297 omitted a semicolon.
p4raw-link: @29302 on //depot/perl: 8c2c7bd1c837710e3da4615e6cef54d3cd20fc6e
p4raw-link: @29297 on //depot/perl: b4fda7a3efdbcb46909f79ab633c4ab86e35dbb4
p4raw-link: @28879 on //depot/perl: ff1e38834cd604970c075bd632ce9b1b3ec84bd9
p4raw-link: @28488 on //depot/perl: f17e6c41cacfbc6fe88a5ea5e01ba690dfdc7f2e
p4raw-link: @27951 on //depot/perl: f27977c3127ab1a3bd087690c418557490be39b2

p4raw-id: //depot/maint-5.8/perl@30048
p4raw-integrated: from //depot/perl@30047 'edit in' t/op/array.t
(@26186..)
p4raw-integrated: from //depot/perl@29297 'edit in' t/op/taint.t
(@29225..)
p4raw-integrated: from //depot/perl@28879 'merge in' perlio.c
(@28814..)
p4raw-integrated: from //depot/perl@28488 'merge in' op.c (@28465..)
p4raw-integrated: from //depot/perl@27951 'merge in' doio.c (@27641..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 23:49:02 +0000 (23:49 +0000)]
Integrate:
[ 28359]
Upgrade to Encode 2.18
p4raw-link: @28359 on //depot/perl: 656ebd29b326e7cb4e9181b77b10fccb1c1df3c6

p4raw-id: //depot/maint-5.8/perl@30047
p4raw-integrated: from //depot/perl@30046 'copy in'
ext/Encode/Byte/Byte.pm ext/Encode/CN/CN.pm
ext/Encode/EBCDIC/EBCDIC.pm ext/Encode/JP/JP.pm
ext/Encode/KR/KR.pm ext/Encode/Symbol/Symbol.pm
ext/Encode/TW/TW.pm ext/Encode/lib/Encode/Alias.pm
ext/Encode/lib/Encode/CJKConstants.pm
ext/Encode/lib/Encode/CN/HZ.pm ext/Encode/lib/Encode/Config.pm
ext/Encode/lib/Encode/Encoding.pm
ext/Encode/lib/Encode/Guess.pm ext/Encode/lib/Encode/JP/H2Z.pm
ext/Encode/lib/Encode/JP/JIS7.pm
ext/Encode/lib/Encode/KR/2022_KR.pm
ext/Encode/lib/Encode/MIME/Header.pm
ext/Encode/lib/Encode/MIME/Header/ISO_2022_JP.pm
ext/Encode/lib/Encode/Unicode/UTF7.pm (@28098..)
ext/Encode/Changes ext/Encode/encoding.pm (@28152..)
p4raw-integrated: from //depot/perl@28359 'copy in'
ext/Encode/bin/enc2xs (@28098..) ext/Encode/Encode.xs
(@28141..) ext/Encode/Encode.pm (@28152..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 23:25:32 +0000 (23:25 +0000)]
Integrate:
[ 26958]
Subject: [PATCH] quiet gcc Info message in cygwin
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Wed, 25 Jan 2006 19:16:09 -0800
Message-ID: <20060126031608.GA2588@efn.org>

[ 27212]
Don't add -fPIC if already present.

Subject: [PATCH] 5.8.8: Debian patches
From: "Brendan O'Dea" <bod@debian.org>
Date: Sat, 11 Feb 2006 00:37:15 +1100
Message-ID: <20060210133715.GA6826@londo.c47.org>

[ 27250]
Subject: [PATCH] Make SDBM_File work with -Duse64bitall on Darwin (Mac OS X)
From: Dominic Dunlop <shouldbedomo@mac.com>
Date: Feb 20, 2006 1:46 PM
Message-Id: <B699DDDE-EC4E-495D-AFF5-3D7399332A24@mac.com>

[ 27333]
Subject: [PATCH] Suppress System V IPC for 64-bit Darwin builds
From: Dominic Dunlop <shouldbedomo@mac.com>
Date: Fri, 24 Feb 2006 17:22:54 +0100
Message-Id: <A685C5DB-23CE-430E-95F1-CC7A9480DDF9@mac.com>

[ 27995]
Anton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
should just be using -pthread on the linker line.
This stops the new taint tests looping infinitely. It also seems to
cure the TODO test in posix.t - masked SIGINT is now received.

[ 28116]
Remvove code that gets undone in the next line.
Keep the documentation part.

[ 28155]
Add -fno-delete-null-pointer-checks to ccflags on Itaniums when
compiling with gcc's 3.2, 3.3, or 3.4.  This fixes RT #37156.

[ 28309]
Sun C on Linux doesn't complain about the attributes sprinkled
through the code in all cases, even though attributes are not
supported.  In some cases, however, it does.

[ 28446]
Solaris hints: gcc flags confuse Configure
Subject: [PATCH] (Was Re: [perl #39636] Configure fails)
From: Andy Dougherty <doughera@lafayette.edu>
Date: Wed, 28 Jun 2006 13:37:54 -0400 (EDT)
Message-ID: <Pine.LNX.4.62.0606281331350.3867@fractal.phys.lafayette.edu>

[ 28458]
Solaris' sh doesn't like empty if's

[ 28539]
Subject: [PATCH] z/OS: hints/os390.sh and Makefile.SH
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 10 Jul 2006 22:55:33 +0300
Message-ID: <44B2B0B5.3000008@iki.fi>

[ 28751]
Subject: [perl #40161] ccversion fix for hpux
From: smoketst@hp46t243.cup.hp.com (via RT) <perlbug-followup@perl.org>
Date: Wed, 16 Aug 2006 23:10:52 -0700
Message-ID: <rt-3.5.HEAD-31263-1155795052-1297.40161-75-0@perl.org>

[ 28783]
Subject: [perl #40239] New hints file for MidnightBSD
From: Lucas Holt (via RT) <perlbug-followup@perl.org>
Date: Fri, 25 Aug 2006 20:16:40 -0700
Message-ID: <rt-3.5.HEAD-31263-1156562199-1390.40239-75-0@perl.org>

[ 28842]
Subject: [PATCH] (1) g++ 4.x (or Mac OS X) (2) Solaris g++ or CC
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Wed, 13 Sep 2006 20:19:04 +0300
Message-ID: <45083D88.7050207@iki.fi>

Plus a tweak to the name of CC.

[ 28979]
Subject: [PATCH] Linux and Solaris hints: C++ vs dlerror
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Tue, 10 Oct 2006 14:00:40 +0300
Message-ID: <452B7D58.1090009@iki.fi>

[ 29334]
Remove description of WHOA THERE messages for recommended hint values,
removed by change #29288.

[ 29335]
Remove warnings against WHOA THERE warnings from the hints files.

[ 29596]
Subject: [PATCH] Re: 'localtime' not thread-safe under HP-UX B.11.11/64
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Date: Mon, 18 Dec 2006 10:18:28 -0800 (PST)
Message-ID: <31291.28361.qm@web30205.mail.mud.yahoo.com>

[ 29777]
gcc -dumpversion is at least supported back to 2.7.x and
thus seems to be much more defensive against upcoming version
reporting format changes.

[ 29845]
Reentrant functions appear to still be broken in NetBSD 3.1.
p4raw-link: @29845 on //depot/perl: d99b3353a572ce3f73680d368e7b13fe91264e1f
p4raw-link: @29777 on //depot/perl: 0baa094867867dae4d06080810389e0a395c66b9
p4raw-link: @29596 on //depot/perl: 1a9d5acd934f27528a46676584a082ccd7e01693
p4raw-link: @29335 on //depot/perl: 7d4724f95a69a8d5a7cd565f21487912e6d331c0
p4raw-link: @29334 on //depot/perl: 82c11e952a81290003492eb45d32ae6de010ce12
p4raw-link: @29288 on //depot/perl: dcb594bcd7c2ac9f0d01eff34aab9c6bb8e972c1
p4raw-link: @28979 on //depot/perl: c3faea48927502248be7f55e1cfb047fff817fa8
p4raw-link: @28842 on //depot/perl: 7e827271d645402804a156e9a8b9edddac65bd6a
p4raw-link: @28783 on //depot/perl: 7145db399bea60e9f2e625350c9081d1b1f3b08e
p4raw-link: @28751 on //depot/perl: d06ab008fe9b3c9a953ae275e453bfcbbf50c1a9
p4raw-link: @28539 on //depot/perl: 4144573e140c0fda3fe88695f419b1b2e79edf2c
p4raw-link: @28458 on //depot/perl: 86c5d995f6ffb0e2543edef6c652cde2171570df
p4raw-link: @28446 on //depot/perl: 6024848b1ae78de231e00d7cbcffeaf4124ad57f
p4raw-link: @28309 on //depot/perl: 2f7602ba356c0cc97fb57d8b3ad53130ef4b9bee
p4raw-link: @28155 on //depot/perl: f88ad25708e2ee09c318081130c8106f3d340846
p4raw-link: @28116 on //depot/perl: e5a5d6fc5bfc91354849d01dab4490ad7a3e32fc
p4raw-link: @27995 on //depot/perl: 4181e3555d644327354a2dc20295251d01e07f2b
p4raw-link: @27333 on //depot/perl: ee94f8101362ee382e42ec2d404d79b0ab7d17ef
p4raw-link: @27250 on //depot/perl: 4ad10cd17301f4dcbb1ffda3d12c2a32aaa98602
p4raw-link: @27212 on //depot/perl: 4cd664023ef35f7e0d7875e942c9b13e8b794b0f
p4raw-link: @26958 on //depot/perl: 1867a6a35969cbb0669577179268669e089da2f8

p4raw-id: //depot/maint-5.8/perl@30046
p4raw-branched: from //depot/perl@30045 'branch in'
hints/midnightbsd.sh
p4raw-integrated: from //depot/perl@30045 'copy in' hints/machten_2.sh
hints/umips.sh (@18283..) hints/os390.sh (@19368..)
hints/svr5.sh (@19429..) hints/sunos_4_1.sh (@20886..)
hints/ultrix_4.sh (@20921..) hints/vos.sh (@21795..)
hints/aix_3.sh (@22266..) hints/cygwin.sh (@22358..)
hints/machten.sh (@22484..) hints/freebsd.sh (@22585..)
hints/aix_4.sh (@23189..) hints/sco.sh (@23655..) hints/aix.sh
(@25228..) README.macosx (@26877..) hints/netbsd.sh (@27263..)
hints/dec_osf.sh (@28741..) 'edit in' hints/darwin.sh
(@27250..) 'merge in' INSTALL (@29061..)
p4raw-integrated: from //depot/perl@28842 'edit in' hints/solaris_2.sh
(@28814..) 'merge in' cflags.SH (@28674..) perl.h (@28814..)
p4raw-integrated: from //depot/perl@28783 'merge in' MANIFEST
(@28758..)
p4raw-integrated: from //depot/perl@28751 'edit in' hints/hpux.sh
(@28116..)
p4raw-integrated: from //depot/perl@28539 'merge in' Makefile.SH
(@28513..)
p4raw-integrated: from //depot/perl@28155 'ignore' hints/linux.sh
(@27568..)
p4raw-integrated: from //depot/perl@27250 'copy in'
ext/SDBM_File/Makefile.PL (@11821..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 23:04:25 +0000 (23:04 +0000)]
Integrate:
[ 28609]
Subject: [PATCH] Tru64: if cc given both -O and -g, -g must be -g3
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Sun, 23 Jul 2006 10:18:11 +0300 (EEST)
Message-Id: <200607230718.k6N7IB4u009170@kosh.hut.fi>

[ 28633]
Subject: [PATCH] (back) towards g++ compilation (in Tru64, and elsewhere)
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 31 Jul 2006 23:44:55 +0300
Message-ID: <44CE6BC7.8060805@iki.fi>

Just the hints/dec_osf.sh changes from this set of patches.

[ 28654]
Subject: [PATCH] more g++ in Tru64
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Thu, 03 Aug 2006 09:04:45 +0300
Message-ID: <44D191FD.9030902@iki.fi>

[ 28655]
Subject: [PATCH] Tru64 oops
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Thu, 3 Aug 2006 22:59:37 +0300 (EEST)
Message-Id: <200608031959.k73JxbsC395856@kosh.hut.fi>

[ 28689]
Subject: [PATCH] g++: gethostbyaddr, and more Tru64 defines
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Thu, 10 Aug 2006 09:00:44 +0300
Message-ID: <44DACB8C.1080708@iki.fi>

[ 28741]
Subject: [PATCH] g++/Tru64: got perl linking once got the linkage right
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Fri, 18 Aug 2006 13:03:17 +0300 (EEST)
Message-Id: <200608181003.k7IA3Hso276655@kosh.hut.fi>
p4raw-link: @28741 on //depot/perl: 45d3b5469846d045649a3f1b7d0f06e1edd30ad7
p4raw-link: @28689 on //depot/perl: 1d0eb99ac8ec0dfd859e9def067c632124d58343
p4raw-link: @28655 on //depot/perl: fdd78bafb83473399368c22ad797c178b3913c97
p4raw-link: @28654 on //depot/perl: 89a3a25144bc97d46d0d41909341c587a8b6c2cc
p4raw-link: @28633 on //depot/perl: ebbde8c5834d0c479e4dadc7a405c3590c51f880
p4raw-link: @28609 on //depot/perl: f1e4547908e5788127a3dd5ecad2a2ebcb51d332

p4raw-id: //depot/maint-5.8/perl@30045
p4raw-integrated: from //depot/perl@28741 'edit in' perl.h (@28734..)
p4raw-integrated: from //depot/perl@28689 'edit in' pp_sys.c (@28662..)
'ignore' hints/dec_osf.sh (@28654..)
p4raw-integrated: from //depot/perl@28654 'merge in' perlio.c
(@28381..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 22:45:18 +0000 (22:45 +0000)]
Integrate:
[ 28731]
gcc-4.1.1 on Fedora optimized away NULL chacks in Perl_do_close(),
which caused core dumps.

[ 29753]
do_gv_dump, do_gvgv_dump and do_hv_dump call all actually take a NULL
parameter. Patch for do_hv_dump supplied by Brandon L Black, other
two added after code inspection.

[ 29758]
Change 29753 messed up do_hv_dump() [my fault]
p4raw-link: @29758 on //depot/perl: 4c31e473d8698ee4d43e3e2b98feb4fae2cdcc94
p4raw-link: @29753 on //depot/perl: b4390064818aaae08b8f53f740ea62f7dd8517a1
p4raw-link: @28731 on //depot/perl: 063df69cb51d4f97ff5708b58e83b514bdd27cb7

p4raw-id: //depot/maint-5.8/perl@30042
p4raw-integrated: from //depot/perl@29758 'edit in' proto.h (@29753..)
p4raw-integrated: from //depot/perl@29753 'edit in' embed.fnc
(@29749..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 18:56:32 +0000 (18:56 +0000)]
Integrate:
[ 28759]
Silence a bunch of Borland compiler warnings in SDBM_File
(See: http://www.nntp.perl.org/group/perl.daily-build.reports/40283)

[ 28786]
Subject: [PATCH perl-current]; was RE: [PATCH perlio.c pp.c regcomp.c] silence format and comparison warnings
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Date: Fri, 1 Sep 2006 16:10:25 +0100
Message-ID: <2C2E01334A940D4792B3E115F95B7226120A21@exchsvr1.npl.ad.local>

[ 28793]
cxtype is a U16, not a U32 (Stops VC++ complaining)

[ 28813]
Subject: NULL and sv_setpv vs. newSVpv
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Date: Sun, 10 Sep 2006 20:31:46 -0700 (PDT)
Message-ID: <8750.24.19.24.170.1157945506.squirrel@24.19.24.170>

[ 28863]
Fix one genuine unitialised code path spotted by gcc, and a signed/
unsigned warning.

[ 28865]
Subject: [PATCH] bleed -  silence warning in sv.c
From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Date: Mon, 18 Sep 2006 01:30:05 -0700
Message-ID: <450E590D.1060205@p6m7g8.com>

[ 28886]
Subject: Re: Change 28877: [PATCH] deal with some gcc warnings
From: Jarkko Hietaniemi <jhi@iki.fi>
Message-ID: <45175CA4.3020900@iki.fi>
Date: Mon, 25 Sep 2006 07:35:48 +0300

remove casts that were causing failure on FreeBSD -Duse64bitint, and
some other cleanups.

[ 28899]
Silence two warnings from gcc when being -pedantic
p4raw-link: @28899 on //depot/perl: dfeee9b153e7ebbeaa1e263dad19a3e5a819bacd
p4raw-link: @28886 on //depot/perl: 6a1e1159a8a738e1607626a2dc2479f546ab4e49
p4raw-link: @28865 on //depot/perl: 1d9c78c6de744b5c7eec4470968743afe4f03acd
p4raw-link: @28863 on //depot/perl: 7f39519f31fe8f3aa4f113c542472c46ec6c535a
p4raw-link: @28813 on //depot/perl: ddfa59c744ee4cca9b8e77d5034cfbacac89bcda
p4raw-link: @28793 on //depot/perl: df43650bac48846555252ca61d5394988cdf564f
p4raw-link: @28786 on //depot/perl: f5992bc4a0a918eda67e6097aac8bd75a3b524e4
p4raw-link: @28759 on //depot/perl: be64226e5b5d608a2b57cf611954f2a7cec0b340

p4raw-id: //depot/maint-5.8/perl@30040
p4raw-integrated: from //depot/perl@28886 'ignore' doio.c reentr.c
reentr.pl (@28877..)
p4raw-integrated: from //depot/perl@28793 'edit in' pp_ctl.c (@28773..)
p4raw-integrated: from //depot/perl@28786 'edit in' dump.c (@28674..)
perl.h (@28741..) pp.c (@28771..) sv.c (@28773..) 'merge in'
pp_pack.c (@28662..) perlio.c utf8.c (@28734..)
p4raw-integrated: from //depot/perl@28759 'merge in' XSUB.h (@28734..)

17 years agoIntegrate:
Jerry D. Hedden [Wed, 23 Aug 2006 10:07:05 +0000 (03:07 -0700)]
Integrate:
[ 28753]
Subject: [PATCH] Don't promulgate Perl attributes
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Date: Wed, 23 Aug 2006 10:07:05 -0700
Message-ID: <20060823100705.fb30e530d17747c2b054d625b8945d88.87c0ee9326.wbe@email.secureserver.net>

[ 28756]
Subject: [PATCH] RE: [perl #40227] 'reserved' warning not working
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Date: Thu, 24 Aug 2006 09:04:12 -0700
Message-ID: <20060824090412.fb30e530d17747c2b054d625b8945d88.e8ae12ccab.wbe@email.secureserver.net>
p4raw-link: @28756 on //depot/perl: 20f4e2894de71066f1bcf3cb358fa8516d79a32d
p4raw-link: @28753 on //depot/perl: d5adc3a12662acc8bc057d4ab07a88843ba10e31

p4raw-id: //depot/maint-5.8/perl@30039
p4raw-integrated: from //depot/perl@28756 'copy in' lib/attributes.pm
(@28753..)
p4raw-integrated: from //depot/perl@28753 'edit in' xsutils.c
(@28066..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 18:13:24 +0000 (18:13 +0000)]
Integrate:
[ 28670]
Fixups for test failures caused by #28667 and #28668

[ 28729]
Additional changes to get C++ a little closer to a clean compile
of Perl.

[ 28730]
Cast needed to compile bsd_glob.c with C++

[ 28744]
Subject: [PATCH] g++: fix Digest::MD5, Math::BigInt::FastCalc, ODBM_File, XS::APItest (and Time::HiRes 1.88 in CPAN)
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Tue, 22 Aug 2006 10:45:41 +0300 (EEST)
Message-Id: <200608220745.k7M7jfjP050939@kosh.hut.fi>

       ...plus various version bumps and Digest::MD5 test file fixes.

[ 28754]
Subject: [PATCH ext/ODBM_File/ODBM_File.xs] change 28744 broke ODBM_File
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Date: Thu, 24 Aug 2006 13:22:47 +0100
Message-ID: <2C2E01334A940D4792B3E115F95B7226120A1A@exchsvr1.npl.ad.local>

[ 28757]
Following Jarkko's advice, it seems that ODBM_File cannot be
compiled as C++ as-is.
p4raw-link: @28757 on //depot/perl: 2b9198b74d2a4d85eb2f4f75689dee7f3e19e146
p4raw-link: @28754 on //depot/perl: eb5402b2a7d45862a5feaae8ddab00f7e505298a
p4raw-link: @28744 on //depot/perl: 8a722a808f014b250085459c05169292bb4903ff
p4raw-link: @28730 on //depot/perl: 7ec40f37ce4eb8552b6149cba97968e51cedac3a
p4raw-link: @28729 on //depot/perl: 87d46f97c572fcb76df491a3f99f2a7106164f04
p4raw-link: @28670 on //depot/perl: ede336cb4d3639b0e0b9304f1dc603f9c89b3e47

p4raw-id: //depot/maint-5.8/perl@30038
p4raw-integrated: from //depot/perl@30036 'copy in'
ext/DB_File/DB_File.pm ext/DB_File/DB_File.xs (@26088..)
ext/Digest/MD5/MD5.pm (@26261..) ext/ODBM_File/ODBM_File.pm
(@26804..) 'merge in' ext/File/Glob/bsd_glob.c (@28528..)
p4raw-integrated: from //depot/perl@28744 'copy in'
ext/Digest/MD5/MD5.xs (@26211..) ext/Digest/MD5/t/files.t
(@26261..) 'edit in' ext/XS/APItest/APItest.pm (@26522..)
'ignore' ext/ODBM_File/ODBM_File.xs (@25101..) 'merge in'
ext/XS/APItest/APItest.xs (@28626..)
p4raw-integrated: from //depot/perl@28729 'edit in' ext/POSIX/POSIX.pm
(@26754..) 'merge in' ext/POSIX/POSIX.xs (@28142..) bytecode.pl
ext/B/B/Asmdata.pm ext/ByteLoader/byterun.c (@28667..)
ext/ByteLoader/bytecode.h (@28668..)
p4raw-integrated: from //depot/perl@28670 'copy in' ext/B/t/assembler.t
(@23242..) ext/B/B/Assembler.pm (@23243..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 17:35:47 +0000 (17:35 +0000)]
Integrate:
[ 26593]
Subject: [patch@26561] utf8.c const issue.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Mon, 02 Jan 2006 14:16:02 -0500
Message-ID: <43B97BF2.2050201@qsl.net>

[ 28733]
syscall() declaration in perl.h needs to have an EXTERN_C prefixing
it for some C++ compiles.  Might as well fix usleep()'s
declaration too.

[ 28734]
Subject: [PATCH] Re: A large-ish C++ TODO (Re: [PATCH] g++ stage 1 reached)
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Thu, 17 Aug 2006 19:16:09 +0300
Message-ID: <44E49649.9090307@iki.fi>

[ 28737]
Subject: [PATCH] g++/Solaris: force d_dlopen=define
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Fri, 18 Aug 2006 15:48:34 +0300 (EEST)
Message-Id: <200608181248.k7ICmY2W028375@vipunen.hut.fi>

[ 28742]
Subject: [PATCH] g++/x2p (better version)
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Mon, 21 Aug 2006 14:48:26 +0300 (EEST)
Message-Id: <200608211148.k7LBmQGL161830@kosh.hut.fi>

[ 28763]
More conditional defines of EXTERN_C, by Jarkko

[ 28765]
Added an additional #ifndef based on comments by Jarkko and
John Malmberg.

[ 28767]
Revert bogus change 28763.

[ 28814]
Subject: [PATCH] C++: Solaris CC now compiles "perl"
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 09 Sep 2006 15:29:12 +0300
Message-ID: <4502B398.6060505@iki.fi>

[ 28823]
Subject: [PATCH] Re: C++ status [Fwd: Smoke [5.9.4] 28776 FAIL(FM) OSF1 V5.1 (EV6/4 cpu)]
From: Dominic Dunlop <domo@computer.org>
Date: Tue, 12 Sep 2006 09:13:41 +0200
Message-Id: <6FD7503D-349B-4BE4-B457-D79458900FA0@computer.org>

[ 28844]
Subject: Re: Re: [PATCH] C++: Solaris CC now compiles "perl"
From: demerphq <demerphq@gmail.com>
Date: Thu, 14 Sep 2006 14:28:16 +0200
Message-ID: <9b18b3110609140528x49e063aay724169d7f1e49531@mail.gmail.com>

[ 28848]
More hacking in util.c's ifdef jungle following 28844 to avoid
duplicate definition of Perl_my_setenv on VMS.

[ 28860]
Subject: [PATCH] util.c: restore Perl_my_setenv() to pre-28814
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sun, 17 Sep 2006 10:29:08 +0300
Message-ID: <450CF944.7000402@iki.fi>
p4raw-link: @28860 on //depot/perl: c5d12488d9324671cce63c4feed858f82530110e
p4raw-link: @28848 on //depot/perl: ccba5138c721ec441e594caee909f33438a87b7a
p4raw-link: @28844 on //depot/perl: 02cf7203606dabc9b940339b5a1f2d3a60dba816
p4raw-link: @28823 on //depot/perl: 11b7977502bb9b0e995a0e4d4c3e338b5419f478
p4raw-link: @28814 on //depot/perl: 1ccb7c8d11bf6f3b795893f8ec88106e161747d5
p4raw-link: @28767 on //depot/perl: 1be1675bc13d9dd70ace9cdbd03868d52a2e8157
p4raw-link: @28765 on //depot/perl: 56fc4af6db3d140287c01cea9ef21c6ad82fa403
p4raw-link: @28763 on //depot/perl: adceae88f516db14056f3ad2cf86787cab37ecd7
p4raw-link: @28742 on //depot/perl: a4ca311e7ffe1fa1642075a843cf9392ea7a6d54
p4raw-link: @28737 on //depot/perl: 6c86a5decffbcc9e070ab10ead129ef138d02434
p4raw-link: @28734 on //depot/perl: a0c21aa16d2e2969e7469365a39ad48179751e84
p4raw-link: @28733 on //depot/perl: c45598c5c02384ee183c07ababc5e058b2284e17
p4raw-link: @26593 on //depot/perl: 2f73348c9e7aa109e520f22743fd8a75b40c22c6

p4raw-id: //depot/maint-5.8/perl@30036
p4raw-integrated: from //depot/perl@30033 'copy in' x2p/EXTERN.h
x2p/hash.h (@26033..) x2p/INTERN.h (@28742..) 'edit in'
EXTERN.h INTERN.h (@28763..)
p4raw-integrated: from //depot/perl@28860 'edit in' util.c (@28850..)
p4raw-integrated: from //depot/perl@28823 'merge in' sv.c (@28816..)
p4raw-integrated: from //depot/perl@28814 'edit in' opcode.pl
(@27126..) opcode.h (@28785..) 'merge in' unixish.h (@27764..)
p4raw-integrated: from //depot/perl@28737 'edit in' hints/solaris_2.sh
(@28458..)
p4raw-integrated: from //depot/perl@28734 'edit in' perlio.c (@28662..)
mathoms.c (@28674..) perl.h (@28733..) 'merge in' XSUB.h
(@28063..) op.h (@28086..)
p4raw-edited: from //depot/perl@26593 'edit in' utf8.c (@26562..)

17 years agoIntegrate:
Jarkko Hietaniemi [Wed, 2 Aug 2006 00:04:42 +0000 (03:04 +0300)]
Integrate:
[ 28645]
Subject: [PATCH] g++ heavy shoveling
Date: Wed, 02 Aug 2006 00:04:42 +0300
Message-ID: <44CFC1EA.2050702@iki.fi>

[ 28662]
Subject: [PATCH] g++ large patch
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Fri, 04 Aug 2006 08:58:27 +0300
Message-ID: <44D2E203.5050201@iki.fi>

[ 28666]
Restore modification in warnings.h from change 28662 by backporting it
to warnings.pl

[ 28674]
Subject: [PATCH] g++ stage 1 reached
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Tue, 08 Aug 2006 00:02:35 +0300
Message-ID: <44D7AA6B.4040802@iki.fi>
p4raw-link: @28674 on //depot/perl: 666ea1927d03c6430ac8120e8603244e721e20a0
p4raw-link: @28666 on //depot/perl: 83373517b1ac7c8a6e168342975168bec47c9f33
p4raw-link: @28662 on //depot/perl: 10edeb5d2457364a70a6848a864cfa6b89dfc882
p4raw-link: @28645 on //depot/perl: b1e55cab83fc5b3a567d95fba8bca0592334b7a5

p4raw-id: //depot/maint-5.8/perl@30033
p4raw-integrated: from //depot/perl@28674 'copy in' uconfig.h
(@28074..) uconfig.sh (@28189..) 'edit in' opcode.h (@27126..)
Porting/config_H (@27760..) cflags.SH deb.c dump.c gv.c
mathoms.c (@28662..) mg.c (@28669..) 'merge in'
plan9/config_h.sample (@23436..) plan9/config.plan9 (@27007..)
win32/config_H.bc win32/config_H.gc (@28025..)
win32/config_H.vc win32/config_H.vc64 (@28051..)
NetWare/config.wc epoc/config.sh win32/config.bc
win32/config.gc win32/config.vc win32/config.vc64 (@28189..)
Porting/Glossary Porting/config.sh (@28283..) configure.com
(@28448..) config_h.SH (@28625..) Configure (@28651..)
p4raw-integrated: from //depot/perl@28666 'ignore' warnings.pl
(@28148..)
p4raw-edited: from //depot/perl@28662 'edit in' regcomp.c (@28607..)
toke.c (@28620..)
p4raw-integrated: from //depot/perl@28662 'edit in' warnings.h
(@28148..) scope.c (@28252..) pp_ctl.c (@28528..) sv.c
(@28578..) util.c (@28585..) embed.fnc (@28589..) hv.c op.c
(@28626..) 'ignore' embed.h (@28584..) proto.h (@28589..)
'merge in' pp_hot.c (@28613..) pp_pack.c utf8.c (@28626..)
regexec.c (@28643..) pp_sys.c (@28655..)
p4raw-integrated: from //depot/perl@28645 'edit in' perl.h (@28639..)
'merge in' hints/linux.sh (@28566..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 15:26:35 +0000 (15:26 +0000)]
Integrate:
[ 28397]
Subject: [PATCH] cflags.SH: rework the gcc warnings selection
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Thu, 15 Jun 2006 09:12:53 +0300
Message-ID: <4490FA65.70006@iki.fi>

[ 28402]
Subject: RE: [PATCH] cflags.SH: rework the gcc warnings selection
From: "Green, Paul" <Paul.Green@stratus.com>
Date: Sun, 18 Jun 2006 19:41:50 -0400
Message-ID: <F5F42E77A43DD944B6D664B00A5401CB02026106@EXNA.corp.stratus.com>

[ 28434]
Subject: [PATCH] cflags.SH: scan the gcc warning flags only once, during .SH expansion
From: jhi@cc.hut.fi (Jarkko Hietaniemi)
Date: Mon, 26 Jun 2006 22:12:37 +0300 (EEST)
Message-Id: <20060626191237.8A0936CF04@seth.hut.fi>

[ 28483]
Don't add extra warning flags for gcc versions < 3.

[ 28576]
Subject: [PATCH] Re: [PATCH] cflags.SH: add -std=c89
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 15 Jul 2006 12:19:45 +0300
Message-ID: <44B8B331.8090009@iki.fi>

[ 28577]
Subject: [PATCH] cflags.SH: add missing C files
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 15 Jul 2006 12:30:25 +0300
Message-ID: <44B8B5B1.2050902@iki.fi>

[ 28592]
Cygwin doesn't cope (yet) with gcc flags -std=c89

[ 28595]
Remove the C89 checking with gcc
(but leave a note in perlhack)
p4raw-link: @28595 on //depot/perl: 9aaf14db0f3c171369e4348eb60c54ad52a14a34
p4raw-link: @28592 on //depot/perl: 6700ad3ceb48882bca8cf71f9866d6ccc076a2fb
p4raw-link: @28577 on //depot/perl: 59bea8cf0bba843bea2b2a6c959c3fd1cf5e3075
p4raw-link: @28576 on //depot/perl: 11fcce8542fe48eab3406b8f4526f9237289ec13
p4raw-link: @28483 on //depot/perl: 9ab92c4288af6d31a3e99bfe76775c698438b981
p4raw-link: @28434 on //depot/perl: bc730b189e18b77b416d3d93e22753fd63f9ee27
p4raw-link: @28402 on //depot/perl: ec2577303395c0e08a228d8fee07de97b4765560
p4raw-link: @28397 on //depot/perl: 0aec9d3674a357d2c5a029483ff5cdc65c715a57

p4raw-id: //depot/maint-5.8/perl@30031
p4raw-integrated: from //depot/perl@28592 'edit in' cflags.SH
(@28577..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 13:10:53 +0000 (13:10 +0000)]
Integrate:
[ 26135]
Subject: [PATCH] Re: Cygwin status, maint and blead
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Sun, 13 Nov 2005 16:01:02 -0800
Message-ID: <20051114000102.GA5556@efn.org>

[ 27004]
Teach the Makefile how to cleanup config.over.

[ 27214]
Subject: Re: Smoke [5.9.4] 27195 FAIL(m) irix 6.2 (IP22/1 cpu)
From: Abe Timmerman <abe@ztreet.demon.nl>
Message-Id: <200602172358.23977.abe@ztreet.demon.nl>
Date: Fri, 17 Feb 2006 23:58:23 +0100

[ 27518]
Simplify; make perl.o included in $(obj)

[ 27519]
Fix up miniperl dependency.
Depend on $(obj) when we use that to build miniperl.

[ 27891]
When checking whether perl is built with -g in optimisation
flags, use a more tolerant regexp, because we can now have
things like '-O2 -g'.

[ 28471]
Subject: [PATCH] Makefile splint support
From: andy@petdance.com (Andy Lester)
Date: Sun, 2 Jul 2006 12:19:08 -0500
Message-ID: <20060702171908.GA20443@petdance.com>

[ 29276]
Subject: [PATCH] Makefile.SH: lib/re.pm often messes restarted parallel makes
From: jhi@cc.hut.fi (Jarkko Hietaniemi)
Date: Wed, 15 Nov 2006 05:48:32 +0200 (EET)
Message-Id: <20061115034832.43B7E8B3E7@seth.hut.fi>

[ 29497]
Subject: Re: [PATCH 5.8.8] Build on OS/2 - missing part
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Date: Sat, 9 Dec 2006 16:33:41 -0800
Message-ID: <20061210003341.GA14200@powdermilk.math.berkeley.edu>
p4raw-link: @29497 on //depot/perl: 46aae397587df138512b096e840e4d6b0944ce40
p4raw-link: @29276 on //depot/perl: 960d5a3ab25217b13452d322c90f58d745558b2b
p4raw-link: @28471 on //depot/perl: abcf5adaceac1bafa95366e633b9de5667a997e3
p4raw-link: @27891 on //depot/perl: fdb8bc18a6a21eb57ba592da2f8999c35afc2d40
p4raw-link: @27519 on //depot/perl: 3c87d0da76edcb9107e162c6cde9d8f70891f1e6
p4raw-link: @27518 on //depot/perl: a643aca641f030b95d837ece1b2bb5790bc374cc
p4raw-link: @27214 on //depot/perl: 05c462c41ad946db6e5d1f4f4e5bffc04b8bd608
p4raw-link: @27004 on //depot/perl: 51d941aefad9cfe92a7afbbddcebc6bceb28f312
p4raw-link: @26135 on //depot/perl: ebbebb7cd2983347317369853c473fd475e0d91e

p4raw-id: //depot/maint-5.8/perl@30029
p4raw-integrated: from //depot/perl@29497 'copy in' os2/Makefile.SHs
(@25844..)
p4raw-integrated: from //depot/perl@27004 'edit in' Makefile.SH
(@26859..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 12:18:00 +0000 (12:18 +0000)]
Integrate:
[ 26993]
Subject: Re: [patch] s/ar ts/ar s/g
From: "Philippe M. Chiasson" <gozer@ActiveState.com>
Date: Thu, 26 Jan 2006 13:53:07 -0800
Message-ID: <43D944C3.60101@ActiveState.com>

[ 28362]
Subject: [PATCH]Teach Configure that icc is not gcc
From: Steve Peters <steve@fisharerojo.org>
Date: Tue, 6 Jun 2006 10:33:12 -0500
Message-ID: <20060606153312.GA5542@fisharerojo.org>

[ 28637]
ANSI-C headers in test snippets to please g++ (and the rest)
Subject: [PATCH]  (back) towards g++ compilation (in Tru64, and elsewhere)
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 31 Jul 2006 23:44:55 +0300
Message-ID: <44CE6BC7.8060805@iki.fi>

[ 28651]
Subject: [PATCH] g++ heavy shoveling
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Wed, 02 Aug 2006 00:04:42 +0300
Message-ID: <44CFC1EA.2050702@iki.fi>
p4raw-link: @28651 on //depot/perl: 4fb7dc7d27d1f8d119e6f67f04999384a2f7c2f9
p4raw-link: @28637 on //depot/perl: 7090f861aa9f6c1a4d8e1a3a5b34ee574cc9689e
p4raw-link: @28362 on //depot/perl: 7686528ec527b1dbb8270dafda0d29b2197ddc9e
p4raw-link: @26993 on //depot/perl: 88d4d47ba9f8dddb715907de7e4bc2a830c44480

p4raw-id: //depot/maint-5.8/perl@30027
p4raw-integrated: from //depot/perl@28637 'edit in' Configure
(@28362..)

17 years agoIntegrate:
Nicholas Clark [Sat, 27 Jan 2007 11:02:43 +0000 (11:02 +0000)]
Integrate:
[ 28093]
Subject: [PATCH] t/op/list.t using test.pl
From: David Landgren <david@landgren.net>
Date: Wed, 03 May 2006 19:40:40 +0200
Message-ID: <4458EB18.8070904@landgren.net>

[ 28649]
Subject: [PATCH blead] Re: [perl #39733] $AUTOLOAD is never tainted
From: Rick Delaney <rick@bort.ca>
Date: Sun, 9 Jul 2006 15:01:50 -0400
Message-ID: <20060709190150.GA1922@localhost.localdomain>

Plus a note in perldelta

[ 28657]
Subject: [PATCH blead] Re: [perl #39882] inconsistent list slice behaviour
From: Rick Delaney <rick@bort.ca>
Date: Thu, 3 Aug 2006 21:48:07 -0400
Message-ID: <20060804014807.GW21381@localhost.localdomain>

[ 28684]
Subject: Re: [perl #37731] junk and uninit'ed values in tied scalars
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Mon, 28 Nov 2005 01:26:31 -0800
Message-ID: <20051128092605.GA2328@efn.org>

plus a regression test

[ 28690]
lstat on *GLOB{IO} with warnings on would segfault
(noticed by Andrew Dougherty)

[ 28827]
Disable study() for utf-8 strings

Subject: Re: Re: [Fwd: Smoke [5.9.4] 28821 FAIL(XF) OSF1 V5.1 (EV6/4 cpu)]
From: demerphq <demerphq@gmail.com>
Date: Tue, 12 Sep 2006 17:08:55 +0200
Message-ID: <9b18b3110609120808jceb84ces55ef29c2f2b73ebc@mail.gmail.com>

[ 28875]
Deliver SIGILL, SIGBUS and SIGSEGV always in an "unsafe" manner.

Subject: Safe signals and SIGSEGV
From: Rafael Garcia-Suarez <rgarciasuarez@mandriva.com>
Date: Fri, 8 Sep 2006 17:43:41 +0200
Message-ID: <20060908174341.0cc7988f@grubert.mandriva.com>
p4raw-link: @28875 on //depot/perl: 853d2c326bb0bf43f54320164d14d9db228c8eef
p4raw-link: @28827 on //depot/perl: c9b9f90938a22f06e1d50b6595cbb0b943c4e4c7
p4raw-link: @28690 on //depot/perl: 38ddb0ef3c43048c9fb5a4c40493be5d413b269e
p4raw-link: @28684 on //depot/perl: ced497e2fca8b0ac1628855f422776e9bf331e65
p4raw-link: @28657 on //depot/perl: 42e73ed04a5c29db353284da1f6b2edbeb5da4fa
p4raw-link: @28649 on //depot/perl: 5d121f7f3e622b953c8ef74cf9c345d07e4f4ed7
p4raw-link: @28093 on //depot/perl: bc58e6743400e03280ffe52ef8e56e38957463f5

p4raw-id: //depot/maint-5.8/perl@30026
p4raw-integrated: from //depot/perl@30023 'merge in' t/op/tie.t
(@27636..)
p4raw-integrated: from //depot/perl@28875 'merge in' mg.c (@28675..)
p4raw-integrated: from //depot/perl@28690 'merge in' pp_sys.c
(@28689..)
p4raw-integrated: from //depot/perl@28684 'merge in' sv.c (@28662..)
p4raw-integrated: from //depot/perl@28657 'edit in' pp.c (@28626..)
p4raw-integrated: from //depot/perl@28649 'edit in' t/op/taint.t
(@27951..) 'merge in' gv.c (@28381..)
p4raw-integrated: from //depot/perl@28093 'ignore' t/op/list.t
(@25950..)

17 years agoIntegrate:
Nicholas Clark [Fri, 26 Jan 2007 21:52:35 +0000 (21:52 +0000)]
Integrate:
[ 28603]
In pp_entersub, accept to handle a CV with a NULL padlist.
This fixes a crash with mod_perl 1.29.

[ 28606]
Add another volatile modifier to protect against longjmp clobbering

[ 28607]
Subject: [PATCH] z/OS: pp_sys.c, reg*.c, toke.c, utf8.c
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 22 Jul 2006 18:51:48 +0300
Message-ID: <44C24994.6020008@iki.fi>

[ 28608]
Revert part of last change, that was causing utf8 test failures

[ 28613]
Revert change 28603: this was a wrong fix, that didn't prevent
a later crash. Reindent a bit of the same function.

[ 28634]
Subject: [PATCH] solution(?) to the "warning: comparison is always false dueto limited range of data type" with New*()
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Fri, 28 Jul 2006 09:00:28 +0300
Message-ID: <44C9A7FC.1060801@iki.fi>

[ 28639]
Subject: [PATCH] g++ dNOOP (luckily one can mix code and decls in C++)
Somewhat modifies as per Steve Hay's comment
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Tue, 1 Aug 2006 08:46:15 +0300 (EEST)
Message-Id: <200608010546.k715kEdP017064@kosh.hut.fi>

[ 28669]
We shouldn't try to decrement the refcount of PL_warnhook
if it has been set to PERL_WARNHOOK_FATAL.

[ 28675]
Simplification in Perl_magic_clearsig, plus a fix similar and
symmetrical to the one implemented in change #28669.

[ 28686]
A couple const's and a cast to get Sun CC to compile these files.
Perl, however, still will not build with the Sun CC.

[ 28688]
Subject: [PATCH] doio.c: vararg NULLs must be cast right
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Thu, 10 Aug 2006 08:35:53 +0300 (EEST)
Message-Id: <200608100535.k7A5Zr2Z156515@kosh.hut.fi>
p4raw-link: @28688 on //depot/perl: 7c0dd7caddd4c6aa0c561002ae25414a8910234e
p4raw-link: @28686 on //depot/perl: d3fcec1f5f130b835b047ac0302818509dc560b9
p4raw-link: @28675 on //depot/perl: b274dc4e33bd87e9e4f43fc4b13cc5f7336de591
p4raw-link: @28669 on //depot/perl: 9289f461126f104eef437e7c6d2f1f640f935646
p4raw-link: @28639 on //depot/perl: 6b484a99d965c44db948171b3de381dc51bd46af
p4raw-link: @28634 on //depot/perl: 2720f793e70a96650f551fd35d72212404ba79d8
p4raw-link: @28613 on //depot/perl: 3a76ca8818b782f5517982af5ac3381a6a3eb189
p4raw-link: @28608 on //depot/perl: aed58286850fb82fabacfa04fc2b91770f8f066f
p4raw-link: @28607 on //depot/perl: e294cc5d7355a434d6b698c777674e1b7d4d4583
p4raw-link: @28606 on //depot/perl: 8c06321bcee4c3ffba180fe51c1785ca0a328fdd
p4raw-link: @28603 on //depot/perl: 56930b20d32463989774eccb7de3dc7d7282b17a

p4raw-id: //depot/maint-5.8/perl@30023
p4raw-integrated: from //depot/perl@28688 'merge in' doio.c (@28628..)
p4raw-integrated: from //depot/perl@28686 'edit in' pp_sort.c
(@28524..) op.c (@28674..)
p4raw-integrated: from //depot/perl@28669 'edit in' mg.c (@28662..)
p4raw-integrated: from //depot/perl@28639 'merge in' perl.h (@28599..)
p4raw-integrated: from //depot/perl@28634 'merge in' handy.h (@28301..)
p4raw-integrated: from //depot/perl@28608 'edit in' toke.c (@28607..)
p4raw-integrated: from //depot/perl@28607 'edit in' regcomp.c
(@28589..) 'merge in' utf8.c (@28358..) pp_sys.c (@28578..)
regexec.c (@28582..)
p4raw-integrated: from //depot/perl@28603 'edit in' pp_hot.c (@28601..)

17 years agoIntegrate:
Yves Orton [Sun, 16 Jul 2006 19:59:02 +0000 (21:59 +0200)]
Integrate:
[ 28589]
Subject: Re: Fix loads of warnings from the last escaping patch...
Message-ID: <9b18b3110607161059j276ac869p450aa178150044ae@mail.gmail.com>
p4raw-link: @28589 on //depot/perl: ddc5bc0f233514fa61cd95e6ed80ba2bacf933ac

p4raw-id: //depot/maint-5.8/perl@30022
p4raw-integrated: from //depot/perl@28589 'edit in' dump.c (@28582..)
proto.h (@28584..) 'merge in' pod/perlapi.pod (@28490..)
embed.fnc (@28582..)

17 years agoIntegrate:
Yves Orton [Wed, 5 Jul 2006 20:40:58 +0000 (22:40 +0200)]
Integrate:
[ 28490]
Introduce a new function, pv_escape(), to display contents of PVs
that might contain non printable chars.

Subject: Re: [PATCH]: fix: [perl #39583] Pattern Match fails for specific length string
Date: Wed, 5 Jul 2006 20:40:58 +0200
Message-ID: <9b18b3110607051140n10c211a1jf17d3b7914d6f68b@mail.gmail.com>

[ 28582]
Subject:  Updated escaping code. utf8 regex debug output improvements
From:  demerphq <demerphq@gmail.com>
Date:  Sat, 15 Jul 2006 18:56:03 +0200
Message-Id:  <9b18b3110607150956o6273a16clb1518911d1945d4@mail.gmail.com>

[ 28584]
run regen_headerds
p4raw-link: @28584 on //depot/perl: 5a2bdfd0e906359696ca0db94c49d11f3999e99b
p4raw-link: @28582 on //depot/perl: ab3bbdeb874c2a82798e2c9cc4b61acf5866b410
p4raw-link: @28490 on //depot/perl: 3df15adcc3686bbc809ac9706048f258fd787941

p4raw-id: //depot/maint-5.8/perl@30021
p4raw-integrated: from //depot/perl@28584 'edit in' embed.h global.sym
(@28525..)
p4raw-edited: from //depot/perl@28582 'edit in' dump.c (@28490..)
p4raw-integrated: from //depot/perl@28582 'edit in' embed.fnc
(@28525..)
p4raw-integrated: from //depot/perl@28490 'edit in' perl.h (@28459..)
proto.h (@28477..) 'ignore' reentr.c (@28480..) 'merge in'
pod/perlapi.pod (@28419..)

17 years agoFix up files by re-running embed.pl
Nicholas Clark [Fri, 26 Jan 2007 19:03:49 +0000 (19:03 +0000)]
Fix up files by re-running embed.pl
I've no idea why these weren't correct to start with, as it all passed
make test on saigo.

p4raw-id: //depot/maint-5.8/perl@30020

17 years agoIntegrate:
Yves Orton [Sat, 8 Jul 2006 17:48:34 +0000 (19:48 +0200)]
Integrate:
[ 28512]
Subject: [PATCH] Macroize vast tracks of duplicated code in regexec.c
Message-ID: <9b18b3110607080848u663b114ag86f76ac5c9c9d5e@mail.gmail.com>

Removing duplicated regexp trie-related code.
p4raw-link: @28512 on //depot/perl: 4cadc6a950ca81f5812fc41862e1f34bc2ef21b3

p4raw-id: //depot/maint-5.8/perl@30018
p4raw-edited: from //depot/perl@28512 'edit in' regexec.c (@28500..)

17 years agoIntegrate:
SADAHIRO Tomoyuki [Thu, 1 Jun 2006 08:16:51 +0000 (17:16 +0900)]
Integrate:
[ 28370]
Revert change #20462 (except the regression test),
since the bug has been really fixed by change #22074,
as explained in :
Subject: Re: [perl #39247] defined-ness of substrings disappear over repeated calls
Date: Thu, 01 Jun 2006 08:16:51 +0900
Message-Id: <20060601081304.7A39.BQW10602@nifty.com>

[ 28548]
Revert bogus fix for bug #27940, which wasn't really a bug,
and a new test item, as found and suggested by Sadahiro Tomoyuki.

[ 28620]
Subject: interpolation of @- (and @+) in patterns ([perl #27940] comes back)
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Tue, 25 Jul 2006 00:15:50 +0900
Message-Id: <20060725001517.3C5D.BQW10602@nifty.com>
p4raw-link: @28620 on //depot/perl: 1749ea0d81e275f5160a584ab9e554a4acc871e8
p4raw-link: @28548 on //depot/perl: 25f684f718f20320d62ba2370f2f4341a3b159e7
p4raw-link: @28370 on //depot/perl: e0ed22481119613bc6d3a17428243331117368c8
p4raw-link: @22074 on //depot/perl: 028c96ebc8db5bddc2fee91a32f93bb4050b53cf
p4raw-link: @20462 on //depot/perl: 6214ab63745c28e26e752f88d98bf89671cabc77

p4raw-id: //depot/maint-5.8/perl@30011
p4raw-integrated: from //depot/perl@30007 'edit in' t/op/tr.t
(@27688..)
p4raw-integrated: from //depot/perl@28620 'copy in' t/op/subst.t
(@25088..) 'edit in' t/op/pat.t (@28550..) pod/perlop.pod
(@28612..)
p4raw-integrated: from //depot/perl@28548 'edit in' toke.c (@28533..)
p4raw-integrated: from //depot/perl@28370 'merge in' pp.c (@28193..)

17 years agoIntegrate:
Nicholas Clark [Fri, 26 Jan 2007 13:50:55 +0000 (13:50 +0000)]
Integrate:
[ 28525]
Add Russ Allbery's public domain implementations of strlcat and
strlcpy as Perl_my_strlcat and Perl_my_strlcpy to the Perl core.
Thanks Russ!

[ 28528]
Change existing uses of strlcpy()/strlcat() to use new my_strlcpy()/
my_strlcat() API.  Convert ext/File/Glob/bsd_glob.c to use
my_strlcat().  Add to the strlcy()/strlcat() todo entry.

[ 28533]
Convert some low hanging fruit to my_strlcpy/my_strlcat.

[ 28545]
Fix change #28533: my_strlcpy does not return the dest str!
p4raw-link: @28545 on //depot/perl: 9e4425f7401960922972922c0fbf30ed45522d5e
p4raw-link: @28533 on //depot/perl: 6fca0082ec4f3b34a0dabc78331bad8c22489dd2
p4raw-link: @28528 on //depot/perl: 28f0d0ec424c9050a6c7d38541d2e6b5e66fb97c
p4raw-link: @28525 on //depot/perl: a6cc41194dbe50598d9f33497d88c8589cd7a8c0

p4raw-id: //depot/maint-5.8/perl@30007
p4raw-integrated: from //depot/perl@28533 'edit in' toke.c (@28476..)
doio.c util.c (@28528..) 'merge in' mg.c (@28469..) pp_sys.c
(@28473..)
p4raw-integrated: from //depot/perl@28528 'merge in'
ext/File/Glob/bsd_glob.c (@25101..) pp_ctl.c (@28349..)
p4raw-integrated: from //depot/perl@28525 'edit in' embed.fnc embed.h
(@28490..) 'merge in' global.sym perl.h proto.h (@28490..)

17 years agoIntegrate:
Nicholas Clark [Fri, 26 Jan 2007 12:19:35 +0000 (12:19 +0000)]
Integrate:
[ 27853]
stop PL_op and PL_curpad referring to different pads at start of doeval
(this could make find_uninit_var do Bad Things)

[ 28523]
Fix a signed/unsigned warning

[ 28524]
Add a macro to remove duplicated code

Subject: Re: cut-and-paste findings for blead 28504
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Sun, 09 Jul 2006 13:47:04 +0900
Message-Id: <20060709134236.E51A.BQW10602@nifty.com>

[ 28534]
Silence empty if-statement warning.

[ 28535]
Fix another empty if-statement warning

[ 28541]
Subject: [PATCH] Re: [perl #39634] gcc 3.3 has problems with __attribute__((unused))
From: Andy Dougherty <doughera@lafayette.edu>
Date: Mon, 10 Jul 2006 13:16:27 -0400 (EDT)
Message-ID: <Pine.LNX.4.62.0607101312540.24708@fractal.phys.lafayette.edu>

[ 28565]
Clear up a few more warnings from blead.

[ 28578]
Subject: [PATCH] various safety/portability tweaks
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 15 Jul 2006 13:14:32 +0300
Message-ID: <44B8C008.4030300@iki.fi>

[ 28583]
Subject:  [PATCH] comment update for scan_const
From:  SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date:  Sat, 15 Jul 2006 20:16:01 +0900
Message-Id:  <20060715201552.9FA5.BQW10602@nifty.com>

[ 28585]
[PATCH] Re: [PATCH] various safety/portability tweaks
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Sat, 15 Jul 2006 22:15:29 +0300
Message-ID: <44B93ED1.7080000@iki.fi>

Fix for change #28578.
p4raw-link: @28585 on //depot/perl: 1bdfa2dec136126216e8edf2320ed0ca1f645494
p4raw-link: @28583 on //depot/perl: 94def1405ef0309d21046501deec4cd7d2323919
p4raw-link: @28578 on //depot/perl: d130778686fc2c04eb7d731512df9e71304d5573
p4raw-link: @28565 on //depot/perl: 6148ee2554e208993e4b3b3dea9cb9e0cc61fdf0
p4raw-link: @28541 on //depot/perl: d324fe495eb3277e76e453081ddf1dd3441dbd3e
p4raw-link: @28535 on //depot/perl: 0b7042f97f8d0dfccfa892ce74972b0cb267548e
p4raw-link: @28534 on //depot/perl: 17bcfd59e475bc04ce8413d24f07dfe2b5f2ce1c
p4raw-link: @28524 on //depot/perl: eeb9de022215ff745a61968bf9408965f4687655
p4raw-link: @28523 on //depot/perl: 46147bce9215db8642f2bdc9a2e9e60e27f046e3
p4raw-link: @27853 on //depot/perl: cecbe0108c1c5a1c170a53b486232d7a592e3312

p4raw-id: //depot/maint-5.8/perl@30006
p4raw-integrated: from //depot/perl@28583 'merge in' toke.c (@28548..)
p4raw-integrated: from //depot/perl@28578 'edit in' util.c (@28545..)
sv.c (@28570..) 'merge in' pp_sys.c (@28533..)
p4raw-integrated: from //depot/perl@28565 'merge in' reentr.pl
(@26572..) perl.c (@28457..) reentr.c (@28490..) op.c
(@28499..)
p4raw-integrated: from //depot/perl@28541 'merge in' perl.h (@28525..)
p4raw-integrated: from //depot/perl@28534 'merge in' universal.c
(@28477..)
p4raw-integrated: from //depot/perl@28524 'merge in' pp_sort.c
(@28385..)
p4raw-integrated: from //depot/perl@28523 'merge in' doio.c (@28479..)
p4raw-integrated: from //depot/perl@27853 'merge in' pp_ctl.c
(@27849..)

17 years agoRemove spurious PERL_UNUSED_ARG()s that somehow don't cause errors
Nicholas Clark [Fri, 26 Jan 2007 12:01:34 +0000 (12:01 +0000)]
Remove spurious PERL_UNUSED_ARG()s that somehow don't cause errors
round here, but make cause all sorts of problems elsewhere.

p4raw-id: //depot/maint-5.8/perl@30005

17 years agoIntegrate:
Andy Lester [Sun, 2 Jul 2006 12:24:45 +0000 (07:24 -0500)]
Integrate:
[ 28468]
Subject: [PATCH] Clean up mathoms.c
Date: Sun, 2 Jul 2006 12:24:45 -0500
Message-ID: <20060702172445.GA20521@petdance.com>

[ 28469]
Subject: [PATCH] mg.c cleanups
From: andy@petdance.com (Andy Lester)
Date: Sun, 2 Jul 2006 12:33:36 -0500
Message-ID: <20060702173336.GA20641@petdance.com>

[ 28477]
Subject: [PATCH] consting and localizing in universal.c
From: andy@petdance.com (Andy Lester)
Date: Mon, 3 Jul 2006 17:41:48 -0500
Message-ID: <20060703224148.GA14449@petdance.com>
p4raw-link: @28477 on //depot/perl: 3469222433b317d18cea77514faabef96011806b
p4raw-link: @28469 on //depot/perl: f5a63d9722b3dbf74f7754273456749e1e2531d8
p4raw-link: @28468 on //depot/perl: b5445a235ee10c776f6e43ea6f8fbf44177ff2e8

p4raw-id: //depot/maint-5.8/perl@30004
p4raw-integrated: from //depot/perl@28477 'edit in' proto.h (@28419..)
'merge in' universal.c (@28387..) embed.fnc (@28419..)
p4raw-integrated: from //depot/perl@28469 'edit in' mg.c (@28465..)
p4raw-edited: from //depot/perl@28468 'edit in' mathoms.c (@28031..)

17 years agoIntegrate:
Dominic Dunlop [Tue, 20 Jun 2006 16:02:38 +0000 (18:02 +0200)]
Integrate:
[ 28408]
Subject: [PATCH] Re: [perl #39530] printf: bad formatting of hexadecimal conversion of binary string using vector flag
Date: Tue, 20 Jun 2006 16:02:38 +0200
Message-Id: <D223CF35-9AC3-4351-A0C9-F4E224AAC19E@mac.com>

[ 28411]
Subject: [PATCH] Re: [PATCH] Re: [perl #39530] printf: bad formatting of hexadecimal conversion of binary string using vector flag
From: Dominic Dunlop <shouldbedomo@mac.com>
Date: Tue, 20 Jun 2006 21:49:07 +0200
Message-Id: <C48A3CD4-DDA5-43AD-8DDC-20375A187EFD@mac.com>
p4raw-link: @28411 on //depot/perl: 52e1aa67f2b646a7f0f648bccb5a6242cd15f8a0
p4raw-link: @28408 on //depot/perl: 1387f30c3a0e2c0d15467578b3cb17d441a9efff

p4raw-id: //depot/maint-5.8/perl@30003
p4raw-integrated: from //depot/perl@28411 'edit in' t/op/sprintf.t
(@28408..)
p4raw-integrated: from //depot/perl@28408 'merge in' sv.c (@28381..)

17 years agoIntegrate:
Nicholas Clark [Fri, 26 Jan 2007 11:02:10 +0000 (11:02 +0000)]
Integrate:
[ 28327]
Silence a warning

[ 28413]
Subject: [PATCH] <toke.c> isALNUM(*s) && *s != '_'
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Date: Wed, 21 Jun 2006 01:58:19 +0200
Message-ID: <20060621000237.24398.qmail@lists.develooper.com>

[ 28447]
Some CPP macro sanitization by Sadahiro Tomoyuki

[ 28453]
HASATTRIBUTE_UNUSED works for gcc-3.3, but not for g++-3.3
Subject: Re: [PATCH] Re: [perl #39634] gcc 3.3 has problems with __attribute__((unused))
From: Andrew Dougherty <doughera@lafayette.edu>
Date: Thu, 29 Jun 2006 13:41:28 -0400 (EDT)
Message-ID: <Pine.LNX.4.62.0606291327130.16718@fractal.phys.lafayette.edu>

[ 28456]
Fix a couple of compilation warnings

[ 28457]
PERL_UNUSED_CONTEXT is not enough to silence warnings when pTHXx
is used.

[ 28459]
Fix casting warnings related to snprintf/vsnprintf

[ 28465]
remove some unnecessary uses of WITH_THR

[ 28476]
Subject: [PATCH] toke.c consting and localizing
From: andy@petdance.com (Andy Lester)
Date: Mon, 3 Jul 2006 17:42:50 -0500
Message-ID: <20060703224250.GA14481@petdance.com>
p4raw-link: @28476 on //depot/perl: bbd11bfc71646921e3be8023a3989fb2a9921d80
p4raw-link: @28465 on //depot/perl: 11206fddaf7ef0686e22e60221d236872f9d4063
p4raw-link: @28459 on //depot/perl: 625dac9da817af72bb35414c226dadeb2d915f21
p4raw-link: @28457 on //depot/perl: ed6c66dd09fbfa492035c1c3ffab6e32232b3d6e
p4raw-link: @28456 on //depot/perl: d47053ebddc7ad9e077ef3549a5cfd970b0413f8
p4raw-link: @28453 on //depot/perl: 42bf555054770bacf4bf838127bc8a1a352164a9
p4raw-link: @28447 on //depot/perl: 66af24e195c7ca9dc7a69d67f4354a2bb45dcb03
p4raw-link: @28413 on //depot/perl: 86f970540c92c6b7202ca6a4f9d388d9e23a2f27
p4raw-link: @28327 on //depot/perl: fa656879f58e30292c0192b81de3ede0e1d354d5

p4raw-id: //depot/maint-5.8/perl@29999
p4raw-integrated: from //depot/perl@28465 'merge in' op.c (@28381..)
mg.c (@28419..)
p4raw-integrated: from //depot/perl@28459 'merge in' util.c (@28375..)
p4raw-integrated: from //depot/perl@28457 'merge in' perl.c (@28258..)
p4raw-integrated: from //depot/perl@28453 'edit in' perl.h (@28326..)
p4raw-integrated: from //depot/perl@28447 'copy in' utfebcdic.h
(@26229..)
p4raw-integrated: from //depot/perl@28413 'edit in' toke.c (@28409..)
p4raw-integrated: from //depot/perl@28327 'merge in' regcomp.c
(@28326..)

17 years agoIntegrate:
Andy Lester [Sun, 11 Jun 2006 22:44:34 +0000 (17:44 -0500)]
Integrate:
[ 28381]
Subject: [PATCH] Proper use of enums
Date: Sun, 11 Jun 2006 22:44:34 -0500
Message-ID: <20060612034434.GA21588@petdance.com>

[ 28385]
Subject: [PATCH] Static cleanup in pp_sort.c
From: andy@petdance.com (Andy Lester)
Date: Mon, 12 Jun 2006 08:59:34 -0500
Message-ID: <20060612135934.GA2202@petdance.com>
p4raw-link: @28385 on //depot/perl: fe2ae5081bc2e29bed890e921179e594deb788ec
p4raw-link: @28381 on //depot/perl: 42d0e0b77a1ef47b81ab3e346a1a4dc0af5b9bec

p4raw-id: //depot/maint-5.8/perl@29997
p4raw-integrated: from //depot/perl@28385 'edit in' pp_sort.c
(@28008..) embed.fnc (@28381..) 'merge in' embed.h (@28376..)
p4raw-integrated: from //depot/perl@28381 'edit in' op.c (@28258..)
pod/perlapi.pod (@28302..) proto.h (@28377..) sv.c (@28380..)
'merge in' sv.h (@28300..) perlio.c (@28329..) pp.c (@28370..)
gv.c (@28378..)

17 years agoIntegrate:
Nicholas Clark [Fri, 26 Jan 2007 09:54:13 +0000 (09:54 +0000)]
Integrate:
[ 28376]
Subject: [PATCH] Add error checks after execing PL_cshname or PL_sh_path
From: "Jan Dubois" <jand@activestate.com>
Date: Wed, 7 Jun 2006 15:53:02 -0700
Message-ID: <002301c68a85$21aa7320$d045a8c0@candy>

[ 28377]
Mark the 1st argument to S_exec_failed as non null

[ 28404]
Subject: [perl #39365] Bug in toke.c (eval in subst)
From: bcarter@gumdrop.flyinganvil.org (via RT) <perlbug-followup@perl.org>
Date: Fri, 09 Jun 2006 02:08:44 -0700
Message-ID: <rt-3.0.11-39365-134716.18.9775670722527@perl.org>

plus a regression test.

[ 28409]
Change 28404 broke the construct s/foo/<<BAR/e. So, try to be more
clever. If the right hand side of s///e contains a #, then maybe
it's a comment, so add a \n after it. Obviously, this is fast, but
won't cover all possible cases.
p4raw-link: @28409 on //depot/perl: 9badc3612459020624c762b543ab7dd82718f170
p4raw-link: @28404 on //depot/perl: 2d997502fd695609fa2064523de2ba2d8d094b6c
p4raw-link: @28377 on //depot/perl: b1366aafc0ae88aa629334eee83ef65c43f75718
p4raw-link: @28376 on //depot/perl: a0f2c8eceae71789431c376e9ac4024e0f45df77

p4raw-id: //depot/maint-5.8/perl@29996
p4raw-integrated: from //depot/perl@28404 'edit in' t/comp/parser.t
(@27912..) toke.c (@28357..)
p4raw-integrated: from //depot/perl@28377 'edit in' proto.h (@28376..)
p4raw-integrated: from //depot/perl@28376 'edit in' embed.fnc
(@28373..) 'merge in' doio.c (@28358..) embed.h (@28373..)

17 years agoIntegrate:
Nicholas Clark [Fri, 26 Jan 2007 09:31:24 +0000 (09:31 +0000)]
Integrate:
[ 28328]
Subject: Re: [perl #39126] possible memory related bug when using sprintf with an utf-8 encoded format-string and iso-8859-1 encoded string variables.
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Sun, 21 May 2006 19:33:21 +0900
Message-Id: <20060521193259.81E5.BQW10602@nifty.com>

with test tweaks further suggested by the same

[ 28331]
make require report too many open files error
ie don't continue searching the rest of @INC

[ 28364]
Subject: [PATCH] exhausting <> in BEGIN{} gets ARGVOUT used only once warning
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Tue, 6 Jun 2006 22:24:46 -0700
Message-ID: <20060607052446.GA3240@efn.org>
p4raw-link: @28364 on //depot/perl: 7b8203e3be66f22041237ce6c371ea09ae857f20
p4raw-link: @28331 on //depot/perl: ff806af2ea404e8d06ddc51fb69c5913462e33d3
p4raw-link: @28328 on //depot/perl: cc61b222958c07650542902d07ee4c04d4d76213

p4raw-id: //depot/maint-5.8/perl@29995
p4raw-integrated: from //depot/perl@28364 'merge in' t/op/readline.t
(@21794..) gv.c (@28323..)
p4raw-integrated: from //depot/perl@28331 'merge in' pp_ctl.c
(@28258..)
p4raw-integrated: from //depot/perl@28328 'edit in' sv.c (@28258..)
'merge in' t/op/sprintf2.t (@26342..)

17 years agoIntegrate:
Andy Lester [Sat, 20 May 2006 16:20:20 +0000 (11:20 -0500)]
Integrate:
[ 28279]
Subject: [PATCH] pp_sys cleanup again
Date: Sat, 20 May 2006 16:20:20 -0500
Message-ID: <20060520212020.GA30688@petdance.com>

[ 28289]
Subject: [PATCH] clean some lint findings
From: andy@petdance.com (Andy Lester)
Date: Sun, 21 May 2006 00:02:40 -0500
Message-ID: <20060521050240.GA21051@petdance.com>

[ 28296]
Subject: [PATCH] Refactoring in av.c
From: andy@petdance.com (Andy Lester)
Date: Wed, 24 May 2006 00:16:40 -0500
Message-ID: <20060524051640.GA4713@petdance.com>

[ 28357]
Subject: [PATCH] Accumulated toke.c cleanups
From: andy@petdance.com (Andy Lester)
Date: Tue, 6 Jun 2006 00:07:36 -0500
Message-ID: <20060606050736.GA30291@petdance.com>

[ 28358]
Subject: [PATCH] more accumulated cleanups
From: andy@petdance.com (Andy Lester)
Date: Tue, 6 Jun 2006 00:25:01 -0500
Message-ID: <20060606052501.GA30469@petdance.com>

[ 28363]
Subject: [PATCH] dump.c patches
From: andy@petdance.com (Andy Lester)
Date: Tue, 6 Jun 2006 10:01:37 -0500
Message-ID: <20060606150137.GA4434@petdance.com>
p4raw-link: @28363 on //depot/perl: b9ac451d97da485ed458751b091ad58161889fca
p4raw-link: @28358 on //depot/perl: 35da51f7f2e09d38719c2d96d9f3eacd4f9f796a
p4raw-link: @28357 on //depot/perl: c35e046af5b841e9249aec6438e14aabc52c284a
p4raw-link: @28296 on //depot/perl: e2d306cb6f7ec064f0604b24211e7b2cd0705b39
p4raw-link: @28289 on //depot/perl: 14333449d262b4fad02b614f81937e2c67a05581
p4raw-link: @28279 on //depot/perl: a79db61dcadc9f5a0fd43eecf4ddcdd6bae7af03

p4raw-id: //depot/maint-5.8/perl@29993
p4raw-integrated: from //depot/perl@28363 'edit in' dump.c (@28260..)
'merge in' doop.c (@28029..)
p4raw-edited: from //depot/perl@28358 'edit in' util.c (@28276..)
p4raw-integrated: from //depot/perl@28358 'edit in' doio.c (@28237..)
av.c (@28296..) 'merge in' utf8.c (@28176..)
p4raw-integrated: from //depot/perl@28357 'edit in' toke.c (@28183..)
p4raw-integrated: from //depot/perl@28296 'merge in' cop.h (@28258..)
p4raw-integrated: from //depot/perl@28289 'edit in' hv.c (@28250..)
proto.h (@28258..) 'merge in' pp_pack.c (@28209..) perlio.c
(@28275..) embed.fnc embed.h (@28277..)
p4raw-integrated: from //depot/perl@28279 'edit in' pp_sys.c (@28258..)

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 23:24:46 +0000 (23:24 +0000)]
Integrate:
[ 28218]
Add a new macro SvVSTRING_mg that returns vstring magic, if any.
SvVOK used to do that, in stealth mode, but now it returns a
boolean like it used to. Patch suggested by John Peacock.
p4raw-link: @28218 on //depot/perl: b0a11fe104a0ad4cbfcb5d90e8c0fbdfd46e46ac

p4raw-id: //depot/maint-5.8/perl@29988
p4raw-integrated: from //depot/perl@28218 'edit in' sv.h (@28086..)
sv.c (@28215..)

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 23:07:41 +0000 (23:07 +0000)]
Integrate:
[ 28251]
[perl #32332] Perl segfaults; test case available
sub f { s/$var/f()/e } could free the wrong RE

[ 28254]
eval { s/$foo/die/e } leaked a scalar
p4raw-link: @28254 on //depot/perl: cff085c1df60b77b6a2dbefd408f54bb564b8353
p4raw-link: @28251 on //depot/perl: e22ae1e278fa878ce0da6700e97da49f0dacf636

p4raw-id: //depot/maint-5.8/perl@29986
p4raw-integrated: from //depot/perl@28251 'edit in' pp_hot.c (@28086..)
pp_ctl.c (@28183..) 'merge in' cop.h (@28250..)

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 22:55:28 +0000 (22:55 +0000)]
Integrate:
[ 28193]
Subject: [PATCH] strange encodings upsets pp_chr
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Sun, 14 May 2006 19:57:28 +0900
Message-Id: <20060514195532.5422.BQW10602@nifty.com>

[ 28215]
Subject: Re: [perl #39145] win32, @_ and fork crashing in dounwind
From: Dave Mitchell <davem@iabyn.com>
Date: Wed, 17 May 2006 17:38:16 +0100
Message-ID: <20060517163816.GN17109@iabyn.com>

(Dave's fix, plus a test taken from [perl #39145])

[ 28248]
[perl #32041] SEGV with complicated regexp and long string
PL_reg_maxiter was wrapping to a negative value
p4raw-link: @28248 on //depot/perl: 66bf836d545d4a639166fad46f83811d0df5f8ce
p4raw-link: @28215 on //depot/perl: d8d97e7036087008232bf8da77755f2ab9da8b29
p4raw-link: @28193 on //depot/perl: 4c5ed6e2fe45844ca952edb0ad5be618e204247b

p4raw-id: //depot/maint-5.8/perl@29985
p4raw-branched: from //depot/perl@29984 'branch in' t/uni/chr.t
p4raw-integrated: from //depot/perl@29984 'copy in' t/op/ord.t
(@19939..) 'merge in' t/op/chr.t (@24720..)
p4raw-integrated: from //depot/perl@28248 'ignore' op.c (@28148..)
'merge in' regexec.c (@28206..)
p4raw-integrated: from //depot/perl@28215 'merge in' t/op/fork.t
(@26379..) sv.c (@28186..)
p4raw-integrated: from //depot/perl@28193 'merge in' pp.c (@28106..)
MANIFEST (@28177..)

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 22:41:11 +0000 (22:41 +0000)]
Integrate:
[ 28183]
Subject: Re: [PATCH] my_snprintf
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Fri, 12 May 2006 22:28:49 +0300
Message-ID: <4464E1F1.9010706@gmail.com>

[ 28186]
Subject: [PATCH] sv.c: printf %d wants int not size_t
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Message-Id: <200605130715.k4D7FWg3089581@kosh.hut.fi>
Date: Sat, 13 May 2006 10:15:32 +0300 (EEST)

[ 28216]
Subject: Re: Change 28183 has broken 64-bit builds?
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Wed, 17 May 2006 22:19:51 +0300
Message-ID: <446B7757.8030301@gmail.com>

[ 28217]
Parenthesize uses of macro arguments

[ 28222]
Adjust calling of Perl_va_copy(), noticed by Jarkko

[ 28234]
Subject: [PATCH] Re: [PATCH] Re: Change 28183 has broken 64-bit builds?
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Thu, 18 May 2006 22:44:14 +0300
Message-ID: <446CCE8E.8010407@gmail.com>

[ 28247]
Perl_croak() needs an aTHX_ in PerlIO_vsprintf().

[ 28249]
Solaris was happy, but change 28247 removed the wrong dTHX as far as
some other operating systems were concerned.

[ 28299]
The 'f' flag was missing for my_snprintf().
p4raw-link: @28299 on //depot/perl: fbbee5078e5d9adacad75385ca613eea92458641
p4raw-link: @28249 on //depot/perl: 8ff9a42beba9f4156f50b64fd80480645efd8c5a
p4raw-link: @28247 on //depot/perl: 37405f9009219de703848fda95b3f821e51fda4d
p4raw-link: @28234 on //depot/perl: 1208b3dd78273b01e1538ddb951ee4e62eb90ebe
p4raw-link: @28222 on //depot/perl: 239fec62f303a778565ed933ef3576674baac3f2
p4raw-link: @28217 on //depot/perl: e3749539d04912af50a86b1d1e5ae9962c3a882c
p4raw-link: @28216 on //depot/perl: 5b692037d0e0df6fa15610772065054750efddf4
p4raw-link: @28186 on //depot/perl: 0e84aef4242ec032e57136ee96a4283b6b8d1b1d
p4raw-link: @28183 on //depot/perl: d9fad198da41e1cd37600ae397146e27a413303d

p4raw-id: //depot/maint-5.8/perl@29984
p4raw-integrated: from //depot/perl@28299 'edit in' embed.fnc
(@28289..)
p4raw-integrated: from //depot/perl@28249 'edit in' perlio.c (@28247..)
p4raw-integrated: from //depot/perl@28216 'edit in' perl.h (@28183..)
p4raw-integrated: from //depot/perl@28183 'edit in' universal.c
(@28008..) pod/perlapi.pod (@28063..) util.c (@28148..) sv.c
(@28178..) 'merge in' regcomp.c (@28010..) global.sym
(@28071..) pp_ctl.c (@28150..) toke.c (@28179..) proto.h
(@28180..)

17 years agoIntegrate:
Jarkko Hietaniemi [Sat, 6 May 2006 11:21:02 +0000 (14:21 +0300)]
Integrate:
[ 28132]
Subject: [PATCH] PERL_MEM_LOG enhancements
Message-ID: <445C5C6E.6070201@gmail.com>
p4raw-link: @28132 on //depot/perl: 65ceff029b261068bab583ae655bb00669409fa9

p4raw-id: //depot/maint-5.8/perl@29982
p4raw-integrated: from //depot/perl@28132 'edit in' util.c (@27987..)

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 21:31:37 +0000 (21:31 +0000)]
Integrate:
[ 28205]
Subject: [PATCH] refactoring out S_regoptail
From: andy@petdance.com (Andy Lester)
Date: Sun, 14 May 2006 23:15:18 -0500
Message-ID: <20060515041518.GA15745@petdance.com>

[ 28206]
Subject: [PATCH] Refactoring reghops
From: andy@petdance.com (Andy Lester)
Date: Mon, 15 May 2006 08:54:24 -0500
Message-ID: <20060515135424.GA31585@petdance.com>

[ 28209]
Subject: Re: [PATCH]  upgrade bytes_to_uni
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Mon, 15 May 2006 22:39:58 +0900
Message-Id: <20060515223901.F3B0.BQW10602@nifty.com>

[ 28236]
strlen(foo) rather than strchr(foo, 0) makes simpler code, and is
likely to be a more efficient implementation.

[ 28237]
Subject: [PATCH] strlcat aaargh
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Fri, 19 May 2006 20:44:46 +0300
Message-ID: <446E040E.8030205@gmail.com>

[ 28246]
There is no STASH type.
p4raw-link: @28246 on //depot/perl: b6f4de247d2f20eb763c2db7573dedd35b276519
p4raw-link: @28237 on //depot/perl: e9ed3d63ac53380ed6569edb3c52e2816feeab35
p4raw-link: @28236 on //depot/perl: f8225f8afdb4886e3a792f44a7d91c93463cbb78
p4raw-link: @28209 on //depot/perl: 48fa462660ce4db8227511df5abb5557bba6f39e
p4raw-link: @28206 on //depot/perl: 0ce71af7a9fc04f228d597a47acc6b50ded81784
p4raw-link: @28205 on //depot/perl: 9674d46a132a274aad55231acfd004cbf1e42f04

p4raw-id: //depot/maint-5.8/perl@29981
p4raw-integrated: from //depot/perl@28246 'merge in' sv.h (@28218..)
p4raw-integrated: from //depot/perl@28237 'merge in' doio.c (@28077..)
p4raw-integrated: from //depot/perl@28236 'merge in' perlio.c
(@28234..)
p4raw-integrated: from //depot/perl@28209 'merge in' pp_pack.c
(@28180..)
p4raw-integrated: from //depot/perl@28206 'edit in' embed.fnc
(@28205..) 'merge in' regexec.c (@28023..)
p4raw-integrated: from //depot/perl@28205 'edit in' proto.h regcomp.c
(@28194..) 'merge in' embed.h (@28194..)

17 years agoIntegrate:
Andy Lester [Thu, 11 May 2006 22:41:01 +0000 (17:41 -0500)]
Integrate:
[ 28144]
In Perl_Gv_AMupdate(), there's no need to call sv_unmagic() if we know
the magic isn't there.

[ 28145]
Simplify the non-printable name error reporting code in Perl_allocmy().

[ 28176]
Subject: [PATCH] Speed up utf8.c a bit
Date: Thu, 11 May 2006 22:41:01 -0500
Message-ID: <20060512034101.GA10709@petdance.com>

[ 28178]
The upgrade/croak order in Perl_sv_utf8_encode() seemed utterly
backwards. It now checks for readonly *first*.

[ 28179]
Subject: [PATCH] Proper use of static funcs in toke.c and pp_sys.c
From: andy@petdance.com (Andy Lester)
Date: Tue, 9 May 2006 12:27:30 -0500
Message-ID: <20060509172730.GA5272@petdance.com>

[ 28180]
Subject: [PATCH]  upgrade bytes_to_uni
From: andy@petdance.com (Andy Lester)
Date: Fri, 12 May 2006 00:21:23 -0500
Message-ID: <20060512052123.GA21648@petdance.com>

[ 28194]
Subject: [PATCH] S_reguni should return its length
From: andy@petdance.com (Andy Lester)
Date: Sun, 14 May 2006 09:46:32 -0500
Message-ID: <20060514144632.GA20935@petdance.com>

ooops, and also something in blead that wasn't meant to sneak in:
Change PERL_WARNHOOK_FATAL to &PL_sv_placeholder, rather than some
evil cast relative to NULL.
p4raw-link: @28194 on //depot/perl: 71207a3462fa4c2b33c5608a4362ac40e975ecdb
p4raw-link: @28180 on //depot/perl: 64844641e1be28fdf8b7bba9436537339624f40b
p4raw-link: @28179 on //depot/perl: 931e0695c454f4c18f68d30775151862650cc4d8
p4raw-link: @28178 on //depot/perl: a5f5288a1ce96404c41043e92557b8c1a5ad9e30
p4raw-link: @28176 on //depot/perl: 3ebfea2846d81f58e86dfcb7f9e09300e5dfcd17
p4raw-link: @28145 on //depot/perl: d1544d85966c2f41014a6f408fd81b36501caa7c
p4raw-link: @28144 on //depot/perl: 14899595d82ccba509ac7743655764129ed32177

p4raw-id: //depot/maint-5.8/perl@29980
p4raw-integrated: from //depot/perl@28194 'merge in' regcomp.c
(@28183..)
p4raw-integrated: from //depot/perl@28180 'edit in' embed.fnc embed.h
proto.h (@28179..) 'merge in' pp_pack.c (@28032..)
p4raw-integrated: from //depot/perl@28179 'merge in' pp_sys.c
(@28076..) toke.c (@28087..)
p4raw-integrated: from //depot/perl@28178 'merge in' sv.c (@28171..)
p4raw-integrated: from //depot/perl@28176 'merge in' utf8.c (@28015..)
p4raw-integrated: from //depot/perl@28145 'edit in' op.c (@28137..)
p4raw-integrated: from //depot/perl@28144 'merge in' gv.c (@28143..)

17 years agoRe-run embed.pl.
Nicholas Clark [Thu, 25 Jan 2007 21:01:25 +0000 (21:01 +0000)]
Re-run embed.pl.

p4raw-id: //depot/maint-5.8/perl@29979

17 years agoFix 29976 (somehow I can't have run make test) - in maint there need to
Nicholas Clark [Thu, 25 Jan 2007 21:01:04 +0000 (21:01 +0000)]
Fix 29976 (somehow I can't have run make test) - in maint there need to
be push_return() and pop_return() wrapping the faked up eval for
constant folding.

p4raw-id: //depot/maint-5.8/perl@29978

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 17:25:09 +0000 (17:25 +0000)]
Integrate:
[ 28135]
allow exit during fold_constants
eg BEGIN { $SIG{__WARN__} = sub{exit};} "a" == "b"

[ 28148]
disable WARN and DIE hooks during constant folding
p4raw-link: @28148 on //depot/perl: 5f2d99664d8a6923d24892ffc0569f4e03e22edd
p4raw-link: @28135 on //depot/perl: 5db49ba3a175392c88bf67c5576fcca80075f35e

p4raw-id: //depot/maint-5.8/perl@29976
p4raw-integrated: from //depot/perl@29974 'copy in' t/comp/fold.t
(@27616..)
p4raw-integrated: from //depot/perl@28148 'edit in' op.c (@28146..)
'merge in' warnings.h warnings.pl (@27779..) util.c (@28132..)

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 17:04:16 +0000 (17:04 +0000)]
Integrate:
[ 28069]
Add a new hash key flag HVhek_UNSHARED, to mark all unshared hash keys.
Otherwise Perl_newSVhek(), called by Perl_hv_iterkeysv(), naively
assumes that it can share any hash key directly.

[ 28074]
Subject: [PATCH] microperl update
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Wed, 03 May 2006 08:20:31 +0300
Message-ID: <44583D9F.8060401@gmail.com>

[ 28075]
Subject: [PATCH] hv.c: do zeroing via mem wrap check
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Tue, 2 May 2006 20:03:01 +0300 (EEST)
Message-Id: <200605021703.k42H31PF216868@kosh.hut.fi>

[ 28076]
Subject: [PATCH] pp_sys.c: U8* cast
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Tue, 2 May 2006 20:04:33 +0300 (EEST)
Message-Id: <200605021704.k42H4XIh255652@kosh.hut.fi>

[ 28077]
Subject: [PATCH] clean up loops in doio.c and dump.c
From: andy@petdance.com (Andy Lester)
Date: Tue, 2 May 2006 13:38:15 -0500
Message-ID: <20060502183815.GA7979@petdance.com>

[ 28079]
Subject: [PATCH] Remove an unnecessary goto
From: andy@petdance.com (Andy Lester)
Date: Wed, 3 May 2006 00:54:30 -0500
Message-ID: <20060503055430.GA4922@petdance.com>

[ 28081]
Subject: [PATCH] more logic localizations
From: andy@petdance.com (Andy Lester)
Date: Tue, 11 Apr 2006 14:14:45 -0500
Message-ID: <20060411191445.GA4938@petdance.com>

[ 28136]
Fix a logic error in conditional found by Coverity

[ 28137]
Fix another Coverity problem by adding an assert that says that
some string we got from the lexer is null-terminated
p4raw-link: @28137 on //depot/perl: cdc3231cb53dfb75cf0b9268f10ccda7f6b8d10d
p4raw-link: @28136 on //depot/perl: 735fec840d57c71a7d7fbdc8ecb199c92bb3f870
p4raw-link: @28081 on //depot/perl: 5fcbf73de321a1551a1616d77c2f50a8a22d5f35
p4raw-link: @28079 on //depot/perl: 3ea285d10994f16a1808764be228780ee879570d
p4raw-link: @28077 on //depot/perl: 294b3b3940051144b7e617afd7d93672b0fc2dfd
p4raw-link: @28076 on //depot/perl: 9a206dfdc969fdaf131056ef8a692a173aecaea4
p4raw-link: @28075 on //depot/perl: 41f624326e41e9473759ff78a7d900616bbc39a1
p4raw-link: @28074 on //depot/perl: 535ceeb00745175afe74daacb3fafbd3f7b4ac49
p4raw-link: @28069 on //depot/perl: 45e3480058a48be9675e10a3f8cf34c1b211df0e

p4raw-id: //depot/maint-5.8/perl@29974
p4raw-integrated: from //depot/perl@29971 'copy in' README.micro
(@23027..) Makefile.micro (@25866..)
p4raw-edited: from //depot/perl@28137 'edit in' op.c (@28136..)
p4raw-integrated: from //depot/perl@28081 'edit in' mg.c (@28047..)
p4raw-integrated: from //depot/perl@28077 'edit in' dump.c (@27962..)
proto.h (@28063..) embed.fnc embed.h (@28073..) 'merge in'
doio.c (@28017..)
p4raw-integrated: from //depot/perl@28076 'edit in' pp_sys.c (@28034..)
p4raw-integrated: from //depot/perl@28074 'copy in' uconfig.h
(@25741..) 'merge in' uconfig.sh (@27407..)
p4raw-edited: from //depot/perl@28069 'edit in' hv.c (@28008..)
p4raw-integrated: from //depot/perl@28069 'merge in' hv.h (@27776..)
sv.c (@28065..)

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 11:59:28 +0000 (11:59 +0000)]
Integrate:
[ 28058]
De-duplicate the code that creates new GPs into Perl_newGP().

[back out the gv.c part of:]
[ 29735]
We can get in the messy situation of the COP that PL_curcop pointed
to getting freed, and as part of the same free overloading decides
to look for DESTROY, which needs to *create* a GV, which in turn
was expecting that PL_curcop pointed to something valid. So set
PL_curcop to NULL if we're freeing the COP that it points to, and
make Perl_gv_init() cope with a NULL PL_curcop.

[ 29748]
An implementation of change 29735 for blead (PL_curcop could be NULL)
given that blead's refactoring is not yet in maint.

[ 29970]
Change 28058 hadn't been tested with -DPERL_CREATE_GVSV
p4raw-link: @29970 on //depot/perl: b5c2dcb896d432b12ffe33fec8f2d720824f50e6
p4raw-link: @29748 on //depot/perl: 1df5f7c19502d9913cf1f60730ae040812453f58
p4raw-link: @29735 on //depot/maint-5.8/perl: 2ae052418cb5f0db0b999bb3c298ef659ee68352
p4raw-link: @28058 on //depot/perl: 128165928a7fa68e9b3adbdf3695141c97adb115

p4raw-id: //depot/maint-5.8/perl@29971
p4raw-edited: from //depot/perl@28058 'edit in' gv.c (@28010..)
p4raw-integrated: from //depot/perl@28058 'edit in' proto.h (@28041..)
'merge in' scope.c (@27986..) embed.fnc embed.h (@28041..)

17 years agoGo away, stowaway file.
Nicholas Clark [Thu, 25 Jan 2007 10:55:58 +0000 (10:55 +0000)]
Go away, stowaway file.

p4raw-id: //depot/maint-5.8/perl@29969

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 10:55:13 +0000 (10:55 +0000)]
Integrate:
[ 28063]
Fix bug in DynaLoader, which has been passing a filename in dynamic
storage to newXS() seemingly forever. This involves creating
newXS_flags(), with the first flag being "arrange to copy the
filename and free it at the right time".

[ 28064]
Change 28063 forgot 1 key line - acutally use the correct filename
storage.

[ 28066]
*static* pointers to newXSUB(), dammit!

[ 29107]
Plug a memory leak in newCONSTSUB
p4raw-link: @29107 on //depot/perl: c3db7d9213b09a5852dab00368488f63a7625b9e
p4raw-link: @28066 on //depot/perl: a4c98449d8cced0a413461ab2ba6c8c9f74b5530
p4raw-link: @28064 on //depot/perl: 81a2b3b63405cdf740520d468d3da237ead91a62
p4raw-link: @28063 on //depot/perl: 77004dee2553ce034a8a58b2b2849e3656df46c3

p4raw-id: //depot/maint-5.8/perl@29968
p4raw-branched: from //depot/perl@29967 'branch in'
ext/DynaLoader/dl_symbian.xs (@24271..)
p4raw-integrated: from //depot/perl@29967 'copy in'
ext/DynaLoader/dl_beos.xs ext/DynaLoader/dl_dllload.xs
ext/DynaLoader/dl_vmesa.xs (@12627..) ext/DynaLoader/dl_dld.xs
(@12637..) ext/DynaLoader/dl_mac.xs (@12823..)
ext/DynaLoader/dl_mpeix.xs (@20927..) ext/DynaLoader/dl_hpux.xs
(@22179..) ext/DynaLoader/dl_dyld.xs (@24246..)
ext/DynaLoader/dl_dlopen.xs (@24770..)
ext/DynaLoader/dl_next.xs (@25101..) 'merge in'
ext/DynaLoader/dl_aix.xs (@25101..) writemain.SH (@27549..)
p4raw-integrated: from //depot/perl@28066 'merge in' xsutils.c
(@27288..)
p4raw-integrated: from //depot/perl@28063 'copy in'
ext/DynaLoader/dl_vms.xs (@25101..) 'edit in' op.c (@28008..)
'merge in' cv.h (@27498..) XSUB.h (@27968..) pod/perlapi.pod
(@28031..) embed.fnc embed.h proto.h (@28058..)

17 years agoIntegrate:
Andy Lester [Sun, 30 Apr 2006 12:06:21 +0000 (07:06 -0500)]
Integrate:
[ 28047]
Subject: [PATCH] More tweaking of SvREFCNT_inc calls
Date: Sun, 30 Apr 2006 12:06:21 -0500
Message-ID: <20060430170621.GA4054@petdance.com>

[ 28048]
Subject: [PATCH] quiet some perlio.c warnings
From: andy@petdance.com (Andy Lester)
Date: Sun, 30 Apr 2006 13:23:22 -0500
Message-ID: <20060430182322.GA18064@petdance.com>

[ 28049]
Subject: [PATCH] Some more SvREFCNT_inc updates
From: andy@petdance.com (Andy Lester)
Date: Sun, 30 Apr 2006 13:24:14 -0500
Message-ID: <20060430182414.GA18094@petdance.com>

[ 28050]
Subject: [PATCH] pp.c casting, take two
From: andy@petdance.com (Andy Lester)
Date: Sun, 30 Apr 2006 19:48:26 -0500
Message-ID: <20060501004826.GA4744@petdance.com>

(with adjustements, some of the code has already
been touched since)
p4raw-link: @28050 on //depot/perl: 1eced8f8a0e6e2602d7e540f2f61b8170e942a77
p4raw-link: @28049 on //depot/perl: 74c765ebd9546713996cf9b987d7f80fa82a7674
p4raw-link: @28048 on //depot/perl: a25429c695343745462bc9b108964dcc3a8aae05
p4raw-link: @28047 on //depot/perl: 46da273f387b179a7655892d9988a75dc6e89057

p4raw-id: //depot/maint-5.8/perl@29967
p4raw-integrated: from //depot/perl@28050 'merge in' pp.c (@28042..)
p4raw-integrated: from //depot/perl@28049 'merge in' cop.h (@28010..)
pp_ctl.c (@28041..)
p4raw-integrated: from //depot/perl@28048 'merge in' perlio.c
(@28020..)
p4raw-integrated: from //depot/perl@28047 'merge in' mg.c (@27962..)

17 years agoCorrect the definition of S_vdie_common in mathoms.c
Nicholas Clark [Thu, 25 Jan 2007 10:15:27 +0000 (10:15 +0000)]
Correct the definition of S_vdie_common in mathoms.c

p4raw-id: //depot/maint-5.8/perl@29966

17 years agoIntegrate:
Nicholas Clark [Thu, 25 Jan 2007 00:07:28 +0000 (00:07 +0000)]
Integrate:
[ 28031]
Perl_pack_cat() is a mathom too!
p4raw-link: @28031 on //depot/perl: b47163a2906cf2ff40db5092eaa4c948dd1e63f0

p4raw-id: //depot/maint-5.8/perl@29965
p4raw-integrated: from //depot/perl@28031 'edit in' mathoms.c
(@27956..) pod/perlapi.pod (@28021..) pp_pack.c (@28030..)

17 years agoIntegrate:
Jarkko Hietaniemi [Fri, 28 Apr 2006 22:58:58 +0000 (01:58 +0300)]
Integrate:
[ 28008]
Subject: [PATCH] reduce gcc -ansi -pedantic noise plus a suggestion
Date: Fri, 28 Apr 2006 22:58:58 +0300
Message-ID: <44527402.8000506@gmail.com>

[ 28010]
Subject: [PATCH] more -ansi -pedantic cleanliness
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Sat, 29 Apr 2006 11:13:24 +0300
Message-ID: <44532024.9070303@gmail.com>

[ 28405]
Clean up a few warnings in regcomp.c under -Dgccansipedantic.

[ 28412]
Fix code before declaration error introduced by #28405
p4raw-link: @28412 on //depot/perl: 76e843627455c4ad0defcc8bd300dbbccba5b598
p4raw-link: @28405 on //depot/perl: f9049ba11a0bebcd4c0bd1ae863e90837a59ec50
p4raw-link: @28010 on //depot/perl: ca0270c4db0273594a19a3d140c7330546a185fe
p4raw-link: @28008 on //depot/perl: 95b63a389ed86efed1a2fa9fd24931d56aac6070

p4raw-id: //depot/maint-5.8/perl@29964
p4raw-integrated: from //depot/perl@28405 'edit in' regcomp.c
(@28394..)
p4raw-edited: from //depot/perl@28010 'edit in' sv.c (@28008..)
p4raw-integrated: from //depot/perl@28010 'edit in' cop.h (@27779..)
regexec.c (@27962..)
p4raw-integrated: from //depot/perl@28008 'edit in' gv.c perl.c
(@27962..) toke.c universal.c (@27987..) hv.c (@27990..)
pp_ctl.c (@27992..) 'merge in' pp_sort.c (@27689..) pp_pack.c
(@27956..) pad.c utf8.c (@27958..) doio.c pp_hot.c pp_sys.c
(@27962..) op.c (@27987..) perl.h (@27990..) pp.c (@28007..)

17 years agoIntegrate:
Nicholas Clark [Wed, 24 Jan 2007 23:24:03 +0000 (23:24 +0000)]
Integrate:
[ 27976]
Subject: [PATCH] Removing unused context
From: andy@petdance.com (Andy Lester)
Date: Thu, 27 Apr 2006 00:32:15 -0500
Message-ID: <20060427053215.GA31445@petdance.com>

[ 27992]
Subject: [PATCH] Removing another context parm
From: andy@petdance.com (Andy Lester)
Date: Thu, 27 Apr 2006 10:31:56 -0500
Message-ID: <20060427153156.GA11445@petdance.com>

[ 28020]
Coverity disliked us passing a negative length to vsnprintf().

[ 28023]
remove a compiler warning by making HOPBACKc only hop *back*

[ 28032]
Replace a STRLEN no_len; with a _nolen macro call.

[ 28041]
Reverting context removal from change #27992.  This should
clear up threaded builds on Win32 and VMS.

[ 28055]
Subject: [PATCH] toke.c: function pointer to data pointer
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Tue, 2 May 2006 08:25:55 +0300 (EEST)
Message-Id: <200605020525.k425Ptik165705@kosh.hut.fi>
p4raw-link: @28055 on //depot/perl: 55662e2777d994718a43f1019ada9071e032971d
p4raw-link: @28041 on //depot/perl: 74d5ed12f2c8cab97d22a9affcb3e8e87bad2b7b
p4raw-link: @28032 on //depot/perl: 56eb0262cf56fc0680c7c9ab97c66f67c16df4f0
p4raw-link: @28023 on //depot/perl: b9ea4ed635ce80660161459fbde22a8c65d414db
p4raw-link: @28020 on //depot/perl: 6a841143011641ad36ad4f8e2f2896eb0e1a59dc
p4raw-link: @27992 on //depot/perl: df528165173896ed88fc3da7e1aa8bc3ef3b2416
p4raw-link: @27976 on //depot/perl: 721e86b6b33d80a7a725210c34b4f10a4d35bdaf

p4raw-id: //depot/maint-5.8/perl@29963
p4raw-integrated: from //depot/perl@28055 'edit in' toke.c (@28010..)
p4raw-integrated: from //depot/perl@28041 'edit in' embed.h (@27992..)
p4raw-integrated: from //depot/perl@28032 'merge in' pp_pack.c
(@28031..)
p4raw-integrated: from //depot/perl@28023 'merge in' regexec.c
(@28010..)
p4raw-integrated: from //depot/perl@28020 'merge in' perlio.c
(@28008..)
p4raw-integrated: from //depot/perl@27992 'edit in' embed.fnc
(@27976..) pp_ctl.c (@27987..)
p4raw-edited: from //depot/perl@27976 'edit in' proto.h (@27947..)
p4raw-integrated: from //depot/perl@27976 'merge in' sv.c (@27962..)

17 years agoIntegrate:
Marcus Holland-Moritz [Mon, 24 Apr 2006 23:20:38 +0000 (01:20 +0200)]
Integrate:
[ 27962]
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060424232038.7550f9b6@r2d2>
p4raw-link: @27962 on //depot/perl: bb7a0f5422600fd7de7806825a1300a577b7e61f

p4raw-id: //depot/maint-5.8/perl@29962
p4raw-integrated: from //depot/perl@27962 'edit in' op.c regexec.c
(@27958..) 'merge in' patchlevel.h (@27007..) deb.c (@27300..)
handy.h (@27774..) scope.h (@27805..) pp_sys.c (@27837..)
util.c (@27908..) dump.c (@27910..) perl.c (@27941..) doop.c
(@27943..) mg.c (@27946..) doio.c (@27951..) gv.c perlio.c pp.c
pp_hot.c regcomp.c sv.c toke.c (@27958..) pp_ctl.c (@27959..)

17 years agoIntegrate:
Bas van Sisseren [Thu, 9 Feb 2006 06:33:51 +0000 (22:33 -0800)]
Integrate:
[ 27948]
Subject: [perl #38475] attribute multiline fix (in tokenizer)
From: bas@quarantainenet.nl (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38475-129844.11.5904582303176@perl.org>

[ 27950]
Add regression test for bug #38475

[ 27986]
[perl #39012] another REIFY bug
p4raw-link: @27986 on //depot/perl: 658aef798ab992aed2b708fed0d12323ab3b1fcb
p4raw-link: @27950 on //depot/perl: ef097d42b8f645b77866f6e17a857c98be228046
p4raw-link: @27948 on //depot/perl: 5cc237b845b7a607e8603d19d62d84a06829f8d9

p4raw-id: //depot/maint-5.8/perl@29961
p4raw-branched: from //depot/perl@29959 'branch in' t/op/attrhand.t
p4raw-integrated: from //depot/perl@27986 'merge in' t/op/local.t
(@27638..) scope.c (@27805..)
p4raw-integrated: from //depot/perl@27950 'merge in' MANIFEST
(@27938..)
p4raw-integrated: from //depot/perl@27948 'edit in' toke.c (@27946..)

17 years agoIntegrate:
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000 (06:47 +0200)]
Integrate:
[ 27945]
A couple of casts to PADOFFSET.
2nd patch from :
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060423044704.6a383ee8@r2d2>

[ 27959]
Coverity has started to notice another inconsistency in our NULL
pointer checking.
p4raw-link: @27959 on //depot/perl: 6482a30d2bd2742fb2541ea75066fbd5044cc1f8
p4raw-link: @27945 on //depot/perl: 9f7d9405237a9031cae5810788f8ca1931499cc8

p4raw-id: //depot/maint-5.8/perl@29959
p4raw-integrated: from //depot/perl@27959 'merge in' pp_ctl.c
(@27958..)
p4raw-integrated: from //depot/perl@27945 'ignore' pad.c (@27701..)
pp.c (@27871..) op.c (@27901..) 'merge in' toke.c (@27895..)

17 years agoIntegrate:
Andy Lester [Sun, 23 Apr 2006 20:45:09 +0000 (15:45 -0500)]
Integrate:
[ 27943]
Subject: [PATCH] doop.c consting, take 2
Date: Sun, 23 Apr 2006 20:45:09 -0500
Message-ID: <20060424014509.GA29642@petdance.com>

[ 27958]
Subject: [PATCH] use NOOP macro
From: andy@petdance.com (Andy Lester)
Date: Mon, 24 Apr 2006 13:44:51 -0500
Message-ID: <20060424184451.GA1479@petdance.com>
p4raw-link: @27958 on //depot/perl: 6f207bd3ddac24959aa7f00f2d7a66f116dcc7ed
p4raw-link: @27943 on //depot/perl: c395bd6cbc645e80f929b5b4e285b43aa4366851

p4raw-id: //depot/maint-5.8/perl@29958
p4raw-integrated: from //depot/perl@27958 'edit in' regcomp.c
(@27938..) gv.h (@27944..) pad.c pp.c (@27945..) 'ignore'
toke.c (@27948..) 'merge in' pp_hot.c (@27671..) utf8.c
(@27757..) perlio.c (@27809..) pp_ctl.c (@27860..) hv.c
(@27884..) regexec.c (@27938..) gv.c (@27944..) op.c (@27945..)
perl.h (@27946..) sv.c (@27949..)
p4raw-integrated: from //depot/perl@27943 'edit in' doop.c (@27897..)
'merge in' embed.fnc proto.h (@27942..)

17 years agoIntegrate:
Andy Lester [Wed, 19 Apr 2006 12:35:43 +0000 (07:35 -0500)]
Integrate:
[ 27909]
Subject: [PATCH] regexec consting & localizing
Message-ID: <20060419173543.GA8268@petdance.com>

[ 27911]
regmatch(): replace magic value -1000 with symbolic CHRTEST_VOID
p4raw-link: @27911 on //depot/perl: 9e1379522064653a18f9869238cf993de17f1960
p4raw-link: @27909 on //depot/perl: c4fd899278c3d558515085807d99f631cae59e1b

p4raw-id: //depot/maint-5.8/perl@29957
p4raw-integrated: from //depot/perl@27911 'edit in' regexec.c
(@27909..)

17 years agoIntegrate:
Nicholas Clark [Wed, 24 Jan 2007 18:58:36 +0000 (18:58 +0000)]
Integrate:
[ 27896]
Calling cv_undef() on the CV created by newCONSTSUB() would leak like
a Jumblie's preferred maritime craft. To free CvFILE for this case,
take advantage of the 0 length prototype that will also be there,
and hang it from the prototype. To do this properly means changing
code to actually pay attention to SvCUR() on prototypes. It turns out
that we always know the length of the prototype string, so this may
be faster. Certainly, it's a memory saving (even ignoring the leak).

[ 27898]
Avoid temporarily writing over the prototype when reporting an error.
(And beef up the relevant tests to really check that it all works).

[ 27900]
Oops. Need a macro to convert cv_ckproto() to cv_ckproto_len().

[ 27901]
newCONSTSUB needs to be robust in case CopFILE is NULL.

[ 29954]
Wrap the macro arguments for ck_proto in ().
p4raw-link: @29954 on //depot/perl: 46471bde41ad0777edf7b89818df6730e8b55c20
p4raw-link: @27901 on //depot/perl: 07fcac018384bd37bd2822ab8745344861c7c3df
p4raw-link: @27900 on //depot/perl: 33f36c7173d6dd43ce4e6d15c3d8b88b5652cdfd
p4raw-link: @27898 on //depot/perl: a075176614b5ba61bbee8cc5336ddfbd48f21998
p4raw-link: @27896 on //depot/perl: cbf82dd00c19573e7e274a1d8dda9656bc6e259a

p4raw-id: //depot/maint-5.8/perl@29955
p4raw-integrated: from //depot/perl@29953 'merge in' t/comp/proto.t
(@21565..)
p4raw-edited: from //depot/perl@27900 'edit in' op.h (@27773..)
p4raw-integrated: from //depot/perl@27896 'edit in' mathoms.c
(@27840..) proto.h (@27845..) embed.fnc (@27848..) sv.c
(@27862..) op.c (@27867..) 'merge in' embed.h (@27845..)
pod/perlapi.pod (@27846..) global.sym (@27848..) util.c
(@27884..) dump.c (@27889..)

17 years agoIntegrate:
Jarkko Hietaniemi [Sun, 16 Apr 2006 12:26:48 +0000 (15:26 +0300)]
Integrate:
[ 27792]
Remove SAVEt_FREESHAREDPV, as nothing is using it, and it isn't catered
for in Perl_ss_dup, hence nothing is testing it and nothing will alert
us if it breaks.

[ 27866]
Add Dave's explainations of why certain pointers are always non-NULL,
and assert() that it is true.

[ 27869]
Subject: [PATCH] (tentative) regcomp.c: try convincing Coverity that data ptr in study_chunk is non-NULL when needed
Message-Id: <20060416092648.812D36CF2D@aprikoosi.hut.fi>

[ 27894]
Revert 27869 at Jarkko's request.
p4raw-link: @27894 on //depot/perl: 451949058497c9086f197bf20b634564cea92c9b
p4raw-link: @27869 on //depot/perl: 5d3527ba35fbfe949eb3b9b4a0da66b688e41a00
p4raw-link: @27866 on //depot/perl: c2b7afd3c0b668fe31fd8835d487d6343bfcf526
p4raw-link: @27792 on //depot/perl: c88c823b70650169d3aaff2f95978d279e81b562

p4raw-id: //depot/maint-5.8/perl@29953
p4raw-integrated: from //depot/perl@27894 'edit in' regcomp.c
(@27882..)
p4raw-edited: from //depot/perl@27866 'edit in' regexec.c (@27855..)
p4raw-integrated: from //depot/perl@27792 'ignore' scope.c scope.h
(@27779..)

17 years agoIntegrate:
Nicholas Clark [Wed, 24 Jan 2007 16:46:32 +0000 (16:46 +0000)]
Integrate:
[ 27871]
Subject: Re: [PATCH] update to pp_complement() via Coverity
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Message-Id: <20060416184044.4ADB.BQW10602@nifty.com>
Date: Sun, 16 Apr 2006 18:45:37 +0900

Subject: Re: [PATCH] update to pp_complement() via Coverity
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Message-Id: <20060417230614.20A5.BQW10602@nifty.com>
Date: Mon, 17 Apr 2006 23:06:21 +0900

[ 27877]
Coverity is upset about a signed int in ext/Filter/Util/Call/Call.xs,
but the real problem is down in Perl_filter_read() in toke.c.

[ 27882]
Coverity insists that if we deference a pointer without checking, and
subsequently check that same pointer before deferencing it, something
in our code or our logic is bogus. So assert() that it's safe the
first time and remove the second check.

[ 27895]
Fix compilation of microperl, which doesn't have INT_MAX.

[ 27897]
Replace some Copy() by Move() calls, because valgrind reports
we can have overlapping memory areas here

[ 27908]
Subject: [PATCH] Localizing vars
From: andy@petdance.com (Andy Lester)
Date: Wed, 19 Apr 2006 23:44:01 -0500
Message-ID: <20060420044401.GA2792@petdance.com>

[ 27910]
Subject: [PATCH] op_type shrinking
From: andy@petdance.com (Andy Lester)
Date: Wed, 19 Apr 2006 23:16:53 -0500
Message-ID: <20060420041653.GA28523@petdance.com>
p4raw-link: @27910 on //depot/perl: e15d5972b12383d939a792aa5189460c258c4f51
p4raw-link: @27908 on //depot/perl: f0a09b71ee2ff28fc55a602c80790be291e62898
p4raw-link: @27897 on //depot/perl: 640af7f1c049ab83d4ea0840bc5fa3e1973e991f
p4raw-link: @27895 on //depot/perl: 39cd7a593a348b713bd3e45241789bcc2a458c1a
p4raw-link: @27882 on //depot/perl: ecaa9b9cab16865b1a89bd4b15cd989b1eb47178
p4raw-link: @27877 on //depot/perl: f482118e05fe207cb1fb55b3e6a8c3303301de40
p4raw-link: @27871 on //depot/perl: 74d49cd0c6fe69554c001c4efb03d89706f99ff5

p4raw-id: //depot/maint-5.8/perl@29952
p4raw-integrated: from //depot/perl@29951 'merge in' t/op/bop.t
(@27801..)
p4raw-integrated: from //depot/perl@27910 'edit in' dump.c sv.c
(@27896..)
p4raw-integrated: from //depot/perl@27908 'merge in' util.c (@27896..)
p4raw-integrated: from //depot/perl@27897 'merge in' doop.c (@27883..)
p4raw-integrated: from //depot/perl@27895 'edit in' toke.c (@27877..)
p4raw-integrated: from //depot/perl@27882 'merge in' regcomp.c
(@27869..)
p4raw-integrated: from //depot/perl@27871 'merge in' pp.c (@27841..)

17 years agoIntegrate:
Nicholas Clark [Wed, 24 Jan 2007 16:24:04 +0000 (16:24 +0000)]
Integrate:
[ 27840]
Merge sv_usepvn and sv_usepvn_mg into sv_usepvn_flags. "Promote" the
other two to mathoms.c

[ 27841]
Provide a new flag for sv_usepvn_flags, SV_HAS_TRAILING_NUL, which
signals that the buffer passed in is already well-formed for use as
SvPVX (i.e. it is followed by a trailing NUL), and hence the realloc()
to add a NUL can be skipped.

[ 27842]
In Perl_sv_usepvn_flags, assert() that the caller has RTFM.

[ 27843]
Perl_do_vop can profitably use Perl_sv_usepvn_flags, as it has
allocated space for an initialised a trailing NUL.

[ 27846]
Stray pod/perlapi.pod change found after a regen.

[ 27852]
Fix bug introduced with change 27841. (len + 1, not just len).
p4raw-link: @27852 on //depot/perl: 8f01dc65ffe0fac5309bf561048e6ae93442a218
p4raw-link: @27846 on //depot/perl: fed01289146a72275f8204f701222c0273a3f01b
p4raw-link: @27843 on //depot/perl: aa0a69cb4bc6ac8103067b4dd5c2d09748f9d78d
p4raw-link: @27842 on //depot/perl: 2e90b4cd9b8959c8a9cede0cb14ef5338ec93d49
p4raw-link: @27841 on //depot/perl: c1c21316ed394affd6841f00fb82bc62eb5fd0a5
p4raw-link: @27840 on //depot/perl: 47518d95dc53ff6c3eab1e57e355d65c518ebfa5

p4raw-id: //depot/maint-5.8/perl@29951
p4raw-integrated: from //depot/perl@27846 'merge in' pod/perlapi.pod
(@27801..)
p4raw-integrated: from //depot/perl@27843 'merge in' doop.c (@27801..)
p4raw-integrated: from //depot/perl@27842 'edit in' sv.c (@27841..)
p4raw-integrated: from //depot/perl@27841 'merge in' pp.c (@27836..)
p4raw-integrated: from //depot/perl@27840 'edit in' mathoms.c
(@27300..) sv.h (@27641..) proto.h (@27794..) 'merge in'
embed.fnc embed.h global.sym (@27800..)

17 years agoIntegrate:
Jarkko Hietaniemi [Thu, 13 Apr 2006 19:20:46 +0000 (22:20 +0300)]
Integrate:
[ 27801]
Subject: [PATCH] doop.c: (Coverity) found a bug but not quite what Coverity thought it did (try valgrind on the new bop.t without the doop.c patch)
Date: Thu, 13 Apr 2006 19:20:46 +0300 (EEST)
Message-Id: <20060413162046.5F9636D08C@ugli.hut.fi>

[ 27856]
The danger of piping an mbox to patch is that it contains more than
one message. So both:

Subject: [PATCH] doop.c: one more code path where memory could leak (Coverity)
From: jhi@cc.hut.fi (Jarkko Hietaniemi)
Message-Id: <20060416081925.680336CF2D@aprikoosi.hut.fi>
Date: Sun, 16 Apr 2006 11:19:25 +0300 (EEST)

and

Subject: [PATCH] doop.c: one more code path where memory could leak (Coverity)
From: jhi@cc.hut.fi (Jarkko Hietaniemi)
Message-Id: <20060416081925.680336CF2D@aprikoosi.hut.fi>
Date: Sun, 16 Apr 2006 11:19:25 +0300 (EEST)

[ 27857]
Revert 27856.

[ 27859]
Subject: [PATCH] dooop.c: the strong asserts in Sv* macros could cause memory leakage -- move the macro calls earlier (Coverity CID 84)
From: jhi@cc.hut.fi (Jarkko Hietaniemi)
Message-Id: <20060417071937.C13346CF2D@aprikoosi.hut.fi>
Date: Mon, 17 Apr 2006 10:19:37 +0300 (EEST)

[ 27883]
Coverity still thinks that there is a route through do_vop that can
leak resources. I believe that it's spotted that you can skip all the
cases in the switch. Plug that hole.
p4raw-link: @27883 on //depot/perl: 4154741246a440c7ccc4e633e6d115949af4ee56
p4raw-link: @27859 on //depot/perl: 9fdd7463b7e8360d31fec7e9c836e5883fb01a87
p4raw-link: @27857 on //depot/perl: 3ce4c5325c6bf80779666a9007ef3a4d29f4fce1
p4raw-link: @27856 on //depot/perl: 2d78db9da3a2e0242b1652394b939dc5b5fab5e5
p4raw-link: @27801 on //depot/perl: 794a0d33eec8a6056eaa14b2e6eae594c8004a65

p4raw-id: //depot/maint-5.8/perl@29950
p4raw-integrated: from //depot/perl@27859 'edit in' doop.c (@27857..)
p4raw-integrated: from //depot/perl@27801 'merge in' t/op/bop.t
(@26136..) pod/perlapi.pod (@27626..) sv.c (@27794..)