This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
18 years agoIntegrate (the numeric.c tweak):
Jarkko Hietaniemi [Thu, 18 Aug 2005 13:43:46 +0000 (16:43 +0300)]
Integrate (the numeric.c tweak):
[ 25304]
Subject: [PATCH] 5.9.x (and 5.8.x): Symbian update
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A41B@esebe105.NOE.Nokia.com>
p4raw-link: @25304 on //depot/perl: c042ae3a74be2a1c6b85173b59f6a608815afef8

p4raw-id: //depot/maint-5.8/perl@25643
p4raw-integrated: from //depot/perl@25642 'merge in' numeric.c
(@25299..)

18 years agoCasts to fix warnings in gv.c, locale.c and mg.c
Nicholas Clark [Wed, 28 Sep 2005 20:27:21 +0000 (20:27 +0000)]
Casts to fix warnings in gv.c, locale.c and mg.c

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

18 years agoCasts to stop warnings in d*.c
Nicholas Clark [Wed, 28 Sep 2005 20:19:53 +0000 (20:19 +0000)]
Casts to stop warnings in d*.c

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

18 years agoCasts to stop warnings in u*.c
Nicholas Clark [Wed, 28 Sep 2005 19:51:11 +0000 (19:51 +0000)]
Casts to stop warnings in u*.c

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

18 years agoIntegrate:
Nicholas Clark [Wed, 28 Sep 2005 16:24:51 +0000 (16:24 +0000)]
Integrate:
[ 25083]
Subject: [PATCH] Pod::Html - correctly link to =item's on the same page
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Mon, 4 Jul 2005 02:07:38 -0700
Message-ID: <20050704090738.GA4056@efn.org>

(plus a new test, although it is currently marked TODO)

