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 [Thu, 8 Feb 2007 16:02:24 +0000 (16:02 +0000)]
Integrate:
[ 28659]
Subject: [PATCH] File::Copy pod updated adding X<>
From: "Gabor Szabo" <szabgab@gmail.com>
Date: Tue, 1 Aug 2006 08:55:37 +0200
Message-ID: <d8a74af10607312355t7f3fed91g1459cb74b9b50fcd@mail.gmail.com>

[ 28869]
Subject: Re: [PATCH] lib/File/Copy.t - test descriptions and minor fixes
From: "Adriano Ferreira" <a.r.ferreira@gmail.com>
Date: Mon, 18 Sep 2006 17:36:50 -0300
Message-ID: <73ddeb6c0609181336g53a90dceo9a29777f7686e372@mail.gmail.com>

[ 30013]
Subject: Re: [perl #32135] File::Copy module
From: "Adriano Ferreira" <a.r.ferreira@gmail.com>
Date: Fri, 26 Jan 2007 12:56:18 -0200
Message-ID: <73ddeb6c0701260656i1c35b207r1f9624edd3503fa6@mail.gmail.com>

[ 30172]
Typo fix, by John P. Linderman
p4raw-link: @30172 on //depot/perl: 3a964d776bf965819f93acda3c971d2de972cbf9
p4raw-link: @30013 on //depot/perl: 236a07384c9350a4f32ab88626ab91b5ab551f1e
p4raw-link: @28869 on //depot/perl: 96fe83cdaf0db7b931d0a98967031eefdeb36c15
p4raw-link: @28659 on //depot/perl: 0cdecedb39591641a0fd5b1b1eea46916fcdfd5a

p4raw-id: //depot/maint-5.8/perl@30174
p4raw-integrated: from //depot/perl@30173 'copy in' lib/File/Copy.t
(@26396..)
p4raw-integrated: from //depot/perl@29509 'edit in' lib/File/Copy.pm
(@28659..)

17 years agoIntegrate:
Rick Delaney [Thu, 8 Feb 2007 08:21:37 +0000 (03:21 -0500)]
Integrate:
[ 30167]
TODO tests for eval of tainted scalars. (change 29193's regression)

[ 30168]
opening $0 doesn't work if you change directory. So use test.pl

[ 30171]
Subject: [PATCH] Re: Change 29193 is a regression
Message-ID: <20070208132137.GA24202@bort.ca>
p4raw-link: @30171 on //depot/perl: af2d3def2986270f42f078b69e472ae1ef189ba3
p4raw-link: @30168 on //depot/perl: abb7fb969e178cc19fea40a236916e588c666f16
p4raw-link: @30167 on //depot/perl: 5e500fc8e5f18cb370411f45f81b60a9e64dd0e5

p4raw-id: //depot/maint-5.8/perl@30173
p4raw-integrated: from //depot/perl@30168 'edit in' t/op/taint.t
(@30167..)
p4raw-integrated: from //depot/perl@30166 'merge in' pp_ctl.c
(@30105..)

17 years agoIntegrate:
Nicholas Clark [Wed, 7 Feb 2007 22:59:15 +0000 (22:59 +0000)]
Integrate:
[ 26027]
Subject: [perl #24254] Attempt to free unreferenced scalar
From: "Chris Heath via RT" <perlbug-followup@perl.org>
Date: Sun, 06 Nov 2005 20:08:05 -0800
Message-ID: <rt-3.0.11-24254-123984.4.44134155985068@perl.org>

[ 26043]
Subject: Re: C<undef %::> considered harmful
From: Benjamin Sugars <bsugars@canoe.ca>
Date: Fri, 20 Apr 2001 10:30:20 -0400 (EDT)
Message-ID: <Pine.LNX.4.21.0104201022040.1722-100000@marmot.rim.canoe.ca>

except the part that increases the refcount of PL_stderrgv, already
fixed separately.

[ 26192]
Subject: Re: [PATCH] concat interacts badly with magic
From: Robin Houston <robin@cpan.org>
Date: Tue, 22 Nov 2005 14:07:27 +0000
Message-ID: <20051122140727.GA29861@rpc142.cs.man.ac.uk>

(new version of patch for bug #37722)

[ 26643]
Fix some compilation warnings
p4raw-link: @26643 on //depot/perl: a6b599c70633c3b011aba1a198149d25707cbc98
p4raw-link: @26192 on //depot/perl: c75ab21a94d99a03945b25b8b1543b7a345f7e80
p4raw-link: @26043 on //depot/perl: 5fd80ba51c060a4acde9dc2bfc91963099b7978f
p4raw-link: @26027 on //depot/perl: 21401c75f1c38e127fa870b81fca15879c466865

p4raw-id: //depot/maint-5.8/perl@30166
p4raw-integrated: from //depot/perl@30165 'edit in'
t/lib/warnings/pp_hot (@24205..)
p4raw-integrated: from //depot/perl@26192 'edit in' pp_hot.c t/op/tie.t
(@26190..)
p4raw-integrated: from //depot/perl@26043 'edit in' perl.c (@26030..)
p4raw-integrated: from //depot/perl@26027 'edit in' cop.h (@25953..)

17 years agoIntegrate:
Nicholas Clark [Wed, 7 Feb 2007 22:21:00 +0000 (22:21 +0000)]
Integrate:
[ 22821]
make Text::Balanced skip "case /..../" correctly for Switch.pm

[ 25134]
Subject: [PATCH] #2 try at Text::Balanced patch and maintainership
From: Tels <nospam-abuse@bloodgate.com>
Date: Sat, 9 Jul 2005 23:10:29 +0200
Message-Id: <200507092310.30592@bloodgate.com>

(with minor tweaks)

[ 25135]
Subject: Re: [perl #25157] [PATCH] Text-Balanced extract_quotelike fails on certain delims in HERE docs
From: David Manura <dm.list@math2.org>
Date: Wed, 21 Jan 2004 20:59:27 -0500
Message-ID: <400F2E7F.9090601@math2.org>

Fixes perl #25151, 25154, 25156, 25157, 25158 using jumbo patch
included in perl #25157.

[ 28105]
Upgrade to Text-Balanced-1.98

[ 28125]
Rollback two changes in Text::Balanced which cause test failures in the
CPAN and bleadperl version of the tests.  Also, the previous bleadperl
version of one test file is a bit more comprehensive than what was in
CPAN, so it has been completely restored.

[ 28126]
Version bump and typo fix from change #28125.

[ 28127]
Rename lib/Text/Balanced/t/00.load.t to
lib/Text/Balanced/t/00-load.t and restore a test to
lib/Text/Balanced/t/extmul.t.

[ 28270]
Silence Text::Balanced's 00-load.t when PERL_CORE is defined.

[ 28287]
Fix a syntax error in test

[ 29344]
Sync Text::Balanced with the CPAN version (1.99.1)

[ 29345]
- Restore two Text::Balanced tests, more comprehensive in bleadperl than
  in CPAN.
- Restore a local bugfix, tested by the above tests.
- Fix a few typos in the POD for Text::Balanced
- Bump version of Text::Balanced

[ 29346]
Remove tests for POD or POD coverage -- they're always skipped.

[ 29609]
Upgrade to Text::Balanced 2.0.0
p4raw-link: @29609 on //depot/perl: 0c793b6f00b278111ed6958bc7f2b834f3da392c
p4raw-link: @29346 on //depot/perl: b0da272b8cf2101328dbfd44c99d70bb9ec9a586
p4raw-link: @29345 on //depot/perl: aa10195b3aa19bb4f167204cdce8fb75d361ccb8
p4raw-link: @29344 on //depot/perl: dd6316a97e0f719a4e6c5ff0736fa8b08b1b2337
p4raw-link: @28287 on //depot/perl: 20de43d3034ec586969afca80b4fd86708142401
p4raw-link: @28270 on //depot/perl: dc8f638738195a8f1d6774aa5a9874607346c798
p4raw-link: @28127 on //depot/perl: a646417951941146b1ea568de33ca3508b9859a2
p4raw-link: @28126 on //depot/perl: 62417cc93fa623269d060d8b3800f5a56316638d
p4raw-link: @28125 on //depot/perl: eb67bf7e7c7791f145451e273b36c197fb24fcb9
p4raw-link: @28105 on //depot/perl: 49c03c8934c87a2dcd3f60cea1f51beb84f61bd4
p4raw-link: @25135 on //depot/perl: ce3ac4b622fa47e8694929bdb9f342a59186d677
p4raw-link: @25134 on //depot/perl: 75c4c974b3d5cef5c6dab333977800a4ccd5a59f
p4raw-link: @22821 on //depot/perl: ce94069687f36a0b1d18574193627404340c135f

p4raw-id: //depot/maint-5.8/perl@30165
p4raw-branched: from //depot/perl@30164 'branch in'
lib/Text/Balanced/t/00-load.t (@28270..)
p4raw-deleted: from //depot/perl@30164 'delete in'
lib/Test/Harness/t/pod.t (@21826..)
p4raw-integrated: from //depot/perl@30164 'copy in'
lib/Text/Balanced/t/exttag.t (@13118..)
lib/Text/Balanced/t/extvar.t lib/Text/Balanced/t/gentag.t
(@19989..) lib/Text/Balanced/README (@29344..)
p4raw-integrated: from //depot/perl@29346 'edit in' MANIFEST (@29320..)
p4raw-integrated: from //depot/perl@29344 'ignore'
lib/Text/Balanced/Changes (@28105..)
p4raw-branched: from //depot/perl@28105 'branch in'
lib/Text/Balanced/t/00.load.t
lib/Text/Balanced/t/pod-coverage.t lib/Text/Balanced/t/pod.t
p4raw-integrated: from //depot/perl@28105 'ignore'
lib/Text/Balanced/t/extmul.t lib/Text/Balanced/t/extqlk.t
(@25135..)
p4raw-integrated: from //depot/perl@25134 'edit in'
lib/Text/Balanced.pm (@22821..)
p4raw-integrated: from //depot/perl@22821 'ignore'
lib/Text/Balanced/t/extcbk.t (@19989..)

17 years agoIntegrate:
Nicholas Clark [Wed, 7 Feb 2007 21:38:12 +0000 (21:38 +0000)]
Integrate:
[ 28339]
Make VMS-specific device name encoding routine say no more politely.

[ 28806]
declaration after code nit in vms/vms.c (from Martin Vorlaender)

[ 28843]
Define d_cplusplus on VMS when appropriate

[ 28977]
fix a doc typo and a warning typo in VMS::DCLsym

[ 29144]
When we open a file and pass it along to PerlIO, be sure to enter the
PerlIO world via Unix I/O.  If you start from stdio, a Unix I/O counter
will get decremented on close even though it was never incremented (and
may not even exist).  Exposed by #29065.

[ 29205]
In pipe_exit_routine in vms/vms.c, mark a subprocess we've deleted
as done.  Courtesy of Scott Lepage.

[ 29326]
Subject: [patch@29297] perl5db.pl detecting forked debugger on VMS.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Sat, 18 Nov 2006 23:07:17 -0500
Message-ID: <455FD875.8050007@qsl.net>

[ 29380]
xterm debugger support for VMS from John Malmberg (with revisions)

[ 29572]
Don't try to build Win32 on VMS

[ 29573]
In vms/vms.c, don't prototype decw$term_port until after
config.h (via perl.h) is included.  That's where USE_VMS_DECTERM
is defined.

[ 30041]
Subject: [perl@30030] blead on OpenVMS doesn't build
From: Abe Timmerman <abe@ztreet.demon.nl>
Date: Sat, 27 Jan 2007 17:26:47 +0100
Message-Id: <200701271726.48347.abe@ztreet.demon.nl>

Disable DECterm support by default, and when we enable it,
make sure the image we need is installed, not merely present.

[ 30108]
Install parser.h on VMS, plus fix some case typos in descrip_mms.template.

[ 30111]
Install overload.h on VMS, plus more case fix-ups in descrip_mms.template.
p4raw-link: @30111 on //depot/perl: 97386f527ab1a957a985ad4b1b90076b55cda9c5
p4raw-link: @30108 on //depot/perl: 9c8fb6b6a57aa996662b6287eed34fd90c5dd257
p4raw-link: @30041 on //depot/perl: e9df20f7af2f1531d22810bdb9d6c06f46210beb
p4raw-link: @29573 on //depot/perl: 5f1992ede8a43d5dd061f69ed393bbd52e8e5801
p4raw-link: @29572 on //depot/perl: 93ea0ce5a86f9e0dd3753d708e971f36b44d72e8
p4raw-link: @29380 on //depot/perl: cd1191f1e03afafd6ab152fc2335758ab5cd3235
p4raw-link: @29326 on //depot/perl: 55f4245edad4e38b1869f0a6467a997a59257a0f
p4raw-link: @29205 on //depot/perl: 2f1dcba4f8bdb1757fa83218f6417bdb14e82467
p4raw-link: @29144 on //depot/perl: 7f8ddb16e020167ce98c1281b23751a06033b224
p4raw-link: @28977 on //depot/perl: b89b8d61fac53d9ace6a3daf34694f40da6616bc
p4raw-link: @28843 on //depot/perl: 60f153dbff502bbba0af0d17c0358a2a047d68e6
p4raw-link: @28806 on //depot/perl: 0faef845a8964324cf7fed51ac8fc5dab0096efc
p4raw-link: @28339 on //depot/perl: cb9e088c6c9544c1bc6cedfb8b1b58aed8d6ae7b

p4raw-id: //depot/maint-5.8/perl@30164
p4raw-integrated: from //depot/perl@30163 'copy in'
vms/ext/DCLsym/DCLsym.pm (@12040..) vms/ext/Stdio/Stdio.xs
(@26901..)
p4raw-integrated: from //depot/perl@29380 'edit in'
vms/descrip_mms.template (@28970..) vms/vms.c (@29205..)
lib/perl5db.pl (@29326..) configure.com (@29369..)

17 years agoIntegrate:
Nicholas Clark [Wed, 7 Feb 2007 20:48:27 +0000 (20:48 +0000)]
Integrate:
[ 27561]
Subject: [patch@27538] utime patch for VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Mon, 20 Mar 2006 08:12:19 -0500
Message-ID: <441EAA33.6010603@qsl.net>

[ 27669]
fix typo in vms/gen_shrfls.pl itanium detector

[ 27706]
sort out some utime() issues on VMS

[ 27806]
Don't die after SS$_NOPRIV in Perl_vmssetenv, courtesy
of Scott Lepage at HP.

[ 27807]
Honor READALL privilege in cando_by_name (from Scott
Lepage of HP OpenVMS Engineering)

[ 27808]
Fix bug in prime_env_iter where the terms of a comparison were reversed
so we thought we didn't have a logical name table when we did.  Reported as:
Subject: LWP::Simple crashes on VMSperl
From: "juna" <ggl.20.jj...@spamgourmet.com>
Date: 24 Mar 2006 13:52:41 -0800
Newsgroups: comp.os.vms,comp.lang.perl.misc
Message-ID: <1143237161.931669.48370@t31g2000cwb.googlegroups.com>

[ 28348]
It's all relative -- better handling of tainted directories
in PATH on VMS (and scrubbing them in t/test.pl).

[ 28351]
Subject: [PATCH] mg.c: using #ifdef inside a macro call ENONPORTABLE (causes e.g. AIX to barf)
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Sun, 4 Jun 2006 11:21:30 +0300 (EEST)
Message-Id: <200606040821.k548LUYu010965@vipunen.hut.fi>

[ 28368]
autosplit one level deeper so we don't miss anything
on a second pass (where lib/auto already exists)

[ 28448]
Updated handling of signal names and signals for VMS
p4raw-link: @28448 on //depot/perl: fe1de8ce2b804c920a934475813e04ab550f931d
p4raw-link: @28368 on //depot/perl: 3a94e501dbe10762051bcbebb08de1b44fba9bf2
p4raw-link: @28351 on //depot/perl: 427eaa011f61c437e03305d68b0dfe40fd3cb5c7
p4raw-link: @28348 on //depot/perl: 326b5008ebd8d91bf6b00d96127d2d711c9f2132
p4raw-link: @27808 on //depot/perl: f02a1854b11a89ea387fda8722502f6110e043dc
p4raw-link: @27807 on //depot/perl: 597c27e224ae9143b61cd7cff67a1f838d9723e8
p4raw-link: @27806 on //depot/perl: 7d2497bf7a88324478456d386e10b497e578f285
p4raw-link: @27706 on //depot/perl: 941b3de131f63aee81c84f0054b50a857b4c4124
p4raw-link: @27669 on //depot/perl: 2ee88f01016d2541e1f47423d3e348014e311bc8
p4raw-link: @27561 on //depot/perl: 704c2eb32539845568269483e091b89ae0793748

p4raw-id: //depot/maint-5.8/perl@30163
p4raw-integrated: from //depot/perl@30162 'copy in' vms/perlvms.pod
(@27114..) t/test.pl (@28059..)
p4raw-integrated: from //depot/perl@28448 'edit in' configure.com
(@28334..)
p4raw-integrated: from //depot/perl@28368 'merge in'
vms/descrip_mms.template (@28345..)
p4raw-integrated: from //depot/perl@28348 'edit in' mg.c (@28323..)
p4raw-integrated: from //depot/perl@27808 'edit in' vms/vms.c
(@27807..)
p4raw-integrated: from //depot/perl@27669 'copy in' vms/gen_shrfls.pl
(@27386..)
p4raw-integrated: from //depot/perl@27561 'merge in' vms/vmsish.h
(@27187..)

17 years agoIntegrate:
Nicholas Clark [Wed, 7 Feb 2007 18:45:59 +0000 (18:45 +0000)]
Integrate:
[ 27371]
Subject: [PATCH] include configure.com in Porting/checkcfgvar.pl
From: Abe Timmerman <abe@ztreet.demon.nl>
Date: Fri, 3 Mar 2006 18:43:24 +0100
Message-Id: <200603031843.24250.abe@ztreet.demon.nl>

[ 27374]
Subject: Re: [PATCH] include configure.com in Porting/checkcfgvar.pl
From: Abe Timmerman <abe@ztreet.demon.nl>
Date: Fri, 3 Mar 2006 22:56:47 +0100
Message-Id: <200603032256.47170.abe@ztreet.demon.nl>

[ 27386]
Subject: PATCH: 2 vms specific build files in perl @ 27383
From: Peter Prymmer <PPrymmer@factset.com>
Date: Sun, 05 Mar 2006 20:30:09 -0500
Message-id: <OFF0B19477.39D9ABEB-ON85257129.00070590-85257129.000840D3@factset.com>

[ 27563]
Subject: [patch@27529] thread.h - VMS needs more stack
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Fri, 17 Mar 2006 11:05:33 -0500
Message-id: <441ADE4D.2090207@qsl.net>

[ 27593]
improve thread linking options on VMS

[ 28334]
Subject: [PATCH] redo part of change 27374
From: Abe Timmerman <abe@ztreet.demon.nl>
Date: Mon, 29 May 2006 23:24:51 +0200
Message-id: <200605292324.51714.abe@ztreet.demon.nl>
p4raw-link: @28334 on //depot/perl: ecd6e0980bb546d8adbd5495a9a34caea25be6ad
p4raw-link: @27593 on //depot/perl: 3f39e13a499cc8fdf7dbbf3a766ece4fe9ff2c0e
p4raw-link: @27563 on //depot/perl: 93a096870a2b1bc978c5a5479df6131dc5b46062
p4raw-link: @27386 on //depot/perl: e8e0953481a8eb69731d048ec19e15bbd537fd73
p4raw-link: @27374 on //depot/perl: b89d399a31373fa709aa1afa4ee04b52768ea37b
p4raw-link: @27371 on //depot/perl: a0e39d8902c1f3b922488e26e8f416ebb45816a7

p4raw-id: //depot/maint-5.8/perl@30162
p4raw-integrated: from //depot/perl@28334 'edit in' configure.com
(@28189..)
p4raw-integrated: from //depot/perl@27593 'merge in'
vms/descrip_mms.template (@27389..)
p4raw-integrated: from //depot/perl@27563 'merge in' thread.h
(@26732..)
p4raw-integrated: from //depot/perl@27386 'copy in' vms/gen_shrfls.pl
(@25710..)
p4raw-integrated: from //depot/perl@27371 'ignore'
Porting/checkcfgvar.pl (@25581..)

17 years agoIntegrate:
Nicholas Clark [Wed, 7 Feb 2007 17:31:52 +0000 (17:31 +0000)]
Integrate:
[ 26869]
more case tolerance for vms/ext/filespec.t

[ 27114]
Subject: patch@27082 Allow fatal exceptions to bring up VMS debugger
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Sat, 04 Feb 2006 16:04:32 -0500
Message-id: <43E516E0.1000508@qsl.net>

[ 27115]
Subject: Re: Configure.com issue, more quoting needed.
From: Peter Prymmer <PPrymmer@factset.com>
Date: Mon, 06 Feb 2006 13:27:14 -0500
Message-id:  <OF3536E719.A8B8D167-ON8525710D.0065011E-8525710D.00655ED0@factset.com>
p4raw-link: @27115 on //depot/perl: 7acbb8ec149b2b0481081c92fe4351d46ae0ae3a
p4raw-link: @27114 on //depot/perl: 9c1171d132d2d0b98d01b0c7b49b681bc94c3940
p4raw-link: @26869 on //depot/perl: 51078f7bc8ba938e8bb9302522fc032016e57e52

p4raw-id: //depot/maint-5.8/perl@30161
p4raw-integrated: from //depot/perl@30160 'copy in' vms/ext/filespec.t
(@23346..)
p4raw-integrated: from //depot/perl@27115 'merge in' configure.com
(@26844..)
p4raw-integrated: from //depot/perl@27114 'copy in' vms/perlvms.pod
(@25851..) 'edit in' vms/vms.c (@27015..)

17 years agoIntegrate:
John E. Malmberg [Wed, 7 Dec 2005 22:26:21 +0000 (17:26 -0500)]
Integrate:
[ 26250]
In vms/vms.c, don't use the thread-specific Newx() during
startup before threads are initialized.

[ 26298]
Subject: patch@26253 Allow embedded new lines passed through to commands
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4397A7DD.8030403@qsl.net>

[ 26302]
On VMS, do not use Perl's memory allocator for the home-grown pipe
structures.  They may be allocated during start-up and are torn down
in an exit handler, where thread context and other Perlish support
are iffy.
p4raw-link: @26302 on //depot/perl: d4c83939befe2c4e6ec23a304312d9e2abca3b1d
p4raw-link: @26298 on //depot/perl: 61ff64ea87bfc095e60d68654dc0c5199dec292f
p4raw-link: @26250 on //depot/perl: e0ef6b43502cde89c1a7ec11db809912215ee835

p4raw-id: //depot/maint-5.8/perl@30160
p4raw-integrated: from //depot/perl@26302 'edit in' vms/vms.c
(@26298..)

17 years agoIntegrate:
John E. Malmberg [Wed, 10 Aug 2005 23:26:03 +0000 (19:26 -0400)]
Integrate:
[ 25284]
Subject: [patch] blead@25282 - VMS specific fixes. [2nd try]
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <42FAC54B.2050207@qsl.net>
p4raw-link: @25284 on //depot/perl: 16ed468695c21630f18883bfbedc3d5170ddc8b2

p4raw-id: //depot/maint-5.8/perl@30159
p4raw-integrated: from //depot/perl@30158 'copy in'
vms/ext/Stdio/test.pl (@19349..) t/op/runlevel.t (@19819..)
t/x2p/s2p.t (@22091..) t/op/lex_assign.t (@24794..) 'merge in'
t/op/anonsub.t (@18072..) t/lib/warnings/doio (@22741..)
p4raw-integrated: from //depot/perl@25284 'copy in' lib/vmsish.t
(@22223..) utils/c2ph.PL (@23379..) t/op/chdir.t (@25170..)
'edit in' t/op/closure.t (@22456..) 'merge in' t/op/stat.t
(@25162..)

17 years agoVMS build help
Craig A. Berry [Thu, 18 Jan 2007 13:59:10 +0000 (07:59 -0600)]
VMS build help
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <45AFD18E.9020700@mac.com>
Date: Thu, 18 Jan 2007 13:59:10 -0600

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

17 years agoIntegrate:
Nicholas Clark [Wed, 7 Feb 2007 10:45:15 +0000 (10:45 +0000)]
Integrate:
[ 30153]
Wrap the SvTYPE macro definition in parens.
p4raw-link: @30153 on //depot/perl: 1fef4616ad97a72dc45194bd8ac11e63e518aba2

p4raw-id: //depot/maint-5.8/perl@30154
p4raw-integrated: from //depot/perl@30145 'merge in' sv.h (@29922..)

17 years agoUpdate Changes
Nicholas Clark [Tue, 6 Feb 2007 20:28:15 +0000 (20:28 +0000)]
Update Changes

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

17 years agoIntegrate:
Nicholas Clark [Mon, 5 Feb 2007 22:46:22 +0000 (22:46 +0000)]
Integrate:
[ 29520]
Rename FBM_TABLE_OFFSET to PERL_FBM_TABLE_OFFSET prior to moving it
to a header.

[ 29522]
Convert the -1 to a more explicit PERL_FBM_FLAGS_OFFSET_FROM_TABLE.

[ 29524]
Move PERL_FBM_TABLE_OFFSET and PERL_FBM_FLAGS_OFFSET_FROM_TABLE to sv.h

[but not this bit:
Stow BmRARE in the SvPVX, and so delete xbm_rare.
Can you see what it is yet?
]

[ 29525]
Add BmPREVIOUS_set(), and use it in the one place that BmPREVIOUS is
modified.

[ 29538]
Correct some assumptions about PVBM table offset in B.xs

[ 29541]
In theory Perl_magic_setbm() should clear SvTAIL() too. In practice,
I don't think that it matters as this routine is never actualy called
because nothing exposes PVBMs to the world so that the world can assign
to them.

[ 29635]
Eliminate BmPREVIOUS_set - with the complexity gone from how the datum
is stored, there's no need for it.

[ 29637]
In Perl_fbm_compile, really rarest should be U32 not I32, as it is
set from a U32, and used as an array index.
p4raw-link: @29637 on //depot/perl: cb742848c9b738246343b6914f882e40ad9b01b2
p4raw-link: @29635 on //depot/perl: 44a10c71f5d5adc63a15c1d8fb5e8b72de48836f
p4raw-link: @29541 on //depot/perl: b84d1fce0623cf44de958f99670b6dc90bc40826
p4raw-link: @29538 on //depot/perl: 5a44e503dc748f533aa462b080d39e66304bd957
p4raw-link: @29525 on //depot/perl: 39efed7fb68a394db844e6c312aadb72695b0ad8
p4raw-link: @29524 on //depot/perl: 373b357f184d67d2c589b8aca81c803276397db5
p4raw-link: @29522 on //depot/perl: c8029a41836bfd27a0636d6911767d88af046f75
p4raw-link: @29520 on //depot/perl: d8419e03da17b84a4daef4f24401907f1299763c

p4raw-id: //depot/maint-5.8/perl@30141
p4raw-integrated: from //depot/perl@29635 'edit in' util.c (@29634..)
p4raw-integrated: from //depot/perl@29541 'merge in' mg.c (@29531..)
p4raw-integrated: from //depot/perl@29538 'merge in' ext/B/B.xs
(@29479..)
p4raw-edited: from //depot/perl@29524 'edit in' sv.h (@29523..)

17 years agoIntegrate:
Nicholas Clark [Mon, 5 Feb 2007 22:01:07 +0000 (22:01 +0000)]
Integrate:
[ 27195]
Subject: [PATCH] Make XCOPY not prompt every two seconds when rebuilding on Win32
From: demerphq <demerphq@gmail.com>
Date: Mon, 13 Feb 2006 09:41:37 +0100
Message-ID: <9b18b3110602130041q2d64122am5c83392dd75e0413@mail.gmail.com>

[ 27200]
Subject: [PATCH] stat() on Windows doesn't handle trailing slashes/backslashes correctly
From: "Jan Dubois" <jand@ActiveState.com>
Date: Wed, 15 Feb 2006 17:19:29 -0800
Message-ID: <017901c63297$08e1e3f0$2217a8c0@candy>

[ 27283]
Subject: [PATCH] Implement ${^WIN32_SLOPPY_STAT}
From: "Jan Dubois" <jand@ActiveState.com>
Date: Tue, 21 Feb 2006 12:36:31 -0800
Message-ID: <019601c63726$7fcca200$6062a8c0@candy>
[ 27421]
Get rid of unnecessary "rmdir /s" calls in Win32 makefiles

They only existed for the benefit of old shells that didn't
understand "rmdir /s /q", but since change #27195 effectively
drops support for old shells that don't understand "xcopy /y"
it seems unnecessary now.

Windows NT4, 2000, XP and onwards all support "rmdir /s /q", so
it's probably only the Windows 9x shells that lose out.

[ 27500]
The first step in supporting VC++ 8.0.  Added macros for the free .NET 2.0 SDK and Visual Studio
2005.  Added these macros to "if" conditions that were appropriate.  Added a fix to prevent
the .NET 1.1 and 2.0 SDK compilers from attempting to build perlglob.exe (they are both missing
the setargv.obj file necessary to do it).

[ 27503]
Additions to README.win32 and win32/Makefile based on comments from
Steve Hay.

[ 27528]
Subject: [PATCH] win32_pclose() error exit doesn't unlock mutex
From: Jan Dubois <jand@ActiveState.com>
Date: Thu, 16 Mar 2006 16:30:23 -0800
Message-ID: <02c701c64959$fac63ad0$6062a8c0@candy>

[ 27530]
Install POD files into "lib\pods" rather than "lib\pod" on Win32
to avoid clashing with "lib\Pod" (cf. perl change #26363)

Also remove a couple of unused macros from the makefiles

[ 27532]
Make "distclean" target on Win32 clean up temporary HTML directory
that gets left behind after running the "install" target.
Also clean up a couple of leftover pod2html cache files.

[ 27555]
Merge some changes from ActivePerl 5.8.8.816

See:
http://downloads.activestate.com/ActivePerl/src/5.8/AP816_diff.txt

These changes provide better support for building XS extension modules
using VC++ or MinGW when perl itself was built with the opposite of
those two compilers.

[ 27556]
Merge some more changes from ActivePerl 5.8.8.816

See (again):
http://downloads.activestate.com/ActivePerl/src/5.8/AP816_diff.txt

These changes improve support for the MS 64-bit compiler in
win32/Makefile (and tentatively make the same changes to
win32/makefile.mk), and also switches the now deprecated -Gf switch to
-GF for all flavours of VC++ instead of just the latest ones.

(See:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-02/msg00353.html
for a comment on the s/-Gf/-GF/ change.)

[ 27888]
Subject: [PATCH] win32/Makefile changes for Windows 64 bit
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 17 Apr 2006 01:48:34 -0700
Message-ID: <036401c661fb$bc7a1200$2217a8c0@candy>

and make similar changes to win32/makefile.mk
and delete a spurious extra line from that file
p4raw-link: @27888 on //depot/perl: bf2a35e5fa65d1d6e42daf3cc8bede2ee1fc847e
p4raw-link: @27556 on //depot/perl: 9453ddcdbeef10a6fde0fc2cfacccab40a79f2fb
p4raw-link: @27555 on //depot/perl: 465b7da9858f72896e8487a1bf0595ae400e05fe
p4raw-link: @27532 on //depot/perl: b4a415570dc258ddaff4bbab5c0f83c1af645b29
p4raw-link: @27530 on //depot/perl: e65df1b633afd7252686e25cbbe95678c897e99b
p4raw-link: @27528 on //depot/perl: db2fab4887d7a0167a72ea9848aab50a7132bbbb
p4raw-link: @27503 on //depot/perl: 84b05a714d9eab058b6b7a5bcad85b5170dfa88c
p4raw-link: @27500 on //depot/perl: 73c9ebc71cb12c3cc801cfedafec5e87386df729
p4raw-link: @27421 on //depot/perl: 2909fc9d34b1974c9d36c05919897a9934ee7df0
p4raw-link: @27283 on //depot/perl: cba61fe146f58b7c23f03d55e645ba7b4552bb7e
p4raw-link: @27200 on //depot/perl: 44221b20e58d7d2e060f57de5d83fc6fb49337bd
p4raw-link: @27195 on //depot/perl: b6ed73147a6df30ce6f460cb8d6857100c9a83be
p4raw-link: @26363 on //depot/perl: 0661f42382c6c9047f6bb741b9d41f6f7333902f

p4raw-id: //depot/maint-5.8/perl@30140
p4raw-integrated: from //depot/perl@30139 'copy in' win32/bin/pl2bat.pl
(@12562..)
p4raw-integrated: from //depot/perl@27888 'edit in' win32/Makefile
win32/makefile.mk (@27556..)
p4raw-integrated: from //depot/perl@27555 'merge in' win32/config_H.gc
win32/config_H.vc (@27412..)
p4raw-integrated: from //depot/perl@27530 'merge in' installperl
(@27491..)
p4raw-integrated: from //depot/perl@27528 'merge in' wince/wince.c
(@26694..)
p4raw-integrated: from //depot/perl@27503 'merge in' README.win32
(@25672..)
p4raw-integrated: from //depot/perl@27283 'edit in' win32/win32.c
(@27200..)
p4raw-integrated: from //depot/perl@24271 'ignore' win32/win32io.c
(@17336..)

17 years agoIntegrate:
Yves Orton [Mon, 13 Feb 2006 11:39:33 +0000 (12:39 +0100)]
Integrate:
[ 27180]
Subject: [Patch] Enhance Hash::Util
Message-ID: <9b18b3110602130239w311d05fcr776ae8333776ca2e@mail.gmail.com>

[ 27181]
Hash::Util tests should check if Hash::Util has been built, not
List::Util (spotted by Rafael).

[ 27257]
Add tests for the previously untested Hash::Util::all_keys().
p4raw-link: @27257 on //depot/perl: 1b888f13a7247796f98d05df85e46b935fd0b8ba
p4raw-link: @27181 on //depot/perl: 339873be010638ebafad443ae65de39b4a1b3689
p4raw-link: @27180 on //depot/perl: 96c33d98b34ca8475e06ac046725bba9fb34e6b6

p4raw-id: //depot/maint-5.8/perl@30139
p4raw-branched: from //depot/perl@30138 'branch in'
ext/Hash/Util/Util.xs
p4raw-deleted: from //depot/perl@30138 'delete in' lib/Hash/Util.pm
(@21638..) lib/Hash/Util.t (@26551..)
p4raw-branched: from //depot/perl@27257 'branch in'
ext/Hash/Util/t/Util.t (@27181..)
p4raw-branched: from //depot/perl@27180 'branch in'
ext/Hash/Util/Changes ext/Hash/Util/Makefile.PL
ext/Hash/Util/lib/Hash/Util.pm
p4raw-integrated: from //depot/perl@27180 'merge in' MANIFEST
win32/Makefile win32/makefile.mk (@27037..)

17 years agoIntegrate:
Jan Dubois [Mon, 7 Nov 2005 20:39:02 +0000 (12:39 -0800)]
Integrate:
[ 25288]
Make change 25286 better

Thanks to John E. Malmberg <wb8tyw@qsl.net> for pointing this out.

[ 26041]
Subject: [PATCH] Remove unused USING_WIDE code from win32 and wince branches
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <078001c5e41e$585c4140$6401a8c0@candy>

[ 26044]
Remove an unused variable left over from change #26041
p4raw-link: @26044 on //depot/perl: b813a9c76fb5a2c2746163c915471a644deef028
p4raw-link: @26041 on //depot/perl: 8c56068e9474ff1eb28abd58496550d54581dd25
p4raw-link: @25288 on //depot/perl: 08039b818b7a6e623279d03df2f71c92137e1052

p4raw-id: //depot/maint-5.8/perl@30138
p4raw-integrated: from //depot/perl@30137 'copy in' win32/bin/pl2bat.pl
(@12562..)
p4raw-integrated: from //depot/perl@26041 'copy in'
win32/ext/Win32/Win32.xs (@24454..) 'merge in' wince/win32.h
(@20500..) win32/win32.h (@23200..) wince/wince.c (@25101..)
win32/perlhost.h wince/perlhost.h (@25945..)
p4raw-integrated: from //depot/perl@25288 'edit in' win32/win32.c
(@25286..)
p4raw-integrated: from //depot/perl@24271 'edit in' win32/Makefile
win32/makefile.mk (@24225..) 'merge in' win32/win32io.c
(@17336..)

17 years agoIntegrate:
Nicholas Clark [Mon, 5 Feb 2007 19:11:17 +0000 (19:11 +0000)]
Integrate:
[ 29823]
Various cleanup and factorization by Schwern
for tests for warnings and features

[ 29824]
Simplify the ok/not ok logic
(another refactorisation by Schwern)

[ 29825]
Use the $Is_MacOS variable

[ 30123]
Enhance t/lib/common.pl to provide conditional TODOs using eval'd code.

[ 30136]
t/lib/common.pl can be warnings clean.
p4raw-link: @30136 on //depot/perl: 742dc32d6acf0f4dd57e97fd4c64104357557a1c
p4raw-link: @30123 on //depot/perl: 8e5f66904ddccdd9e814465548284a85b68fdec8
p4raw-link: @29825 on //depot/perl: f4ae0982e14b2b6460091079b3ef36384825a1f5
p4raw-link: @29824 on //depot/perl: 7702f0766f7a5815f7c5444edd9fa7ec7c739726
p4raw-link: @29823 on //depot/perl: afb1190b3ee338cb3041f40222683e67349d3ab0

p4raw-id: //depot/maint-5.8/perl@30137
p4raw-integrated: from //depot/perl@30123 'ignore' t/lib/common.pl
(@29825..)

17 years agoIntegrate:
Alexey Tourbin [Tue, 14 Nov 2006 05:45:40 +0000 (08:45 +0300)]
Integrate:
[ 26473]
ExtUtils::ParseXS needs to stack $filepathname to make #line directives
in #INCLUDEs work.

[ 28856]
Upgrade to ExtUtils-ParseXS-2.16.  There actually are a couple of
changes in bleadperl not in the new version, so version was bumped
to 2.16_01.

[ 29269]
Subject: [PATCH] ParseXS.pm: small optimization for "Usage: ..." constant strings
Message-ID: <20061114024540.GA21986@localhost.localdomain>

[ 29418]
Upgrade to ExtUtils-ParseXS-2.17.  Actuall just caught up with
most of the patches to bleadperl.  The remaining change missing
is #29252, so, the version has been bumped to 2.17_01.

[ 30134]
Upgrade to ExtUtils-ParseXS-2.18
p4raw-link: @30134 on //depot/perl: 89345840bb76e556290106002463860f2482f768
p4raw-link: @29418 on //depot/perl: 70414f6c616c3d07a0332e24a018679b54402963
p4raw-link: @29269 on //depot/perl: bfb0b58a0ee1c7605d58a3bdb19350b27f738866
p4raw-link: @28856 on //depot/perl: 5331dc36ff75dd675f9cf557881282295fb8c2c6
p4raw-link: @26473 on //depot/perl: d724ebe149a7174284557fb97f2e6c50c9bd0a9a

p4raw-id: //depot/maint-5.8/perl@30135
p4raw-integrated: from //depot/perl@30072 'edit in'
lib/ExtUtils/ParseXS.pm (@29418..)

17 years agoIntegrate:
Brendan O'Dea [Thu, 6 Jul 2006 01:02:41 +0000 (11:02 +1000)]
Integrate:
[ 26174]
Upgrade to PathTools-3.14

[ 26318]
Upgrade to PathTools-3.14_01

[ 26319]
Re-instate the old perl getcwd as _perl_getcwd, and use it if loading
the XS fails. (Needed to bootstrap the core build)

[ 26508]
Upgrade to PathTools-3.15

[ 27398]
Upgrade to PathTools-3.17

[ 28001]
Upgrade to Pathtools-3.18

[ 28004]
Added Changes file left out from change #28001.

[ 28511]
Subject: [PATCH] optimisation for File::Spec::abs2rel where both args are relative
Message-ID: <20060705150241.GA2244@londo.c47.org>

[ 28551]
Upgrade to PathTools 3.19

[ 28948]
Upgrade to PathTools-3.21

[ 28983]
Update to PathTools-3.22.

[ 29004]
Upgrade to PathTools-3.23.

[ 29356]
Upgrade to PathTools-3.24.
p4raw-link: @29356 on //depot/perl: e9475de8c2ea6600ed3517594b1793ffd3a89f27
p4raw-link: @29004 on //depot/perl: c1e8580e8ecd78fc1f67b0caa695b9884a700d93
p4raw-link: @28983 on //depot/perl: 81a4c762684cf629f6e7986fe1827ecd2af35ba2
p4raw-link: @28948 on //depot/perl: 110c90cc4fbd0539c76efe20ae7302af29840848
p4raw-link: @28551 on //depot/perl: c47834cd2409d3680cf65095db9f9ea634e47197
p4raw-link: @28511 on //depot/perl: e0dc0ff16c00e86c2c9991ba7a9e78f956a37402
p4raw-link: @28004 on //depot/perl: 259de58f302773506d35fdd643dca23ab3f6e04a
p4raw-link: @28001 on //depot/perl: ff235dd6d6f5e19e11c9202d4a82fb8e5fbadadd
p4raw-link: @27398 on //depot/perl: 23bb49fa8c98c39adab74ba793fe7dad073789c2
p4raw-link: @26508 on //depot/perl: 6a288e044b9e7ec704a0ff87485b0c15610869fd
p4raw-link: @26319 on //depot/perl: a7a23d71702876705a62edb89b892fca62cd448b
p4raw-link: @26318 on //depot/perl: fa52125f2139574b06ddadadf21b82bb93e6c77e
p4raw-link: @26174 on //depot/perl: 9d5071ba46e33ed04e81c1abff42c919060572e8

p4raw-id: //depot/maint-5.8/perl@30133
p4raw-branched: from //depot/perl@30132 'branch in'
lib/File/Spec/t/tmpdir.t
p4raw-integrated: from //depot/perl@30132 'copy in'
lib/File/Spec/t/crossplatform.t (@23977..) lib/File/Spec/Mac.pm
(@24407..) ext/Cwd/t/cwd.t (@25711..) lib/File/Spec/Unix.pm
(@28983..)
p4raw-integrated: from //depot/perl@29356 'copy in' lib/Cwd.pm
(@29004..)
p4raw-integrated: from //depot/perl@28001 'ignore'
lib/File/Spec/t/Spec.t (@26318..)
p4raw-integrated: from //depot/perl@26318 'ignore' ext/Cwd/Cwd.xs
(@26072..)
p4raw-integrated: from //depot/perl@26174 'ignore'
lib/File/Spec/Cygwin.pm (@24407..) lib/File/Spec/VMS.pm
(@25334..) ext/Cwd/Changes lib/File/Spec.pm
lib/File/Spec/Win32.pm (@25711..) 'merge in' MANIFEST
(@26160..)

17 years agoIntegrate:
Nicholas Clark [Mon, 5 Feb 2007 17:37:09 +0000 (17:37 +0000)]
Integrate:
[ 26071]
Subject: [PATCH @26062] wince patch
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Date: Wed, 9 Nov 2005 20:22:52 +0300
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC02@itotest-1.spb.lucent.com>

[ 26072]
Really apply change #26071.

[ 26140]
Subject: [PATCH @26137] for wince
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Date: Wed, 16 Nov 2005 20:57:13 +0300
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC9F@itotest-1.spb.lucent.com>

[ 26200]
Subject: [PATCH @26198] perlce touches
From: Konovalov, Vadim <vkonovalov@spb.lucent.com>
Date: Nov 23, 2005 8:55 PM
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DDC3@itotest-1.spb.lucent.com>

[ 26201]
Delete a README made redundant by change 26200.
p4raw-link: @26201 on //depot/perl: 369d8e4931dc02d2a39ae1202c0b0f5a5dd2aeea
p4raw-link: @26200 on //depot/perl: 75472953029ad512c6b76bd0dea6d327f2613a02
p4raw-link: @26140 on //depot/perl: 1829b0dc8541492d5482bacbb045b1b817fead03
p4raw-link: @26072 on //depot/perl: 42d1cefd9a529012253aff0d502edf7a4f6a6ac3
p4raw-link: @26071 on //depot/perl: 8861ecc69a87dc6907b3e9c79689edb5df16413e

p4raw-id: //depot/maint-5.8/perl@30132
p4raw-deleted: from //depot/perl@30131 'delete in' wince/README.perlce
(@20219..)
p4raw-integrated: from //depot/perl@26200 'copy in' README.ce
(@21885..) 'edit in' wince/Makefile.ce (@26140..) 'merge in'
INSTALL (@25712..) MANIFEST (@26174..)
p4raw-integrated: from //depot/perl@26140 'edit in' wince/config_H.ce
(@23436..) makedef.pl (@25953..) wince/wince.c (@26041..)
'merge in' wince/config.ce (@25831..)
p4raw-integrated: from //depot/perl@26072 'copy in' ext/Cwd/Cwd.xs
(@26071..) 'edit in' configpm (@26071..) 'merge in'
wince/config_sh.PL (@26071..)
p4raw-integrated: from //depot/perl@26071 'ignore' wince/config_h.PL
(@16628..)

17 years agoIntegrate:
Joshua ben Jore [Sun, 19 Feb 2006 02:58:10 +0000 (20:58 -0600)]
Integrate:
[ 27202]
Upgrade to CGI-3.16, with version bump on CGI.pm for documentation
fixes not yet integrated.

[ 27255]
Subject: Patches: B, CGI, ExtUtils::MM_Unix
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0602190058t78d915fv78c6318370307b63@mail.gmail.com>

[ 27354]
Upgrade to CGI.pm-3.17, but continuing the version bump for
unintegrated changes.

[ 27873]
Upgrade to CGI.pm-3.19.

[ 28082]
Upgrade to CGI-3.20

[ 28732]
Fix to problem where CGI can lose the filehandle during an upload.
Patch posted to the Debian bug list by Eric Wong
<eric@petta-tech.com>.

[ 28746]
Upgrade to CGI.pm-3.21

[ 28752]
Upgrade to CGI.pm-3.22.

[ 28930]
Upgrade to CGI.pm-3.25
p4raw-link: @28930 on //depot/perl: 0664a57d8d8db765643a0ef6294bbbd013a00df5
p4raw-link: @28752 on //depot/perl: 9f9736a1d14b921862a1b77740b0ec694b25aac9
p4raw-link: @28746 on //depot/perl: fc786e8b942a45b310ddfa1a762229c42b1bce9f
p4raw-link: @28732 on //depot/perl: c68480ca39f58e0c7bce1d278886ddf251baa5f7
p4raw-link: @28082 on //depot/perl: adb8659329b6b21c13aee996474236c4f2b2a6a3
p4raw-link: @27873 on //depot/perl: cb3b230cdd9075c830cf6359e2716e0d83e2a055
p4raw-link: @27354 on //depot/perl: c29edf6c1436006b2170a2279b529d57b78f0536
p4raw-link: @27255 on //depot/perl: cd755de4750e2191b6465129deed94f5a245ab7e
p4raw-link: @27202 on //depot/perl: 55b5d70095e7b9679db373ca7ac72c1951b35a3c

p4raw-id: //depot/maint-5.8/perl@30131
p4raw-integrated: from //depot/perl@30130 'copy in' lib/CGI/Util.pm
lib/CGI/t/html.t (@24013..) lib/CGI/t/cookie.t (@27202..)
lib/CGI.pm (@28752..) 'edit in' lib/CGI/Carp.pm (@27202..)
p4raw-integrated: from //depot/perl@27255 'copy in' AUTHORS (@26994..)
p4raw-integrated: from //depot/perl@27202 'ignore' lib/CGI/t/function.t
(@19664..) lib/CGI/Fast.pm (@22136..) lib/CGI/Changes
(@26308..)
p4raw-integrated: from //depot/perl@22258 'edit in' lib/CGI/Cookie.pm
(@21928..)

17 years agoIntegrate:
Nicholas Clark [Mon, 5 Feb 2007 16:25:02 +0000 (16:25 +0000)]
Integrate:
[ 24535]
[perl #35878] goto &xsub that croaks corrupts memory
When an XS sub is called, a CxSUB context shouldn't be pushed. Make
goto &xs_sub mimic this behaviour by first popping the old CxSUB

[ 24642]
add pointer to email explaining why eval {goto &foo} is banned
p4raw-link: @24642 on //depot/perl: 564abe232de07cdf98620f3e8fe522b3fed4c37c
p4raw-link: @24535 on //depot/perl: 5eff7df71d0d0bb7c87e225c00e2091ae2433cb9

p4raw-id: //depot/maint-5.8/perl@30130
p4raw-integrated: from //depot/perl@24642 'edit in' pp_ctl.c (@24561..)
p4raw-integrated: from //depot/perl@24535 'merge in' t/op/goto_xs.t
(@8148..)

17 years agoIntegrate:
Nicholas Clark [Mon, 5 Feb 2007 11:57:18 +0000 (11:57 +0000)]
Integrate:
[ 24361]
move the SETJMP exception-handing definitions from scope.h to cop.h
so that a JMPENV* entry can be added to struct block_eval

[ 24362]
Revert change #15705 (Core dump in 'leavetry')
This fixes bug #34682, reintroduces bug #8738 (ID 20020301.011),
and reintroduces an eval optimisation for innter runops levels

[ 24363]
Better fix for #8738  (Core dump in 'leavetry')
When in an inner runops loop (eg via a tie or sort), an eval
needs a new JMPENV pushing by S_docatch. If an exception is raised,
control is returned to S_docatch, and it must determine whether
the eval that trapped the exception is an inner eval or an outer
one. In the former case, restart the loop, in the latter case,
rethrow the exception. This is determined by whether we are still
at the same PL_curstackinfo level. This fails in the case of
SPLICE(), which pushes a new SETJMP and runops level, but not a
new stackinfo level. There may be other code which does similar.
The solution is to store the current value of PL_top_env in each
pushed CxEVAL, and see if it's still the same as PL_top_env when
the exception is handled.

[ 24387]
add test for [perl #34682] leaving eval via last in inner runops
p4raw-link: @24387 on //depot/perl: 6ab4a6ffb5877cdeb02bbdd245f9610e46bb2746
p4raw-link: @24363 on //depot/perl: abd70938721b65db3288384c514cb47b77a12268
p4raw-link: @24362 on //depot/perl: 745cf2ffbef88177c764dae7c27dbc293c1abb81
p4raw-link: @24361 on //depot/perl: 0d2925a66a645be5c94e85ffc665c445ed1ca94c
p4raw-link: @15705 on //depot/perl: 8bffa5f8f4dd0cd203052722c9fcfd899f51d033

p4raw-id: //depot/maint-5.8/perl@30127
p4raw-integrated: from //depot/perl@24387 'edit in' t/op/eval.t
(@19801..)
p4raw-edited: from //depot/perl@24363 'edit in' cop.h (@24361..)
p4raw-edited: from //depot/perl@24362 'edit in' pp_ctl.c (@24348..)
p4raw-integrated: from //depot/perl@24361 'edit in' scope.h (@24271..)

17 years agoClear up a maint specific compiler warning - in 5.8.x we have more
Nicholas Clark [Sun, 4 Feb 2007 22:37:19 +0000 (22:37 +0000)]
Clear up a maint specific compiler warning - in 5.8.x we have more
than 16 entries in the arena data structures, so SVt_PTE is > 15,
so won't fit in 4 bits. It's not actually needed by the sanity test,
so change its "type" to 0.

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

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..)