[ 25181]
Subject: [perl #36526] Incorrect (X)HTML generated by Pod::Html
From: Earl Hood (via RT) <perlbug-followup@perl.org>
Date: Tue, 12 Jul 2005 23:55:28 -0700
Message-ID: <rt-3.0.11-36526-117155.10.6496168983897@perl.org>

(with old code deleted rather than commented out)

[ 25186]
Fix test following change #25181
p4raw-link: @25186 on //depot/perl: 4e3bc6ae6a0630a65b9a3f0043bebeeaa828d763
p4raw-link: @25181 on //depot/perl: 945ffa4f5b4934f08041070c2899013a3af4e644
p4raw-link: @25083 on //depot/perl: 6e38a594fb2312d48815b72c0456fcd281ea8917

p4raw-id: //depot/maint-5.8/perl@25636
p4raw-branched: from //depot/perl@25635 'branch in'
lib/Pod/t/htmllink.pod lib/Pod/t/htmllink.t
p4raw-integrated: from //depot/perl@25635 'copy in'
lib/Pod/t/htmlview.t (@19575..)
p4raw-integrated: from //depot/perl@25181 'ignore' lib/Pod/Html.pm
(@25083..)
p4raw-integrated: from //depot/perl@25083 'merge in' MANIFEST
(@25037..)

18 years agoIntegrate:
Nicholas Clark [Wed, 28 Sep 2005 16:08:00 +0000 (16:08 +0000)]
Integrate:
[ 25130]
Subject: [perl #6749] Perl debugger outputs ctrl-\ wrongly
From: "Michael G Schwern via RT" <perlbug-followup@perl.org>
Date: Tue, 12 Jul 2005 15:36:54 -0700
Message-ID: <rt-3.0.11-6749-117055.16.4354496694007@perl.org>

(perl5db.pl)
[ 25261]
Subject: [PATCH] Typos in *.p[lm]
From: "Piotr Fusik" <pfusik@op.pl>
Date: Sun, 31 Jul 2005 12:50:04 +0200
Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec>
p4raw-link: @25261 on //depot/perl: 3c4b39bee8832007b7e91bfce8701d34cacab411
p4raw-link: @25130 on //depot/perl: bd6f3d36ec51e9bd1117df61e303904126a8537a

p4raw-id: //depot/maint-5.8/perl@25635
p4raw-integrated: from //depot/perl@25633 'copy in' lib/dumpvar.pl
(@21284..) lib/perl5db.pl (@23656..)

18 years agoIntegrate:
Nicholas Clark [Wed, 28 Sep 2005 15:03:48 +0000 (15:03 +0000)]
Integrate:
[ 25271]
Upgrade to Encode 2.11, plus a patch to PerlIO::encoding
by Dan Kogai to fix encoding(utf-8-strict) with partial
characters.

[ 25273]
Add files missed in change 25271

[ 25609]
Upgrade to Encode 2.12
p4raw-link: @25609 on //depot/perl: 8e180e821340074db62baf476e6c5d624c9aee27
p4raw-link: @25273 on //depot/perl: 60f80d084f45e0a17d269ed04fc67c0168f5a001
p4raw-link: @25271 on //depot/perl: 56ff73747e9362a483df0d73a430e0cb83ff0e6b

p4raw-id: //depot/maint-5.8/perl@25633
p4raw-branched: from //depot/perl@25632 'branch in'
ext/Encode/lib/Encode/MIME/Header/ISO_2022_JP.pm
ext/Encode/t/mime_header_iso2022jp.t
p4raw-integrated: from //depot/perl@25632 'copy in'
ext/Encode/lib/Encode/PerlIO.pod (@19325..)
ext/Encode/lib/Encode/Config.pm
ext/Encode/lib/Encode/MIME/Header.pm ext/Encode/ucm/8859-7.ucm
(@22835..) ext/Encode/Encode/encode.h ext/Encode/MANIFEST
ext/Encode/t/fallback.t (@24231..) ext/Encode/AUTHORS
ext/Encode/Changes ext/Encode/META.yml (@25271..) 'edit in'
ext/Encode/lib/Encode/Alias.pm (@25261..)
p4raw-integrated: from //depot/perl@25271 'edit in'
ext/Encode/Encode.pm (@25261..) 'ignore' ext/Encode/Encode.xs
(@24490..) 'merge in' ext/PerlIO/encoding/encoding.pm
(@24248..) MANIFEST (@25217..)
p4raw-integrated: from //depot/perl@25266 'ignore'
ext/Encode/lib/Encode/Supported.pod (@23380..)
p4raw-integrated: from //depot/perl@25261 'edit in'
ext/Encode/encoding.pm (@23417..)

18 years agoIntegrate:
Nicholas Clark [Wed, 28 Sep 2005 14:38:23 +0000 (14:38 +0000)]
Integrate:
[ 25136]
Make -V "Compile-time options" list everything used in makedef.pl

[ 25209]
Make makedef.pl read "miniperl -V" on Win32

Perhaps other platforms that use makedef.pl also need a similar
change (currently required to pick up PERL_DONT_CREATE_GVSV),
but it also requires them to have minimal canned configs (if they
are using canned configs like Win32 does) and I don't have any
of the affected platforms (AIX, WinCE, OS/2, MacOS Classic and
NetWare) for testing, so play it safe instead

[ 25210]
I *DO* have AIX, and extending #25209 like this make it happy again
Thank you Steve!

[ 25212]
Tidy up options / defines output from makedef.pl
and change Win32-specific comments to say "On Win32 ..." now
that AIX is using the same code too
p4raw-link: @25212 on //depot/perl: dcddf0a3de6867dcbe63ebab15b50da587648ebb
p4raw-link: @25210 on //depot/perl: 40dfc4d2dab16698876f0aab2660c119fdee3aa9
p4raw-link: @25209 on //depot/perl: 17bdc114163535a73d3e2fdde10eb61bdbc86f05
p4raw-link: @25136 on //depot/perl: 85e1fcb9f8c620d3a6c130ccc46498f8937994b3

p4raw-id: //depot/maint-5.8/perl@25632
p4raw-integrated: from //depot/perl@25210 'edit in' makedef.pl
(@25209..)
p4raw-integrated: from //depot/perl@25136 'merge in' perl.c (@25116..)

18 years agoAvoid a warning about redefing carp. (Caused by sucking in a hunk
Nicholas Clark [Wed, 28 Sep 2005 14:25:09 +0000 (14:25 +0000)]
Avoid a warning about redefing carp. (Caused by sucking in a hunk
that isn't needed in maint)

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

18 years agoIntegrate:
Nicholas Clark [Wed, 28 Sep 2005 14:10:21 +0000 (14:10 +0000)]
Integrate:
[ 24993]
Subject: [PATCH] XSLoader for Sys::Syslog
From: Alexey Tourbin <at@altlinux.ru>
Date: Sun, 26 Jun 2005 08:32:05 +0400
Message-ID: <20050626043204.GA31585@solemn.turbinal.org>

[ 25309]
Subject: [PATCH ext/POSIX/POSIX.xs] Whitespace
From: Abigail <abigail@abigail.nl>
Message-ID: <20050723003235.GJ15093@abigail.nl>
Date: Sat, 23 Jul 2005 02:32:35 +0200
p4raw-link: @25309 on //depot/perl: a7aad5deb89675c445faa3755be38347eeb5a32c
p4raw-link: @24993 on //depot/perl: db9f82cf4d211df67e3329aa871893615e2a77ed

p4raw-id: //depot/maint-5.8/perl@25630
p4raw-integrated: from //depot/perl@25629 'merge in' ext/POSIX/POSIX.xs
(@25236..)
p4raw-integrated: from //depot/perl@24993 'merge in'
ext/Sys/Syslog/Syslog.pm (@24267..)

18 years agoIntegrate:
Craig A. Berry [Fri, 29 Apr 2005 17:22:48 +0000 (12:22 -0500)]
Integrate:
[ 24359]
Subject: [PATCH] undo pod utilities regression in 24034
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <4272B3B8.6030603@mac.com>
p4raw-link: @24359 on //depot/perl: 8478abc46295ec4915771037b890b319744b48cf

p4raw-id: //depot/maint-5.8/perl@25629
p4raw-integrated: from //depot/perl@25628 'copy in' pod/podselect.PL
(@24034..)
p4raw-integrated: from //depot/perl@24359 'copy in' pod/pod2usage.PL
(@24034..)

18 years agoIntegrate:
Nicholas Clark [Wed, 28 Sep 2005 13:24:14 +0000 (13:24 +0000)]
Integrate:
[ 25120]
Subject: Re: [perl #36502] File::Copy::mv fails to replicate behavior of Unix mv
From: Michael G Schwern <schwern@pobox.com>
Date: Mon, 11 Jul 2005 17:35:14 -0700
Message-ID: <20050712003514.GA20132@windhund.schwern.org>

[ 25122]
Subject: [perl #36502] File::Copy::mv fails to replicate behavior of Unix mv
From: "Michael G Schwern via RT" <perlbug-followup@perl.org>
Date: Mon, 11 Jul 2005 19:16:10 -0700
Message-ID: <rt-3.0.11-36502-116917.0.56038652013207@perl.org>

[ 25143]
Subject: Re: [perl #36507] File::Copy::copy($foo, $foo) dies
From: Michael G Schwern <schwern@pobox.com>
Date: Tue, 12 Jul 2005 15:51:18 -0700
Message-ID: <20050712225118.GA944@windhund.schwern.org>

(and update SKIP counts)
p4raw-link: @25143 on //depot/perl: 754f2cd0b9642a979bd5574039c0a20a0cfd79ca
p4raw-link: @25122 on //depot/perl: 1ef594674c6d3ce517bc3c014da975c47316ef0b
p4raw-link: @25120 on //depot/perl: 762548ba14cb03ab1e8e076574a2a58cba3772a1

p4raw-id: //depot/maint-5.8/perl@25628
p4raw-integrated: from //depot/perl@25622 'edit in' lib/File/Copy.pm
(@25120..)
p4raw-integrated: from //depot/perl@25122 'ignore' lib/File/Copy.t
(@25121..)

18 years agoSave bcc 5.5.1 from its own internal compiler error
Steve Hay [Tue, 27 Sep 2005 16:39:01 +0000 (16:39 +0000)]
Save bcc 5.5.1 from its own internal compiler error

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

18 years agoIntegrate:
Nicholas Clark [Tue, 27 Sep 2005 14:45:20 +0000 (14:45 +0000)]
Integrate:
[ 25605]
const sausage const const bacon const tomato and const
The search_ext parameter to find_script can be a little more const.
p4raw-link: @25605 on //depot/perl: 7f315aed809e0b5d2b9e836b3ec901f6db88f7d1

p4raw-id: //depot/maint-5.8/perl@25620
p4raw-integrated: from //depot/perl@25607 'edit in' util.c (@25416..)
p4raw-integrated: from //depot/perl@25605 'edit in' embed.fnc proto.h
(@25586..)

18 years agoRe-run regen.pl
Nicholas Clark [Mon, 26 Sep 2005 18:38:06 +0000 (18:38 +0000)]
Re-run regen.pl

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

18 years agoMissed embed.pl products.
Nicholas Clark [Mon, 26 Sep 2005 18:00:40 +0000 (18:00 +0000)]
Missed embed.pl products.

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

18 years agoFix prototype of my_setenv on Win32, as identfied by Steve Hay
Nicholas Clark [Mon, 26 Sep 2005 15:40:42 +0000 (15:40 +0000)]
Fix prototype of my_setenv on Win32, as identfied by Steve Hay

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

18 years agoIntegrate:
Jarkko Hietaniemi [Fri, 27 May 2005 13:15:36 +0000 (16:15 +0300)]
Integrate:
[ 24595]
Subject: [PATCH] add PERL_CALLCONV to PERL_CKDEF and PERL_PPDEF
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A1CD@esebe105.NOE.Nokia.com>
p4raw-link: @24595 on //depot/perl: 0159f81bfe8e286f119bb9a00f0567234a23235b

p4raw-id: //depot/maint-5.8/perl@25598
p4raw-integrated: from //depot/perl@24595 'merge in' perl.h (@24552..)

18 years agoIntegrate:
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:28:08 +0000 (21:28 +0300)]
Integrate:
[ 24711]
Subject: [PATCH] Tru64: allow creating perl.pixie even with optimized Perl
Message-ID: <42A31A08.3070601@gmail.com>
p4raw-link: @24711 on //depot/perl: c4a5c6a175016c6db46c907ef8472720c9cdff27

p4raw-id: //depot/maint-5.8/perl@25596
p4raw-integrated: from //depot/perl@24711 'merge in' Makefile.SH
(@24680..)

18 years agoIntegrate:
Michael G. Schwern [Thu, 26 May 2005 13:43:05 +0000 (06:43 -0700)]
Integrate:
[ 24596]
Subject: [PATCH] Do not install change logs, READMEs, etc...
Date: Thu, 26 May 2005 13:43:05 -0700
Message-ID: <20050526204305.GH11558@windhund.schwern.org>

[ 24610]
Subject: Re: [PATCH] Do not install change logs, READMEs, etc...
From: Michael G Schwern <schwern@pobox.com>
Date: Fri, 27 May 2005 12:33:27 -0700
Message-ID: <20050527193327.GC17504@windhund.schwern.org>

[ 25560]
Add an option --ignore to installhtml
and use it to avoid to install doc in Porting/.
Skip also test modules.
p4raw-link: @25560 on //depot/perl: 47ec63d06651617a148bb474657949bf1cf43062
p4raw-link: @24610 on //depot/perl: 38cabd2daffcdb193c3134c3eb36b7ceaa4ca051
p4raw-link: @24596 on //depot/perl: 0ae089ada984d08896a4bef1b8c66f76097fe842

p4raw-id: //depot/maint-5.8/perl@25595
p4raw-integrated: from //depot/perl@25594 'copy in' installhtml
(@22285..) 'merge in' Makefile.SH (@25323..)
p4raw-integrated: from //depot/perl@24596 'edit in' installperl
(@24136..)

18 years agoIntegrate:
Nicholas Clark [Sat, 24 Sep 2005 15:29:40 +0000 (15:29 +0000)]
Integrate:
(the threads parts of)
[ 24175]
Casting to/from (void *) sufficient to make a C++ compiler happy.

[ 25123]
Subject: Re: Scalar leaked in 'local $0' under ithreads + taint mode
From: Steve Hay <steve.hay@uk.radan.com>
Date: Mon, 11 Jul 2005 13:29:37 +0100
Message-ID: <42D26631.1070500@uk.radan.com>

[ 25307]
Subject: [PATCH] make threads.xs emit warnings properly
From: Tassilo von Parseval <tassilo.von.parseval@rwth-aachen.de>
Date: Aug 7, 2005 7:10 AM
Message-id: <20050807051041.GA3924@ethan>

[ 25442]
Holding a mutex then croak()ing strikes me as deadlock.
p4raw-link: @25442 on //depot/perl: 3307a0c55ca8bb4e0c9a7d4f6856fee33d4f8701
p4raw-link: @25307 on //depot/perl: 4447dfc12157eb387a12bf297bbc4f4c8c49a7a6
p4raw-link: @25123 on //depot/perl: d419787aba7043c27741cb1497c553fcd3241d02
p4raw-link: @24175 on //depot/perl: 8f77bfdb1ccc695676a1e8260398001deb0b18cf

p4raw-id: //depot/maint-5.8/perl@25594
p4raw-integrated: from //depot/perl@25593 'copy in'
ext/threads/threads.pm (@24248..) 'merge in' pod/perldiag.pod
(@25268..)
p4raw-integrated: from //depot/perl@24175 'ignore'
ext/threads/threads.xs (@23121..) 'merge in'
ext/threads/shared/shared.xs (@23998..)

18 years agoIntegrate:
Nicholas Clark [Sat, 24 Sep 2005 15:10:18 +0000 (15:10 +0000)]
Integrate:
[ 24869]
Subject: [perl #36237] IO::File $fh->binmode($layer) is broken
From: "Alexander Foken" (via RT) <perlbug-followup@perl.org>
Date: 10 Jun 2005 12:46:41 -0000
Message-ID: <rt-3.0.11-36237-115536.13.400290704223@perl.org>

and bump version number

[ 25016]
Subject: Re: [PATCH]Re: [perl #36417] IO::Handle::getline() doco should note an important difference from <$io>
From: Steve Peters <steve@fisharerojo.org>
Date: Wed, 29 Jun 2005 21:47:23 -0500
Message-ID: <20050630024723.GA3786@mccoy.peters.homeunix.org>

[ 25355]
Upgrade to IO 1.22 from gbarr
- Adjust the regression tests to use t/test.pl from bleadperl
  when $ENV{PERL_CORE} is defined
- Add can_ok and isa_ok to t/test.pl from the implementation
  found in the IO CPAN distribution

[ 25359]
Revert Makefile.PL change from #25355
p4raw-link: @25359 on //depot/perl: 40902b1a555ae1a75d0a35db22ea4584a0d25db9
p4raw-link: @25355 on //depot/perl: 35a603864810a769960255e50b84d5fab2473ee8
p4raw-link: @25016 on //depot/perl: bb4e8523c089d29c1ee8ad967ce158f2af1b4ada
p4raw-link: @24869 on //depot/perl: 1561aefcccc1dd2d9a089d90d0ecea4315c5d0f3

p4raw-id: //depot/maint-5.8/perl@25593
p4raw-integrated: from //depot/perl@25592 'copy in' ext/IO/ChangeLog
ext/IO/README (@2882..) ext/IO/t/io_linenum.t
ext/IO/t/io_pipe.t ext/IO/t/io_sel.t ext/IO/t/io_utf8.t
(@20268..) ext/IO/t/io_sock.t (@20327..) ext/IO/IO.pm
ext/IO/lib/IO/Select.pm (@20686..) ext/IO/lib/IO/Seekable.pm
ext/IO/lib/IO/Socket/UNIX.pm (@20687..) ext/IO/lib/IO/Pipe.pm
(@22642..) ext/IO/t/IO.t (@22959..) ext/IO/t/io_file.t
(@23490..) ext/IO/IO.xs (@24713..) ext/IO/lib/IO/File.pm
(@24869..) ext/IO/lib/IO/Handle.pm (@25016..)
ext/IO/lib/IO/Socket.pm (@25131..) ext/IO/lib/IO/Dir.pm
ext/IO/lib/IO/Socket/INET.pm (@25261..) ext/IO/Makefile.PL
(@25355..) 'merge in' t/test.pl (@25252..)
p4raw-integrated: from //depot/perl@25261 'ignore'
ext/IO/lib/IO/Poll.pm (@23366..)

18 years agoIntegrate:
Nicholas Clark [Sat, 24 Sep 2005 09:56:14 +0000 (09:56 +0000)]
Integrate:
[ 25110]
no code before declarations!
p4raw-link: @25110 on //depot/perl: c3c5fad70e191a22d614f56433b4aaeeb0a035da

p4raw-id: //depot/maint-5.8/perl@25592
p4raw-integrated: from //depot/perl@25110 'merge in' doio.c (@25107..)

18 years agoIntegrate:
Andy Lester [Tue, 13 Sep 2005 01:08:36 +0000 (20:08 -0500)]
Integrate:
[ 25397]
Subject: [PATCH] The return of the consting
Message-ID: <20050913060835.GA1037@petdance.com>
p4raw-link: @25397 on //depot/perl: bfce84ec9fb7d74c41a80b7823d3e3c5a1e43f7a

p4raw-id: //depot/maint-5.8/perl@25589
p4raw-integrated: from //depot/perl@25587 'merge in' lib/overload.pm
(@25242..)
p4raw-edited: from //depot/perl@25397 'edit in' proto.h (@25344..)
p4raw-integrated: from //depot/perl@25397 'edit in' embed.fnc
(@25344..) 'merge in' util.c (@25326..)

18 years agoIntegrate:
Andy Lester [Sun, 7 Aug 2005 00:59:11 +0000 (19:59 -0500)]
Integrate:
[ 25277]
Subject: [PATCH] Post-OSCON NN/NULLOK-ing
Message-ID: <20050807055911.GA6384@petdance.com>
p4raw-link: @25277 on //depot/perl: b22e6366e853f65509e8f0787187381203bd42b7

p4raw-id: //depot/maint-5.8/perl@25587
p4raw-integrated: from //depot/perl@25277 'edit in' embed.fnc
(@25251..) 'merge in' op.c (@25243..)

18 years agoIntegrate:
Andy Lester [Thu, 28 Jul 2005 14:09:56 +0000 (09:09 -0500)]
Integrate:
[ 25243]
Subject: [PATCH] More embed.fnc goodness
Message-ID: <20050728190956.GB607@petdance.com>
p4raw-link: @25243 on //depot/perl: 2d03de9c8d99c75ed163fdcdde85a243a29ccc8c

p4raw-id: //depot/maint-5.8/perl@25585
p4raw-integrated: from //depot/perl@25584 'merge in' regexec.c
(@25129..) regcomp.c (@25172..)
p4raw-edited: from //depot/perl@25243 'edit in' proto.h (@25237..)
p4raw-integrated: from //depot/perl@25243 'edit in' util.c (@25200..)
embed.fnc (@25237..) 'merge in' sv.c (@25171..) op.c (@25172..)
embed.h (@25200..) pp_ctl.c (@25217..) doio.c (@25218..)

18 years agoIntegrate:
Robin Barker [Thu, 28 Jul 2005 14:05:51 +0000 (15:05 +0100)]
Integrate:
[ 25197]
croak() accepts Nullch as a parameter.
(spotted by Stas Bekman)

[ 25237]
Subject: [PATCH] tidy up DieNull and DIE_NULL
Message-ID: <533D273D4014D411AB1D00062938C4D90849C75C@hotel.npl.co.uk>
p4raw-link: @25237 on //depot/perl: c3bdd8263d4f5196a25a1ba83d5d0e32a6ac2744
p4raw-link: @25197 on //depot/perl: 3c6f43c54193b37c407848ec22fb7115757d2090

p4raw-id: //depot/maint-5.8/perl@25584
p4raw-edited: from //depot/perl@25583 'edit in' pp.h (@24945..)
p4raw-edited: from //depot/perl@25237 'edit in' perl.h (@25236..)
p4raw-integrated: from //depot/perl@25237 'edit in' embed.fnc
(@25200..) 'merge in' pp_sys.c (@25217..) mg.c (@25236..)
p4raw-integrated: from //depot/perl@25197 'edit in' proto.h (@25172..)

18 years agoIntegrate:
Andy Lester [Mon, 18 Jul 2005 10:37:38 +0000 (05:37 -0500)]
Integrate:
[ 25172]
Subject: [PATCH] The continuing plod through embed.fnc
Message-ID: <20050718153738.GB20193@petdance.com>
p4raw-link: @25172 on //depot/perl: 9a957fbc017c803266bc4e3766dfcbfb58cfa99b

p4raw-id: //depot/maint-5.8/perl@25583
p4raw-integrated: from //depot/perl@25580 'edit in' utf8.c (@25156..)
p4raw-edited: from //depot/perl@25172 'edit in' proto.h (@25156..)
p4raw-integrated: from //depot/perl@25172 'edit in' pad.c (@25138..)
embed.fnc regcomp.c (@25156..) 'ignore' pod/perlapi.pod
(@25115..) 'merge in' op.c (@25156..)

18 years agoIntegrate:
Andy Lester [Fri, 15 Jul 2005 10:51:15 +0000 (05:51 -0500)]
Integrate:
[ 25156]
Subject: [PATCH] more embed cleanup
Message-ID: <20050715155115.GC29983@petdance.com>

(and run regen.pl)
p4raw-link: @25156 on //depot/perl: aec46f14fac1bc74bf8ad4054a6f9674b324f8d2

p4raw-id: //depot/maint-5.8/perl@25580
p4raw-edited: from //depot/perl@25156 'edit in' embed.fnc proto.h
(@25138..)
p4raw-integrated: from //depot/perl@25156 'edit in' regcomp.c
(@25129..) sv.c (@25137..) 'merge in' mg.c (@25094..) dump.c
utf8.c (@25101..) embed.h (@25108..) perl.c (@25136..) hv.c
op.c pp_ctl.c pp_hot.c (@25138..)

18 years agoPesky lax compilers that let me assign to a const variable, so that
Nicholas Clark [Fri, 23 Sep 2005 12:25:23 +0000 (12:25 +0000)]
Pesky lax compilers that let me assign to a const variable, so that
my build (and make test) pass.

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

18 years agoIntegrate:
Andy Lester [Wed, 13 Jul 2005 10:49:19 +0000 (05:49 -0500)]
Integrate:
[ 25138]
Subject: [PATCH] More embed.fnc plowing
Message-ID: <20050713154919.GA24586@petdance.com>
p4raw-link: @25138 on //depot/perl: 46c461b51dd657dd9227e8d230ce0a737a33cb3e

p4raw-id: //depot/maint-5.8/perl@25576
p4raw-integrated: from //depot/perl@25575 'merge in' perlio.c
(@25129..)
p4raw-edited: from //depot/perl@25138 'edit in' proto.h (@25127..)
p4raw-integrated: from //depot/perl@25138 'edit in' hv.c (@25107..)
embed.fnc (@25127..) gv.c pp_hot.c (@25129..) 'merge in'
pp_ctl.c (@25107..) op.c pad.c toke.c (@25129..)

18 years agoIntegrate:
Nicholas Clark [Fri, 23 Sep 2005 10:14:05 +0000 (10:14 +0000)]
Integrate:
[ 25126]
get_?v have side effects, so their return values may be ignored

[ 25127]
S_pad_findlex has side effects, so its return value may be ignored
p4raw-link: @25127 on //depot/perl: 282e17420839364a06808f9f85ab641c510d8296
p4raw-link: @25126 on //depot/perl: 56d23705b5c1a6644965d52e2de049e897bc5077

p4raw-id: //depot/maint-5.8/perl@25575
p4raw-integrated: from //depot/perl@25127 'edit in' pad.c (@25067..)
embed.fnc (@25126..)
p4raw-edited: from //depot/perl@25126 'edit in' proto.h (@25108..)

18 years agoIntegrate:
Andy Lester [Sun, 10 Jul 2005 14:36:35 +0000 (09:36 -0500)]
Integrate:
[ 25107]
Subject: [PATCH] Making my way thru embed.fnc
Message-ID: <20050710193635.GC8081@petdance.com>
p4raw-link: @25107 on //depot/perl: 890ce7af62ab97fd07b5b49562f13e94286469fb

p4raw-id: //depot/maint-5.8/perl@25574
p4raw-edited: from //depot/perl@25107 'edit in' embed.fnc (@25104..)
util.c (@25105..)
p4raw-integrated: from //depot/perl@25107 'edit in' gv.c perl.c
pp_ctl.c (@25101..) 'merge in' pp_hot.c (@25046..) doio.c
doop.c hv.c op.c toke.c (@25101..) regexec.c (@25106..)

18 years agoIntegrate:
Jim Cromie [Wed, 6 Jul 2005 14:19:53 +0000 (08:19 -0600)]
Integrate:
[ 25101]
Subject: Re: janitorial work ? [patch]
Message-ID: <42CC3CE9.5050606@divsol.com>

(reverted all dual-lived modules since they must work with older
perls too so must wait for a new Devel::PPPort)

[ 25116]
Change New*() to Newx*() in various comments and documentation

[ 25117]
Fix worrying typo in handy.h :-s

[ 25196]
Fix Newz() backwards-compatibility macro
p4raw-link: @25196 on //depot/perl: 4541904d5c57838fc76e9cabcf94ba24cec42568
p4raw-link: @25117 on //depot/perl: aab6a430482496c41403384de333f8bf760ce700
p4raw-link: @25116 on //depot/perl: 9f653bb54868b8547466924d4ce483acb8987efb
p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada

p4raw-id: //depot/maint-5.8/perl@25572
p4raw-integrated: from //depot/perl@25569 'copy in' vmesa/vmesa.c
(@7984..) ext/DynaLoader/dl_vms.xs (@12638..)
ext/DynaLoader/dl_next.xs (@12954..) djgpp/djgpp.c (@15378..)
pod/perlclib.pod (@16688..) ext/XS/Typemap/Typemap.xs
(@17492..) os2/OS2/REXX/REXX.xs (@21620..) os2/os2.c (@22032..)
ext/ODBM_File/ODBM_File.xs (@22258..) ext/Socket/Socket.xs
(@22521..) cygwin/cygwin.c (@24710..) ext/B/C/C.xs (@24734..)
'merge in' ext/DynaLoader/dl_aix.xs (@18030..)
ext/File/Glob/bsd_glob.c (@24175..) win32/win32sck.c (@24242..)
ext/B/B/C.pm (@24531..) ext/ByteLoader/byterun.c (@24573..)
reentr.c (@24775..) av.c (@24919..) NetWare/nw5.c
win32/perlhost.h wince/perlhost.h wince/wince.c (@24974..)
pp_sort.c (@25042..) locale.c (@25045..) reentr.pl (@25084..)
scope.c (@25094..)
p4raw-integrated: from //depot/perl@25196 'edit in' handy.h (@25191..)
p4raw-integrated: from //depot/perl@25116 'edit in' sv.c (@25113..)
'merge in' pod/perlguts.pod (@24942..)
p4raw-edited: from //depot/perl@25101 'edit in' hv.c (@25079..)
p4raw-integrated: from //depot/perl@25101 'copy in'
ext/Devel/DProf/DProf.xs (@24670..) 'edit in'
ext/ByteLoader/bytecode.h (@24621..) pp_pack.c (@24965..)
regexec.c (@24997..) perl.c regcomp.c (@25045..) 'merge in'
op.h (@24526..) bytecode.pl (@24573..) vms/vms.c (@24613..)
ext/Opcode/Opcode.xs (@24670..) ext/POSIX/POSIX.xs (@24828..)
op.c (@24901..) doop.c (@24913..) pod/perlapi.pod (@24945..)
perlio.c (@24965..) pp.c (@25012..) dump.c (@25019..)
win32/win32.c (@25033..) doio.c (@25045..) gv.c toke.c util.c
(@25067..) pp_sys.c (@25087..) pp_ctl.c (@25088..) utf8.c
(@25095..)

18 years agoIntegrate:
Nicholas Clark [Thu, 22 Sep 2005 12:44:27 +0000 (12:44 +0000)]
Integrate:
[ 25087]
[perl #36470] 'undef $@; die' gives uninint value warning

[ 25088]
[perl #34171] bytes pragma error in substitution operator

[ 25093]
Subject: [PATCH] bug with charnames::viacode("0x1234") and optimize it
From: Tels <nospam-abuse@bloodgate.com>
Date: Wed, 6 Jul 2005 21:11:59 +0200
Message-Id: <200507062112.12159@bloodgate.com>

[ 25158]
Subject: Re: [perl #36569] chop fails on decoded string with trailing nul
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Sat, 16 Jul 2005 22:05:13 +0900
Message-Id: <20050716220041.2BDD.BQW10602@nifty.com>

[ 25160]
$SIG{__WARN__} = sub { goto &foo } could recurse infinitely

[ 25163]
perl -Dstv -e'... for min..max' displayed wrong stack elements

[ 25270]
Subject: [PATCH] Re: [PATCH] Re: [perl #36819] perlbug AutoReply: Bleadperl: abs() busted outside integer range
From: Dominic Dunlop <shouldbedomo@mac.com>
Date: Sat, 6 Aug 2005 17:47:40 +0200
Message-Id: <EF62D3CF-8B54-4C7B-973E-C259F487AE32@mac.com>

[ 25299]
Subject: Re: [perl #36654] Inconsistent treatment of NaN
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Aug 7, 2005 8:03 PM
Message-ID: <20050807180308.GA2112@efn.org>

Subject: Re: [perl #36654] Inconsistent treatment of NaN
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Wed, 10 Aug 2005 22:53:51 -0700
Message-ID: <20050811055351.GA2296@efn.org>

[ 25302]
Subject: autouse.pm: remove unneeded eval
From: Alexey Tourbin <at@altlinux.ru>
Date: Thu, 18 Aug 2005 08:13:24 +0400
Message-ID: <20050818041324.GO19097@solemn.turbinal.org>

Subject: autouse.pm: check stub, use goto in stub
From: Alexey Tourbin <at@altlinux.ru>
Date: Thu, 18 Aug 2005 09:06:20 +0400
Message-ID: <20050818050620.GP19097@solemn.turbinal.org>
p4raw-link: @25302 on //depot/perl: bc6dddacc1f7827aa418855fd57066ca3b6f5230
p4raw-link: @25299 on //depot/perl: 2b54f59ff973752abae83d93b744e48e13815b05
p4raw-link: @25270 on //depot/perl: a4474c9e1dfa634c058e348a6590af8b9ec4518e
p4raw-link: @25163 on //depot/perl: d4665a058b801ffbd8460e05d21994b99777b0e2
p4raw-link: @25160 on //depot/perl: c5be5b4d0dbe0afabce77a95841bf101893b1571
p4raw-link: @25158 on //depot/perl: ace7757b19d04728dc05eefe7b371b14d8ce29dd
p4raw-link: @25093 on //depot/perl: bd5c3bd9b8ed3edb9439b1889b9dae06dd1644d4
p4raw-link: @25088 on //depot/perl: 01b3578752f17209014eae7d693a93093779daac
p4raw-link: @25087 on //depot/perl: dc8d642c74abd1b6677ca197c9f517158a03b78c

p4raw-id: //depot/maint-5.8/perl@25569
p4raw-integrated: from //depot/perl@25568 'copy in' t/op/subst.t
(@19639..) t/op/die.t (@20805..) t/op/chop.t (@22197..)
t/op/goto.t (@24532..) 'edit in' lib/charnames.pm (@25052..)
'merge in' lib/autouse.pm (@23019..) pod/perlop.pod (@25165..)
p4raw-integrated: from //depot/perl@25299 'merge in' numeric.c
(@24735..)
p4raw-integrated: from //depot/perl@25270 'copy in' t/op/arith.t
(@20931..) 'merge in' pp.c (@25177..)
p4raw-integrated: from //depot/perl@25160 'merge in' util.c (@25128..)
p4raw-integrated: from //depot/perl@25158 'merge in' doop.c (@25107..)
p4raw-integrated: from //depot/perl@25088 'edit in' pp_ctl.c (@25042..)
p4raw-integrated: from //depot/perl@25087 'merge in' pp_sys.c
(@25042..)

18 years agoIntegrate:
Yves Orton [Mon, 14 Mar 2005 08:55:39 +0000 (09:55 +0100)]
Integrate:
(the tests from)
[ 24044]
Subject: Re: Reworked Trie Patch
Date: Mon, 14 Mar 2005 08:55:39 +0100
Message-ID: <9b18b31105031323557019ae1@mail.gmail.com>

Subject: Re: Reworked Trie Patch
From: demerphq <demerphq@gmail.com>
Date: Wed, 16 Mar 2005 19:48:18 +0100
Message-ID: <9b18b31105031610481025a080@mail.gmail.com>

Plus minor nits in the documentation of re.pm,
a version bump, and addition of an OPTIMIZE alias

[ 25095]
[perl #36207] UTF8/Latin 1/i regexp "Malformed character" warning
$utf8 =~ /latin/i didn't match.
Also added TODO for $latin =~ /utf8/i which also fails

[ 25106]
Re: [perl #36207] UTF8/Latin 1/i regexp "Malformed character" warning
From: demerphq <demerphq@gmail.com>
Message-ID: <9b18b3110507080807f16d1eb@mail.gmail.com>
Date: Fri, 8 Jul 2005 17:07:26 +0200

Fix trie codepath of mixed utf8/latin1 pattern matches
p4raw-link: @25106 on //depot/perl: 108bb1ada68a74e70f8cfe3683513fea5b30f778
p4raw-link: @25095 on //depot/perl: 809e8e66a971d59a948ca995e08b228927d82c66
p4raw-link: @24044 on //depot/perl: a3621e74372f5d2c10ed0d2a21195cab42a5be54

p4raw-id: //depot/maint-5.8/perl@25568
p4raw-integrated: from //depot/perl@25106 'edit in' regexec.c
(@25101..)
p4raw-integrated: from //depot/perl@25095 'merge in' utf8.c (@24800..)
p4raw-integrated: from //depot/perl@24044 'edit in' t/op/re_tests
(@20901..) t/op/pat.t (@22744..)

18 years agoIntegrate:
Nicholas Clark [Thu, 22 Sep 2005 10:46:26 +0000 (10:46 +0000)]
Integrate:
[ 24959]
Add a define PERL_POISON which tries to trip up anything accessing
freed or uninitialised memory. Currently only Poison()s freed
pointers.
p4raw-link: @24959 on //depot/perl: 94010e71b67db04027249ff69e2a2bfa9a050945

p4raw-id: //depot/maint-5.8/perl@25567
p4raw-integrated: from //depot/perl@25566 'copy in'
ext/PerlIO/encoding/encoding.xs (@24670..)
p4raw-integrated: from //depot/perl@24959 'merge in' handy.h (@24678..)
gv.c (@24913..) scope.c (@24942..) sv.c (@24945..) pp_ctl.c
(@24953..)

18 years agoIntegrate:
Nicholas Clark [Thu, 22 Sep 2005 10:00:19 +0000 (10:00 +0000)]
Integrate:
[ 25068]
Borland's .pdb files are called .tds

[ 25150]
Fix static extensions when building with nmake on Win32

They were broken because change 24806 forgot to add -DWITH_STATIC
to the recipe for compiling perllib.c which meant that perllibst.h
was not included and hence although they built OK, the static
extensions could not actually be used!

In fact, since perllibst.h is always created (it is more or less
empty when static extensions are not being used), there is no need
for -DWITH_STATIC at all. So rather than adding it to Makefile,
just drop it from makefile.mk and perllib.c.

Also add the missing cleanup of perllibst.h to Makefile.

[ 25169]
1. Typo detected by Schwern (#25151)
2. Added proza about patches (#25152)
3. dirfd got the wrong define based on previous tests (#25168)

[ 25206]
Rearrange win32/config_H.* to match config_h.SH

No actual changes, just reordering the contents of the files so that
diff works better.

[ 25208]
Make the canned config.h files used on Win32 more minimal

These are used in their unedited form to build miniperl, so should
represent a minimal configuration

The plan is to use miniperl's "-V" output in makedef.pl, so it is
important that it doesn't include any of the optional things in the
makefiles that the user might have chosen to disable

(The actual config.h used to build perl itself is, of course, an
edited version of these canned configs produced by using miniperl
to run config_h.PL so these changes won't affect perl itself)

[ 25214]
Add missing entries to win32/config.*

No existing entries changed, just adding some missing ones based
on Porting/config.sh

[ 25215]
Tweak the canned win32/config.* files

uselargefiles, usemultiplicity, useperlio and useithreads are now
off in the canned win32/config_H.* files, so change these to match.

Also scrap the misleading ~USE_PERLIO~ and ~USE_SITECUST~ tags
which don't actually work since no such CFG_VARS are passed in to
config_sh.PL. (The useperlio and usesitecustomize entries actually
get substituted by the more general "if (/^([\w_]+)=(.*)$/)" case.)

[ 25216]
Fix USE_LARGE_FILES with bcc32 on Win32?

Trawling through all these config files, I think I've found the
reason why bcc32 builds with USE_LARGE_FILES were failing (e.g.
(see http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-06/msg00809.html):
lseeksize and lseektype were set to 8 and __int64, but Borland's
<io.h> suggests that they should be 4 and long respectively.

Changing them accordingly makes all tests pass. And I see that
win32/win32.c has special handling for __BORLANDC__ + USE_LARGE_FILES,
presumably to cope with this difference?

[ 25226]
Reinstate PERL_MALLOC_WRAP for bcc32 on Win32

This was disabled by change 22689 because it was severely broken
at the time.  See the thread starting here:

http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-04/msg00370.html

The PERL_MALLOC_WRAP code in handy.h has since changed along the
lines of what was discussed in that thread (in particular, by change
25034) and I find that everything is now fine with PERL_MALLOC_WRAP
re-enabled.

[ 25289]
Supply same libs for bcc32 builds as cl and gcc builds have

It makes life easier for third-party extensions if perl provides a
decent set of libs to link against. cl and gcc builds already have
this (except that gcc was missing one lib), but bcc32 builds only
have one or two libs supplied.  In particular, the ODBC libs
required for building libwin32 were not specified.  One of these
doesn't exist in the Borland lib dirs by default, so generate it
from the DLL if it is missing.
p4raw-link: @25289 on //depot/perl: 8169a885e54b185b764945e68a001202a9d927d3
p4raw-link: @25226 on //depot/perl: 075502290ff69af888b5629ff1fecf91d588fbbd
p4raw-link: @25216 on //depot/perl: 7dc8f726ffdb362768c2563d86c4aba594ce406e
p4raw-link: @25215 on //depot/perl: 2f21f076b692be0f24c46e07c3d1c08244219a2f
p4raw-link: @25214 on //depot/perl: 392c4dfd79b131439b1f9f514b4adb6eeab4e4fa
p4raw-link: @25208 on //depot/perl: d64224560bf29cbbdc5245117235a9787cb49f58
p4raw-link: @25206 on //depot/perl: b40906a9a3a195cf3ea96490cc4a691baeca3abe
p4raw-link: @25169 on //depot/perl: 5cadb3f3d2704caddd768175a2268bb01d157be9
p4raw-link: @25150 on //depot/perl: 322fd6428c9575b8e35cb16655e86ca0378af1cf
p4raw-link: @25068 on //depot/perl: 44ba898b481566fd0ccdc2024e61a7839fff6e64

p4raw-id: //depot/maint-5.8/perl@25566
p4raw-integrated: from //depot/perl@25565 'merge in' win32/perllib.c
(@23360..) win32/Makefile (@24926..)
p4raw-integrated: from //depot/perl@25215 'edit in' win32/config.bc
win32/config.gc win32/config.vc64 (@25214..)
p4raw-integrated: from //depot/perl@25214 'edit in' win32/config.vc
(@24905..)
p4raw-edited: from //depot/perl@25206 'edit in' win32/config_H.bc
(@24905..) win32/config_H.gc (@24975..)
p4raw-integrated: from //depot/perl@25206 'edit in' win32/config_H.vc
win32/config_H.vc64 (@24905..)
p4raw-integrated: from //depot/perl@25169 'merge in' Configure
(@24934..)
p4raw-integrated: from //depot/perl@25150 'edit in' win32/makefile.mk
(@25068..)

18 years agoIntegrate:
Nicholas Clark [Thu, 22 Sep 2005 09:28:31 +0000 (09:28 +0000)]
Integrate:
[ 25086]
Subject: [PATCH] File::Basename doc overhaul
From: Michael G Schwern <schwern@pobox.com>
Date: Tue, 5 Jul 2005 20:11:27 -0700
Message-ID: <20050706031127.GL9227@windhund.schwern.org>

(with some minor changes)

[ 25089]
Subject: [PATCH] Further lies in the File::Basename docs
From: Michael G Schwern <schwern@pobox.com>
Date: Wed, 6 Jul 2005 09:22:32 -0700
Message-ID: <20050706162232.GA14495@windhund.schwern.org>

(plus some minor POD changes and a bug fix)

[ 25090]
Subject: [perl #22236] File::Basename behavior is misleading
From: "Michael G Schwern via RT" <perlbug-followup@perl.org>
Date: 6 Jul 2005 19:45:40 -0000
Message-ID: <rt-3.0.11-22236-116656.1.59163789180809@perl.org>

[ 25091]
Subject: [PATCH] Mention File::Spec in File::Basename
From: Michael G Schwern <schwern@pobox.com>
Date: Wed, 6 Jul 2005 13:06:20 -0700
Message-ID: <20050706200620.GE15644@windhund.schwern.org>

(plus bump $VERSION)

[ 25096]
Subject: Re: [perl #36477] File::Basename basename() bug
From: Michael G Schwern <schwern@pobox.com>
Date: Thu, 7 Jul 2005 14:16:01 -0700
Message-ID: <20050707211601.GA3769@windhund.schwern.org>

[ 25097]
Subject: [PATCH] basename() and suffixes
From: Michael G Schwern <schwern@pobox.com>
Date: Thu, 7 Jul 2005 15:38:32 -0700
Message-ID: <20050707223832.GA4782@windhund.schwern.org>
p4raw-link: @25097 on //depot/perl: 08ea998e8be5a42c57497ff314325487510065d6
p4raw-link: @25096 on //depot/perl: 08bc7695a2f08a85d93cf60f86512524ac215df2
p4raw-link: @25091 on //depot/perl: 6eae9758ed9397ecd63d15ce9ba0eb49710ef187
p4raw-link: @25090 on //depot/perl: e586b3ebefae93da888d3ee5f657e85c0af762d9
p4raw-link: @25089 on //depot/perl: 3291253bb8b8a1a81d58949e6d12f20d0960a3ee
p4raw-link: @25086 on //depot/perl: 767010ca49e6a0dff07d97842a8341decbed33d9

p4raw-id: //depot/maint-5.8/perl@25565
p4raw-integrated: from //depot/perl@25096 'ignore' lib/File/Basename.t
(@25090..)
p4raw-integrated: from //depot/perl@25089 'ignore' lib/File/Basename.pm
(@25086..)

18 years agoIntegrate:
Nicholas Clark [Thu, 22 Sep 2005 09:15:24 +0000 (09:15 +0000)]
Integrate:
[ 25009]
First stab at not automatically creating an unused SV for GvSV
Enable it with -DPERL_DONT_CREATE_GVSV.
Currently if enabled 22 test scripts have failures, so still some way
to go.

[ 25010]
Fixes to -DPERL_DONT_CREATE_GVSV to make more tests pass

[ 25011]
Make warnings.t pass with -DPERL_DONT_CREATE_GVSV

[ 25012]
All tests pass (for me) with -DPERL_DONT_CREATE_GVSV

[ 25099]
DEFSV causes GvSVn() to be used in lvalue context.
Not sure if instead we should recode DEFSV to avoid this, and leave
GvSVn() as rvalue only, like its namesakes.

[ 25141]
Subject: [PATCH] was Re: perldoc segfaulting in XS_UNIVERSAL_VERSION
From: John Peacock <jpeacock@rowman.com>
Message-ID: <42D55C46.5030905@rowman.com>
Date: Wed, 13 Jul 2005 14:24:06 -0400

[ 25146]
Subject: [PATCH] Re: [PATCH] was Re: perldoc segfaulting in XS_UNIVERSAL_VERSION
From: Michael G Schwern <schwern@pobox.com>
Date: Fri, 15 Jul 2005 00:49:12 -0700
Message-ID: <20050715074911.GA16512@windhund.schwern.org>
p4raw-link: @25146 on //depot/perl: 3e44d7c68241d019f8f21ee22493341f4964f676
p4raw-link: @25141 on //depot/perl: 0008872a8961cdd40a28b04aebc8346bdfb7bf39
p4raw-link: @25099 on //depot/perl: 547f15c3f9c804a1f8fe9c9f91b4907c17953b29
p4raw-link: @25012 on //depot/perl: 29c711a3555acd718860bc45b8366c7a7739f0e5
p4raw-link: @25011 on //depot/perl: 35a08ec738722f2d788a72020492a928f398b96e
p4raw-link: @25010 on //depot/perl: e203899dcaadab28f2ff9e515fbc895686054f71
p4raw-link: @25009 on //depot/perl: c69033f2a629160559f680da8e4e5a7e3c4c3a0c

p4raw-id: //depot/maint-5.8/perl@25564
p4raw-edited: from //depot/perl@25562 'edit in' t/op/universal.t
(@24823..)
p4raw-integrated: from //depot/perl@25141 'merge in' universal.c
(@25030..)
p4raw-integrated: from //depot/perl@25012 'merge in' pp.c (@24945..)
p4raw-integrated: from //depot/perl@25011 'merge in' pp_sys.c
(@25003..)
p4raw-integrated: from //depot/perl@25010 'edit in' perl.h (@24987..)
gv.c (@25009..) 'merge in' doio.c (@24950..)
p4raw-integrated: from //depot/perl@25009 'edit in' gv.h (@24106..)
embed.fnc perl.c pp_hot.c (@24997..) sv.c (@25008..) 'ignore'
embed.h (@24976..) proto.h (@24997..) 'merge in' global.sym
(@24913..) makedef.pl (@24980..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 22:36:00 +0000 (22:36 +0000)]
Integrate:
[ 25007]
Convert strcpy to memcpy where we already know the length.

[ 25022]
Replace newSVpv(...,0) with newSVpvn where we know the length.

[ 25023]
-V:... would get upset (syntax error) if ... contained unbalanced ().

[ 25024]
The core shouldn't be using PL_na

[ 25026]
Use Perl_sv_catpvf to shorten the code (source and object) needed for
commandline -V options that q\0...\0.

[ 25027]
Avoid using PL_Sv in the -V argument processing.
Express the embedded perl program in a slightly terser way.

[ 25028]
We know the length, so use sv_setpvn rather than sv_setpv.

[ 25029]
A terser way of implementing require_pv.

[ 25045]
Don't check the pointer is non-NULL before calling Safefree() in
little used code, code used only once per run (such as interpreter
construction and destruction), and cases where the pointer nearly
never is NULL. Safefree does its own non-NULL check, and even that
isn't strictly necessary as all conformant free()s accept a NULL
pointer.

[ 25047]
Don't inline offer_nice_chunk, as it's rarely called.

[ 25062]
Fix change 25045

[ 25076]
Add regression test for change 25062
p4raw-link: @25076 on //depot/perl: 881ddac440be76a777774183e9031345029c20ad
p4raw-link: @25062 on //depot/perl: da78da6e52d0b37ee30b642783a0d9e91d0b3cd0
p4raw-link: @25047 on //depot/perl: 77354fb48907e3618a62531aa2e90772ef4375d9
p4raw-link: @25045 on //depot/perl: 43c5f42db1e336a99904bcc798b7070727bfbd0a
p4raw-link: @25029 on //depot/perl: be41e5d9d9cfcfb109a0aa6168e91932d29ac79e
p4raw-link: @25028 on //depot/perl: ec3bab8e3bf51c4a5f1cb8ab2f17c1c54f83967b
p4raw-link: @25027 on //depot/perl: 7edfd0ef07bb2042adfd7871ecb385475da3f544
p4raw-link: @25026 on //depot/perl: 0c5a913da36d66becd2cf3a592f69c87a3e9b51b
p4raw-link: @25024 on //depot/perl: 184f32ecbaf38a072f9e20a9a51f7eed11d1b589
p4raw-link: @25023 on //depot/perl: 4d88e5a6b5afa2bc8a200fc139b28141ef9b7215
p4raw-link: @25022 on //depot/perl: d0043bd135485a532d9aee2280acc8b2d782baa4
p4raw-link: @25007 on //depot/perl: 490a0e9885933990f72b0e0485666a1f8522f018

p4raw-id: //depot/maint-5.8/perl@25562
p4raw-integrated: from //depot/perl@25077 'edit in' hv.c (@25072..)
p4raw-integrated: from //depot/perl@25076 'edit in' t/op/magic.t
(@25032..)
p4raw-integrated: from //depot/perl@25062 'edit in' mg.c (@25045..)
p4raw-integrated: from //depot/perl@25048 'edit in' sv.c (@25047..)
'ignore' embed.fnc (@25047..)
p4raw-integrated: from //depot/perl@25047 'merge in' embed.h proto.h
(@25009..)
p4raw-integrated: from //depot/perl@25045 'edit in' perl.h (@25010..)
'merge in' locale.c (@24965..) doio.c (@25010..)
p4raw-integrated: from //depot/perl@25031 'edit in' util.c (@25007..)
p4raw-integrated: from //depot/perl@25029 'edit in' perl.c (@25027..)
p4raw-integrated: from //depot/perl@25028 'edit in' universal.c
(@24913..)
p4raw-integrated: from //depot/perl@25022 'edit in' regcomp.c
(@24871..)
p4raw-integrated: from //depot/perl@25007 'merge in' gv.c (@24997..)

18 years agoIntegrate:
Andy Lester [Sun, 3 Jul 2005 18:31:56 +0000 (13:31 -0500)]
Integrate:
[ 25067]
Subject: [PATCH] Post-YAPC consting, now with an attachment!
Date: Sun, 3 Jul 2005 18:31:56 -0500
Message-ID: <20050703233156.GA20967@petdance.com>

[ 25073]
Regen after change 25067

[ 25079]
Subject: [PATCH] Remove unnecessary null check
From: Andy Lester <andy@petdance.com>
Date: Mon, 4 Jul 2005 14:12:00 -0500
Message-ID: <20050704191200.GA2614@petdance.com>
p4raw-link: @25079 on //depot/perl: 3abe233e1ceba6675710708c5678345cce24ac62
p4raw-link: @25073 on //depot/perl: f75877b5974beb5c3109d4e6cc071fc0483ff8f9
p4raw-link: @25067 on //depot/perl: b64e5050699224c037d91354e38766884caa0910

p4raw-id: //depot/maint-5.8/perl@25561
p4raw-integrated: from //depot/perl@25559 'merge in' deb.c (@24445..)
p4raw-integrated: from //depot/perl@25079 'edit in' embed.fnc
(@25074..) 'merge in' hv.c (@25077..)
p4raw-edited: from //depot/perl@25073 'edit in' proto.h (@25066..)
p4raw-integrated: from //depot/perl@25067 'edit in' pad.c (@24968..)
toke.c (@24997..) gv.c (@25010..) sv.c (@25064..) 'merge in'
util.c (@25050..)

18 years agoIntegrate:
Robin Barker [Mon, 20 Jun 2005 13:47:37 +0000 (14:47 +0100)]
Integrate:
[ 24915]
Subject: [PATCH perl.h] FPTR2DPTR/DPTR2FPTR
Message-ID: <533D273D4014D411AB1D00062938C4D90849C6E4@hotel.npl.co.uk>

[ 25042]
the PAD_SET_CUR macro expanded too much for AIX compilers

[ 25046]
missed one PAD_SET_CUR
p4raw-link: @25046 on //depot/perl: 9320a0378277d341c9c126313f5ba5a16b26450d
p4raw-link: @25042 on //depot/perl: fd617465265ed0cd97256c819ae8e3e4cde70989
p4raw-link: @24915 on //depot/perl: 3fbfee08a74a1551b76e125a3e0da03f2884c21b

p4raw-id: //depot/maint-5.8/perl@25559
p4raw-integrated: from //depot/perl@25046 'edit in' pp_hot.c (@25012..)
p4raw-integrated: from //depot/perl@25042 'merge in' pad.h (@24256..)
pp_sort.c (@24951..) pp_sys.c (@25011..) pp_ctl.c (@25035..)
p4raw-integrated: from //depot/perl@24915 'merge in' perl.h (@24913..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 20:50:26 +0000 (20:50 +0000)]
Integrate:
[ 24987]
Suppress warnings about a clash between redefined malloc and the
use of __attribute__malloc__

Subject: Re: Fun with __attribute__malloc__
From: Andy Lester <andy@petdance.com>
Date: Fri, 24 Jun 2005 12:11:59 -0500
Message-ID: <20050624171159.GB29590@petdance.com>

[ 24997]
Subject: [PATCH] We're going round in circles with pp_sys.c
From: Andy Lester <andy@petdance.com>
Date: Mon, 27 Jun 2005 13:06:59 -0500
Message-ID: <20050627180659.GB29744@petdance.com>

(edited)

[ 25001]
Stop "suspicious pointer conversion" warning following change 24997

[ 25003]
Stop "Possible use before definition" warning following change 24997

[ 25014]
Silence MinGW warnings about system headers when building Errno

Thanks to Mike Guy for the suggested fix.

[ 25033]
Silence some cast warnings from bcc32 on Win32

See the thread starting here for arguments:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-06/msg00994.html

[ 25034]
silence gcc 'comparison is always false' warning in MEM_WRAP_CHECK
Only a partial fix: works where sizeof(type)==1; since we
can never wraparound in that case, disarm the check

[ 25035]
silence a warning in Perl_sv_compile_2op

[ 25038]
Remove unreferenced local variable (and the warning about it)

[ 25041]
Silence MinGW warning about "'noreturn' function does return"

(Thanks to Nicholas Clark)

[ 25055]
Andy suggests this tweak to Dave's fix for MEM_WRAP_CHECK to shut up
a different compiler warnings. I guess we need a waterbed theory of
compiler warnings.

[ 25063]
Subject: Re: How to suppress warnings when building Errno with gcc
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Fri, 1 Jul 2005 10:56:23 -0700
Message-ID: <20050701175623.GD216@efn.org>

[ 25103]
extend MEM_WRAP_CHECK supress warning hack to MEM_WRAP_CHECK_*
p4raw-link: @25103 on //depot/perl: ed87b6edd2c457984b92b013316ae3ed72b4e8d3
p4raw-link: @25063 on //depot/perl: eeb7067f600640f443da80dc2b1a896ce8cf58c5
p4raw-link: @25055 on //depot/perl: ffa5faba68902313c2103a742dc00a206824c798
p4raw-link: @25041 on //depot/perl: d951c35852a72e504eea00883fb91f69a81b8ce3
p4raw-link: @25038 on //depot/perl: b8e65a9b24415d2651cfd291a5c46983dbbc8048
p4raw-link: @25035 on //depot/perl: b094c71d0e5fe8bc361ad2e51a050cd90827d764
p4raw-link: @25034 on //depot/perl: 9b50316d41e10da7079284a39efe42f777afb179
p4raw-link: @25033 on //depot/perl: a51a97d86a8e028ada154e7e70624ca9fe055d4c
p4raw-link: @25014 on //depot/perl: 1e92bf58d9ca015d8f610db7bf0ee9de90ff39ff
p4raw-link: @25003 on //depot/perl: 29033a8a33c87f72febba470e43825c1489ad8d3
p4raw-link: @25001 on //depot/perl: a15d23f8e296983d6cc54b5377bc89335c45e016
p4raw-link: @24997 on //depot/perl: 9d4ba2ae61ff15b15f3e889810ff89dfb2ed1738
p4raw-link: @24987 on //depot/perl: 77785eead56f43b89f14cf6ef1c9a99846e1beff

p4raw-id: //depot/maint-5.8/perl@25558
p4raw-integrated: from //depot/perl@25557 'edit in'
ext/Errno/Errno_pm.PL (@25014..)
p4raw-integrated: from //depot/perl@25055 'edit in' handy.h (@25034..)
p4raw-integrated: from //depot/perl@25041 'merge in' iperlsys.h
(@24974..)
p4raw-integrated: from //depot/perl@25038 'merge in'
ext/XS/APItest/APItest.xs (@24827..)
p4raw-integrated: from //depot/perl@25033 'merge in' win32/win32.c
(@24977..)
p4raw-integrated: from //depot/perl@25003 'merge in' pp_sys.c
(@24983..)
p4raw-integrated: from //depot/perl@24997 'edit in' toke.c (@24944..)
hv.c (@24945..) pp_ctl.c (@24965..) gv.c (@24966..) embed.fnc
(@24976..) 'merge in' regexec.c (@24871..) pp_hot.c (@24939..)
proto.h sv.c (@24976..) perl.c (@24986..)
p4raw-integrated: from //depot/perl@24987 'merge in' perl.h (@24975..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 20:28:20 +0000 (20:28 +0000)]
Integrate:
[ 24940]
Add facility to fork() early in perl_destruct and use the child to
dump out leaked scalars (enabled with DEBUG_LEAKING_SCALARS_FORK_DUMP
when DEBUG_LEAKING_SCALARS is already in force)

[ 24976]
Extend DEBUG_LEAKING_SCALARS_FORK_DUMP so it can also dump scalars
which become unreferenced. This is less likely to be successful.
The #define needs a better name.

[ 24979]
If forking during global destruction, the child needs to close all
unused file descriptors, else it can cause other processes to hang
because it accidentally holds open pipes and sockets.

[ 24980]
Need to skip exporting PL_dumper_fd unless it is used.

[ 24984]
When using DEBUG_LEAKING_SCALARS_FORK_DUMP it's possible to cause
indefinite hangs when the debugging child holds open Perl_debug_log,
and it happens to be a file descriptor that is one end of a pipe,
with a process sitting at the other end waitng for EOF.
So close all descriptors in the child *including* Perl_debug_log,
and pass it back in over the control socket if it's needed.

[ 24986]
Tweak the child dump socket protocol to return error messages to the
parent so that it can display what went wrong.
p4raw-link: @24986 on //depot/perl: 808ad2d056cb45de9ecfc820f8a60d1c7ec74e62
p4raw-link: @24984 on //depot/perl: bf3573334e260cec7a4095bce2ccbecb4bae4f96
p4raw-link: @24980 on //depot/perl: 808e22764acaa30a6102c376217d07f25df6e137
p4raw-link: @24979 on //depot/perl: 3125a5a42ead64ccadc87f6d7676d933d8d6582c
p4raw-link: @24976 on //depot/perl: 41e4abd8e288135291940b1765c485a707618c20
p4raw-link: @24940 on //depot/perl: 2aa47728aa947a41f1d2abaa0249b6e8da98653a

p4raw-id: //depot/maint-5.8/perl@25557
p4raw-integrated: from //depot/perl@24980 'edit in' makedef.pl
(@24883..)
p4raw-edited: from //depot/perl@24979 'edit in' perl.c (@24976..)
p4raw-edited: from //depot/perl@24976 'edit in' intrpvar.h (@24908..)
p4raw-integrated: from //depot/perl@24976 'merge in' embedvar.h
perlapi.h (@24908..) embed.fnc embed.h proto.h sv.c (@24966..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 20:05:39 +0000 (20:05 +0000)]
Integrate:
[ 24969]
Workaround localtime edge case where TZ makes time go beyond
the defined working range (AIX 5.2)

[ 24983]
Need to pass a my_perl to S_my_localtime to make threaded builds build.

[ 25173]
Subject: Re: AIX 5.2 localtime bug attack
From: Campo Weijerman <rfc822@nl.ibm.com>
Date: Mon, 18 Jul 2005 17:34:55 +0200
Message-ID: <20050718153455.GA29381@python>

mday++ is also wday++ and yday++

[ 25287]
Fix lib/Time/Local.t for bcc32 in non GMT time zones

See comments at:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-08/msg00115.html

[ 25300]
Subject: Your bug reports for Time::Local
From: Dave Rolsky <autarch@urth.org>
Date: Tue, 16 Aug 2005 11:22:20 -0500 (CDT)
Message-ID: <Pine.LNX.4.61.0508161120520.26270@urth.org>

An improvement on change 25287 from Dave Rolsky
p4raw-link: @25300 on //depot/perl: 93a047328e714ace2986c9ffb3515b4bf0939bfd
p4raw-link: @25287 on //depot/perl: 734c7f37126dfb8ae378e46a71a7aae194665a99
p4raw-link: @25173 on //depot/perl: 3574fba9d64258926d8208a0796e6f0aef583eeb
p4raw-link: @24983 on //depot/perl: 89261a6c6a337d08799db0ac0d518e62472ccf40
p4raw-link: @24969 on //depot/perl: a4323deefa4c98098ead17e0f39d15f10cf81859

p4raw-id: //depot/maint-5.8/perl@25556
p4raw-integrated: from //depot/perl@25555 'copy in' lib/Time/Local.t
(@25287..)
p4raw-integrated: from //depot/perl@24983 'edit in' pp_sys.c (@24969..)

18 years agoIntegrate:
Andy Lester [Thu, 23 Jun 2005 21:04:00 +0000 (21:04 +0000)]
Integrate:
[ 24965]
Subject: [PATCH] Pre-YAPC consting fun
Message-ID: <20050623190423.GA13835@petdance.com>
p4raw-link: @24965 on //depot/perl: 8772537cf6d022a54f738ccb84b65a7f21ccf1b2

p4raw-id: //depot/maint-5.8/perl@25555
p4raw-integrated: from //depot/perl@25554 'merge in' taint.c (@24800..)
p4raw-edited: from //depot/perl@24965 'edit in' locale.c (@24445..)
embed.fnc proto.h (@24962..)
p4raw-integrated: from //depot/perl@24965 'edit in' mg.c (@24943..)
util.c (@24945..) 'merge in' perlio.c (@24945..) pp_ctl.c
scope.c (@24959..) embed.h (@24962..) pp_sys.c (@24963..)

18 years agoIntegrate:
Andy Lester [Wed, 22 Jun 2005 09:41:00 +0000 (04:41 -0500)]
Integrate:
[ 24945]
Subject: [PATCH] Const Boy II: The Localizing
Message-ID: <20050622144059.GA19598@petdance.com>
p4raw-link: @24945 on //depot/perl: 1b6737cc10a847650f574c35f419cbd680a5a5ef

p4raw-id: //depot/maint-5.8/perl@25554
p4raw-integrated: from //depot/perl@25553 'copy in' autodoc.pl
(@24414..) 'merge in' embed.pl (@24627..)
p4raw-edited: from //depot/perl@24945 'edit in' sv.c (@24943..)
p4raw-integrated: from //depot/perl@24945 'edit in' pp.c (@24937..)
pp_ctl.c (@24939..) embed.fnc (@24942..) 'merge in' pp.h
(@24757..) perlio.c (@24778..) pod/perlapi.pod (@24823..)
pp_sys.c (@24871..) util.c (@24913..) perl.c (@24940..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 18:57:22 +0000 (18:57 +0000)]
Integrate:
[ 24910]
Remove signature test, which is always skipped
p4raw-link: @24910 on //depot/perl: 2522aa67345a7f37d0050d70f341ab3a0b6165b0

p4raw-id: //depot/maint-5.8/perl@25553
p4raw-deleted: from //depot/perl@25552 'delete in'
lib/Test/Simple/t/00signature.t (@24397..)
p4raw-integrated: from //depot/perl@24910 'merge in' MANIFEST
(@24834..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 18:43:51 +0000 (18:43 +0000)]
Integrate:
[ 24916]
Subject: Re: [perl #36310] sv_vcatpvfn() fails on some (very limited) situations
From: Tsutomu IKEGAMI <t-ikegami@aist.go.jp>
Date: Fri, 17 Jun 2005 17:55:10 +0900 (JST)
Message-Id: <20050617.175510.21285350.t-ikegami@aist.go.jp>

[ 24920]
Subject: [PATCH] ternary operator cond ? foo : bar being parsed as ?...?
From: Salvador Fandiño <sfandino@yahoo.com>
Date: Fri, 17 Jun 2005 14:06:30 +0100
Message-ID: <20050617130548.18776.qmail@lists.develooper.com>

with wordings improvements suggested by Ronald J Kimball

[ 24951]
Subject: Re: [perl #36350] unstable sorting for use integer; sort { $b <=> $a } @foo
From: Salvador Fandino <sfandino@yahoo.com>
Date: Tue, 21 Jun 2005 19:50:35 +0200
Message-ID: <20050621181658.5977.qmail@lists.develooper.com>

[ 24952]
Re-initialise PL_curcop to &PL_compiling before destroying the optree.

[ 24962]
The current implementation of :unique is fundamentally flawed,
because declaring a scalar READONLY does not stop it being modified.
Hence the current implementation of :unique is *not threadsafe*
D'oh!
Better implementations welcome.
p4raw-link: @24962 on //depot/perl: 0abe3f7c711f6721217c5d47ec581395dd1981da
p4raw-link: @24952 on //depot/perl: 17fbfdf6c6f5ee46c01833862a16cddc094c4bd5
p4raw-link: @24951 on //depot/perl: 5fe61d939e01ff04c0119f3d65341fdc7d48769a
p4raw-link: @24920 on //depot/perl: 25c09cbfff59747c663fe98ca4036df86a317a59
p4raw-link: @24916 on //depot/perl: 7af36d83c0adcbdfcd87806abf6e33bf0c9a61db

p4raw-id: //depot/maint-5.8/perl@25552
p4raw-integrated: from //depot/perl@25551 'copy in'
ext/threads/t/problems.t (@24582..)
p4raw-integrated: from //depot/perl@24962 'merge in' pod/perltodo.pod
(@24127..) embed.h (@24942..) embed.fnc proto.h (@24945..)
p4raw-integrated: from //depot/perl@24952 'merge in' perl.c (@24945..)
p4raw-integrated: from //depot/perl@24951 'merge in' pp_sort.c
(@24906..)
p4raw-integrated: from //depot/perl@24920 'merge in' toke.c (@24871..)
pod/perldiag.pod (@24908..)
p4raw-integrated: from //depot/perl@24916 'edit in' sv.c (@24914..)

18 years agoIntegrate:
Mattia Barbon [Mon, 27 Jun 2005 22:07:00 +0000 (22:07 +0000)]
Integrate:
[ 24907]
Silence warning in debug printf

[ 24937]
Silence some bcc32 compiler warnings

("Superfluous & with function")

[ 24938]
Silence some more bcc32 compiler warnings

("Suggest parentheses to clarify precedence")

[ 24939]
Silence yet more bcc32 compiler warnings

("Code has no effect")

[ 24944]
Silence another bcc32 compiler warning

("Possible use of '%s' before definition")

[ 24946]
More bcc32 compiler warnings to silence

("Suspicious pointer conversion")

[ 24947]
Silence bcc32 compiler warnings from win32/fcrypt.c (almost)

It still whines about 'in' and 'b' being assigned values that are
never used on lines 348 and 505 respectively (as side effects of the
calls to c2l and l2c respectively), but I'm not sure how to shut
them up.

[ 24950]
Oops! Change 24946 wasn't quite right

[ 24953]
Silence bcc32 compiler warnings following change 24945

("Possible use of '%s' before definition")

[ 24963]
Warning suppression.

[ 24977]
Fix typo in win32.c

Doesn't fix bcc32 + USE_LARGE_FILES, though :-(

[ 24994]
Silence compiler warning in SDBM_File

Unless I'm missing something it looks like "key" actually is used,
and the "key = key" assignment causes bcc32 to complain about use
before definition!

[ 24999]
Subject: [PATCH] Avoid redefinition warning for MinGW
Message-ID: <Mahogany-0.66.0-1232-20050627-220727.00@rbnet.it>
p4raw-link: @24999 on //depot/perl: eb9bdbdff170fbef354c89f26311bc9e4a0e7245
p4raw-link: @24994 on //depot/perl: aa0165afdda5e71e536a890f6b073619c221d9bd
p4raw-link: @24977 on //depot/perl: 56460430dcb7e8cada68e2a7dcfb1495b75076d1
p4raw-link: @24963 on //depot/perl: a882ab3181734afc6a4004c7cba75f148c724ba8
p4raw-link: @24953 on //depot/perl: 6300418df733fa6a39202abfea4908f73899f1ad
p4raw-link: @24950 on //depot/perl: d08fa7601ff56603f730a23e4363d5e951ce06c2
p4raw-link: @24947 on //depot/perl: 2534dd6e31cc0cf46c9012b51820cb53e717e775
p4raw-link: @24946 on //depot/perl: 8d3a710fc8101f114e42e18c7eae4598e4c21195
p4raw-link: @24944 on //depot/perl: 89e33a0587050e7ef2e88ba45c87444d8506f821
p4raw-link: @24939 on //depot/perl: 454f1e2628e3c3cf05341675e973e8df77c9b0ae
p4raw-link: @24938 on //depot/perl: 3b9e3074fddbae8590b8fbc95a2eac9fa7fc29f0
p4raw-link: @24937 on //depot/perl: 1c127fab650cf6427045f36d9e941565f5163fda
p4raw-link: @24907 on //depot/perl: cdd3ba141d0471cdda288698b2e3ab4be509f775

p4raw-id: //depot/maint-5.8/perl@25551
p4raw-integrated: from //depot/perl@25550 'copy in'
ext/SDBM_File/SDBM_File.xs (@17750..) win32/fcrypt.c (@20702..)
'merge in' win32/win32io.c (@24271..) perlvars.h (@24318..)
win32/win32iop.h (@24974..)
p4raw-integrated: from //depot/perl@24953 'edit in' pp_ctl.c pp_sys.c
(@24945..)
p4raw-integrated: from //depot/perl@24950 'edit in' doio.c (@24946..)
p4raw-integrated: from //depot/perl@24944 'merge in' toke.c (@24920..)
p4raw-integrated: from //depot/perl@24939 'merge in' pp_hot.c
(@24871..)
p4raw-integrated: from //depot/perl@24938 'merge in' warnings.h
warnings.pl (@24509..)
p4raw-integrated: from //depot/perl@24937 'edit in' win32/win32.c
(@24883..) 'merge in' pp.c (@24871..)
p4raw-integrated: from //depot/perl@24907 'merge in' doop.c (@24871..)

18 years agoIntegrate:
Andy Lester [Mon, 20 Jun 2005 10:22:37 +0000 (05:22 -0500)]
Integrate:
[ 24913]
Subject: [PATCH] The continuing adventures of Constman and Localize Boy
Message-ID: <20050620152237.GA5032@petdance.com>
p4raw-link: @24913 on //depot/perl: 53c1dcc098c6cc47963786f1928061d90b5d30e1

p4raw-id: //depot/maint-5.8/perl@25550
p4raw-integrated: from //depot/perl@24913 'edit in' pad.c (@24755..)
util.c (@24874..) embed.fnc (@24906..) mg.c sv.c (@24908..)
'ignore' embed.h proto.h (@24906..) 'merge in' global.sym
(@24847..) XSUB.h universal.c (@24873..) perl.h (@24895..)
doop.c (@24907..) gv.c (@24908..)

18 years agoIntegrate:
Andy Lester [Fri, 17 Jun 2005 09:50:29 +0000 (04:50 -0500)]
Integrate:
[ 24906]
Subject: [PATCH] More random cleanups
Message-ID: <20050617145029.GC11769@petdance.com>
p4raw-link: @24906 on //depot/perl: 901017d64784f408c305bb1efe061b7ae9d47fc0

p4raw-id: //depot/maint-5.8/perl@25549
p4raw-edited: from //depot/perl@24906 'edit in' proto.h (@24878..)
p4raw-integrated: from //depot/perl@24906 'edit in' pp_ctl.c (@24823..)
pp_sort.c (@24853..) embed.fnc (@24878..) 'merge in' scope.c
(@24791..) embed.h (@24878..)

18 years agoIntegrate:
Steve Peters [Wed, 15 Jun 2005 11:30:41 +0000 (06:30 -0500)]
Integrate:
[ 24854]
Subject: Re: [PATCH] make -f invalid when USE_SITECUSTOMIZE isn't set
Message-ID: <20050615163040.GA14745@mccoy.peters.homeunix.org>

[ 24861]
Revert part of change #24854

[ 24864]
Add -f in perl synopsys, sync perl.pod and perlrun.pod synopses
p4raw-link: @24864 on //depot/perl: df451b2ad0d680ea3a9d825aa3ecb3c2ce23bbb4
p4raw-link: @24861 on //depot/perl: f5542d3a54f14f881b60902316767ce068dbe5dd
p4raw-link: @24854 on //depot/perl: ab019eaa775fdcae8aaf709315c7ba85a788ee6c

p4raw-id: //depot/maint-5.8/perl@25548
p4raw-integrated: from //depot/perl@25546 'copy in'
ext/Devel/DProf/t/DProf.t (@24854..) 'merge in' pod/perlrun.pod
(@24832..)
p4raw-integrated: from //depot/perl@24864 'edit in' pod/perl.pod
(@24797..)
p4raw-integrated: from //depot/perl@24854 'edit in' perl.c (@24832..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 16:02:53 +0000 (16:02 +0000)]
Integrate:
[ 24860]
Don't export Perl_stashpv_hvname_match when !USE_ITHREADS

(Fixes a linker error on Win 32 introduced by change #24847)
p4raw-link: @24860 on //depot/perl: dc1061dcf24d13f751b01c1228673c4d12010ea3
p4raw-link: @24847 on //depot/perl: ed221c571749f1ebcbc3664c74e36e68f3a83031

p4raw-id: //depot/maint-5.8/perl@25546
p4raw-integrated: from //depot/perl@24860 'merge in' makedef.pl
(@24821..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 16:01:36 +0000 (16:01 +0000)]
Integrate:
[ 24845]
Subject: [PATCH] S_emulate_eaccess() does return a value
From: Steve Peters <steve@fisharerojo.org>
Message-ID: <20050614193052.GA1898@mccoy.peters.homeunix.org>
Date: Tue, 14 Jun 2005 14:30:52 -0500

[ 24847]
Subject: [PATCH] CopSTASH_eq again
From: Andy Lester <andy@petdance.com>
Date: Tue, 14 Jun 2005 23:49:26 -0500
Message-ID: <20050615044926.GA29087@petdance.com>
p4raw-link: @24847 on //depot/perl: ed221c571749f1ebcbc3664c74e36e68f3a83031
p4raw-link: @24845 on //depot/perl: ae558575aa9f10b828ca711463105ca54421dd05

p4raw-id: //depot/maint-5.8/perl@25545
p4raw-integrated: from //depot/perl@25542 'merge in' cop.h (@24573..)
p4raw-edited: from //depot/perl@24847 'edit in' global.sym (@24730..)
embed.h (@24802..) proto.h (@24845..)
p4raw-integrated: from //depot/perl@24847 'edit in' util.c (@24823..)
embed.fnc (@24845..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 15:31:01 +0000 (15:31 +0000)]
Integrate:
[ 24694]
Bump version number

[ 24828]
Comment nit to help Devel::Cover, spotted by Steve Peters
p4raw-link: @24828 on //depot/perl: 23302e07fce1cc686d31103fdaa396ec5f935090
p4raw-link: @24694 on //depot/perl: 5606037a82e809852286802f500ce7001dd9d105

p4raw-id: //depot/maint-5.8/perl@25542
p4raw-integrated: from //depot/perl@25540 'copy in'
ext/Devel/DProf/DProf.pm (@24398..)
p4raw-integrated: from //depot/perl@24828 'merge in' ext/POSIX/POSIX.xs
(@24670..)

18 years agoIntegrate:
Craig A. Berry [Sat, 18 Jun 2005 18:23:59 +0000 (13:23 -0500)]
Integrate:
[ 24898]
Add a Configure test to see if NV 0.0 is stored as all bits zero, and
#define NV_ZERO_IS_ALLBITS_ZERO if so.  This is always true on VMS:

Subject: Re: Configure check for whether 0.0 is stored as all bits zero
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <p06210214beda5bf31c4c@[172.16.52.1]>

[ 24905]
Support NV_ZERO_IS_ALLBITS_ZERO on Win32 (re: change 24898)

The try.c test program added to Configure by change 24898 outputs
"Yes" using each of VC++, GCC and BCC32, so here goes...

[ 24934]
Redo generation of change #24898
Do not forget to run Porting/config_h.pl!

[ 24949]
Add handling of NV_ZERO_IS_ALLBITS_ZERO for Netware and epoc
p4raw-link: @24949 on //depot/perl: 0fa134633c25c81f88c755a1df2a0e565cac3868
p4raw-link: @24934 on //depot/perl: 17f6277dd74eb819f9ad0089516167d0c4481e17
p4raw-link: @24905 on //depot/perl: c9be5486593f0ddc941cf3c595bcc9bd8b4c00b5
p4raw-link: @24898 on //depot/perl: f607920a165f3c14b9c61dc74e535bdc6aa1904c

p4raw-id: //depot/maint-5.8/perl@25540
p4raw-integrated: from //depot/perl@25539 'merge in'
NetWare/config_H.wc (@24149..) NetWare/config.wc epoc/config.sh
(@24508..)
p4raw-integrated: from //depot/perl@24934 'edit in' Configure
(@24898..)
p4raw-integrated: from //depot/perl@24905 'merge in' win32/config.bc
win32/config.gc win32/config.vc win32/config.vc64 (@24508..)
win32/config_H.bc win32/config_H.gc win32/config_H.vc
win32/config_H.vc64 (@24545..)
p4raw-integrated: from //depot/perl@24898 'ignore' config_h.SH
(@24581..) 'merge in' Porting/Glossary (@24508..) configure.com
(@24618..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 15:02:51 +0000 (15:02 +0000)]
Integrate:
[ 24679]
Subject: DynaLoader dl_unload_file for win32 ( dl_win32.xs )
From: DH <crazyinsomniac@yahoo.com>
Date: Tue, 31 May 2005 08:33:27 -0700 (PDT)
Message-ID: <20050531153327.85145.qmail@unknown-209-73-178-237.yahoo.com>

(with a couple of minor tweaks)

[ 24806]
Subject: improve static build for win32/Makefile
From: vadim <vadim@vkonovalov.ru>
Date: Sun, 12 Jun 2005 14:09:11 -0400
Message-Id: <1118599750.2732.2.camel@mdk10>

[ 24825]
Subject: [PATCH @ 24819] Re: Change 24806: improve static build for win32/Makefile
From: vadim <vadim@vkonovalov.ru>
Date: Mon, 13 Jun 2005 15:41:41 -0400
Message-Id: <1118691701.6333.32.camel@mdk10>

[ 24830]
Add BUILDOPTEXTRA to Win32 makefiles

This allows extra build options, e.g. -DNO_HASH_SEED, to be
specified on the command line, which is otherwise not possible
under nmake using the existing BUILDOPT macro

Suggested by Jan Dubois <jand@ActiveState.com>

[ 24852]
Fix win32/makefile.mk for building with bcc32 5.5.1 and dmake 4.4

[ 24855]
Fix $Config{ccversion} for Borland C++ 5.5.1

This pattern match seems a little saner, and stops " for Win32"
getting picked up from the following output:

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland

Maybe it breaks older versions, but at least the latest now works
correctly. If anyone knows what older versions' messages look like
then speak up!

[ 24862]
Enable static extensions with Borland compiler on Win32

[ 24863]
Simplify win32/makefile.mk for static extensions with GCC

[ 24866]
Fix changes 24862 and 24863 for Sarathy's old dmake

[ 24880]
Subject: [PATCH] Strip \\?\ prefix from Perl path in win32/win32.c:set_w32_module_name()
From: "Jan Dubois" <jand@ActiveState.com>
Date: Thu, 16 Jun 2005 11:43:15 -0700
Message-Id: <200506161843.j5GIhKhL024472@smtp3.ActiveState.com>

[ 24883]
Silence STDERR grumblings from Borland's math library.

This fixes failures in ext/B/t/deparse.t and lib/warnings.t (and
renders change 24870 obsolete, hence it is reverted here).
p4raw-link: @24883 on //depot/perl: 3a00b83ed94a188580921b4677320b4295bee93d
p4raw-link: @24880 on //depot/perl: be9da6a9f72474caf68c6253e58eb38c3d447728
p4raw-link: @24866 on //depot/perl: 7a67865adbea98917830ba110adf80e1a4ee46ab
p4raw-link: @24863 on //depot/perl: 2aefcc789e83c2ed63b8e10639b28c870b3f9bf6
p4raw-link: @24862 on //depot/perl: 9506093ea8f75836097a0d91d3eec90d306ff9e1
p4raw-link: @24855 on //depot/perl: 645ff3cb711b95d7444ec52a58fa4be7561ff5d1
p4raw-link: @24852 on //depot/perl: e54e7e92e82be930d3964d114c29e511355e5ecc
p4raw-link: @24830 on //depot/perl: 2e30e1e19507ead09ed955df51a21281bcf3ac88
p4raw-link: @24825 on //depot/perl: 9e7cf449d83cd5f918126cacc6de91f23f4d9822
p4raw-link: @24806 on //depot/perl: 595589fae4479595ffd0993d9a9d2e00eaaa1581
p4raw-link: @24679 on //depot/perl: 6a57da8629f93682a21ef339fb8f5aaa7cd6a98d

p4raw-id: //depot/maint-5.8/perl@25539
p4raw-integrated: from //depot/perl@25538 'copy in' win32/dl_win32.xs
(@23360..) win32/buildext.pl (@23762..) lib/warnings.t
(@24870..) 'merge in' win32/config_sh.PL (@23817..)
p4raw-integrated: from //depot/perl@24883 'merge in' makedef.pl
(@24860..)
p4raw-integrated: from //depot/perl@24880 'edit in' win32/win32.c
(@24122..)
p4raw-integrated: from //depot/perl@24863 'edit in' win32/makefile.mk
(@24862..)
p4raw-integrated: from //depot/perl@24806 'edit in' win32/Makefile
(@24792..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 14:40:13 +0000 (14:40 +0000)]
Integrate:
[ 24364]
Subject: Re: [perl #31793] Data::Dumper: Useqq interacts badly with overloading
From: Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com>
Date: Wed, 3 Nov 2004 16:38:01 +0100
Message-ID: <20041103163801.6839be30@valis.local>

[ 24917]
Fix [perl #36102] Data::Dumper Doesn't Stringify Numeric Labels

[ 25308]
Subject: Re: Data::Dumper bug?
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Mon, 8 Aug 2005 20:33:02 -0700
Message-ID: <20050809033301.GA3804@efn.org>

[ 25347]
Regression test for the fix in change #25308,
based on code by Troy Loveday
p4raw-link: @25347 on //depot/perl: dd85fe9f7f1f07fbb5e40b599391665cc850bd43
p4raw-link: @25308 on //depot/perl: 27688d77084069fcb656e12fab5d3ee0ba810e6c
p4raw-link: @24917 on //depot/perl: d20128b88ca5cf7adb19e1f3382c9bfe14caba98
p4raw-link: @24364 on //depot/perl: 2728842dc82a9f71891d065b28cf34767a63fb0c

p4raw-id: //depot/maint-5.8/perl@25538
p4raw-branched: from //depot/perl@25536 'branch in'
ext/Data/Dumper/t/bugs.t
p4raw-integrated: from //depot/perl@25536 'copy in'
ext/Data/Dumper/t/dumper.t (@23244..) ext/Data/Dumper/Dumper.pm
(@24917..)
p4raw-integrated: from //depot/perl@25347 'merge in' MANIFEST
(@25313..)
p4raw-integrated: from //depot/perl@24917 'edit in'
ext/Data/Dumper/Dumper.xs (@24670..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 14:09:01 +0000 (14:09 +0000)]
Integrate:
[ 24796]
Add SvGROW_mutable

[ 24800]
More SvPV consting. And other related drive-by refactoring.

[ 24801]
Propagate const/mutable/not into the SvPV call for retrieving an
overloaded value.

[ 24826]
More SvPV consting

[ 24829]
Pay attention to the comments that Dave writes.

[ 24838]
Subject: [PATCH] Fix for SEGV in ext/B/t/xref.t on OpenBSD
From: Steve Peters <steve@fisharerojo.org>
Date: Tue, 14 Jun 2005 08:16:38 -0500
Message-ID: <20050614131638.GA24771@mccoy.peters.homeunix.org>

[ 24843]
Change 24838 breaks deparse.t, which checks that embedded NULs work.
Here's a temporary hack, pending a way for B to correctly identify
PVs that are variable names in pads.

[ 24846]
Fix warning nits, by Jarkko

[ 24850]
Protect Perl_sv_2pvbyte () to NULL length pointers
Thanks Nick!

[ 24871]
Subject: [PATCH] Removing /*SUPPRESS xxx*/
From: Andy Lester <andy@petdance.com>
Date: Thu, 16 Jun 2005 09:13:42 -0500
Message-ID: <20050616141342.GA22188@petdance.com>

[ 24873]
Subject: [PATCH] Lint support
From: Andy Lester <andy@petdance.com>
Date: Thu, 16 Jun 2005 09:35:21 -0500
Message-ID: <20050616143521.GB22188@petdance.com>
p4raw-link: @24873 on //depot/perl: ad73156c09397f3cfc63484d3edc50554da0fe15
p4raw-link: @24871 on //depot/perl: a6e20a404b42cad25eb97280fa2bcacffda64cd6
p4raw-link: @24850 on //depot/perl: 97972285a7cc3296dc99230fa10f7a030afa733f
p4raw-link: @24846 on //depot/perl: 1e2ebb21f72f169e9de6c2bde1af6eb417686775
p4raw-link: @24843 on //depot/perl: b55685ae0907b7da1c668988d736c684531f41ac
p4raw-link: @24838 on //depot/perl: c0b2046149892c54c3798523a6716164b16fe59d
p4raw-link: @24829 on //depot/perl: f9926b10e9205923d4fd70f7cb4c7c0cb241d185
p4raw-link: @24826 on //depot/perl: 848ef95539b9ac5bb84d1c24074fa4a1e19c3dfb
p4raw-link: @24801 on //depot/perl: 50adf7d25d4fa2ebde52a8067c5d9b35f5c7c054
p4raw-link: @24800 on //depot/perl: cfd0369c40b647df9444518ec26b924a57e14ac8
p4raw-link: @24796 on //depot/perl: 5902b6a9a2a1e49c54aefa132afca1e54238aa2b

p4raw-id: //depot/maint-5.8/perl@25536
p4raw-integrated: from //depot/perl@25535 'edit in' ext/B/B.xs
(@24838..)
p4raw-integrated: from //depot/perl@24873 'merge in' XSUB.h (@24757..)
perl.h (@24783..)
p4raw-integrated: from //depot/perl@24871 'edit in' regexec.c
(@24800..) perl.c (@24861..) 'merge in' av.c (@24784..) doio.c
doop.c (@24798..) pp.c pp_hot.c pp_sys.c (@24799..)
p4raw-integrated: from //depot/perl@24801 'edit in' sv.c (@24798..)
p4raw-integrated: from //depot/perl@24800 'edit in' universal.c
(@24758..) toke.c (@24770..) regcomp.c (@24780..) util.c
(@24781..) 'merge in' xsutils.c (@24584..) utf8.c (@24745..)
taint.c (@24760..)
p4raw-integrated: from //depot/perl@24796 'merge in' sv.h (@24767..)

18 years agoIntegrate:
Andy Lester [Thu, 9 Jun 2005 10:05:56 +0000 (05:05 -0500)]
Integrate:
[ 24780]
Subject: [PATCH] regcomp.c and more
Message-ID: <20050609150556.GA30554@petdance.com>
p4raw-link: @24780 on //depot/perl: a28509cc00517ad2ad1f6e022f1be6ab8f1ad18e

p4raw-id: //depot/maint-5.8/perl@25535
p4raw-edited: from //depot/perl@24780 'edit in' regcomp.c (@24760..)
p4raw-integrated: from //depot/perl@24780 'edit in' sv.c (@24770..)
'ignore' perly.c (@24666..) 'merge in' embed.fnc proto.h
(@24760..) mg.c (@24778..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 11:03:15 +0000 (11:03 +0000)]
Integrate:
[ 24765]
const-ize pp_formline

[ 24769]
More SvPV consting

[ 24778]
More SvPV consting

[ 24798]
Move SvPV consting, remove an n_a, and correct one error in Move()

[ 24799]
More SvPV consting, including some code cleanup and living dangerously
with socket API calls.
p4raw-link: @24799 on //depot/perl: 349d4f2f3d114fbec6897c6007862eb07a409a2d
p4raw-link: @24798 on //depot/perl: 93524f2be2dba9389167a137d53a88545322b55e
p4raw-link: @24778 on //depot/perl: b83604b4e5062f93776f6a381f822df058667e23
p4raw-link: @24769 on //depot/perl: d526390560c1ae208a087ad4d648b08895f79f8f
p4raw-link: @24765 on //depot/perl: 5a34cab709c5a924973b3a4620fba8816f9047e2

p4raw-id: //depot/maint-5.8/perl@25531
p4raw-integrated: from //depot/perl@24799 'merge in' pp_sort.c
(@24744..) pp.c (@24759..) pp_pack.c (@24778..)
p4raw-integrated: from //depot/perl@24798 'edit in' op.c (@24769..)
dump.c (@24783..) sv.c (@24796..) 'merge in' doio.c (@24740..)
doop.c (@24760..)
p4raw-integrated: from //depot/perl@24778 'edit in' mg.c (@24769..)
'merge in' perlio.c (@24740..)
p4raw-integrated: from //depot/perl@24769 'edit in' pp_hot.c pp_sys.c
(@24760..)
p4raw-integrated: from //depot/perl@24765 'edit in' pp_ctl.c (@24759..)

18 years agoIntegrate:
Andy Lester [Wed, 8 Jun 2005 00:03:32 +0000 (19:03 -0500)]
Integrate:
[ 24754]
Subject: [PATCH] regexec.c utf8 loading
Message-ID: <20050608050332.GA31059@petdance.com>
p4raw-link: @24754 on //depot/perl: 1a4fad37125bac3e69c02ee6b2e57c14777484e6

p4raw-id: //depot/maint-5.8/perl@25529
p4raw-integrated: from //depot/perl@24754 'merge in' regexec.c
(@24744..)

18 years agoCorrect errors in global.sym that seem to be the cause of Win32 build
Nicholas Clark [Wed, 21 Sep 2005 10:26:41 +0000 (10:26 +0000)]
Correct errors in global.sym that seem to be the cause of Win32 build
failures.

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

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 09:53:54 +0000 (09:53 +0000)]
Integrate:
[ 24760]
Nuke some more n_a, and convert S_gv_ename from char * to const char *

[ 24761]
Add and use MgPV_nolen_const

[ 24762]
Remove the n_a

[ 24763]
Remove repeated C<n_a>s
p4raw-link: @24763 on //depot/perl: dd720ed54afb972b0d1e09663193b36f0d1e05d1
p4raw-link: @24762 on //depot/perl: 4b1c440c100c9148ae3a9da3f948d4f8f85d88c2
p4raw-link: @24761 on //depot/perl: 01b8bcb77a033a072e6afd95c46cef74d30628c1
p4raw-link: @24760 on //depot/perl: 8b6b16e72bf4dd30bd09781ad50e9f66fd94440b

p4raw-id: //depot/maint-5.8/perl@25527
p4raw-integrated: from //depot/perl@25525 'copy in' malloc.c (@24689..)
mg.h (@24738..)
p4raw-integrated: from //depot/perl@24763 'merge in' perl.c (@24758..)
p4raw-integrated: from //depot/perl@24760 'edit in' op.c (@24735..)
mg.c (@24755..) 'merge in' taint.c (@24445..) doop.c pp_pack.c
toke.c (@24744..) dump.c regcomp.c (@24755..) pp_hot.c
(@24756..) pp_sys.c (@24758..) embed.fnc proto.h (@24759..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 09:32:33 +0000 (09:32 +0000)]
Integrate:
[ 24748]
Convert POPpx POPpconstx and POPpbytex to use nolen macros.
Elminate a lot of C<n_a>s

[ 24749]
Better sv_2pv_flags implementation (avoid writing to n_a)

[ 24750]
Remove two more unused C<n_a>s

[ 24757]
Eliminate more C<n_a>s

[ 24758]
n_a no more

[ 24759]
Allow a null length pointer to sv_pvn_force_flags.
Add SvPV_force_nolen and use it to remove some C<n_a>s
p4raw-link: @24759 on //depot/perl: 13c5b33cae5690f108494286e4d841e38c57677d
p4raw-link: @24758 on //depot/perl: 0510663fa1f5ec2b546d095c2c040e4f25909e8a
p4raw-link: @24757 on //depot/perl: 95fad9186c8842cfbbfcf6573db9e0dcadbce69c
p4raw-link: @24750 on //depot/perl: 4c3a5487bc880aeef49d16df8ac95c06dc9ed37e
p4raw-link: @24749 on //depot/perl: cdb061a3fd27d5d1ef0b49f7eca3a56c45076e24
p4raw-link: @24748 on //depot/perl: 8c074e2aa6f4be490d6bedf1bc337b09fa1c1185

p4raw-id: //depot/maint-5.8/perl@25525
p4raw-integrated: from //depot/perl@24759 'edit in' sv.c (@24755..)
'merge in' pp.c (@24752..) embed.fnc proto.h sv.h (@24755..)
p4raw-integrated: from //depot/perl@24758 'edit in' universal.c
(@24740..) perl.c (@24743..) pp_ctl.c (@24755..)
p4raw-edited: from //depot/perl@24757 'edit in' XSUB.h (@24724..)
p4raw-integrated: from //depot/perl@24757 'edit in' pp.h (@24748..)
p4raw-edited: from //depot/perl@24750 'edit in' pp_sys.c (@24748..)

18 years agoIntegrate:
Nicholas Clark [Wed, 21 Sep 2005 07:04:42 +0000 (07:04 +0000)]
Integrate:
[ 24740]
More SvPV consting.

[ 24742]
More consting of SvPV

[ 24743]
More SvPV consting

[ 24744]
More SvPV consting

[ 24752]
One more SvPV_const
p4raw-link: @24752 on //depot/perl: 6f46942a96d669ad911580516a4c630bf04865ca
p4raw-link: @24744 on //depot/perl: 83003860610d4132632305aad5e79203998fbf38
p4raw-link: @24743 on //depot/perl: 10516c54a74630cf74b5f3650f62a47cae3b2ac0
p4raw-link: @24742 on //depot/perl: 245d4a47e185d4e38ca6440eb62ae19d5e411fd1
p4raw-link: @24740 on //depot/perl: e62f0680cdecd36f79df8a7dabc61c6a2739f07a

p4raw-id: //depot/maint-5.8/perl@25524
p4raw-integrated: from //depot/perl@24744 'merge in' regexec.c
(@24682..) pp_sort.c (@24708..)
p4raw-integrated: from //depot/perl@24743 'edit in' doop.c pp.c
pp_hot.c pp_pack.c (@24740..) 'merge in' perl.c (@24689..)
p4raw-integrated: from //depot/perl@24742 'merge in' embed.fnc proto.h
(@24736..)
p4raw-integrated: from //depot/perl@24740 'edit in' gv.c pp_sys.c
(@24726..) pp_ctl.c sv.c toke.c (@24735..) mg.c (@24737..)
'merge in' universal.c (@24553..) perlio.c (@24689..) doio.c
(@24726..) util.c (@24735..)

18 years agoIntegrate:
Andy Lester [Mon, 6 Jun 2005 10:11:07 +0000 (05:11 -0500)]
Integrate:
[ 24735]
Subject: [PATCH] Random cleanups #47
Message-ID: <20050606151107.GC7022@petdance.com>

[ 24737]
Remove unused variable (thanks to Andy's lint)
p4raw-link: @24737 on //depot/perl: 832658c4bf34b93b5e24e5e1ff81cc2458c91a5c
p4raw-link: @24735 on //depot/perl: 66a1b24beb76ea873ad4caa57ee3ab9df945afbf

p4raw-id: //depot/maint-5.8/perl@25522
p4raw-integrated: from //depot/perl@25521 'copy in' README.aix
(@24234..)
p4raw-integrated: from //depot/perl@24737 'merge in' mg.c (@24730..)
p4raw-integrated: from //depot/perl@24735 'edit in' embed.fnc
(@24730..) util.c (@24731..) sv.c (@24733..) 'ignore' proto.h
(@24730..) 'merge in' pod/perldebug.pod (@24190..) numeric.c
(@24489..) pad.c (@24561..) toke.c (@24718..) op.c pp_ctl.c
(@24726..)

18 years agoIntegrate:
Alexey Tourbin [Sun, 5 Jun 2005 03:08:30 +0000 (07:08 +0400)]
Integrate:
[ 24729]
Subject: [PATCH] util.c: S_vdie_common() should be static
Date: Sun, 5 Jun 2005 03:08:30 +0400
Message-ID: <20050604230830.GS5867@solemn.turbinal.org>

[ 24734]
make some more functions static

Subject: [PATCH] B/C/C.xs: static my_runops()
Message-ID: <20050604232451.GT5867@solemn.turbinal.org>

Subject: [PATCH] Devel/Peek/Peek.xs: make plain C functions static
Message-ID: <20050604232952.GU5867@solemn.turbinal.org>

Subject: [PATCH] File/Glob/Glob.xs: errfunc() should be static
Message-ID: <20050604233414.GV5867@solemn.turbinal.org>

all being :
From: Alexey Tourbin <at@altlinux.ru>
Date: Sun, 5 Jun 2005

[ 24745]
Mark a static function as static
p4raw-link: @24745 on //depot/perl: c053b435c0eae6a81e9a54598b068d7be84d74cc
p4raw-link: @24734 on //depot/perl: f681a178ed5ab9eaae71b97c6eea3744c0304d67
p4raw-link: @24729 on //depot/perl: e07360faf0e39eb99a2f8007e291aab60c228731

p4raw-id: //depot/maint-5.8/perl@25521
p4raw-integrated: from //depot/perl@25520 'copy in'
ext/File/Glob/Glob.xs (@22823..) ext/Devel/Peek/Peek.xs
(@24702..)
p4raw-integrated: from //depot/perl@24745 'merge in' utf8.c (@24730..)
p4raw-integrated: from //depot/perl@24734 'copy in' ext/B/C/C.xs
(@15154..)
p4raw-edited: from //depot/perl@24729 'edit in' util.c (@24725..)

18 years agoIntegrate:
Nicholas Clark [Tue, 20 Sep 2005 16:23:35 +0000 (16:23 +0000)]
Integrate:
[ 24733]
Simplify the implementation of SvPV*nolen functions

[ 24736]
Change 24733 allows several pointers to be NULL. Therefore this
should be reflected in their attributes.

[ 24738]
Add MgPV_const

[ 24739]
Add SvPV_nolen_const and SvPV_nomg_const

[ 24741]
The definition of SvPVx_nolen_const is missing for non GNU-C compilers

[ 24747]
Add SvPVx_nolen and SvPVbytex_nolen

[ 24767]
Add SvPV_mutable for use by the old COW code.
p4raw-link: @24767 on //depot/perl: 44d223002dcef65c7a5da4557c2a3682159e12ab
p4raw-link: @24747 on //depot/perl: 002e4c743b8ad1aef49c84ea61819956800a7f1e
p4raw-link: @24741 on //depot/perl: 5f1478c393a03bf1defcb0d2dec70e6a17a8c864
p4raw-link: @24739 on //depot/perl: 9ce348e89750366600d8292ab1f0f55948ddb66e
p4raw-link: @24738 on //depot/perl: fa28a6c6f7e8f9e40914ce7c0e4bd1cf2100f380
p4raw-link: @24736 on //depot/perl: f49ed1dab8c52e58c3b45270b50ae23e7886790c
p4raw-link: @24733 on //depot/perl: dafda6d147bb18b3050b636ac1d31818028dd936

p4raw-id: //depot/maint-5.8/perl@25520
p4raw-integrated: from //depot/perl@24747 'edit in' sv.h (@24741..)
p4raw-integrated: from //depot/perl@24738 'copy in' mg.h (@24074..)
p4raw-integrated: from //depot/perl@24736 'edit in' embed.fnc
(@24735..) 'ignore' proto.h (@24735..)
p4raw-integrated: from //depot/perl@24733 'merge in' sv.c (@24732..)

18 years agoIntegrate:
Steve Peters [Thu, 26 May 2005 14:58:50 +0000 (09:58 -0500)]
Integrate:
[ 24592]
Subject: [PATCH] Documentation nits and fixes for Sv*_set() macros
Message-ID: <20050526195850.GA1308@mccoy.peters.homeunix.org>

[ 24728]
Fix apidoc for newSVhek

[ 24776]
Update API docs.
p4raw-link: @24776 on //depot/perl: 184499a4602df8db11cc21d3722c3594137afffe
p4raw-link: @24728 on //depot/perl: 926f8064e84e4f3db7d3ef5d47b21d7f46d7c137
p4raw-link: @24592 on //depot/perl: 20799e15002c0f6181bd67bc4dc9cb5aad636ec7

p4raw-id: //depot/maint-5.8/perl@25519
p4raw-integrated: from //depot/perl@24728 'edit in' pod/perlapi.pod
(@24682..) 'merge in' sv.c (@24722..)
p4raw-integrated: from //depot/perl@24592 'merge in' sv.h (@24590..)

18 years agoIntegrate:
Nicholas Clark [Tue, 20 Sep 2005 15:43:57 +0000 (15:43 +0000)]
Integrate:
[ 24722]
Make a start at consting calls to SvPV. SV conversion and upgrade
routines need to be mutable, as it's permitted to change the type of
a READONLY SV, or cache the string or number conversion.
Other routines are mostly const.

[ 24727]
make pp_split const
p4raw-link: @24727 on //depot/perl: 727b75065266fe9d20c37c822e74919eb0b182dc
p4raw-link: @24722 on //depot/perl: 4d84ee25b393acce6e6f93a7fb5c292094181135

p4raw-id: //depot/maint-5.8/perl@25518
p4raw-integrated: from //depot/perl@24727 'merge in' pp.c (@24726..)
p4raw-integrated: from //depot/perl@24722 'edit in' sv.c (@24717..)

18 years agoIntegrate:
Nicholas Clark [Tue, 20 Sep 2005 13:38:10 +0000 (13:38 +0000)]
Integrate:
[ 24721]
Need const versions of SvPV(), so that its callers can indicate
whether they are read/write or read only
Also provide a mutable version, for the internals to use where it
needs a non-const pointer, but will be writing. Callers of this are
assumed to be aware of how copy on write is working, and to keep
track of core changes.

For now check that SVs are not READONLY when const versions are used.
(with DEBUG_COW > 1). COW is going to have to be orthogonal to Perl's
READONLY flag, but for now it provides a good test indicator.

[ 24723]
POPpx needs a const equivalent.

[ 24724]
XS_VERSION_BOOTCHECK is read only.

[ 24725]
The FBM compile code is mutable, because it's permissible to FBM
compile a read-only value.

[ 24726]
Lots of consting
p4raw-link: @24726 on //depot/perl: 5c144d81801caa5e8317f6a38b40eb08257c47ea
p4raw-link: @24725 on //depot/perl: 9cbe880bef86d6a2a18d2671579498840ffb8162
p4raw-link: @24724 on //depot/perl: 4235c0408fde95a5af94021364452d3d00c1e881
p4raw-link: @24723 on //depot/perl: 39782eaabbd2e35b3f34463796651b4d05002ac2
p4raw-link: @24721 on //depot/perl: 32a5c6ec9b6aa5a47138e7f9483825d52ab4b848

p4raw-id: //depot/maint-5.8/perl@25517
p4raw-integrated: from //depot/perl@24726 'edit in' pp_pack.c
(@24670..) gv.c op.c (@24717..) pp.c (@24720..) 'merge in' hv.c
(@24716..) doio.c doop.c pp_ctl.c pp_hot.c pp_sys.c (@24717..)
p4raw-integrated: from //depot/perl@24725 'merge in' util.c (@24717..)
p4raw-integrated: from //depot/perl@24724 'merge in' XSUB.h (@24508..)
p4raw-integrated: from //depot/perl@24723 'merge in' pp.h (@24489..)
p4raw-integrated: from //depot/perl@24721 'edit in' sv.h (@24717..)

18 years agoIntegrate:
Nicholas Clark [Tue, 20 Sep 2005 12:24:41 +0000 (12:24 +0000)]
Integrate:
[ 24715]
SvIsCOW_shared_hash is declared all the time, so use it.

[ 24716]
Abstract all access to the shared hash value through SvSHARED_HASH()

[ 24804]
This isn't an LVALUE, so make the compiler enforce that.
p4raw-link: @24804 on //depot/perl: 0a356b31f4fb75a04bcfe2c09a78a66691335d64
p4raw-link: @24716 on //depot/perl: c158a4fd68e274329d9ffd7198cb9eb1b21b0dfe
p4raw-link: @24715 on //depot/perl: ae29f7f0afee45e66c70e78182c1d7337e125b1f

p4raw-id: //depot/maint-5.8/perl@25516
p4raw-integrated: from //depot/perl@24716 'edit in' sv.h (@24660..)
sv.c (@24714..) 'merge in' hv.c (@24696..)
p4raw-integrated: from //depot/perl@24715 'edit in' pp_hot.c (@24689..)

18 years agoIntegrate:
Salvador Fandiño [Sun, 5 Jun 2005 04:25:00 +0000 (04:25 +0000)]
Integrate:
[ 24708]
Subject: PATCH for [perl #36043] '@foo = sort { $a <=> $b } @bar' uses too much memory
Date: Jun 5, 2005 4:25 AM
Message-ID: <20050605022436.21982.qmail@lists.develooper.com>

[ 24853]
Subject: sort optimization
From: Salvador Fandiño <sfandino@yahoo.com>
Date: Mon, 06 Jun 2005 12:05:05 +0100
Message-ID: <20050606110425.22941.qmail@lists.develooper.com>
p4raw-link: @24853 on //depot/perl: 4d56230864c7d2d21814f925d64f6987011e1924
p4raw-link: @24708 on //depot/perl: 83a44efe0f25f926e57d27d2045131cfcd0373de

p4raw-id: //depot/maint-5.8/perl@25514
p4raw-integrated: from //depot/perl@24853 'edit in' pp_sort.c
(@24799..)

18 years agoIntegrate:
Andy Lester [Fri, 3 Jun 2005 19:14:00 +0000 (19:14 +0000)]
Integrate:
[ 24701]
Subject: [PATCH] Clean up UNI* macros in toke.c
Message-ID: <20050603171448.GA5834@petdance.com>

[ 24702]
Subject: [PATCH] Consting IO and Devel::Peek
From: Andy Lester <andy@petdance.com>
Reply-To: Perl 5 Porters <perl5-porters@perl.org>
Message-ID: <20050531212621.GA12117@petdance.com>

[ 24705]
Silence a const warning

[ 24712]
We still need an "i" in the PERL_IMPLICIT_SYS case

(Fix compilation error following change #24689)

[ 24713]
NORETURN_FUNCTION_END is not a complete statement

(Fix compilation error following change #24702)
p4raw-link: @24713 on //depot/perl: c38693a57e5a1ebfaec300971021fd2f1024e49d
p4raw-link: @24712 on //depot/perl: 8fc9efbd2c0b3e888ff67d0d775a79263e3a2873
p4raw-link: @24705 on //depot/perl: a433f3d2dda4db41b26d144e96f50f2022801470
p4raw-link: @24702 on //depot/perl: 7698c435fea241ff5aec7932afdb5f821dde55f3
p4raw-link: @24701 on //depot/perl: 376fcdbf7ba4f44a01f5bbd5cf952c75e9f597ff
p4raw-link: @24689 on //depot/perl: b464bac0b70c4876af1296864220315edde8461d

p4raw-id: //depot/maint-5.8/perl@25510
p4raw-integrated: from //depot/perl@24705 'edit in' sv.c (@24698..)
p4raw-integrated: from //depot/perl@24702 'copy in'
ext/Devel/Peek/Peek.xs (@24248..) 'ignore' ext/IO/IO.xs
(@23416..)
p4raw-edited: from //depot/perl@24701 'edit in' toke.c (@24697..)

18 years agoIntegrate:
Nicholas Clark [Tue, 20 Sep 2005 08:35:19 +0000 (08:35 +0000)]
Integrate:
[ 24692]
Create newSVpv_hek to reduce code duplication where HEKs need to be
turned into SVs

[ 24696]
s/newSVpv_hek/newSVhek/g; # Lousy choice of name

(just the tweak to newSVhek for passing in NULL from)
[ 24697]
Use newSVhek where we're generating SVs from package names
p4raw-link: @24697 on //depot/perl: 5aaec2b4ba9ed3b1a9d1569e09bc40d19ec30f8c
p4raw-link: @24696 on //depot/perl: c1b02ed82fa9b8892ce2668d35b6825f1fd3fb59
p4raw-link: @24692 on //depot/perl: bd08039be6ae803dd509ca33cf404bdcdd4bae99

p4raw-id: //depot/maint-5.8/perl@25509
p4raw-integrated: from //depot/perl@24697 'ignore' pp.c (@24619..) op.c
(@24654..) toke.c (@24689..)
p4raw-edited: from //depot/perl@24696 'edit in' embed.fnc (@24692..)
p4raw-integrated: from //depot/perl@24696 'edit in' sv.c (@24692..)
'merge in' proto.h (@24689..)
p4raw-integrated: from //depot/perl@24692 'edit in' embed.h hv.c
(@24689..) 'merge in' global.sym (@24689..)

18 years agoIntegrate:
Andy Lester [Thu, 2 Jun 2005 12:19:43 +0000 (07:19 -0500)]
Integrate:
[ 24689]
Subject: [PATCH] Random consting
Message-ID: <20050602171943.GA16553@petdance.com>
p4raw-link: @24689 on //depot/perl: b464bac0b70c4876af1296864220315edde8461d

p4raw-id: //depot/maint-5.8/perl@25508
p4raw-edited: from //depot/perl@24689 'edit in' embed.fnc sv.c
(@24682..)
p4raw-integrated: from //depot/perl@24689 'copy in' malloc.c (@24666..)
'edit in' pp_ctl.c (@24642..) pp_hot.c (@24670..) hv.c
(@24676..) 'ignore' global.sym (@24619..) proto.h (@24682..)
'merge in' embed.h (@24605..) dump.c (@24619..) perlio.c
(@24622..) doio.c (@24666..) gv.c util.c (@24669..) pp_sys.c
(@24670..) perl.c (@24674..) toke.c (@24677..)

18 years agoClean up breakages accidentally introduced by 25428 (declaration out
Nicholas Clark [Mon, 19 Sep 2005 22:41:35 +0000 (22:41 +0000)]
Clean up breakages accidentally introduced by 25428 (declaration out
of order) and 25503 (is_utf8_string_loclen missing from embed.fnc)

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

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 22:20:52 +0000 (22:20 +0000)]
Integrate:
[ 24303]
Convert to test.pl

[ 24927]
Drag t/op/gv.t kicking and screaming into the century of the fruitbat
(or at least into the decade of t/test.pl)

[ 24964]
Take a larger margin to prevent 'X' failures in smokes
I was able to get warnings on HP-UX 10.20 every 2nd to 3rd run
when reps was still 10000. With 15000 I didn't get a single warning

[ 25017]
Subject: Re: [PATCH] Convert File::Basename tests to Test::More
From: Michael G Schwern <schwern@pobox.com>
Date: Thu, 30 Jun 2005 01:02:30 -0700
Message-ID: <20050630080230.GC17965@windhund.schwern.org>

[ 25020]
Subject: [PATCH] make t/uni/class.t faster
From: Tels <nospam-abuse@bloodgate.com>
Date: Wed, 29 Jun 2005 21:19:52 +0200
Message-Id: <200506292120.05519@bloodgate.com>

[ 25071]
Subject: [PATCH] Skip nit in t/op/lfs.t
From: Steve Peters <steve@fisharerojo.org>
Date: Mon, 4 Jul 2005 10:10:13 -0500
Message-ID: <20050704151013.GA18468@mccoy.peters.homeunix.org>

[ 25121]
Subject: [PATCH] Cleanup File::Copy tests
From: Michael G Schwern <schwern@pobox.com>
Date: Mon, 11 Jul 2005 18:45:42 -0700
Message-ID: <20050712014542.GB20855@windhund.schwern.org>

(and fix the SKIP: {} blocks to say $how_many)

[ 25139]
Subject: Re: Smoke [5.9.3] 25093 FAIL(F) openbsd 3.7 (macppc/1 cpu)
From: Steve Peters <steve@fisharerojo.org>
Date: Fri, 8 Jul 2005 16:42:56 -0500
Message-ID: <20050708214256.GA14164@mccoy.peters.homeunix.org>

[ 25140]
Subject: [perl #9565] [PATCH] /op/groups.t bug
From: "Steve Peters via RT" <perlbug-followup@perl.org>
Date: Wed, 13 Jul 2005 06:51:45 -0700
Message-ID: <rt-3.0.11-9565-117185.14.6331240065229@perl.org>

[ 25144]
Subject: Typo in t/op/stat.t
From: Gisle Aas <gisle@ActiveState.com>
Date: 14 Jul 2005 23:20:18 -0700
Message-ID: <lr64vcfv4t.fsf@caliper.activestate.com>

[ 25162]
delete a non-fucntioning chown in stat.t: it didn't have gid arg.
Spotted by Gisle Aas.
p4raw-link: @25162 on //depot/perl: d5e68eef5cc61d183410782ca9709c08c35f07d3
p4raw-link: @25144 on //depot/perl: 8ca3c3a5e31a51d2d8fdb1b8a1facf78c85dcf2d
p4raw-link: @25140 on //depot/perl: da4b9520f5674bda37e255992f40bda369d504df
p4raw-link: @25139 on //depot/perl: 0685228bc0e6f0ccd11501cab8ce8356eb5fd6bd
p4raw-link: @25121 on //depot/perl: 83519ebf741b18d4584f441b54b093db74aea412
p4raw-link: @25071 on //depot/perl: 972720f939262dd00d29e8eab766b01d3fda56b8
p4raw-link: @25020 on //depot/perl: cd1c2c6905a80e547b6f46f140e4e8bf42c8dc0d
p4raw-link: @25017 on //depot/perl: e7204fba500967d2552f87b7859dd611261aa85a
p4raw-link: @24964 on //depot/perl: 5b35fc8b5884b43fcc53d952f9dc9ad629b742f1
p4raw-link: @24927 on //depot/perl: 98e007d4a6d559b31b912b1f396492a8d7c59025
p4raw-link: @24303 on //depot/perl: e198f03960fbf8b32df990ba7dc401b8dd6f294a

p4raw-id: //depot/maint-5.8/perl@25505
p4raw-integrated: from //depot/perl@25504 'copy in' t/op/rand.t
(@12198..) t/op/lfs.t (@18221..) t/io/dup.t (@21228..)
t/io/open.t (@23342..) t/op/groups.t (@23849..) t/uni/class.t
(@24612..) 'edit in' t/op/substr.t (@24270..)
p4raw-integrated: from //depot/perl@25144 'ignore' t/op/stat.t
(@23986..)
p4raw-integrated: from //depot/perl@25121 'copy in' lib/File/Copy.t
(@21841..)
p4raw-integrated: from //depot/perl@25017 'copy in' lib/File/Basename.t
(@13472..)
p4raw-integrated: from //depot/perl@24927 'edit in' t/op/gv.t
(@22608..)

18 years agoIntegrate:
Jarkko Hietaniemi [Sat, 28 May 2005 11:47:47 +0000 (14:47 +0300)]
Integrate:
[ 24608]
is() is better than ok()

[ 24612]
Subject: [PATCH] Re: t/uni/class.t has a lot to warn about
Message-Id: <42983033.5050509@gmail.com>

(the t/op/magic.t change in)
[ 24660]
Store the xhv_aux structure after the main array.
This reduces the size of HV bodies from 24 to 20 bytes on a 32 bit
build. It has the side effect of defined %symbol_table:: now always
being true. defined %hash is already deprecated.

[ 24764]
Cygwin fails to open $^X on many occasion here
afile is still available from the previous test

[ 24773]
Make minitest pass (must skip if no dynaloading)

[ 24777]
Don't ignore errors from an eval.

[ 24856]
Introduce PERL_RUNPERL_DEBUG to alter the behavior of runperl(),
this can be useful to use valgrind for example

[ 24858]
We were failing to pring "not ok" if the text exited uncleanly

[ 24867]
Give op/taint.t a helping hand for Borland compiler on Win32

[ 24870]
Teach lib/warnings.t about Borland CRT error messages

<enter description here>
p4raw-link: @24870 on //depot/perl: 0dea61d9463d40d400a2f349f672ec0d9dcba752
p4raw-link: @24867 on //depot/perl: f68313a1841936a12d884ab4c096219ae771c600
p4raw-link: @24858 on //depot/perl: c7c9533e94e6cc0e9fbc554bcf8be84cf418b992
p4raw-link: @24856 on //depot/perl: 6cf707aacec423cdf4a418d74906b7902c501262
p4raw-link: @24777 on //depot/perl: 9b72c5e4bad2968d5855406da5849c115d1a7562
p4raw-link: @24773 on //depot/perl: 4210e2f66b35a304bfe2b0c1c7eb1f8d48a82407
p4raw-link: @24764 on //depot/perl: 8958c744cbd584fc51d78f4c03dce6168b188331
p4raw-link: @24660 on //depot/perl: b79f7545f218479c6361e25f42849d88b9cef87e
p4raw-link: @24612 on //depot/perl: 85827533e60ade365bb1a181edd9766766750b4a
p4raw-link: @24608 on //depot/perl: 59e20782fa64e3099e5ed0b949ffe8b1d6c1b162

p4raw-id: //depot/maint-5.8/perl@25504
p4raw-integrated: from //depot/perl@25503 'copy in' t/op/each.t
(@14649..) t/io/layers.t (@24410..) 'merge in' t/op/goto_xs.t
(@24535..) ext/B/t/bytecode.t (@24755..)
p4raw-integrated: from //depot/perl@24870 'copy in' lib/warnings.t
(@23783..)
p4raw-integrated: from //depot/perl@24867 'copy in' t/op/taint.t
(@23641..)
p4raw-integrated: from //depot/perl@24856 'copy in' t/test.pl
(@23883..)
p4raw-integrated: from //depot/perl@24777 'merge in' t/op/pack.t
(@24251..)
p4raw-integrated: from //depot/perl@24660 'copy in' t/op/magic.t
(@23584..)
p4raw-integrated: from //depot/perl@24612 'copy in' t/uni/class.t
(@24301..)

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 21:14:58 +0000 (21:14 +0000)]
Integrate:
[ 24687]
Subject: [PATCH] speed up is_utf8_char()
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Thu, 02 Jun 2005 21:52:46 +0300
Message-ID: <429F557E.3090007@gmail.com>

[ 24706]
Subject: [PATCH] further speeding up of is_utf8_string()
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Sat, 04 Jun 2005 13:40:15 +0300
Message-ID: <42A1850F.4040109@gmail.com>

[ 24707]
Subject: [PATCH] Fix minor bummer in 24706
From: Andy Lester <andy@petdance.com>
Date: Sat, 4 Jun 2005 23:09:04 -0500
Message-Id: <20050605040904.GA27783@petdance.com>

[ 24730]
Subject: [PATCH] one more round of is_utf8_foo tuneup
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Sun, 05 Jun 2005 18:06:12 +0300
Message-ID: <42A314E4.8060608@gmail.com>
p4raw-link: @24730 on //depot/perl: 768c67ee6ae82fc2dd99a9dd06708f0a0cc097cb
p4raw-link: @24707 on //depot/perl: 2c0c5f92cc8c83f85f490c4724df41382ded08d0
p4raw-link: @24706 on //depot/perl: 646ca15d5cf720a2af3a258d7092a967f3a80550
p4raw-link: @24687 on //depot/perl: 3b0fc154d4e77cfb1d426144cb362eb2fa6018f1

p4raw-id: //depot/maint-5.8/perl@25503
p4raw-edited: from //depot/perl@24730 'edit in' utf8.c (@24707..)
p4raw-integrated: from //depot/perl@24730 'edit in' embed.fnc embed.h
(@24706..) 'merge in' mg.c (@24580..) global.sym (@24706..)
pod/perlapi.pod (@24728..)
p4raw-branched: from //depot/perl@24706 'branch in' t/op/chr.t
p4raw-integrated: from //depot/perl@24706 'edit in' proto.h (@24696..)
'merge in' MANIFEST (@24680..)
p4raw-integrated: from //depot/perl@24687 'edit in' utf8.h (@24271..)

18 years agoIntegrate:
Steve Peters [Tue, 31 May 2005 09:55:43 +0000 (04:55 -0500)]
Integrate:
[ 24670]
Subject: [PATCH] SvPVX_const() - part 3 ... and const'ing Storable
Date: Tue, 31 May 2005 09:55:43 -0500
Message-Id: <20050531145543.GA8051@mccoy.peters.homeunix.org>

[ 24682]
Subject: [PATCH] SvPVX_const() - patch #4
From: Steve Peters <steve@fisharerojo.org>
Date: Thu, 2 Jun 2005 13:41:35 -0500
Message-ID: <20050602184135.GA13682@mccoy.peters.homeunix.org>
p4raw-link: @24682 on //depot/perl: 3f7c398ef4badd9c6ec5b40ea29141484c160f63
p4raw-link: @24670 on //depot/perl: aa07b2f68da542daf881aa4d73a68f7bc8c114b1

p4raw-id: //depot/maint-5.8/perl@25501
p4raw-integrated: from //depot/perl@25500 'merge in'
ext/PerlIO/via/via.xs (@24526..)
p4raw-integrated: from //depot/perl@24682 'edit in' sv.c (@24676..)
'ignore' embed.fnc proto.h (@24625..) 'merge in'
pod/perlapi.pod (@24592..) regcomp.c regexec.c (@24666..)
p4raw-integrated: from //depot/perl@24670 'copy in'
ext/PerlIO/encoding/encoding.xs (@24248..)
ext/Devel/DProf/DProf.xs (@24526..) 'edit in' pp_hot.c
(@24594..) 'merge in' ext/POSIX/POSIX.xs (@24521..)
ext/Data/Dumper/Dumper.xs (@24526..) ext/B/B.xs
ext/Opcode/Opcode.xs (@24622..) scope.c (@24625..) pp_sys.c
(@24666..)

18 years agoIntegrate:
Andy Lester [Thu, 2 Jun 2005 00:02:38 +0000 (19:02 -0500)]
Integrate:
[ 24666]
Subject: [PATCH] Quotes fixed, see also perl #36079
Message-ID: <20050602050238.GA4001@petdance.com>

[ 24671]
Fix changed diagnostic
p4raw-link: @24671 on //depot/perl: f46d83d82e98cd6618202ff7fa6331027812cfc7
p4raw-link: @24666 on //depot/perl: a0288114f9bfa2566e353eba77114ea63b616631

p4raw-id: //depot/maint-5.8/perl@25500
p4raw-integrated: from //depot/perl@25498 'merge in' thrdvar.h
(@24106..) scope.h (@24361..)
p4raw-edited: from //depot/perl@24666 'edit in' regexec.c (@24625..)
p4raw-integrated: from //depot/perl@24666 'copy in' malloc.c (@24580..)
'edit in' pod/perldiag.pod (@24532..) 'merge in' pp_sort.c
(@24445..) perl.c (@24574..) gv.c toke.c (@24584..) doio.c
(@24613..) av.c (@24619..) pp_sys.c regcomp.c (@24625..) util.c
(@24657..) perl.h (@24665..)

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 19:14:14 +0000 (19:14 +0000)]
Integrate:
[ 24654]
Subject: [PATCH] Re: [patch] teach B::Concise to see XS code
From: Stephen McCamant <smcc@mit.edu>
Date: Sat, 21 May 2005 21:52:31 -0700
Message-ID: <17040.4111.265639.434150@apocalypse.OCF.Berkeley.EDU>

Correctly nullify CvSTART when undef'ing a CV

[ 24770]
Subject: [PATCH] instead of unions use double cast for data pointer <-> function pointer
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Thu, 09 Jun 2005 08:50:56 +0300
Message-ID: <42A7D8C0.1080104@gmail.com>

[ 24794]
Don't pass constants to select

[ 24795]
Passing read only values (such as string constants) to select should
croak.
p4raw-link: @24795 on //depot/perl: 729c079f503f2192381f3dac342bae6ced6ca379
p4raw-link: @24794 on //depot/perl: ff97eb1bb7f5e6592d7d43ba06691bdde9554da8
p4raw-link: @24770 on //depot/perl: 8141890a98cb18fe79a9b720aaed544527266f99
p4raw-link: @24654 on //depot/perl: 8f476eeebdd5d13ca310ece2133d68d90cd3e69c

p4raw-id: //depot/maint-5.8/perl@25498
p4raw-branched: from //depot/perl@25496 'branch in' t/op/sselect.t
p4raw-integrated: from //depot/perl@25496 'copy in'
ext/DynaLoader/dl_dlopen.xs (@24627..)
p4raw-integrated: from //depot/perl@24795 'merge in' pp_sys.c
(@24769..) MANIFEST (@24786..)
p4raw-integrated: from //depot/perl@24794 'copy in' t/op/lex_assign.t
(@9932..)
p4raw-integrated: from //depot/perl@24770 'edit in' toke.c (@24760..)
'merge in' perl.h (@24666..) sv.c (@24768..)
p4raw-integrated: from //depot/perl@24654 'merge in' op.c (@24625..)

18 years agoIntegrate:
Andy Lester [Mon, 30 May 2005 22:28:36 +0000 (17:28 -0500)]
Integrate:
[ 24645]
Subject: [PATCH] ByteLoader.xs cleanup
Message-ID: <20050531032836.GA32198@petdance.com>

[ 24661]
As PERL_HV_ARRAY_ALLOC_BYTES is bytes, not items, the type should be
char rather than HE *. Bug was harmless, overallocating by a factor
of sizeof(HE *)

[ 24662]
Zero-ing the new HV array is pointless, as we write to every element.
Also avoid calling into he_dup when the HE is 0, to save the function
call overhead.
p4raw-link: @24662 on //depot/perl: a1cfa1c67270cd04b1ea57513e32792eca6c3d2b
p4raw-link: @24661 on //depot/perl: d58e666644fd0ebaa0d73f9757e1090cc220dbb8
p4raw-link: @24645 on //depot/perl: 4b31f1384a4da7df10c2175e609a8c1c5216ef1d

p4raw-id: //depot/maint-5.8/perl@25496
p4raw-integrated: from //depot/perl@25495 'copy in'
ext/ByteLoader/ByteLoader.xs (@20220..)
p4raw-integrated: from //depot/perl@24662 'edit in' sv.c (@24660..)
p4raw-integrated: from //depot/perl@24661 'edit in' hv.c (@24660..)

18 years agoIntegrate:
Andy Lester [Sun, 29 May 2005 00:19:06 +0000 (19:19 -0500)]
Integrate:
[ 24622]
Subject: [PATCH] Minor warning squashings
Date: Sun, 29 May 2005 00:19:06 -0500
Message-Id: <740ea3aca85400c6d03e945323badad4@petdance.com>

Subject: [PATCH] Consting in Opcode.xs
From: Andy Lester <andy@petdance.com>
Date: Sun, 29 May 2005 11:23:50 -0500
Message-ID: <20050529162350.GA13965@petdance.com>

Subject: [PATCH] consting attrs.xs
From: Andy Lester <andy@petdance.com>
Date: Sun, 29 May 2005 14:15:46 -0500
Message-ID: <20050529191546.GA15581@petdance.com>

Subject: [PATCH] consting B.xs
From: Andy Lester <andy@petdance.com>
Date: Sun, 29 May 2005 15:09:24 -0500
Message-ID: <20050529200924.GA15873@petdance.com>

[ 24625]
Subject: [PATCH] More embed.fnc strictures, plus consting and localizing
From: Andy Lester <andy@petdance.com>
Date: Tue, 24 May 2005 11:47:22 -0500
Message-ID: <20050524164722.GC12027@petdance.com>

Subject: [PATCH] Remove unused casts
From: Andy Lester <andy@petdance.com>
Date: Tue, 24 May 2005 11:42:18 -0500
Message-ID: <20050524164218.GB12027@petdance.com>
p4raw-link: @24625 on //depot/perl: 1df70142a966e14eb7ff3560d69bddb190dbe2ba
p4raw-link: @24622 on //depot/perl: 5d7488b2fd9fa6515201f39bec25777d9fccd7db

p4raw-id: //depot/maint-5.8/perl@25495
p4raw-integrated: from //depot/perl@25494 'copy in' ext/attrs/attrs.xs
(@15378..)
p4raw-integrated: from //depot/perl@24625 'edit in' regexec.c
(@24489..) sv.c (@24619..) embed.fnc regcomp.c (@24622..)
'merge in' scope.c (@24508..) op.c (@24584..)
p4raw-integrated: from //depot/perl@24622 'edit in' pp_sys.c (@24561..)
'merge in' ext/Opcode/Opcode.xs (@24526..) ext/B/B.xs
(@24538..) perlio.c utf8.c (@24561..) proto.h (@24619..)

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 16:25:46 +0000 (16:25 +0000)]
Integrate:
[ 24573]
Replace all uses of HvNAME with the appropriate HvNAME_get or
HvNAME_set

[ 24621]
Need a cast to avoid a compiler warning.

[ 24633]
Various HvPLACEHOLDERS() that should be HvPLACEHOLDERS_get()

[ 25493]
All Perl_hv_name_set()s need to be plain hv_name_set if they are to
work with a macro version.
p4raw-link: @25493 on //depot/perl: ffd4ff43bd2a65a31e5f3808320b98b9851ba91e
p4raw-link: @24633 on //depot/perl: 5d88ecd7e75b7174afbb54231319de5d3e4809e6
p4raw-link: @24621 on //depot/perl: 0b4b7f425bbb7f4f6f4a885d16efb0978cf3643f
p4raw-link: @24573 on //depot/perl: 4ba4de046b58ba69d5377ba3b48b04bbfd30638f

p4raw-id: //depot/maint-5.8/perl@25494
p4raw-integrated: from //depot/perl@24633 'edit in' hv.c (@24626..)
p4raw-integrated: from //depot/perl@24573 'edit in'
ext/ByteLoader/bytecode.h (@24531..) 'merge in' cop.h
(@24518..) bytecode.pl ext/ByteLoader/byterun.c (@24531..)

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 15:48:10 +0000 (15:48 +0000)]
Integrate:
[ 24576]
Reordering config_h.SH after metaconfig now semi automated
This will save me *a lot* of manual work

[ 24578]
Added Porting/config_h.pl

[ 24581]
More possible re-order dependencies solved
p4raw-link: @24581 on //depot/perl: 9b70c55fe958b1da7c3c2de3a97fa739b1687085
p4raw-link: @24578 on //depot/perl: c29db1bb13cb7cfcb9f69fbc31462fd6ddea9c91
p4raw-link: @24576 on //depot/perl: 253687a919e6d27d683ed5f25d04adf06f590fe5

p4raw-id: //depot/maint-5.8/perl@25492
p4raw-branched: from //depot/perl@25491 'branch in' Porting/config_h.pl
(@24576..)
p4raw-integrated: from //depot/perl@24581 'copy in' config_h.SH
(@24576..)
p4raw-integrated: from //depot/perl@24578 'merge in' MANIFEST
(@24537..)
p4raw-integrated: from //depot/perl@24576 'edit in' Configure
(@24508..)

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 15:32:54 +0000 (15:32 +0000)]
Integrate:
[ 24570]
Initialising the hash seed needs to be early in case anything
calcualtes HASHes during dup()ing.

[ 24582]
It helps to set the total keys correctly when duplicating a hash.
It helps even more to have a test for this.

[ 24583]
We know how big the global string table will be, so use that
information.
p4raw-link: @24583 on //depot/perl: c4a9c09d5b30a93b6241aff3c9915e33e4e41eeb
p4raw-link: @24582 on //depot/perl: 94a66813331bb98469ac6bbd2df0367b54b25a8e
p4raw-link: @24570 on //depot/perl: 8df990a80edc96eccc56917e48f11674102e8285

p4raw-id: //depot/maint-5.8/perl@25491
p4raw-integrated: from //depot/perl@24582 'copy in'
ext/threads/t/problems.t (@22187..) 'edit in' sv.c (@24574..)

18 years agoIntegrate:
Andy Dougherty [Mon, 23 May 2005 11:48:08 +0000 (07:48 -0400)]
Integrate:
[ 24532]
disallow eval { goto &foo }
eval 'goto &foo' is already banned, and the try-version usually
coredumps due to the code assuming the CxEVAL is actually a CxSUB.
Anyway exiting an eval but preserving "it's" @_ doesn't make much
sense.

[ 24534]
stop goto &foo wasting stack space
it used to push @_ onto the end of the stack; now it pops the stack
back to the old watermark first.

[ 24543]
Fix [perl #35929] : PerlIO::scalar didn't understand $/ = ""
because PerlIOScalar_unread was broken.
Bump version number of PerlIO::scalar to 0.04.

[ 24549]
PL_regex_padav elements hold either more AVs, or IVs that point to
regexps. Don't attempt to look at the IVX if it's not an IV.

[ 24554]
Subject: Re: [perl #35938] [PATCH] SDBM_File fails to build on some platforms due to use of 'extern int errno' (was: Re: patches for lang/perl5.8 dfport override)
Message-ID: <Pine.SOC.4.62.0505231143480.4714@maxwell.phys.lafayette.edu>

[ 24560]
The tokenizer should expect an operator after qw().
This fixes [perl #35885] qw and x operators doesn't mix
p4raw-link: @24560 on //depot/perl: 3480a8d2d46562b783befbcecf951d5a2b4067d7
p4raw-link: @24554 on //depot/perl: 81770b0cc0ed763d048a9cb4877bc8e70bb815fa
p4raw-link: @24549 on //depot/perl: a560f29b68cee2c6b71ff8f85b84ebab612b34b0
p4raw-link: @24543 on //depot/perl: 5735c168c62d0fa5cf526f0c7e7c97b069acef8f
p4raw-link: @24534 on //depot/perl: 2d43a17f6a49532750d0e6ce2814b523e2f19999
p4raw-link: @24532 on //depot/perl: c74ace89800a81a764294e9f6eacc04bbed5a568

p4raw-id: //depot/maint-5.8/perl@25490
p4raw-integrated: from //depot/perl@25489 'copy in' t/op/repeat.t
(@22922..) ext/PerlIO/t/scalar.t (@23340..)
ext/PerlIO/scalar/scalar.pm (@24248..) 'merge in'
ext/PerlIO/scalar/scalar.xs ext/SDBM_File/sdbm/sdbm.c
(@24271..)
p4raw-integrated: from //depot/perl@24560 'merge in' toke.c (@24526..)
p4raw-integrated: from //depot/perl@24549 'merge in' perl.c (@24526..)
p4raw-integrated: from //depot/perl@24534 'edit in' pp_ctl.c (@24532..)
p4raw-integrated: from //depot/perl@24532 'copy in' t/op/goto.t
(@24386..) 'merge in' pod/perldiag.pod (@24215..)

18 years agoIntegrate:
Andy Lester [Sat, 21 May 2005 09:06:40 +0000 (04:06 -0500)]
Integrate:
[ 24561]
Subject: [PATCH] embed.fnc cleanup + SvPVX_const usage
Message-ID: <20050521140640.GB875@petdance.com>
p4raw-link: @24561 on //depot/perl: 504618e92cbf415cc727244b0e64aab9ddfb1c10

p4raw-id: //depot/maint-5.8/perl@25489
p4raw-integrated: from //depot/perl@24561 'edit in' embed.fnc
(@24531..) pp_ctl.c (@24535..) 'ignore' pp_hot.c (@24526..)
proto.h (@24531..) 'merge in' regcomp.c utf8.c (@24489..) pad.c
perlio.c (@24523..) global.sym op.c pp_sys.c (@24526..) embed.h
(@24531..) sv.c (@24549..) toke.c (@24560..)

18 years agoIntegrate:
Andy Lester [Mon, 16 May 2005 10:13:53 +0000 (05:13 -0500)]
Integrate:
[ 24489]
Subject: [PATCH] consting-eleventy.patch: More consts, plus actual bug fix
Message-ID: <20050516151353.GA25387@petdance.com>
p4raw-link: @24489 on //depot/perl: a3b680e6b77dd7f88268fad8b1dbdf4f641dd836

p4raw-id: //depot/maint-5.8/perl@25487
p4raw-integrated: from //depot/perl@24489 'edit in' sv.h (@24422..)
pod/perlapi.pod (@24431..) pp_hot.c regcomp.c regexec.c
universal.c util.c (@24445..) embed.fnc hv.c (@24460..) sv.c
(@24480..) 'ignore' proto.h (@24460..) 'merge in'
t/run/fresh_perl.t (@24063..) pp.h (@24248..) XSUB.h (@24372..)
perl.h (@24444..) av.c dump.c malloc.c mg.c numeric.c pp_ctl.c
scope.c utf8.c (@24445..) toke.c (@24452..) embed.h (@24460..)
perl.c (@24468..)

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 12:01:22 +0000 (12:01 +0000)]
Integrate:
[ 23996]
Fix leaks in List::Util::reduce,first
When the block is a closure, the cloned CV created on each call
was never freed

[ 24465]
Update to Scalar-List-Utils-1.15

[ 24551]
Update to Scalar-List-Utils-1.17
p4raw-link: @24551 on //depot/perl: c658fda90cbfa7f500b7be4479ba1ccd8781566d
p4raw-link: @24465 on //depot/perl: cf083cf9c54865f7b565dc779f9ce609999b4bb3
p4raw-link: @23996 on //depot/perl: 49ce4d3149169150fd3bcc3a0a4e9505dd47ab5e

p4raw-id: //depot/maint-5.8/perl@25485
p4raw-branched: from //depot/perl@25484 'branch in'
ext/List/Util/t/p_blessed.t ext/List/Util/t/p_first.t
ext/List/Util/t/p_lln.t ext/List/Util/t/p_max.t
ext/List/Util/t/p_maxstr.t ext/List/Util/t/p_min.t
ext/List/Util/t/p_minstr.t ext/List/Util/t/p_openhan.t
ext/List/Util/t/p_readonly.t ext/List/Util/t/p_reduce.t
ext/List/Util/t/p_refaddr.t ext/List/Util/t/p_reftype.t
ext/List/Util/t/p_shuffle.t ext/List/Util/t/p_sum.t
ext/List/Util/t/p_tainted.t (@24465..)
p4raw-integrated: from //depot/perl@25484 'copy in'
ext/List/Util/t/blessed.t ext/List/Util/t/dualvar.t
ext/List/Util/t/max.t ext/List/Util/t/maxstr.t
ext/List/Util/t/min.t ext/List/Util/t/minstr.t
ext/List/Util/t/readonly.t ext/List/Util/t/reftype.t
ext/List/Util/t/shuffle.t (@11853..) ext/List/Util/t/openhan.t
(@15283..) ext/List/Util/t/first.t (@18076..)
ext/List/Util/t/proto.t (@18702..) ext/List/Util/t/isvstring.t
(@19097..) ext/List/Util/t/tainted.t (@19963..)
ext/List/Util/t/reduce.t (@20700..) ext/List/Util/t/sum.t
(@21371..) ext/List/Util/t/weak.t (@21964..)
ext/List/Util/README (@22838..)
ext/List/Util/lib/Scalar/Util.pm ext/List/Util/t/lln.t
ext/List/Util/t/refaddr.t (@24465..)
p4raw-integrated: from //depot/perl@24465 'ignore'
ext/List/Util/Changes (@22838..) ext/List/Util/lib/List/Util.pm
(@24248..) 'merge in' MANIFEST (@24441..)
p4raw-edited: from //depot/perl@23996 'edit in' ext/List/Util/Util.xs
(@22838..)

18 years agoIntegrate Storable 2.15:
Nicholas Clark [Mon, 19 Sep 2005 10:27:33 +0000 (10:27 +0000)]
Integrate Storable 2.15:
[ 23079]
Store weak references.

[ 23117]
Trailing semi-colon are not allowed on #ifdef's in ANSI

[ 23223]
Upgrade to Devel::PPPort 3.00_01.

[ 23233]
Fix some backwards-compatibility problems with Storable.

[ 23670]
Fix typo

[ 23852]
Subject: [perl #32503] Fix for Storable module
From: "Steven N. Hirsch" (via RT) <perlbug-followup@perl.org>
Date: 19 Nov 2004 13:06:57 -0000
Message-ID: <rt-3.0.11-32503-100597.6.46123979926323@perl.org>

[ 24234]
H.Merijn changed e-mail

[ 24316]
Add STORABLE_attach hook (Adam Kennedy).

[ 24325]
Subject: [PATCH?] for AIX problems? RE: [PATCH] Symbian port of Perl
Date: Tue, 26 Apr 2005 12:22:12 +0300
From: <jarkko.hietaniemi@nokia.com>
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D6CB@esebe105.NOE.Nokia.com>
From: Steve Hay <steve.hay@uk.radan.com>
Message-ID: <426E11A3.8070002@uk.radan.com>

[ 24434]
Change 24165 missed one s/class/classname/ in the debugging code.

[ 24435]
Simplify the debug and assert logic.

[ 24436]
Experiment with using the ptr_table code to hold the seen hash

[ 24512]
Previously overlooked $SIG{DIE} patch from Slaven Rezic.
http://groups-beta.google.com/group/perl.perl5.porters/msg/2d10ba2c390ecc41

[ 24513]
Update MANIFEST

[ 24514]
Damnable applypatch nonsense.

[ 24555]
Remove one const to ensure that the universe doesn't tip over.
(At least on AIX.)

[ 24556]
Assorted 2.15 fixes.
p4raw-link: @24556 on //depot/perl: 0bb78401313e0347fd894143d813c3036c2eccb4
p4raw-link: @24555 on //depot/perl: d5748a18f65fc6a32038bbde36983f9fd709d1a0
p4raw-link: @24514 on //depot/perl: e0408fa07b297c876e517b9f7b8993ec4e3d75f3
p4raw-link: @24513 on //depot/perl: fe8ab575c42bc1bd4a981e579eb937de9b768d0c
p4raw-link: @24512 on //depot/perl: bb65ef264c49216eb3114d66755a0fdd23f7151b
p4raw-link: @24436 on //depot/perl: ab923da19db4ee1bc3a2e308f5fef9d92ee4928a
p4raw-link: @24435 on //depot/perl: dcbd05f23a28591fee1fda39542198585adc0e3a
p4raw-link: @24434 on //depot/perl: 5e0816872c21e3e4db02b348177b13c7c7cc9d3e
p4raw-link: @24325 on //depot/perl: 93ad979b4c8e124ba476a6218be4b39482da0579
p4raw-link: @24316 on //depot/perl: 2f796f323f0a2d2e2c3db0d837080471654102e8
p4raw-link: @24234 on //depot/perl: 3bd76f0a957f9db1d7e0dc7f797f6ef163db655c
p4raw-link: @23852 on //depot/perl: 0b6a08b277db5e6f28a0032a7a0467c048570624
p4raw-link: @23670 on //depot/perl: c597ea9d1c1012b41c344b95f9168d25caff8204
p4raw-link: @23233 on //depot/perl: fac63a074885d5e7f388bf418a2d99765cb6c5e3
p4raw-link: @23223 on //depot/perl: 96ad942f8d2c927db846bf31c9b14b2779e6f99f
p4raw-link: @23117 on //depot/perl: 96466a21cd037417fedfaff143bfd5f0e48e0d75
p4raw-link: @23079 on //depot/perl: c3c530331f21054a140c9b28847ce487ae5cbca4

p4raw-id: //depot/maint-5.8/perl@25484
p4raw-branched: from //depot/perl@25483 'branch in'
ext/Storable/t/HAS_ATTACH.pm ext/Storable/t/attach_errors.t
ext/Storable/t/attach_singleton.t
ext/Storable/t/circular_hook.t ext/Storable/t/testlib.pl
ext/Storable/t/weak.t (@23079..) ext/Storable/t/sig_die.t
(@24512..)
p4raw-integrated: from //depot/perl@25483 'copy in'
ext/Storable/t/malice.t (@21051..)
ext/Storable/t/just_plain_nasty.t (@22205..) 'edit in'
ext/Storable/README (@23079..)
p4raw-integrated: from //depot/perl@24555 'edit in'
ext/Storable/Storable.xs (@24526..)
p4raw-integrated: from //depot/perl@24513 'edit in' MANIFEST (@24510..)
p4raw-integrated: from //depot/perl@24316 'ignore'
ext/Storable/ChangeLog (@23079..)
p4raw-integrated: from //depot/perl@24248 'ignore'
ext/Storable/Storable.pm (@23079..)
p4raw-integrated: from //depot/perl@23231 'ignore'
ext/Storable/MANIFEST (@23079..)

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 09:41:12 +0000 (09:41 +0000)]
Integrate:
[ 24382]
Sync synopses
p4raw-link: @24382 on //depot/perl: c630fe624c165b4be52d3bdfb4d8e719da52a022

p4raw-id: //depot/maint-5.8/perl@25483
p4raw-edited: from //depot/perl@24382 'edit in' pod/perl.pod (@24271..)
p4raw-integrated: from //depot/perl@24382 'edit in' pod/perlrun.pod
(@24047..)

18 years agoRemove unwanted stowaway.
Nicholas Clark [Mon, 19 Sep 2005 08:30:40 +0000 (08:30 +0000)]
Remove unwanted stowaway.

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

18 years agoIntegrate:
Nicholas Clark [Mon, 19 Sep 2005 08:29:59 +0000 (08:29 +0000)]
Integrate:
[ 24533]
add access to Perl_croak() via 'mycroak' in XS::APItest

[ 24827]
Croak if an attempt is made to modify PL_strtab
(er, TODO - these should be in perldiag)

[ 25070]
Tests for hv_delayfree_ent and hv_free_ent

[ 25072]
Implement hv_delayfree_ent in terms of hv_free_ent

[ 25074]
Perl_share_hek needs exporting for change 25070 on Win32

[ 25075]
Use void, not void *, to suppress RETVAL (and compiler warning)

[ 25078]
Make the tests for hv_free_ent and hv_delayfree_ent pass under
-DPURIFY too.
p4raw-link: @25078 on //depot/perl: 8afd2d2ecb560202b631f95a6aff50e34dd49052
p4raw-link: @25075 on //depot/perl: 439efdfe48fa281a153e59516738da390f7cc558
p4raw-link: @25074 on //depot/perl: 063497e10fc528b1992837d48410189d2aea4e71
p4raw-link: @25072 on //depot/perl: bc4947fc50de6fbc73da20992537e1ebc727d9c8
p4raw-link: @25070 on //depot/perl: 2dc92170b2dd9e41c48e775084065721dadbc042
p4raw-link: @24827 on //depot/perl: 5d2b148555a8ecf68ab82784915f0877e3c9783a
p4raw-link: @24533 on //depot/perl: ef469b0369ad36d7b41ff4e3416ffb34105b3bef

p4raw-id: //depot/maint-5.8/perl@25481
p4raw-branched: from //depot/perl@25479 'branch in'
ext/XS/APItest/t/exception.t (@23911..)
p4raw-integrated: from //depot/perl@25075 'edit in'
ext/XS/APItest/APItest.xs (@25070..)
p4raw-integrated: from //depot/perl@25074 'merge in' global.sym
(@25061..) embed.h (@25066..) embed.fnc (@25067..)
p4raw-integrated: from //depot/perl@25072 'merge in' hv.c (@25066..)
p4raw-integrated: from //depot/perl@24827 'edit in'
ext/XS/APItest/APItest.pm (@24533..)

18 years agoIntegrate the API from:
Nicholas Clark [Sun, 18 Sep 2005 23:40:46 +0000 (23:40 +0000)]
Integrate the API from:
[ 24526]
Move hv_name, hv_eiter and hv_riter into a new aux structure.
Provide (more efficient) _get and _set macros.
Adjust the core to use them.

[ 25475]
It looks like the only way to reliably make Perl_hv_name_set a pure
macro in 5.8.x is to make it available as hv_name_set.
[Otherwise when and where aTHX_ hv gets expanded to foo, hv causes
 warnings or other games when Perl_hv_name_set() is a macro]

[ 25476]
Should have been embed.h, not proto.h, in 25475
p4raw-link: @25476 on //depot/perl: 840296de2f2802a7ba67f4bd1e075f58ec18c0f4
p4raw-link: @25475 on //depot/perl: 51a37f8016223ef5212790d4185d213114f2fd9b
p4raw-link: @24526 on //depot/perl: bfcb351493b9793586f4b514100d4f902a85f4fd

p4raw-id: //depot/maint-5.8/perl@25479
p4raw-integrated: from //depot/perl@25478 'edit in'
ext/Opcode/Opcode.xs (@25101..) 'merge in'
ext/threads/shared/shared.xs (@24248..)
p4raw-edited: from //depot/perl@24526 'edit in' hv.c hv.h sv.c
(@24525..)
p4raw-integrated: from //depot/perl@24526 'copy in'
ext/Devel/DProf/DProf.xs (@24170..) 'edit in' pp_sys.c
xsutils.c (@24445..) pp_hot.c (@24489..) mg.c perl.c (@24508..)
toke.c universal.c (@24509..) gv.c op.c pp.c (@24523..) dump.c
(@24525..) 'merge in' op.h (@24106..) ext/Data/Dumper/Dumper.xs
(@24271..) ext/PerlIO/via/via.xs (@24476..)
ext/Storable/Storable.xs (@24525..)