This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
17 years agoIntegrate:
Robin Houston [Sat, 29 Oct 2005 21:33:07 +0000 (22:33 +0100)]
Integrate:
[ 25953]
Subject: [PATCH] sort/multicall patch
Date: Sat, 29 Oct 2005 21:33:07 +0100
Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk>

[ 25954]
Regen headers

[ 25957]
Remove last sort test, that was failing with and without threads.
Silence some warnings.

[ 25979]
Fix test failures introduced by the change of flags on op_sort

[ 25992]
Subject: Re: [PATCH] sort/multicall patch
From: Robin Houston <robin@cpan.org>
Date: Fri, 4 Nov 2005 15:20:29 +0000
Message-ID: <20051104152029.GA17169@rpc142.cs.man.ac.uk>

[ 26054]
Subject: [PATCH] Re: [perl #32383] DProf breaks List::Util::shuffle
From: Robin Houston <robin@cpan.org>
Date: Tue, 8 Nov 2005 19:02:34 +0000
Message-ID: <20051108190234.GA25953@rpc142.cs.man.ac.uk>

[ 27486]
Subject: [PATCH] Automatically SPAGAIN in the poor-man's-multicall API
From: Robin Houston <robin@cpan.org>
Date: Mon, 13 Mar 2006 12:48:21 +0000
Message-ID: <20060313124821.GA11203@rpc142.cs.man.ac.uk>

[ 27487]
Forgot the ending \. Why did it still compile ?
p4raw-link: @27487 on //depot/perl: ae0d9e91921718c695e551df9f5755561ee9964d
p4raw-link: @27486 on //depot/perl: ff1ebec3ae3704c211ef9a2572ce3adb50911b5b
p4raw-link: @26054 on //depot/perl: 82f35e8b14e93ac697812d1b28d2e79e1ad82d84
p4raw-link: @25992 on //depot/perl: d7507f7459e6b42ee8cfc80abf2510fc2ff6a5c0
p4raw-link: @25979 on //depot/perl: 9e84f099a236e8238736c147031d0637a4572587
p4raw-link: @25957 on //depot/perl: 9da9462bb3e8caa6ed89b73deed69ec85fa59066
p4raw-link: @25954 on //depot/perl: cd299c6e57209410a1331dd3e21dad7fec4cce55
p4raw-link: @25953 on //depot/perl: 9850bf21fc4ed69d8ddb0293df59411f891c62df

p4raw-id: //depot/maint-5.8/perl@29759
p4raw-integrated: from //depot/perl@27486 'ignore'
ext/List/Util/multicall.h (@26054..)
p4raw-edited: from //depot/perl@26054 'edit in' cop.h (@26027..)
p4raw-integrated: from //depot/perl@25979 'merge in' ext/B/t/f_sort.t
(@24967..)
p4raw-integrated: from //depot/perl@25957 'edit in' t/op/sort.t
(@25953..)
p4raw-integrated: from //depot/perl@25954 'edit in' pod/perlapi.pod
(@25913..) 'merge in' global.sym (@25924..) opcode.h (@25940..)
p4raw-edited: from //depot/perl@25953 'edit in' pp_sort.c (@25754..)
embed.fnc (@25946..)
p4raw-integrated: from //depot/perl@25953 'edit in' pod/perlcall.pod
(@23203..) pod/perldiag.pod (@25937..) pp_ctl.c (@25940..)
'merge in' embedvar.h (@25008..) makedef.pl perlapi.h
(@25850..) sv.c (@25915..) pp_hot.c (@25918..) AUTHORS
(@25931..) opcode.pl (@25940..) op.c (@25948..)

17 years agoIntegrate:
Andy Lester [Fri, 4 Nov 2005 15:12:56 +0000 (09:12 -0600)]
Integrate:
[ 26028]
Subject: [PATCH] Consting and localizing: Part LXVIII
Message-ID: <20051104211256.GA12651@petdance.com>
p4raw-link: @26028 on //depot/perl: 7452cf6af2e38d62832bbd8762076e54fa12a70f

p4raw-id: //depot/maint-5.8/perl@29755
p4raw-integrated: from //depot/perl@26028 'edit in' deb.c (@25067..)
universal.c util.c (@26001..) pp_sys.c (@26011..) 'merge in'
scope.c (@25101..) locale.c (@25898..) utf8.c (@25926..)
embed.fnc embed.h (@25996..)

17 years agoIntegrate:
Gisle Aas [Mon, 31 Oct 2005 13:53:53 +0000 (05:53 -0800)]
Integrate:
[ 25941]
Subject: futimes [PATCH]
Date: 31 Oct 2005 13:53:53 -0800
Message-ID: <lrk6ft8ia6.fsf_-_@caliper.activestate.com>

[ 25951]
Subject: Re: futimes [PATCH]
From: Gisle Aas <gisle@ActiveState.com>
Date: 01 Nov 2005 00:02:37 -0800
Message-ID: <lrbr1494o2.fsf@caliper.activestate.com>
p4raw-link: @25951 on //depot/perl: fc8d54b0ec8f51a3b3106f2c54bd0f1ada739e0e
p4raw-link: @25941 on //depot/perl: e96b369dc61077fe31b75895167f55dbce4d7519

p4raw-id: //depot/maint-5.8/perl@29754
p4raw-integrated: from //depot/perl@25941 'edit in' t/io/fs.t
(@25157..) handy.h (@25935..) 'merge in' pod/perlfunc.pod
(@25830..) doio.c (@25892..)

17 years agoIntegrate:
Andy Lester [Sun, 30 Oct 2005 23:44:13 +0000 (17:44 -0600)]
Integrate:
[ 25915]
Subject: [PATCH] Etta James presents: More consting
Message-ID: <20051031054413.GA10767@petdance.com>
p4raw-link: @25915 on //depot/perl: c4420975666e665b3282e2edeea3304e6626be36

p4raw-id: //depot/maint-5.8/perl@29752
p4raw-edited: from //depot/perl@25915 'edit in' universal.c (@25322..)
p4raw-integrated: from //depot/perl@25915 'edit in' doop.c (@25530..)
pp_hot.c (@25803..) sv.c (@25886..) util.c (@25906..) 'merge
in' cop.h (@25688..) perl.c pp_sys.c (@25850..) numeric.c
(@25866..) hv.c (@25897..) op.c (@25901..) toke.c (@25914..)

17 years agoIntegrate:
Nicholas Clark [Wed, 10 Jan 2007 15:52:19 +0000 (15:52 +0000)]
Integrate:
[ 29729]
socketpair.t was written in 2001. At that time, Test::More got confused
if you forked under it. Test::More 0.47 added support to detect forking
which resolves this. Hence there is now no need to fork() in a BEGIN
block, which causes issues on Win32 due to how pseudofork works.
p4raw-link: @29729 on //depot/perl: 850d607338c285d0f6a7d66f1c4baf08de921004

p4raw-id: //depot/maint-5.8/perl@29746
p4raw-integrated: from //depot/perl@29737 'merge in'
ext/Socket/t/socketpair.t (@29485..)

17 years agoConditionally compile out all op.c manipulation code for OP_THREADSV
Nicholas Clark [Tue, 9 Jan 2007 21:23:37 +0000 (21:23 +0000)]
Conditionally compile out all op.c manipulation code for OP_THREADSV
unless we are building for 5005threads, as nothing else can generate
this op. (Arguably pre 5.8.0 time we could have changed the headers to
not even have this op usually, but it's a tad late now and my time
machine is still on pre-order).

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

17 years agoWe can get in the messy situation of the COP that PL_curcop pointed
Nicholas Clark [Tue, 9 Jan 2007 12:48:39 +0000 (12:48 +0000)]
We can get in the messy situation of the COP that PL_curcop pointed
to getting freed, and as part of the same free overloading decides
to look for DESTROY, which needs to *create* a GV, which in turn
was expecting that PL_curcop pointed to something valid. So set
PL_curcop to NULL if we're freeing the COP that it points to, and
make Perl_gv_init() cope with a NULL PL_curcop.

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

17 years agoIntegrate:
Andy Lester [Sat, 19 Nov 2005 00:16:39 +0000 (18:16 -0600)]
Integrate:
[ 25973]
More core test cleanups.  Mainly fixes to remove code that caused
warnings, but there were a few bug fixes that were hidden by
no using warnings.

[ 26066]
I/O is UTF-8, not "UNICODE"

[ 26070]
Add tests for two untested syntax error messages about \N

[ 26178]
Subject: [PATCH] Pulling ancient RCS comments
Message-ID: <20051119061639.GA25086@petdance.com>

[ 26347]
Convert range.t to test.pl
p4raw-link: @26347 on //depot/perl: 4e086238dab7604a27d1e87c6edc434dec7cc39d
p4raw-link: @26178 on //depot/perl: f97d6588554acc8b88e745a23fe1f1d5fd04dfae
p4raw-link: @26070 on //depot/perl: fd7808cb43ac6038cce4f46f2e83c3042efbf142
p4raw-link: @26066 on //depot/perl: a45f1ba014589f25fbf825289b49af1c5cc4f3ee
p4raw-link: @25973 on //depot/perl: 3fb41248088529e4dffd3e393588e067e2934fc0

p4raw-id: //depot/maint-5.8/perl@29733
p4raw-integrated: from //depot/perl@29726 'copy in' t/op/push.t
(@536..) lib/importenv.pl lib/stat.pl lib/validate.pl
t/base/cond.t t/base/if.t t/base/pat.t t/cmd/elsif.t
t/cmd/switch.t t/comp/cmdopt.t t/comp/decl.t t/op/unshift.t
(@1575..) t/io/nargv.t (@4634..) t/base/term.t (@13503..)
t/cmd/subval.t (@13904..) t/op/append.t (@14479..) t/op/flip.t
(@15054..) lib/AnyDBM_File.t (@15720..) t/op/cond.t (@18336..)
t/comp/cpp.t t/io/inplace.t (@22091..) t/op/read.t (@23778..)
t/io/openpid.t (@23849..) t/op/range.t (@25319..) t/cmd/mod.t
(@25829..) t/io/layers.t (@25967..) 'merge in' t/op/goto_xs.t
(@24773..)
p4raw-integrated: from //depot/perl@26178 'copy in' t/op/auto.t
(@1760..) t/op/do.t (@18487..) t/op/time.t (@23505..) 'merge
in' t/op/my.t (@22874..)
p4raw-integrated: from //depot/perl@26070 'edit in' t/comp/parser.t
(@24901..)
p4raw-integrated: from //depot/perl@25973 'copy in' t/io/pipe.t
(@25965..) 'ignore' t/io/read.t (@22423..) t/io/tell.t
(@23874..) 'merge in' t/io/print.t (@22423..)

17 years agoUnbreak 5005 threads - pp_threadsv can't be aliased to unimplemented_op
Nicholas Clark [Mon, 8 Jan 2007 23:25:40 +0000 (23:25 +0000)]
Unbreak 5005 threads - pp_threadsv can't be aliased to unimplemented_op
for the 5005 threads case.

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

17 years agoIntegrate:
Nicholas Clark [Mon, 8 Jan 2007 22:09:41 +0000 (22:09 +0000)]
Integrate:
[ 29695]
Update copyright years in .h files. Also, in .pl
files that generate .h files, so they'll be ready
next time.

[just the .pl files for now]
p4raw-link: @29695 on //depot/perl: 699a97de988b5b9b54375d79201e72f1c259685c

p4raw-id: //depot/maint-5.8/perl@29725
p4raw-integrated: from //depot/perl@29722 'merge in' keywords.pl
(@29053..) opcode.pl (@29251..)

17 years agoIntegrate:
Robin Houston [Sun, 27 Nov 2005 00:43:13 +0000 (00:43 +0000)]
Integrate:
[ 26110]
Integrate:
[ 26108]
BEGIN blocks should start a new stack, as they can be called as a
side effect of "regular" Perl API calls within subroutines that have
already cached the current stack's address. If they don't, any stack
extension during the call may move the stack, rendering that cached
value invalid without the cachee realising. (For example, PP code
calling gv_fetchpv() which triggers a load of Errno.pm)

[ 26234]
Revert change #26110 (already reverted in maintperl by change 26182)

[ 27207]
Subject: Re: Perl_sighandler voodoo (was Re: Smoke [5.8.7] 26127 FAIL(XF) MSWin32 WinXP/.Net SP2 (x86/2 cpu))
Message-ID: <20051127004313.GA7007@rpc142.cs.man.ac.uk>

Simplification of the code in my_exit_jump() that unwinds context
stacks
p4raw-link: @27207 on //depot/perl: f97a0ef27cbaddb0a75b0772eacfc746e93f62f4
p4raw-link: @26234 on //depot/perl: cb4020efd135785a3a3f1bdcb17c9408f9b0faf3
p4raw-link: @26110 on //depot/perl: 678f9f8e69283f64dcdcd30e3fe602110d10a5a6
p4raw-link: @26108 on //depot/maint-5.8/perl: 5480675bc37b4a804a56a749cdedc70e27a270eb

p4raw-id: //depot/maint-5.8/perl@29722
p4raw-integrated: from //depot/perl@27207 'merge in' perl.c (@27194..)
p4raw-integrated: from //depot/perl@26234 'edit in' op.c (@26226..)

17 years agoIntegrate:
Nicholas Clark [Mon, 8 Jan 2007 15:51:22 +0000 (15:51 +0000)]
Integrate:
[ 26126]
Don't warn about lack of docs for functions that appear twice in embed.fnc.

[ 29138]
Modify autodoc.pl to add read-only editor boilerplate for perlapi.pod
and perlguts.pod

[ 29146]
In vim, modelines are not taken into account if they begin on the
first character. Also, regenerate perlintern.pod.
p4raw-link: @29146 on //depot/perl: 3f98fbb3afdb03dd2dc57e6d7233195e88e4f9bf
p4raw-link: @29138 on //depot/perl: e04926433bb6070f25203e63e55060257391035c
p4raw-link: @26126 on //depot/perl: 7eb550cf010090aecb73da60fde61194798b89d1

p4raw-id: //depot/maint-5.8/perl@29721
p4raw-integrated: from //depot/perl@29720 'ignore' pod/perlguts.pod
(@28599..)
p4raw-integrated: from //depot/perl@29146 'merge in' pod/perlintern.pod
(@28252..)
p4raw-integrated: from //depot/perl@29138 'edit in' pod/perlapi.pod
(@28915..) 'ignore' autodoc.pl (@26126..)

17 years agoIntegrate:
Nicholas Clark [Mon, 8 Jan 2007 15:43:25 +0000 (15:43 +0000)]
Integrate:
[ 25703]
Add -C to allowed $PERL5OPT options
Add -C to the $PERL5OPT documentation (and added the missing -A too)
t/run/runenv.t Could use some more tests about how supported
and unsupported options in $PERL5OPT are handled
p4raw-link: @25703 on //depot/perl: e4af53b035442614d6967aeb0941ba0a0e6238a0

p4raw-id: //depot/maint-5.8/perl@29720
p4raw-edited: from //depot/perl@25703 'edit in' pod/perldiag.pod
(@25307..) pod/perlrun.pod (@25623..)
p4raw-integrated: from //depot/perl@25703 'edit in' perl.c (@25693..)

17 years agoIntegrate:
Jan Dubois [Fri, 18 Nov 2005 11:38:24 +0000 (03:38 -0800)]
Integrate:
[ 26177]
Subject: Reworked PERL_TRACK_MEMPOOL patch
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <003601c5ec77$a45eb260$2217a8c0@candy>

[tweaked so as to remove the automatic define of -DPERL_TRACK_MEMPOOL
on -DDEBUGGING]
p4raw-link: @26177 on //depot/perl: e8dda941161b48515d0da4da6e5157084cbd1df0

p4raw-id: //depot/maint-5.8/perl@29163
p4raw-integrated: from //depot/perl@26177 'edit in' perl.h (@26077..)
util.c (@26082..)

17 years agoIntegrate:
Nicholas Clark [Sun, 29 Oct 2006 22:02:32 +0000 (22:02 +0000)]
Integrate:
[The Perl_magic_killbackrefs change from:]
[ 24966]
Remove the reference loop between symbol tables and typeglobs.
Typeglobs now have a weak reference onto their symbol table.

[ 26132]
Mark all places where perl needs to look at a possibly-freed scalar
with a macro SvIS_FREED(sv)
p4raw-link: @26132 on //depot/perl: 0565a181ab920bd3cc76f2ab45d62768abfcaf8d
p4raw-link: @24966 on //depot/perl: e15faf7d09c73a41f95fbe6a0045ad5b17c899a6

p4raw-id: //depot/maint-5.8/perl@29141
p4raw-integrated: from //depot/perl@26132 'merge in' av.c (@25872..)
pad.c (@26060..) pp_hot.c (@26082..) op.c (@26110..) sv.h
(@26112..)
p4raw-integrated: from //depot/perl@24966 'edit in' mg.c (@24965..)

17 years agoIntegrate:
Nicholas Clark [Sun, 29 Oct 2006 20:23:57 +0000 (20:23 +0000)]
Integrate:
[ 26060]
Add a comment about possible future refactoring of the pad code.

[ 26123]
Suppress gcc warnings when ignoring the return value of io_close(),
as suggested by Gisle Aas.

[ 26124]
Fix indentation of apidoc for sv_2pvutf8
(so perlapi.pod is correctly generated)

[ 26176]
Down with "warning: code has no effect"
p4raw-link: @26176 on //depot/perl: 891c2e08c4b0cd567c57c23427f594d70b2bced2
p4raw-link: @26124 on //depot/perl: 035cbb0e21d9be3cc0345383c9ae0fe281e8befd
p4raw-link: @26123 on //depot/perl: 5836e3ecdff1c184f035811e31eb710069409212
p4raw-link: @26060 on //depot/perl: 6d6403992dc19fd3b831cbc6a211e3354a53c639

p4raw-id: //depot/maint-5.8/perl@29137
p4raw-integrated: from //depot/perl@26176 'merge in' XSUB.h (@25778..)
p4raw-integrated: from //depot/perl@26124 'edit in' pod/perlapi.pod
(@25954..) 'merge in' sv.c (@26082..)
p4raw-integrated: from //depot/perl@26123 'edit in' proto.h (@26028..)
'merge in' embed.fnc (@26069..)
p4raw-integrated: from //depot/perl@26060 'merge in' pad.c (@25754..)

17 years agoIntegrate:
Nicholas Clark [Sun, 29 Oct 2006 20:01:41 +0000 (20:01 +0000)]
Integrate:
[ 26112]
Fix breakages that prevended -DPERL_POISON from compiling.
p4raw-link: @26112 on //depot/perl: 06c0cc96ebd866767a6d107ed78967600f7e0395

p4raw-id: //depot/maint-5.8/perl@29136
p4raw-integrated: from //depot/perl@26112 'edit in' sv.h (@25885..)
'merge in' handy.h (@25941..)

17 years agoIntegrate:
Nicholas Clark [Sun, 29 Oct 2006 19:31:39 +0000 (19:31 +0000)]
Integrate:
[ 25917]
POD nit spotted by Jarkko

[ 25938]
Further pod nit spotted by Jarkko

[ 25944]
Fix nit in pod nit fix
p4raw-link: @25944 on //depot/perl: a015a77ee9cc914e7f9e8f0800206bb50400cc4a
p4raw-link: @25938 on //depot/perl: 7e2ff5e8a47a8317110c2e2e0c7435232d79b76e
p4raw-link: @25917 on //depot/perl: 91edb4ee687d28fc7146b5dbc6de5bbc9b90da2f

p4raw-id: //depot/maint-5.8/perl@29135
p4raw-integrated: from //depot/perl@25944 'edit in' pod/perlhack.pod
(@25938..)

17 years agoIntegrate:
Andy Lester [Mon, 31 Oct 2005 00:04:59 +0000 (18:04 -0600)]
Integrate:
[ 25914]
Subject: [PATCH] S_tokereport's unused parm
Message-ID: <20051031060459.GC10767@petdance.com>
p4raw-link: @25914 on //depot/perl: f5bd084c2c79901a2aea8ac589384123b5b7276d

p4raw-id: //depot/maint-5.8/perl@29134
p4raw-integrated: from //depot/perl@25914 'edit in' proto.h (@25906..)
'merge in' toke.c (@25799..) embed.fnc embed.h (@25906..)

17 years agoIntegrate:
Robin Houston [Fri, 14 Oct 2005 01:54:00 +0000 (01:54 +0000)]
Integrate:
[ 25808]
Subject: Re: [PATCH] Re: [perl #37350] $#{@$aref} in debugger gives: Bizarre copy of ARRAY in leave
Message-ID: <20051013235457.GA23386@rpc142.cs.man.ac.uk>
p4raw-link: @25808 on //depot/perl: e4c5ccf3177be837114b952c25e52a6812f35eb5

p4raw-id: //depot/maint-5.8/perl@29132
p4raw-edited: from //depot/perl@25808 'edit in' t/op/array.t (@25176..)
op.c (@25779..)
p4raw-integrated: from //depot/perl@25808 'merge in' global.sym
(@25325..) op.h (@25600..) embed.fnc (@25778..) embed.h proto.h
(@25802..)

17 years agoIntegrate:
Nicholas Clark [Sun, 29 Oct 2006 18:29:46 +0000 (18:29 +0000)]
Integrate:
[ 25697]
Subject: proposal [perl #34301]:  IO::Socket calls getpeername far too often
From: Peter.Dintelmann@Dresdner-Bank.com (Peter Dintelmann)
Date: Thu, 2 Jun 2005 13:34:49 +0200
Message-ID: <E9A2605289D8D7468B1A21EC24E59D2101852447@naimucx5.muc.allianz>

[ 25861]
Subject: Re: IO::File performace issue
From: gisle@ActiveState.com (Gisle Aas)
Date: 27 Oct 2005 01:00:39 -0700
Message-ID: <lrvezjv17c.fsf@caliper.activestate.com>

Also includes a version bump for IO::File.

[ 26300]
Fixup the setsockopt usage message; missing OPTVAL.

[ 26400]
Subject: [PATCH] latest switch/say/~~
From: Robin Houston <robin@cpan.org>
Date: Sat, 17 Dec 2005 20:44:31 +0000
Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk>

[ 26405]
Attempt at making IO::Handle backwards compatible again

[ 26481]
Given that IO::Socket is documented as exporting all of Socket's
exports, there's no need for IO::Socket::INET or IO::Socket::UNIX to
use both. (And re-exporting removes some of the efficiency of the new
constants implementation)

[ 26868]
Don't warn about a directory being closed in the DESTROY for
IO::Dir.

[ 26921]
Subject: Avoid most getprotobyname/number calls in IO::Socket::INET
From: Gisle Aas <gisle@ActiveState.com>
Date: 18 Jan 2006 09:28:24 -0800
Message-ID: <lr3bjlbg3r.fsf@caliper.activestate.com>

[ 26941]
Subject: Simplify &IO::Handle::say
From: Gisle Aas <gisle@ActiveState.com>
Date: 24 Jan 2006 05:01:28 -0800
Message-ID: <lrzmll7pav.fsf@caliper.activestate.com>

[ 27609]
Update to IO-1.23
p4raw-link: @27609 on //depot/perl: 90b9a7138c62121899b952367470c97e6a83988d
p4raw-link: @26941 on //depot/perl: 1576e684962a9b7e2100f3bcff6ad79fb0a8e169
p4raw-link: @26921 on //depot/perl: ebcd0cc070f3e120eecf39e812e058e26485aa69
p4raw-link: @26868 on //depot/perl: 7692a1edf7c7e1676cdb76e2a016e73fa1a5a254
p4raw-link: @26481 on //depot/perl: e67426a489d5f4a242c5edc688e24e7e32e60c26
p4raw-link: @26405 on //depot/perl: e4769da7e4ba2947901539be526b741c6157838a
p4raw-link: @26400 on //depot/perl: 0d863452f5cac86322a90184dc68dbf446006ed7
p4raw-link: @26300 on //depot/perl: f0bc0462cc91ff06615d9aca37933a66b68ea888
p4raw-link: @25861 on //depot/perl: 74af07f22d4e66739ed9bf90220ae0c162150d08
p4raw-link: @25697 on //depot/perl: 2d169392e9b607b54c89d91376e422380d400486

p4raw-id: //depot/maint-5.8/perl@29129
p4raw-integrated: from //depot/perl@29087 'copy in' ext/IO/t/io_taint.t
ext/IO/t/io_tell.t ext/IO/t/io_udp.t (@20268..)
ext/IO/ChangeLog (@25355..) ext/IO/lib/IO/File.pm (@25861..)
ext/IO/lib/IO/Dir.pm (@26868..)
p4raw-integrated: from //depot/perl@27609 'copy in'
ext/IO/t/io_multihomed.t (@20268..) ext/IO/t/io_unix.t
(@22258..) ext/IO/IO.pm ext/IO/t/io_pipe.t (@25355..)
ext/IO/t/io_sock.t (@25781..)
p4raw-integrated: from //depot/perl@26921 'ignore'
ext/IO/lib/IO/Socket/INET.pm (@26481..)
p4raw-integrated: from //depot/perl@26481 'ignore'
ext/IO/lib/IO/Socket/UNIX.pm (@25355..)
p4raw-integrated: from //depot/perl@26400 'ignore'
ext/IO/lib/IO/Handle.pm (@25355..)
p4raw-integrated: from //depot/perl@25697 'ignore'
ext/IO/lib/IO/Socket.pm (@25355..)

17 years agoIntegrate:
Nicholas Clark [Sun, 22 Oct 2006 23:09:33 +0000 (23:09 +0000)]
Integrate:
[ 27737]
Give more information in the panic in ss_dup. (Although I'm not sure
if croak() works at this point, given PerlIO's dependency on a
functional interpreter.)

[ 29084]
Fix a bug introduced by change 29079

[ 29086]
Fix the other bug introduced by change 29079
p4raw-link: @29086 on //depot/perl: 147bc37422bb9ff10b7db69f9d76b4e4e70636d7
p4raw-link: @29084 on //depot/perl: 1ccabee87bb0dbb12a9d126fc831a9de140b5cd3
p4raw-link: @27737 on //depot/perl: ca05af4a92ddd0af97a918d1f852c5c2f7142797

p4raw-id: //depot/maint-5.8/perl@29087
p4raw-integrated: from //depot/perl@29081 'edit in' sv.c (@29085..)

17 years agoNo need to save the PVX to the save stack when saving a GV, as the
Nicholas Clark [Sun, 22 Oct 2006 21:00:37 +0000 (21:00 +0000)]
No need to save the PVX to the save stack when saving a GV, as the
string buffer is only used as part of get/set magic when reading/
writing the stringified form. Keep the old save type in case any
code out there is still generating the old format on the save stack.

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

17 years agoIntegrate:
Nicholas Clark [Sun, 22 Oct 2006 20:12:38 +0000 (20:12 +0000)]
Integrate:
[ 29079]
const the variable used for the save stack type in Perl_ss_dup().
p4raw-link: @29079 on //depot/perl: b24356f5678a5867e2d91448d2f903c9e5b37540

p4raw-id: //depot/maint-5.8/perl@29080
p4raw-integrated: from //depot/perl@29022 'merge in' sv.c (@29053..)

17 years agoIntegrate:
Nicholas Clark [Sun, 15 Oct 2006 09:41:52 +0000 (09:41 +0000)]
Integrate:
[ 25254]
Another typo fix
p4raw-link: @25254 on //depot/perl: 2dfe1b172673363674e356ebb04df24a41dfd308

p4raw-id: //depot/maint-5.8/perl@29022
p4raw-integrated: from //depot/perl@25254 'merge in' XSUB.h (@24913..)
pod/perlapi.pod (@25172..)

17 years agoIntegrate:
Jarkko Hietaniemi [Tue, 25 Apr 2006 18:23:39 +0000 (21:23 +0300)]
Integrate:
[ 27987]
Subject: Re: [PATCH] use snprintf/strlcpy/strlcat when useful
Message-ID: <444E3EFB.8020503@gmail.com>

[ 27988]
Fix typo in function call
p4raw-link: @27988 on //depot/perl: ba1fe781b25ca91156a66df5a1cba2c16580a339
p4raw-link: @27987 on //depot/perl: e80fed9da44c731a6f85b5544b737325bd9a41a7

p4raw-id: //depot/maint-5.8/perl@29021
p4raw-integrated: from //depot/perl@27987 'edit in' universal.c
(@27542..) perlio.c pp_ctl.c util.c (@27962..) 'merge in'
perl.h (@27958..) op.c regcomp.c toke.c (@27962..) sv.c
(@27976..)

17 years agoIntegrate:
Nicholas Clark [Sat, 14 Oct 2006 16:42:04 +0000 (16:42 +0000)]
Integrate:
[ 25105]
Message-ID: <42D0F25E.3040801@gmail.com>
Date: Sun, 10 Jul 2005 13:03:10 +0300
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Subject: [PATCH] yet another way of debugging memory allocations

adds PERL_MEM_LOG and PERL_MEM_LOG_STDERR options

[ 25109]
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Sun, 10 Jul 2005 21:50:27 +0300
Subject: [PATCH] yet another way of debugging memory allocations
Message-ID: <42D16DF3.4040806@gmail.com>

tweak PERL_MEM_LOG

[ 25115]
Subject: [patch: handy.c]  update Newx API pod to mention PERL_MEM_LOG build opt
From: Jim Cromie <jcromie@divsol.com>
Date: Mon, 11 Jul 2005 19:18:02 -0600
Message-ID: <42D31A4A.1020305@divsol.com>

(with some minor tweaks)

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

[ 25128]
Subject: Make PERL_MEM_LOG more portable.
From:  Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date:  Mon, 11 Jul 2005 15:29:46 +0300
Message-Id:  <42D2663A.4050204@gmail.com>

[ 27204]
Subject: Re: how to build with -DPERL_MEM_LOG ?
From: Andy Dougherty <doughera@lafayette.edu>
Date: Fri, 3 Feb 2006 11:55:58 -0500 (EST)
Message-ID: <Pine.SOC.4.62.0602031129530.9630@maxwell.phys.lafayette.edu>
p4raw-link: @27204 on //depot/perl: bc82975d259d743626ad1b4a960b4b1f13c7a816
p4raw-link: @25128 on //depot/perl: e352bcff231c07cf21f07ae801f374a3da3229ed
p4raw-link: @25116 on //depot/perl: 9f653bb54868b8547466924d4ce483acb8987efb
p4raw-link: @25115 on //depot/perl: c5008215525f2f0a2a10a4c6a997f4cccfb6d09b
p4raw-link: @25109 on //depot/perl: 46c6c7e2a233df6079f4ba33374086db68feb889
p4raw-link: @25105 on //depot/perl: fe4f188cfb649411f4ddac27f781a35304aab7d6

p4raw-id: //depot/maint-5.8/perl@29014
p4raw-integrated: from //depot/perl@29013 'copy in' x2p/a2p.h
(@26033..)
p4raw-integrated: from //depot/perl@25116 'edit in' pod/perlhack.pod
(@25109..)
p4raw-integrated: from //depot/perl@25115 'merge in' pod/perlapi.pod
(@25111..)
p4raw-integrated: from //depot/perl@25109 'edit in' handy.h (@25105..)
p4raw-integrated: from //depot/perl@25105 'edit in' util.c (@25101..)

17 years agoIntegrate:
Nicholas Clark [Sat, 14 Oct 2006 15:13:34 +0000 (15:13 +0000)]
Integrate:
[ 25104]
silence some compiler warnings
p4raw-link: @25104 on //depot/perl: 40e48b409b553fc7aff31fc8b93d589e4197ef3a

p4raw-id: //depot/maint-5.8/perl@29013
p4raw-integrated: from //depot/perl@25104 'edit in' embed.fnc proto.h
(@25079..) gv.h (@25099..)

17 years agoIntegrate:
Nicholas Clark [Sat, 16 Sep 2006 17:19:07 +0000 (17:19 +0000)]
Integrate:
[ 24803]
hash key code cleanup
p4raw-link: @24803 on //depot/perl: 97ddebaf393a19fb80bf52b8fdb8330e1c4a591b

p4raw-id: //depot/maint-5.8/perl@28854
p4raw-integrated: from //depot/perl@24803 'edit in' hv.h (@24660..)
embed.fnc (@24802..) 'merge in' hv.c (@24735..) proto.h
(@24802..)

17 years agoIntegrate:
Nicholas Clark [Sat, 16 Sep 2006 16:20:26 +0000 (16:20 +0000)]
Integrate:
[ 24352]
Skip PL_sig_sv when PERL_IMPLICIT_CONTEXT is defined
(rather than when PERL_IMPLICIT_SYS is defined)
p4raw-link: @24352 on //depot/perl: 605881df1187f0374622b9de459bb7d803f7d806

p4raw-id: //depot/maint-5.8/perl@28852
p4raw-integrated: from //depot/perl@24352 'merge in' makedef.pl
(@24341..)

17 years agoIntegrate:
Nicholas Clark [Sat, 2 Sep 2006 16:01:36 +0000 (16:01 +0000)]
Integrate:
[ 28771]
Change the generation of {} and [] from 3 ops to 1, and avoid 1 mortal
on the tempstack, by augmenting pp_anonlist and pp_anonhash to accept
OPf_SPECIAL to mean "return a reference to the aggregate" on the stack
rather than the aggregate itself.
p4raw-link: @28771 on //depot/perl: 78c72037c327e2cd8ede6cf098324435a670ca67

p4raw-id: //depot/maint-5.8/perl@28775
p4raw-integrated: from //depot/perl@28443 'edit in'
ext/B/t/concise-xs.t (@28487..) ext/B/B/Deparse.pm (@28656..)
'merge in' ext/B/t/f_map.t ext/B/t/f_sort.t (@28257..)
ext/Devel/Peek/t/Peek.t (@28559..) pp.c (@28657..) op.c
(@28686..) op.h (@28734..)

17 years agoIntegrate:
Nicholas Clark [Tue, 27 Jun 2006 22:39:26 +0000 (22:39 +0000)]
Integrate:
[ 28189]
A Configure probe for C99 variadic macros, based on code from Jarkko.

[ 28263]
Oops. Fix bad #! lines when not using userelocatableinc

[ 28283]
Re-generation after backports of
#28188 Only ask about MAD for 5.9.0 and greater. Otherwise silently
#28189 A Configure probe for C99 variadic macros, based on code from
#28202 Take advantage of the bug that binexp ignores the Configure
#28263 Oops. Fix bad #! lines when not using userelocatableinc
One small cleanup fix added. Some small re-ordering. Some whitespace.

[ 28284]
If I needed this now, I'll probably need it next time too :)

[ 28286]
HAS_HAS WAS NOW HAS
p4raw-link: @28286 on //depot/perl: 8d545908e1cd632fcaad42013d87f9fa4a034ad2
p4raw-link: @28284 on //depot/perl: f59c92c621b7937af4c128d98c292e91602e95f1
p4raw-link: @28283 on //depot/perl: a2d23ec243cb32ad5ac90ab8101b59ec7d77e541
p4raw-link: @28263 on //depot/perl: ea7d701d8a9efe1ba3e2127e0a97460c9f0c134c
p4raw-link: @28189 on //depot/perl: 9802685f01199cb057aa21dd571a78932fb81070

p4raw-id: //depot/maint-5.8/perl@28443
p4raw-integrated: from //depot/perl@28442 'merge in'
Cross/config.sh-arm-linux NetWare/config.wc epoc/config.sh
plan9/config_sh.sample (@27407..) win32/config.bc
win32/config.gc (@27634..) Porting/config.sh (@27758..)
win32/config.vc win32/config.vc64 (@28051..) uconfig.sh
(@28074..)
p4raw-integrated: from //depot/perl@28286 'edit in' handy.h (@28284..)
p4raw-integrated: from //depot/perl@28263 'edit in' Configure
(@28202..)
p4raw-integrated: from //depot/perl@28189 'edit in' Porting/Glossary
(@27758..) 'ignore' config_h.SH (@27863..) 'merge in'
configure.com (@27648..)

17 years agoIntegrate:
Nicholas Clark [Tue, 27 Jun 2006 22:20:20 +0000 (22:20 +0000)]
Integrate:
[ 28024]
OK, Win32 must no have snprintf()/vsnprintf

[ 28025]
I was mistaken.  Borland and gcc do have snprintf() and vsnprintf()
on Win32.

[ 28026]
Subject: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
From: Abe Timmerman <abe@ztreet.demon.nl>
Date: Sun, 30 Apr 2006 15:15:24 +0200
Message-Id: <200604301515.24580.abe@ztreet.demon.nl>

[ 28051]
Subject: RE: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 1 May 2006 18:55:11 -0700
Message-ID: <08ff01c66d8b$7282e320$2217a8c0@candy>

Subject: Re: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m)
From: "H.Merijn Brand" <h.m.brand@xs4all.nl>
Date: Tue, 2 May 2006 09:23:51 +0200
Message-ID: <20060502092351.7bae0896@pc09>

[ 28052]
Ahem. And here's the rest of #28051...

[ 28053]
Sigh. Third time lucky.
p4raw-link: @28053 on //depot/perl: 80e18237757da0670ddbfa6973109e70dbad24f3
p4raw-link: @28052 on //depot/perl: 8492fbab56e812aaa2531a774dba8ee2158b3a93
p4raw-link: @28051 on //depot/perl: 0586e26ac882da507fe050161dec1c4647418319
p4raw-link: @28026 on //depot/perl: 7f9dcb269dc64cc7b1ca55e6703c0c441758e7dd
p4raw-link: @28025 on //depot/perl: f71c8be366afc67b84ea5caf78d04d21dcb8be51
p4raw-link: @28024 on //depot/perl: 92f6af9f34268f0eae9b7cd58a369acbf8c5f1b7

p4raw-id: //depot/maint-5.8/perl@28442
p4raw-integrated: from //depot/perl@28441 'edit in' win32/config_H.bc
(@28024..)
p4raw-integrated: from //depot/perl@28052 'edit in' win32/win32.h
(@28003..)
p4raw-integrated: from //depot/perl@28051 'edit in' win32/config.vc64
(@28036..)
p4raw-integrated: from //depot/perl@28026 'edit in' win32/config.vc
(@27634..)
p4raw-integrated: from //depot/perl@28025 'edit in' win32/config_H.vc64
(@28024..)
p4raw-integrated: from //depot/perl@28024 'edit in' win32/config_H.gc
win32/config_H.vc (@27555..)

17 years agoIntegrate:
Nicholas Clark [Tue, 27 Jun 2006 22:15:42 +0000 (22:15 +0000)]
Integrate:
[ 27863]
Support for -DDEBUGGING and its alias -DEBUGGING
p4raw-link: @27863 on //depot/perl: eaf812ae1a347289872c15b0fb8a27a85b03dc2f

p4raw-id: //depot/maint-5.8/perl@28441
p4raw-integrated: from //depot/perl@27863 'copy in' config_h.SH
(@27703..) 'edit in' Configure (@27703..) 'merge in' INSTALL
(@27625..)

17 years agoIntegrate:
Nicholas Clark [Tue, 27 Jun 2006 22:00:05 +0000 (22:00 +0000)]
Integrate:
[ 27686]
First stab at a more reliable Glossary. This now is (again)
mostly generated. (Well, It's a repair to the existing version
"based on" a generated version, which is now well sorted, but
still incomplete for less obvious reasons).
p4raw-link: @27686 on //depot/perl: df4c34dc6f95fdf32fd0462242a4d4adc90fd779

p4raw-id: //depot/maint-5.8/perl@28440
p4raw-integrated: from //depot/perl@27686 'edit in' Porting/Glossary
(@27652..)

17 years agoIntegrate:
Nicholas Clark [Tue, 27 Jun 2006 21:54:10 +0000 (21:54 +0000)]
Integrate:
[ 27370]
Subject: [PATCH] Support for __builtin_expect and __builtin_choose_expr
From: Andy Lester <andy@petdance.com>
Date: Wed, 28 Dec 2005 15:34:08 -0600
Message-ID: <20051228213408.GB26033@petdance.com>

[ 27372]
Make Win32 configuration changes for HAS_BUILTIN_CHOOSE_EXPR and
HAS_BUILTIN_EXPECT.

[ 27373]
Add d_builtin_choose_expr and d_builtin_expect to configure.com as
'undef'.

[ 27412]
Complete change #27407/27410 on Win32 and tidy up change #27372

[ 27473]
Subject: [PATCH] Reapply change 24432
From: "Jan Dubois" <jand@ActiveState.com>
Date: Fri, 10 Mar 2006 18:21:39 -0800
Message-ID: <01b001c644b2$879a1f50$6062a8c0@candy>
p4raw-link: @27473 on //depot/perl: 85a556a55972fa9231f9b89742f002ffae39d10a
p4raw-link: @27412 on //depot/perl: 3825bc8f5d59257852813dc434ad90251414e9f5
p4raw-link: @27407 on //depot/perl: a724edfe531a4a4cce2d4bbb94e1f583d86bc9a3
p4raw-link: @27373 on //depot/perl: 3c2b4a8b2af84a0e73d85ae9816a9ec64789a9e8
p4raw-link: @27372 on //depot/perl: df012815e587b94cd356692431756ba265085fbf
p4raw-link: @27370 on //depot/perl: 635aebb78abd81c28ceb76ef8d65d262f3647e23

p4raw-id: //depot/maint-5.8/perl@28439
p4raw-integrated: from //depot/perl@27473 'edit in' config_h.SH
(@27410..)
p4raw-integrated: from //depot/perl@27412 'edit in' win32/config_H.bc
win32/config_H.gc win32/config_H.vc (@27372..)
p4raw-integrated: from //depot/perl@27373 'merge in' configure.com
(@27115..)
p4raw-integrated: from //depot/perl@27372 'edit in' win32/config_H.vc64
(@27007..) 'merge in' win32/config.bc win32/config.gc
win32/config.vc win32/config.vc64 (@26936..)
p4raw-integrated: from //depot/perl@27370 'merge in' Porting/Glossary
(@26606..) perl.h (@27361..) Configure (@27367..)

17 years agoIntegrate:
Jason Vas Dias [Tue, 31 Jan 2006 09:50:32 +0000 (01:50 -0800)]
Integrate:
[ 27363]
Subject: [perl #38385] _h2ph_pre.ph / $Config{cppsymbols} omits gcc-3.4+ cpp "predefined macros"
From: Jason Vas Dias (via RT) <perlbug-followup@perl.org>

[ 27367]
#27363 broke HP-UX (and others). if [[ ... ]] syntax not supported
p4raw-link: @27367 on //depot/perl: b6a7163e84fec2ee27fc3d0c252e50424d27241f
p4raw-link: @27363 on //depot/perl: ddfca5da10590b8934c0a4e6b1f77a03901648cf

p4raw-id: //depot/maint-5.8/perl@28438
p4raw-integrated: from //depot/perl@27367 'edit in' Configure
(@27363..)
p4raw-integrated: from //depot/perl@27363 'copy in' utils/h2ph.PL
(@26812..)

17 years agoIntegrate:
Robert Sebastian Gerus [Tue, 14 Feb 2006 17:27:52 +0000 (18:27 +0100)]
Integrate:
[ 27189]
Subject: Patch for perl to compile/work on DragonFlyBSD
Message-ID: <4a1e16420602140827w17fd6595w@mail.gmail.com>

[ 27190]
Added hints/dragonfly.sh for #27189

[ 27263]
Additional hints needed to build threaded Perls on NetBSD.
p4raw-link: @27263 on //depot/perl: 5d0b7876b0019191af58e1bc2dbfe65297fb07aa
p4raw-link: @27190 on //depot/perl: 6295ebfaf1e0ca1b6ba18bec94c8355b342cc67f
p4raw-link: @27189 on //depot/perl: a774dfe6b6f995a7b0f1353bd08c10bb60822960

p4raw-id: //depot/maint-5.8/perl@28437
p4raw-branched: from //depot/perl@28436 'branch in' hints/dragonfly.sh
p4raw-integrated: from //depot/perl@28436 'copy in' hints/netbsd.sh
(@20552..)
p4raw-integrated: from //depot/perl@27190 'merge in' MANIFEST
(@27180..)
p4raw-integrated: from //depot/perl@27189 'edit in' Configure
(@26993..) Makefile.SH (@27177..)

17 years agoIntegrate:
Steve Peters [Mon, 2 Jan 2006 09:37:27 +0000 (03:37 -0600)]
Integrate:
[ 26606]
Add probe for snprintf () and vsnprintf ()

Subject: [PATCH] snprintf() and vsnprintf() (was Re: [PATCH] Configure: stdio char (un)signedness)
Message-ID: <20060102153727.GA14247@mccoy.peters.homeunix.org>

[ 26630]
Add snprintf() and vsnprintf() to the various Win32 configuration
files.

[ 26632]
Added snprintf() and vsnprintf() to configure.com as 'undef'.

[ 26655]
Reorder changes made in change 26630

(Keep the order in win32/config.* and win32/config_H.* the same as in
Configure and config_H.SH for easier diffing)

[ 26668]
Test if the probed availability of v?snprintf () is
actually usable. Thanks to Russ and Jarkko.

[ 26703]
Make v?snprintf available on VMS v7.3-2 and later and clean up
some other version-dependency checks.
p4raw-link: @26703 on //depot/perl: d00eb2498c2f3efedfc04e6a6a3691e600b0c96a
p4raw-link: @26668 on //depot/perl: 2478f7a0ecfc00f4d83ec0abe7521859385d9893
p4raw-link: @26655 on //depot/perl: aeb8b986a1665673ee977bbacc4401c792f66cd1
p4raw-link: @26632 on //depot/perl: ed3e35345042264d83e70f04a3168d38072ed0b8
p4raw-link: @26630 on //depot/perl: 4ae8a42e2d893d542fe5ac274d3d7a2fb77e0f25
p4raw-link: @26606 on //depot/perl: 4f5da3e92a0c530bfe4334764eb75169e997c27f

p4raw-id: //depot/maint-5.8/perl@28436
p4raw-integrated: from //depot/perl@26703 'edit in' configure.com
(@26690..)
p4raw-integrated: from //depot/perl@26668 'edit in' Configure
(@26606..)
p4raw-integrated: from //depot/perl@26655 'edit in' win32/config.vc64
(@26630..)
p4raw-integrated: from //depot/perl@26630 'edit in' win32/config.bc
win32/config.gc win32/config.vc win32/config_H.bc
win32/config_H.gc win32/config_H.vc win32/config_H.vc64
(@25943..)
p4raw-integrated: from //depot/perl@26606 'edit in' handy.h (@26505..)
'ignore' Porting/Glossary (@25935..) 'merge in' config_h.SH
(@25935..)

18 years agoIntegrate:
Nicholas Clark [Fri, 19 May 2006 15:01:03 +0000 (15:01 +0000)]
Integrate:
[ 28007]
Subject: two [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Fri, 28 Apr 2006 21:04:59 +0300
Message-ID: <4452594B.4040609@gmail.com>
[the signed/unsigned part]

[ 28042]
Subject: [PATCH] signed vs unsigned char * nit
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Date: Sat, 29 Apr 2006 20:59:29 +0300 (EEST)
Message-Id: <200604291759.k3THxTji032009@kosh.hut.fi>
p4raw-link: @28042 on //depot/perl: 3b416f4149e31f8665cf9074e631ca0d2529406e
p4raw-link: @28007 on //depot/perl: 899be1018553cb37b5cccbe4f65d169fd1c17028

p4raw-id: //depot/maint-5.8/perl@28233
p4raw-integrated: from //depot/perl@28042 'edit in' pp.c (@28027..)

18 years agoUpdate Changes
Nicholas Clark [Wed, 17 May 2006 21:36:24 +0000 (21:36 +0000)]
Update Changes

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

18 years agoIntegrate:
Nicholas Clark [Tue, 16 May 2006 22:44:31 +0000 (22:44 +0000)]
Integrate:
[ 28034]
Fix two errors found by Coverity.
p4raw-link: @28034 on //depot/perl: 4b0c4b6fb611d776b6e7507f70c235f361e01815

p4raw-id: //depot/maint-5.8/perl@28213
p4raw-integrated: from //depot/perl@28034 'merge in' pp_sys.c
(@28019..)

18 years agoIntegrate:
Andy Lester [Sun, 30 Oct 2005 23:44:13 +0000 (17:44 -0600)]
Integrate:
The perlio.c part of:
[ 25915]
Subject: [PATCH] Etta James presents: More consting
Date: Sun, 30 Oct 2005 23:44:13 -0600
Message-ID: <20051031054413.GA10767@petdance.com>

[ 25948]
Subject: [PATCH] perlio.c consting
From: Andy Lester <andy@petdance.com>
Date: Oct 31, 2005 6:54 PM
Message-ID: <20051031175411.GA18480@petdance.com>
p4raw-link: @25948 on //depot/perl: dcda55fce16d4bfd5fd692594c1b771b8c7e87d8
p4raw-link: @25915 on //depot/perl: c4420975666e665b3282e2edeea3304e6626be36

p4raw-id: //depot/maint-5.8/perl@28212
p4raw-integrated: from //depot/perl@25948 'edit in' perlio.c (@25925..)
'merge in' op.c (@25915..)

18 years agoIntegrate:
Nicholas Clark [Tue, 16 May 2006 17:29:06 +0000 (17:29 +0000)]
Integrate:
[ 27484]
The "Change installation prefix, if necessary." code needs to use
the ~ expanded prefix and installprefix in the substitution.

[ 27485]
The existing order of the checks for whether man1dir and man3dir were
' ' were obviously buggy, because they set installman[13]dir only for
the next if block to set it again. Reordering removes that daftness.

[ 27488]
Refactor most of the cut & paste for setting prefix/prefixexp variables
and the "Change installation prefix, if necessary" into a new
"function" setprefixvar (which I assume will become Setprefixvar.U)
How many platforms still have Bourne shells that can't do shell
functions? Someone's going to say Irix?

[ 27489]
Split break out the installprefix code from setprefixvar, which allows
the remaining 8 places to call the common prefix conversion code.

[ 27490]
First stab at rather shaky Configure support for relocatable @INC.
Seems to be installing rather more that it's supposed to be.

[ 27491]
Somewhat less shaky relocatable @INC support. You can install things
to the current location of the perl tree, move it, install more things,
move it again, lather rinse repeat.
Configure with -Duserelocatableinc

[ 27513]
Make the original versions of relocated paths available from
%Config::Config with the prefix "raw_". Not sure if "raw_" is the
best choice.

[ 27603]
make configpm only update Config.pm, Config_heavy.pl if changed.
Should stop spurious rebuilding of extensions.
Also add documentation and copyright to top of file.

[ 27703]
Regeneration after backports of #27447, #27484, #27485, #27488,
#27489, #27490, #27491, and #27632

[ 27758]
Regeneration of Glossary and the underlying tools.

[ 28188]
Only ask about MAD for 5.9.0 and greater. Otherwise silently select
'n'.

[ 28196]
Simplify the implementation in ExtUtils::Packlist::read.

[ 28198]
Encode run-time relocation of file names in packlist with a relocate_as
attribute. With this, unmodified instmodsh correctly verifies installed
modules even after relocation.

[ 28202]
Take advantage of the bug that binexp ignores the Configure
installprefix, by using initialinstalllocation rather than binexp
to determine the #! line for installed scripts. This way they are at
least correct initially for a relocatable @INC perl, rather than
starting as .../../bin/perl

[ 28210]
Revert change 27513
[Make the original versions of relocated paths available from
 %Config::Config with the prefix "raw_". Not sure if "raw_" is the
 best choice.]
p4raw-link: @28210 on //depot/perl: 8d962fa19aed5e09e2a40f248faf69d89e34ac51
p4raw-link: @28202 on //depot/perl: d0e36aa98afbfc3010e3967466f74fb90a5f87db
p4raw-link: @28198 on //depot/perl: c776f839f30384ddfe6b6dc36234e7e9c6769025
p4raw-link: @28196 on //depot/perl: 2670f2fb63e9d801bb95741ca4b37440856f6dc9
p4raw-link: @28188 on //depot/perl: fd655d330c4a545eb836be2bf58736622e036e45
p4raw-link: @27758 on //depot/perl: 1d8961043b9b86e13dafc590cceb9dd2c36fc93e
p4raw-link: @27703 on //depot/perl: f3f1a2d8b86b4e98226148e5f6cbaed401f4f44f
p4raw-link: @27603 on //depot/perl: 962e59f3942cd3c21a40f74d9355b5264589f9a0
p4raw-link: @27513 on //depot/perl: 86ef366e59c075737dda06eda5c86422f489d06f
p4raw-link: @27491 on //depot/perl: 1d230ada0b2ff8ef3af3370141f10c3315abf450
p4raw-link: @27490 on //depot/perl: 4d20abadde4f672afab51524d4ff00c7c65bbed7
p4raw-link: @27489 on //depot/perl: a092d240526911dd8284a018cd9aceb03393940a
p4raw-link: @27488 on //depot/perl: 79522dd28c2cdf92c115561db038e46cd34e5073
p4raw-link: @27485 on //depot/perl: 477140ee87d4de70d22c41fe9cdb326baa1d9749
p4raw-link: @27484 on //depot/perl: 7056f94a252273b10cc029678e8fd38f9090525a

p4raw-id: //depot/maint-5.8/perl@28211
p4raw-integrated: from //depot/perl@28196 'ignore'
lib/ExtUtils/Packlist.pm (@27983..)
p4raw-integrated: from //depot/perl@27758 'edit in' Porting/Glossary
(@27686..)
p4raw-integrated: from //depot/perl@27703 'merge in' config_h.SH
(@27632..)
p4raw-integrated: from //depot/perl@27491 'edit in' configpm (@27490..)
'merge in' installperl (@27389..)
p4raw-integrated: from //depot/perl@27488 'edit in' Configure
(@27485..)

18 years agoIntegrate:
Yves Orton [Tue, 31 Jan 2006 09:55:25 +0000 (10:55 +0100)]
Integrate:
[ 27016]
Subject: Re: [PATCH] Re: replacing "inuse" Win files (was Re: Help with a Cwd.pm build error)
Message-ID: <9b18b3110601310055h7aeb9aa1gdc2d63cc56d97768@mail.gmail.com>

[ 27587]
Get version numbers in line with what's in the CPAN
EU::MM 6.30_01 tarball. (ExtUtils::Install has local changes,
so bump its version number.)

[ 27983]
Upgrade to ExtUtils-Install-1.39

[ 28101]
Upgrade to ExtUtils-Install-1.40
p4raw-link: @28101 on //depot/perl: dc7d4075528440745316b7c771b25ec178ce8384
p4raw-link: @27983 on //depot/perl: 3a465856879d8f5c62068f777bdbd4b60c7e7eb4
p4raw-link: @27587 on //depot/perl: b308eaac984433b634f42b8721523057190cf20c
p4raw-link: @27016 on //depot/perl: 3b4a80d1d9e181ce3db176cafa62162ddbd00ced

p4raw-id: //depot/maint-5.8/perl@28208
p4raw-integrated: from //depot/perl@28207 'copy in'
lib/ExtUtils/t/Packlist.t (@16663..) lib/ExtUtils/t/Install.t
(@21652..) lib/ExtUtils/t/Installed.t (@24510..)
p4raw-integrated: from //depot/perl@27587 'ignore'
lib/ExtUtils/Packlist.pm (@16663..) lib/ExtUtils/Installed.pm
(@20754..)
p4raw-integrated: from //depot/perl@27016 'ignore'
lib/ExtUtils/Install.pm (@24185..)

18 years agoIntegrate:
Nicholas Clark [Tue, 16 May 2006 13:57:39 +0000 (13:57 +0000)]
Integrate:
[ 27407]
Add a Configure question for mad (Misc Attribute Decoration - Larry's
perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h

[ 27410]
Backport #27407
Add a Configure question for mad (Misc Attribute Decoration - Larry's
perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h

[ 27632]
Introduce d_sitearch and d_inc_version_list config.sh variables.
These allow me to set sitearch and sitelib to be the same without
ending up with duplicate entries in @INC.

Basically the same way the old d_archlib variable is used.

[ 27634]
Populate pre-canned config.sh files with
d_archlib and d_inc_version_list.
Ref change 27632.

[ 27652]
Glossary part for #27447 (madlyh, madlyobj, madlysrc)
p4raw-link: @27652 on //depot/perl: 52ca670a8fddebef5ced52ed063f29408da24778
p4raw-link: @27634 on //depot/perl: a04d9d89390de90855aea3352a83bfabc09fcd3b
p4raw-link: @27632 on //depot/perl: c95d0e17d41adab48cd67f4e46a8183fa17438e1
p4raw-link: @27410 on //depot/perl: d620c7b31fc6dbd13dded070810962b5b0782c28
p4raw-link: @27407 on //depot/perl: a724edfe531a4a4cce2d4bbb94e1f583d86bc9a3

p4raw-id: //depot/maint-5.8/perl@28207
p4raw-integrated: from //depot/perl@27652 'edit in' Porting/Glossary
(@27632..)
p4raw-integrated: from //depot/perl@27634 'edit in' win32/config.gc
wince/config.ce (@27407..)
p4raw-integrated: from //depot/perl@27632 'edit in' perl.c (@27617..)
p4raw-integrated: from //depot/perl@27410 'edit in' config_h.SH
(@27407..)
p4raw-integrated: from //depot/perl@27407 'edit in' Configure
(@27370..) win32/config.bc win32/config.vc win32/config.vc64
(@27372..) configure.com (@27386..) 'merge in'
Cross/config.sh-arm-linux NetWare/config.wc
plan9/config_sh.sample (@26639..) uconfig.sh (@26764..)
epoc/config.sh (@27007..)

18 years agoIntegrate:
Yitzchak Scott-Thoennes [Mon, 9 Jan 2006 06:38:25 +0000 (22:38 -0800)]
Integrate:
[ 26757]
Subject: Re: relaxing TEST restrictions (was: Re: 5.9.3 approaches)
Message-ID: <20060109143825.GB4132@efn.org>

[ 26959]
Revert change 24461, now that change 26757 allows TEST
to accept extra output from module tests

[ 28192]
TEST needs to binmode the file handle that is reading the TAP, else it
can get killed if TEST's environment has made it default all opens to
UTF-8 but the TAP is not UTF-8.
p4raw-link: @28192 on //depot/perl: 9c8d215a6f7e1098759dbf707ed95f4895bc227c
p4raw-link: @26959 on //depot/perl: fce9dd68bde848d8e3cace4ead96a2070769c394
p4raw-link: @26757 on //depot/perl: dbf51d072f3a6cc24fb165e2f676abaf7526375d

p4raw-id: //depot/maint-5.8/perl@28204
p4raw-integrated: from //depot/perl@28203 'copy in' cygwin/perlld.in
(@24461..) 'edit in' t/TEST (@26846..)

18 years agoIntegrate:
Nicholas Clark [Tue, 16 May 2006 12:08:39 +0000 (12:08 +0000)]
Integrate:
[ 26048]
3 calls to strlen() we can avoid.

[ 26049]
Eliminate duplicate strlen()s by explicitly calling it.
Note two places for future audit with FIXME.
Convert a SvPVX_const to SvPVX_const_nolen, where the length is unused.

[ 26050]
Eliminate some unnecessary strlen()s

[ 26051]
Moving the 4 writes of PL_no_mem followed by exit(1) to a static
function makes the object code slightly smaller.

[ 26052]
It helps to actually *remove* the now-superfluous strlen().
(An addendum to 26050.)

[ 26059]
Remove superfluous strlen() from pp_require().

[ 26061]
Simplify Perl_allocmy slightly, and cope better with the name is ""
case.

[ 26180]
Eliminate two more strlen()s, by using the return value of sprintf().

[ 26188]
Subject: [PATCH] ff_chop.patch redux
From: Andy Lester <andy@petdance.com>
Date: Mon, 21 Nov 2005 21:16:14 -0600
Message-ID: <20051122031614.GB19424@petdance.com>

[ 26231]
Subject: [PATCH] Remove redundant SvUTF8_on() calls
From: Gisle Aas <gisle@ActiveState.com>
Date: 30 Nov 2005 09:28:54 -0800
Message-ID: <lrhd9uhwo9.fsf@caliper.activestate.com>
p4raw-link: @26231 on //depot/perl: 2219f6da8b4df34299c1085ceb0611febcdea865
p4raw-link: @26188 on //depot/perl: af68e75656cbfd664098f1282fc660db7e34b9ca
p4raw-link: @26180 on //depot/perl: fc009855d5dd3ec0391bdd89fe8d709ff3609d46
p4raw-link: @26061 on //depot/perl: 6b58708ba0b8d2e44d1ba2d0c16da2fae0767752
p4raw-link: @26059 on //depot/perl: 238d24b47319609016b1ceeca1f7146f7484b9a0
p4raw-link: @26052 on //depot/perl: 261492a9c792cc5996fa288aed06262ae8bc3cb7
p4raw-link: @26051 on //depot/perl: ca8d897694915d32eefc26fbdc726d3457e7fedc
p4raw-link: @26050 on //depot/perl: 42d9b98d3f03094883cfc4bb765785a6d4396077
p4raw-link: @26049 on //depot/perl: f7997f866fdcafc687fbaa99dbeb48f109b2e8d8
p4raw-link: @26048 on //depot/perl: 2b2a7552a15f8e825abc97e9ae95ff726e336474

p4raw-id: //depot/maint-5.8/perl@28203
p4raw-integrated: from //depot/perl@26231 'merge in' pp.c (@26039..)
p4raw-integrated: from //depot/perl@26180 'edit in' pp_ctl.c (@26059..)
p4raw-integrated: from //depot/perl@26061 'edit in' op.c (@26050..)
p4raw-integrated: from //depot/perl@26050 'edit in' toke.c (@25915..)
perlio.c (@25948..) sv.c (@26003..) util.c (@26028..) doio.c
(@26048..) 'merge in' perl.c (@26046..)

18 years agoIntegrate:
Nicholas Clark [Mon, 15 May 2006 16:44:06 +0000 (16:44 +0000)]
Integrate:
[ 24081]

[with modification - the extra argument to incpush was supposed to
be being used]
p4raw-link: @24081 on //depot/perl: dd374669df59cc2457708a01ea0f6d332912530b

p4raw-id: //depot/maint-5.8/perl@28201
p4raw-edited: from //depot/perl@24081 'edit in' perl.c (@24077..)

18 years agoIntegrate:
Nicholas Clark [Mon, 15 May 2006 16:20:18 +0000 (16:20 +0000)]
Integrate:
[ 23667]
Move the setting of $^X ahead of the initialisation of @INC

[ 23668]
Move the definition of the S_procself_val() function before
the point where it's used

[ 23674]
Relocatable @INC entries for Unix.
(With appropriate fixups in Config.pm to complete the illusion)
Currently can only be enabled with hackery to config.sh
TODO - proper Configure support, and support for otherlibdirs in
Config.pm

[ 23675]
Oops. You can't add new entries to config_h.SH without making some
sort of corresponding defined/undefined value in config.sh somehow.

[ 23676]
Bother. It helps if you also propagate the new entry to config.sh

[ 23677]
Subject: [PATCH] Re: Smoke [5.9.2] 23675 FAIL(m) openvms E8.2 (Alpha/4 cpu)
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41CB6BD1.8030207@mac.com>
Date: Thu, 23 Dec 2004 19:07:29 -0600

[ 23679]
Don't do the ... expansion on archlib, sitelib etc, given that
everyone should already be using archlibext etc
Add the extra special case code for otherlibdirs

[ 23696]
Rebuilt after backport start for 23674, 23675, and 23676

(and the configpm part of)
[ 24271]
Subject: [PATCH] Symbian port of Perl
From: <jarkko.hietaniemi@nokia.com>
Date: Mon, 18 Apr 2005 13:18:30 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>
p4raw-link: @24271 on //depot/perl: 27da23d53ccce622bc51822f59df8def79b4df95
p4raw-link: @23696 on //depot/perl: db0f2be49373138d6e6d3c0766652079b73f7811
p4raw-link: @23679 on //depot/perl: 91f668c3f8088a8ade9864ff2621af073dcb5766
p4raw-link: @23677 on //depot/perl: 4fd0a66c13e2fc6d8b573192b10e547eb574af3b
p4raw-link: @23676 on //depot/perl: d51aaa9d21dc3a78c1d9dc7a1cac0fb9ea283618
p4raw-link: @23675 on //depot/perl: 780a879fbce551af3f93d2602d9e2640cedba3cb
p4raw-link: @23674 on //depot/perl: 88fe16b231aae255ffd6ec9561af9af9f6edf830
p4raw-link: @23668 on //depot/perl: 56cf6df88be94735387b08ddb4d6153b4d344490
p4raw-link: @23667 on //depot/perl: b7975bdd15a2f8cfdd39f81ddeda20aac688230d

p4raw-id: //depot/maint-5.8/perl@28199
p4raw-integrated: from //depot/perl@23679 'edit in' configpm (@23674..)
p4raw-integrated: from //depot/perl@23677 'merge in' configure.com
(@23601..)
p4raw-integrated: from //depot/perl@23676 'edit in' Configure
(@23675..)
p4raw-integrated: from //depot/perl@23674 'edit in' proto.h (@23612..)
embed.fnc (@23644..) 'merge in' Porting/Glossary (@23457..)
embed.h (@23612..)
p4raw-integrated: from //depot/perl@23668 'edit in' perl.c (@23667..)

18 years agoIntegrate:
Yves Orton [Thu, 20 Apr 2006 22:36:08 +0000 (00:36 +0200)]
Integrate:
[ 27902]
Upgrade to Test::Harness 2.57_05

[ 27925]
Subject: Re: TODO tests and test::harness
Message-ID: <9b18b3110604201336k5a974f28h732a2819853b995@mail.gmail.com>

[ 27940]
Assimilate Test::Harness 2.57_06

[ 28190]
Upgrade to Test::Harness 2.58.
p4raw-link: @28190 on //depot/perl: 8d0d504096dac80115e0133d173ed8b2b603e2ee
p4raw-link: @27940 on //depot/perl: ea5423ed7213500644a0e5d3956d06216e1dfa0f
p4raw-link: @27925 on //depot/perl: c6b05a01efa19bab6d6168ada898b9ae1e4177e2
p4raw-link: @27902 on //depot/perl: 20f9f807e1e82c57258ff80abead8fc8ae928a83

p4raw-id: //depot/maint-5.8/perl@28191
p4raw-branched: from //depot/perl@28184 'branch in'
lib/Test/Harness/Util.pm
p4raw-integrated: from //depot/perl@28184 'copy in'
lib/Test/Harness/t/inc_taint.t (@21826..)
lib/Test/Harness/Assert.pm lib/Test/Harness/t/prove-globbing.t
lib/Test/Harness/t/prove-switches.t (@23847..)
lib/Test/Harness/t/strap.t (@24314..) lib/Test/Harness/Point.pm
(@24315..) lib/Test/Harness/TAP.pod
lib/Test/Harness/t/test-harness.t (@25649..)
lib/Test/Harness/Changes (@27902..)
p4raw-integrated: from //depot/perl@27925 'edit in' lib/Test/Harness.pm
(@27902..) 'ignore' lib/Test/Harness/t/version.t (@24315..)
p4raw-integrated: from //depot/perl@27902 'ignore'
lib/Test/Harness/bin/prove (@25649..)
lib/Test/Harness/Straps.pm (@25731..) 'merge in' MANIFEST
(@27884..)

18 years agoCasts to cope with non-const function prototypes in maint.
Nicholas Clark [Fri, 12 May 2006 21:35:03 +0000 (21:35 +0000)]
Casts to cope with non-const function prototypes in maint.

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

18 years agoIntegrate:
Nicholas Clark [Fri, 12 May 2006 18:29:48 +0000 (18:29 +0000)]
Integrate:
[ 27176]
Ensure that public I, N and P flags are off when SvTAINT is called on
something that already has taint magic.

[ 27219]
Convert utftaint.t to test.pl (from Test.pm) and provide it with
tainted() from taint.t to remove the dependency on Scalar::Util.
(So it will now work with miniperl)

[ 27221]
Turn of tainting locally inside swash_init(), as the internal
implementation of the regexp engine has nothing to do with user data,
so when and where it happens to call require is agnostic of the current
expression's taintedness.

[ 27222]
save_re_context() and even errsv_save = newSVsv(ERRSV); can turn
PL_tainted back on, so defer turning if off as late as possible.
This gets lib/locale.t working once more.
p4raw-link: @27222 on //depot/perl: dc0c6abb4831ca4f92936b3f2d60d8c6cf65c6f1
p4raw-link: @27221 on //depot/perl: d020f5c489f4f9dfad0aa88c9bea73bdb19071d1
p4raw-link: @27219 on //depot/perl: d2a59f97adfd492f72c6841a4b888253ca972521
p4raw-link: @27176 on //depot/perl: 2a509ed3c095f7d712013e653f68821f6bb2d6db

p4raw-id: //depot/maint-5.8/perl@28182
p4raw-integrated: from //depot/perl@27221 'edit in' utf8.c (@27177..)
p4raw-integrated: from //depot/perl@27219 'edit in' t/op/utftaint.t
(@24010..)
p4raw-integrated: from //depot/perl@27176 'merge in' sv.c (@27159..)

18 years agoIntegrate:
Jarkko Hietaniemi [Wed, 19 Oct 2005 16:19:23 +0000 (19:19 +0300)]
Integrate:
[ 25804]
Subject: [PATCH] blead 25801: Symbian batch of today
Date: Wed, 19 Oct 2005 16:19:23 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A663@esebe105.NOE.Nokia.com>

[ 26030]
Subject: [PATCH] Symbian update blead@26025
From: <jarkko.hietaniemi@nokia.com>
Date: Mon, 7 Nov 2005 13:32:15 +0200
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A70C@esebe105.NOE.Nokia.com>
p4raw-link: @26030 on //depot/perl: d0d72822ba0a68d160ea4c98ca80f24b8f73969b
p4raw-link: @25804 on //depot/perl: 1215b447b68a44982cbab6532e02152be37089dd

p4raw-id: //depot/maint-5.8/perl@28170
p4raw-integrated: from //depot/perl@26030 'merge in' doio.c (@25969..)
perl.c (@25991..)
p4raw-integrated: from //depot/perl@25804 'merge in' pp_sys.c
(@25778..) perl.h (@25790..)

18 years agoIntegrate:
SADAHIRO Tomoyuki [Sat, 25 Feb 2006 18:16:45 +0000 (03:16 +0900)]
Integrate:
[ 27329]
Subject: Re: [perl #38619] Bug in lc and uc (interaction between UTF-8, substr, and lc/uc)
Message-Id: <20060225180934.FCC3.BQW10602@nifty.com>

[ 28006]
Fix bug 34297 (length of overloaded UTF-8 strings)

[ 28011]
lc plus an 8 bit locale could mangle UTF-8 values returned by
overloaded stringification.

[ 28012]
uc plus an 8 bit locale could get confused by UTF-8 values returned by
overloaded stringification.

[ 28013]
lcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
returned by overloaded stringification.

[ 28014]
There were more ways to break uc/lc/ucfirst/lcfirst even without
use 'locale'; so test for them too. Correct the skip count.

[ 28016]
print couldn't correctly handle surprises from UTF-8 overloading.

[ 28019]
syswrite couldn't correctly handle surprises from UTF-8 overloading.
As part of fixing this, syswrite now tries to take advantage of the
UTF-8 cache logic for lengths and offsets on regular scalars.

[ 28022]
index and rindex couldn't correctly handle surprises from UTF-8
overloading.

[ 28027]
Dave noticed that change 28022 was wrong - should read is_index
rather than just index.

[ 28028]
We had no tests that covered the grow paths in pp_uc and pp_lc.

[ 28029]
do_vop() couldn't correctly handle surprises from UTF-8 overloading.

[ 28030]
One part of pp_pack couldn't correctly handle surprises from UTF-8
overloading.
p4raw-link: @28030 on //depot/perl: ce399ba62db9cda174a31da7c5310c71b8a9adc4
p4raw-link: @28029 on //depot/perl: 12abf4f0efbd7338e12bce75e8fe77c524383458
p4raw-link: @28028 on //depot/perl: c2955298f73609931e7742722d6cdab7cad91e16
p4raw-link: @28027 on //depot/perl: e4e44778093d8ab0f643e5c4d3bbf079882672c3
p4raw-link: @28022 on //depot/perl: 73ee8be2712c500c98e5976864ba96726bf311e2
p4raw-link: @28019 on //depot/perl: c9cb0f4189a96c284198e261ba3e6a7df9d31f55
p4raw-link: @28016 on //depot/perl: 676f44e7e401461aa81575a0e3d8e005bbe94251
p4raw-link: @28014 on //depot/perl: 6e08b83d756ad133b8bc2487444be12cd5bed405
p4raw-link: @28013 on //depot/perl: d54190f6ca0aac8b08bb59370c53932771933c40
p4raw-link: @28012 on //depot/perl: 673061948a634568cc156286d219e7f736c6048a
p4raw-link: @28011 on //depot/perl: ec9af7d430b6660eff7240fa20757fa5feb233a8
p4raw-link: @28006 on //depot/perl: 923318002ce505ec75344304b64394034456b5b8
p4raw-link: @27329 on //depot/perl: 6818a3573a254af22852a6102b2d70b346bae901

p4raw-id: //depot/maint-5.8/perl@28169
p4raw-added: from //depot/perl@28167 'edit' t/uni/overload.t (@28029..)
p4raw-integrated: from //depot/perl@28167 'copy in' t/op/lc.t
(@27329..) 'merge in' doop.c (@27962..)
p4raw-integrated: from //depot/perl@28030 'merge in' pp_pack.c
(@28008..)
p4raw-integrated: from //depot/perl@28019 'edit in' pp_sys.c (@28008..)
p4raw-integrated: from //depot/perl@28016 'merge in' doio.c (@28008..)
p4raw-integrated: from //depot/perl@28011 'edit in' pp.c (@28008..)
p4raw-integrated: from //depot/perl@28006 'merge in' MANIFEST
(@28005..)

18 years agoDie die die die die! And stay dead, please.
Nicholas Clark [Thu, 11 May 2006 16:08:47 +0000 (16:08 +0000)]
Die die die die die! And stay dead, please.

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

18 years agoIntegrate:
Nicholas Clark [Thu, 11 May 2006 16:01:23 +0000 (16:01 +0000)]
Integrate:
[ 25821]
Mark more static Encode data structures as const.

[ 25823]
use more 'const' in the Encode data structures.

[ 26081]
Pod nit in Encode.pm, found by Marc Lehmann in RT #36949.

[ 26295]
Don't build manpages for Encode and Unicode::Normalize
(when compiling perl manpages are built afterwards, not
by MakeMaker like when installing modules.) This fix a
bootstrap problem (now that Pod::Man uses POSIX.)

[ 26863]
Upgrade to Encode 2.14

[ 26922]
Avoid warning with MS Visual C compiler.
Encode.xs(443) : warning C4761: integral size mismatch in argument; conversion supplied

[ 27721]
There should be only one META.yml file

[ 27824]
Coverity notes that resource are leaked in the unfinished and never
called function _utf8_to_bytes.

[ 27982]
Upgrade to Encode-2.15

[ 28098]
Upgrade to Encode 2.16

[ 28141]
Ressurect change 27824, which plugs a resource leak in uncalled code.

[ 28152]
Upgrade to Encode-2.17
p4raw-link: @28152 on //depot/perl: 5a1dbf3942f1e2ad6a95fb40929e663709bd4e44
p4raw-link: @28141 on //depot/perl: 2cdf8b6c82a522ab6054376c5495b61d5124fe25
p4raw-link: @28098 on //depot/perl: d1256cb1bc05a9b21e5ab396a011ea9c02150dd4
p4raw-link: @27982 on //depot/perl: 0a8c69ed98534e4cb5df7fb14bb378b3457ef4ef
p4raw-link: @27824 on //depot/perl: 5860085a49b592c6a586022a93b99a5b2e2d24a5
p4raw-link: @27721 on //depot/perl: f8cd812dc4998f8b7cfb96262c9f9652d45d74e1
p4raw-link: @26922 on //depot/perl: f5a22bee2f0219400ae1a034d612824b40d53944
p4raw-link: @26863 on //depot/perl: 41c240f59398510e3a736bd441215c051e190e68
p4raw-link: @26295 on //depot/perl: f506ffab3a9790503594078dbe049cd53fe08007
p4raw-link: @26081 on //depot/perl: 50c1ac04356af5f8e8f967db7ed083187aacb550
p4raw-link: @25823 on //depot/perl: 7dd03145f7521e677db128080742a33214229568
p4raw-link: @25821 on //depot/perl: 0629a5b339b45d14dcfb89e3642fe75983f27c16

p4raw-id: //depot/maint-5.8/perl@28165
p4raw-branched: from //depot/perl@28164 'branch in'
ext/Encode/t/from_to.t
p4raw-deleted: from //depot/perl@28164 'delete in'
ext/Devel/PPPort/META.yml (@26914..)
p4raw-integrated: from //depot/perl@28164 'copy in'
ext/Encode/bin/unidump (@15780..) ext/Encode/t/unibench.pl
(@15925..) ext/Encode/t/encoding.t (@15993..)
ext/Encode/Unicode/Makefile.PL (@16628..)
ext/Encode/Byte/Makefile.PL ext/Encode/CN/Makefile.PL
ext/Encode/EBCDIC/Makefile.PL ext/Encode/Encode/Makefile_PL.e2x
ext/Encode/JP/Makefile.PL ext/Encode/KR/Makefile.PL
ext/Encode/Symbol/Makefile.PL ext/Encode/TW/Makefile.PL
(@16840..) ext/Encode/t/CJKT.t (@19325..) ext/Encode/t/guess.t
(@19811..) ext/Encode/Byte/Byte.pm ext/Encode/CN/CN.pm
ext/Encode/EBCDIC/EBCDIC.pm ext/Encode/KR/KR.pm
ext/Encode/Symbol/Symbol.pm ext/Encode/TW/TW.pm
ext/Encode/bin/ucm2table ext/Encode/bin/ucmlint
ext/Encode/lib/Encode/CJKConstants.pm
ext/Encode/lib/Encode/Encoder.pm ext/Encode/lib/Encode/Guess.pm
ext/Encode/lib/Encode/JP/H2Z.pm
ext/Encode/lib/Encode/JP/JIS7.pm
ext/Encode/lib/Encode/KR/2022_KR.pm ext/Encode/t/Unicode.t
ext/Encode/t/at-cn.t ext/Encode/t/at-tw.t
ext/Encode/t/enc_data.t ext/Encode/t/enc_eucjp.t
ext/Encode/t/enc_module.t ext/Encode/t/enc_utf8.t
ext/Encode/t/jperl.t ext/Encode/t/rt.pl (@22835..)
ext/Encode/JP/JP.pm ext/Encode/bin/piconv
ext/Encode/bin/ucmsort (@23380..) ext/Encode/Unicode/Unicode.pm
ext/Encode/lib/Encode/Encoding.pm (@23421..)
ext/Encode/t/Encode.t (@23624..)
ext/Unicode/Normalize/Makefile.PL (@24166..)
ext/Encode/t/Aliases.t ext/Encode/t/utf8strict.t (@24231..)
ext/Encode/lib/Encode/PerlIO.pod (@25266..) ext/Encode/MANIFEST
ext/Encode/lib/Encode/Alias.pm ext/Encode/lib/Encode/Config.pm
(@25271..) ext/Encode/lib/Encode/MIME/Header/ISO_2022_JP.pm
ext/Encode/t/mime_header_iso2022jp.t (@25273..)
ext/Encode/AUTHORS ext/Encode/t/fallback.t
ext/Encode/ucm/8859-7.ucm (@25609..) ext/Encode/encengine.c
(@25821..) ext/Encode/t/perlio.t (@26067..)
ext/Encode/bin/enc2xs ext/Encode/lib/Encode/CN/HZ.pm
ext/Encode/t/mime-header.t (@26863..)
ext/Encode/lib/Encode/Unicode/UTF7.pm (@27982..)
ext/Encode/Changes (@28098..)
p4raw-integrated: from //depot/perl@27982 'ignore'
ext/Encode/Unicode/Unicode.xs (@23624..) ext/Encode/Encode.xs
(@27824..)
p4raw-integrated: from //depot/perl@27721 'edit in' MANIFEST (@27663..)
p4raw-integrated: from //depot/perl@26863 'ignore'
ext/Encode/lib/Encode/MIME/Header.pm (@25271..)
ext/Encode/encoding.pm (@25609..)
p4raw-integrated: from //depot/perl@26295 'ignore'
ext/Encode/Makefile.PL (@23380..)
p4raw-integrated: from //depot/perl@26081 'ignore' ext/Encode/Encode.pm
(@25609..)
p4raw-integrated: from //depot/perl@25821 'ignore'
ext/Encode/Encode/encode.h (@25271..)

18 years agoIntegrate:
Nicholas Clark [Thu, 11 May 2006 13:34:17 +0000 (13:34 +0000)]
Integrate:
[ 26352]
The logic to use SVt_NV or SVt_PVNV is in sv_upgrade, so no need to
dupliate it in sv_2nv. Also, the final sv_upgrade is never called.

[ 26353]
Simplify the SvGMAGIC code in sv_2nv, removing duplicated checks to
warn for uninitialized values.

[ 26354]
 Simplify the SvGMAGIC code in sv_[ipu]v_flags.

[ 26355]
Duplicate the AMAGIC temporary variable consting from sv_2iv_flags into
sv_2uv_flags, sv_2nv and sv_2pv_flags.

[ 26385]
The THINKFIRST check after the GMAGICAL check in sv_2iv_flags and
sv_2uv_flags should have been else if.

[ 26386]
The IV/UV choice can be made inside uiv_2buf rather than sv_2pv_flags.

[ 26390]
Pull the definition of olderrno in sv_2pv_flags into the block where
it's used.
p4raw-link: @26390 on //depot/perl: c81271c318db4fc452c901997c383f327c851326
p4raw-link: @26386 on //depot/perl: 4ea1d5509b412a58fa64cd5ebc1ea31750b05303
p4raw-link: @26385 on //depot/perl: 4cb1ec55c1e2db383f2cc2e1c02c9ba36503a201
p4raw-link: @26355 on //depot/perl: deb46114c3cc895c9e08a296579a1315c920625c
p4raw-link: @26354 on //depot/perl: 1c7ff15ea62f0cb57f76bc4b2a270c075f724f44
p4raw-link: @26353 on //depot/perl: 47a72cb8cdd89092524c4dfa4bb85802a951515f
p4raw-link: @26352 on //depot/perl: 7e25a7e974022d38c0b211f280644364acb3c3ee

p4raw-id: //depot/maint-5.8/perl@28164
p4raw-integrated: from //depot/perl@26386 'edit in' sv.c (@26385..)

18 years agoIntegrate:
Nicholas Clark [Thu, 11 May 2006 13:08:38 +0000 (13:08 +0000)]
Integrate:
[ 26002]
You can't there from here. (Dead code in sv_2pv_flags)

[ 26003]
Use the return value of sprintf in sv_2pv_flags. Remove dead code.

[ 26267]
Untease the regexp stringification from the reference naming in
sv_2pv_flags. (Lots of re-indentation, little real change)

[ 26268]
As they are now the same, can fold the entire switch statement for
reference type in sv_2pv_flags into a call to sv_reftype.

[ 26269]
Clone the brief return logic and thereby remove a goto.

[ 26270]
Move the scope of origsv inwards, and rename variables to avoid the
need to re-assign to sv.

[ 26271]
Make all the return statements closer to the final calcuation of the
returned value in the reference stringification code. Pull variables
into tigher scope which also allows some to become const.

[ 26272]
sv_2pv_flags shouldn't return a constant string "NULLREF" - it was the
only constant non-"" string returned.

[ 26273]
Eliminate all the gotos in sv_2pv_flags, by moving the tokensave*
code into the GMAGIC block.

[ 26274]
Eliminate an unneeded local variable.

[ 26275]
Don't use Copy for 1 and 2 character string constants.

[ 26290]
Pull the regexp stringification code out into S_stringify_regexp, to
make sv_2pv_flags clearer.

[ 26345]
Inline asIV and asUV, as each is only used once, and it distracts from
the patterns of repeated code in sv_2iv_flags, sv_2uv_flags, sv_2nv
and sv_2pv_flags. Add a comment noting the return path from the end of
the SvGMAGICAL case to all 4.

[ 26346]
Update embed.fnc and headers after change 26345 (spotted by Rafael)
p4raw-link: @26346 on //depot/perl: d870712163dce2ef7e0a77999cef2ce40ff04bde
p4raw-link: @26345 on //depot/perl: 71c558c3bb71d4ea530abb3cc25180c1ccf2bedc
p4raw-link: @26290 on //depot/perl: 9af30d341ef97abc147c19943ded57444789091d
p4raw-link: @26275 on //depot/perl: cd0e59aa9623dc38e7eeafa9836a6ce08f163f0d
p4raw-link: @26274 on //depot/perl: e8ada2d0ac7fd0374d9ca5622b4ae32d9d359bea
p4raw-link: @26273 on //depot/perl: 75dfc8ec3081fc68ba9300a87ce568ff4b65f5b9
p4raw-link: @26272 on //depot/perl: 042dae7a710ff8f70aa445a52e7438f595bf26ce
p4raw-link: @26271 on //depot/perl: d8eae41ed6c62a8f34922d4cd7ac5baaf5ee54f0
p4raw-link: @26270 on //depot/perl: 69c71a440db2ed4aec5ba500863ee61ef46bd67a
p4raw-link: @26269 on //depot/perl: b4c255aa9b64e6ec7b507b55de2b6fd71a922447
p4raw-link: @26268 on //depot/perl: 8193e65bb36d71e3ea0cfdd7548f511b368fe2bd
p4raw-link: @26267 on //depot/perl: c080367dabc9773787a665f0cb0409433d932027
p4raw-link: @26003 on //depot/perl: 8a9c777e2c77e4986acca93933c193ed57804ec4
p4raw-link: @26002 on //depot/perl: 0a2d26d92481df1892a243c1a740dcd2effde1fa

p4raw-id: //depot/maint-5.8/perl@28163
p4raw-integrated: from //depot/perl@26346 'edit in' proto.h (@26296..)
'merge in' embed.h (@26281..) embed.fnc (@26296..)
p4raw-edited: from //depot/perl@26290 'edit in' sv.c (@26289..)

18 years agoIntegrate:
David Landgren [Fri, 5 May 2006 17:03:39 +0000 (19:03 +0200)]
Integrate:
[ 28131]
Subject: [PATCH] ext/IPC/SysV/t/ipcsysv.t using test.pl
Message-ID: <445B694B.8060901@landgren.net>
Date: Fri, 05 May 2006 17:03:39 +0200

Subject: Re: [PATCH] ext/IPC/SysV/t/sem.t using test.pl
From: David Landgren <david@landgren.net>
Message-ID: <445B75EF.3000100@landgren.net>
Date: Fri, 05 May 2006 17:57:35 +0200

[ 28138]
Subject: Re: [PATCH] ext/IPC/SysV/t/ipcsysv.t using test.pl
From: David Landgren <david@landgren.net>
Date: Tue, 09 May 2006 13:03:22 +0200
Message-ID: <446076FA.6010409@landgren.net>
p4raw-link: @28138 on //depot/perl: 2b06bec16437d2ccbb6a387eb4ac5cf4f6eb08fe
p4raw-link: @28131 on //depot/perl: 1ba50a1a00c6e314206a5bf3d222b0d76401bbb0

p4raw-id: //depot/maint-5.8/perl@28162
p4raw-integrated: from //depot/perl@28161 'copy in'
ext/IPC/SysV/t/ipcsysv.t (@20269..) ext/IPC/SysV/t/sem.t
(@28131..)

18 years agoIntegrate:
David Landgren [Mon, 1 May 2006 15:50:03 +0000 (17:50 +0200)]
Integrate:
[ 27220]
Assume that if runperl is called under tainting, that the caller really
really wanted to run perl, so brute force untaint everything.

[ 27345]
Move all the de-tainting logic for runperl into test.pl.

[ 27364]
Taint handling for runperl:
- better taint detection (switch -T in command)
- $ENV{PATH} stripping of writeable directories on unix/linux

[ 27550]
Also strip $ENV{PATH} dirs writable by world.
The stripping was introduced in change 27364 to improve taint handling.

[ 27551]
Avoid "uninitialized value" warnings during 'make test'.
My system is set up with a few PATH entries I'm not allowed
to access, so stat() fails for these.

[ 28037]
Subject: Re: [PATCH] provide diag() and don't use ++ in test.pl
Message-ID: <4456120B.3000302@landgren.net>

Plus some additional comment (also from David) about WHY not to
use ++ in test.pl

[ 28059]
Change 28037 broke t/op/each.t when running with TEST.
p4raw-link: @28059 on //depot/perl: 178eff928e12522422417310bee9331fccc184cf
p4raw-link: @28037 on //depot/perl: 485f531e502dcba5ee00641e3b64706a16e1b995
p4raw-link: @27551 on //depot/perl: 3fdeee05312bf904b2b698f85963a6d644083194
p4raw-link: @27550 on //depot/perl: 6f998dadd365dcf88776abd404d1a47b068400ff
p4raw-link: @27364 on //depot/perl: 8210c8d394ae8b3f99882bcf9feccbb0aac08035
p4raw-link: @27345 on //depot/perl: 613de57f1df271b4819b04c5522a963f3b1f0f50
p4raw-link: @27220 on //depot/perl: a70a16279b57a1b432b27e8b15d0377583bdb21f

p4raw-id: //depot/maint-5.8/perl@28161
p4raw-integrated: from //depot/perl@28037 'ignore' t/test.pl (@27551..)

18 years agoIntegrate:
Tassilo von Parseval [Tue, 25 Oct 2005 08:11:42 +0000 (10:11 +0200)]
Integrate:
[ 25615]
Micro-optimisation: use PL_globalstash instead of looking up
CORE::GLOBAL::require by name

[ 25848]
Code in wait4pid was calling hv_delete with the hash iterator
currently on that entry. On aggregate this does more work, beacuse
the next call to hv_iterinit() would spot the flag, and have to call
the delete routine, while in the meantime any new entries can't
re-use that memory.

[ 25854]
Subject: Re: [PATCH] minor speed-up for pp_push()
Message-id: <20051025061141.GA2256@ethan>
p4raw-link: @25854 on //depot/perl: 0a75904b806e52eae8a54feaebd1661bb58649d4
p4raw-link: @25848 on //depot/perl: 7b9a32411c4ec6251e6f3ab9bb69dd43222d7692
p4raw-link: @25615 on //depot/perl: d6a985f2bb09f0fd197b7c4af4b2d8913ce7f573

p4raw-id: //depot/maint-5.8/perl@28160
p4raw-integrated: from //depot/perl@25854 'merge in' pp.c (@25757..)
p4raw-integrated: from //depot/perl@25848 'merge in' util.c (@25841..)
p4raw-integrated: from //depot/perl@25615 'merge in' op.c (@25599..)

18 years agoIntegrate:
Nicholas Clark [Thu, 11 May 2006 11:55:15 +0000 (11:55 +0000)]
Integrate:
[ 24958]
Indent some of the #ifdef/#define/#endif to make the nesting clearer.
Simplify SvPV_free slightly.

[just the second part]
p4raw-link: @24958 on //depot/perl: 771ba71a7bf3673decf297992c8591f2ff873802

p4raw-id: //depot/maint-5.8/perl@28159
p4raw-integrated: from //depot/perl@24958 'edit in' sv.h (@24857..)

18 years agoIntegrate:
Nicholas Clark [Thu, 11 May 2006 10:36:47 +0000 (10:36 +0000)]
Integrate:
[ 25832]
Add my_sprintf, which is usually just a macro for sprintf, for those
places where we want to use the return value of sprintf. This allows
a wrapper to be used for platforms where the C library isn't ANSI-
conformant.

[ 25841]
Replace all the strlen()s related to PL_pidstatus with the return
value of my_sprintf

[ 25862]
Use the return value from sprintf and avoid a call to strlen

[ 26001]
Use the return value from sprintf().

[ 26006]
s/printf/my_printf/ because we're using the return value.
My mistake spotted by Gisle.
p4raw-link: @26006 on //depot/perl: e5105eda9ec104fa4cd12906af09da2e3a0c3386
p4raw-link: @26001 on //depot/perl: 86c11942206ec09dd2a486bb22552aa2f170e322
p4raw-link: @25862 on //depot/perl: 4150c1890ffe73fc298ab9944c3d80e0d6511038
p4raw-link: @25841 on //depot/perl: 7ea75b6170327bc14c03f69e90eb8c7d3cb91382
p4raw-link: @25832 on //depot/perl: ce582ceece605be1a68752611f28e5b1a8e80455

p4raw-id: //depot/maint-5.8/perl@28158
p4raw-integrated: from //depot/perl@26006 'edit in' regcomp.c
(@26001..)
p4raw-integrated: from //depot/perl@26001 'copy in' taint.c (@24965..)
'ignore' universal.c (@25915..)
p4raw-integrated: from //depot/perl@25862 'merge in' sv.c (@25850..)
p4raw-integrated: from //depot/perl@25841 'edit in' util.c (@25832..)
p4raw-integrated: from //depot/perl@25832 'merge in' makedef.pl
(@25749..) embed.h global.sym (@25808..) perl.h (@25810..)
embed.fnc proto.h (@25822..)

18 years agoIntegrate:
Nicholas Clark [Thu, 11 May 2006 10:03:53 +0000 (10:03 +0000)]
Integrate:
[ 23763]
Add TODO tests for UTF8 encoded soft references

[ 23766]
Stage 1 of utf8 support for soft references.
Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags
Add gv_fetchsv to look up a GV by SV rather than a char * pointer
Provide a backwards compatability gv_fetchpv
Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing
the pointer from an SV
All tests still pass.

[ 23770]
Pull the am-I-utf8-or-not logic into one place (S_newSV_maybe_utf8)
as I think that it will be needed for utf8 soft references.

[ 26415]
gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, rather
than a simple boolean, so passing FALSE or TRUE is bogus.

[ 26434]
The lref argument of sv_2cv is actually passed onwards to gv_fetchsv,
so it is a bitmap of flag bits rather than simple TRUE/FALSE.

[ 27028]
Make Perl_gv_fetchpvn_flags actually heed the passed in length.
This means that \0 bytes in symbolic references now work.

[ 27044]
Oops. 1 NUL termination assumption remains in Perl_gv_fetchpvn_flags

[ 27046]
doubleplusoops. Apart from the documented NUL termination assumption.
Now removed.

[ 27049]
And another assumption.
p4raw-link: @27049 on //depot/perl: b208e10c815b328b5c2ddc25197ff4990f6302e0
p4raw-link: @27046 on //depot/perl: 8ccce9aeff05ce7be92baddaafcf71c608c453d4
p4raw-link: @27044 on //depot/perl: ad6bfa9d0ae142db0b494810d12ba03c60e2ebbe
p4raw-link: @27028 on //depot/perl: b3d904f31378536c078f52a858f0bfe70f0bade7
p4raw-link: @26434 on //depot/perl: f2c0649b2032ef5d607fe4e0874cdfa49e41eaf2
p4raw-link: @26415 on //depot/perl: f776e3cd68509957cc5ab2967a78fb0ad213d8aa
p4raw-link: @23770 on //depot/perl: d0a148a65266eeca56c2cf89da692556239ed991
p4raw-link: @23766 on //depot/perl: 7a5fd60d4ce737f71e7a689eaa2061a36dd225dc
p4raw-link: @23763 on //depot/perl: 512d1826fd68dfaa1c1d14e56029c984b9ee7eca

p4raw-id: //depot/maint-5.8/perl@28157
p4raw-integrated: from //depot/perl@27028 'edit in' doio.c (@26989..)
perl.c (@27000..) toke.c (@27006..)
p4raw-integrated: from //depot/perl@26434 'edit in' pp_hot.c (@26415..)
sv.c (@26432..)
p4raw-integrated: from //depot/perl@26415 'edit in' regcomp.c
(@26281..) universal.c (@26381..)
p4raw-integrated: from //depot/perl@23824 'edit in' gv.c (@23766..)
p4raw-edited: from //depot/perl@23766 'edit in' pp_sys.c (@23705..)
p4raw-integrated: from //depot/perl@23766 'edit in' global.sym
(@23499..) embed.h proto.h (@23674..) pp.c (@23725..) mg.c op.c
(@23746..) 'merge in' sv.h (@23373..) gv.h (@23614..) perl.h
(@23633..) embed.fnc (@23674..)
p4raw-integrated: from //depot/perl@23763 'edit in' t/op/ref.t
(@23760..)

18 years agoIntegrate:
Nicholas Clark [Wed, 10 May 2006 18:31:34 +0000 (18:31 +0000)]
Integrate:
[ 25746]
The new REQUIRE token introduced by change 25599 must be
nonassoc, just like the UNIOP token it's patterned after.
(While we're at it, allow to use bison 2.1 to regenerate
the parser files.)

plus fix change 28153 - rename the two parameter Perl_dofile() to
Perl_dofile2(), and make Perl_dofile() a wrapper to it just in case
anything is linking to it.
p4raw-link: @25746 on //depot/perl: 2051588124b1d9accc9aeb526746bb222cea5170

p4raw-id: //depot/maint-5.8/perl@28154
p4raw-edited: from //depot/perl@25746 'edit in' perly.y (@25616..)
p4raw-integrated: from //depot/perl@25746 'ignore' perly.h (@25599..)

18 years agoIntegrate:
Nicholas Clark [Wed, 10 May 2006 17:44:54 +0000 (17:44 +0000)]
Integrate:
[ 25599]
CORE::require was always parsed as require().
That's because require() isn't overridable at tokenizer-level
like other overridable built-ins, but is handled by the optree
builder. So, find a way to pass the information that require()
was written as CORE::require() to Perl_ck_require. This is
done by adding a new token type REQUIRE and by adding OPf_SPECIAL
to OP_REQUIRE when it's saw as CORE::require in the program text.
This fixes bug [perl #37274] The "CORE" in CORE::require is ignored.

[ 25600]
Document the new meaning of OPf_SPECIAL on OP_REQUIRE

[ 25611]
Test for OPpCONST_NOVER only on OP_CONST ops.
Plus a regression test by Schwern.

[ 25616]
Fix the overriding of CORE::do, just like change 25599
was fixing the overriding of CORE::require
p4raw-link: @25616 on //depot/perl: 850e851687c46990a59eb0bed2e5e3dc49703472
p4raw-link: @25611 on //depot/perl: 149c1637f9ccfb0115aa2ef613b82cf441e6dd11
p4raw-link: @25600 on //depot/perl: 6b514a0d693c3972afe865013c60b5994c1c323c
p4raw-link: @25599 on //depot/perl: a72a1c8b669f627c80c2fa5d710eb7980a143476

p4raw-id: //depot/maint-5.8/perl@28153
p4raw-integrated: from //depot/perl@28151 'copy in' t/op/override.t
(@17964..)
p4raw-integrated: from //depot/perl@25616 'edit in' op.c (@25615..)
'ignore' proto.h (@25605..) 'merge in' embed.h (@25476..)
embed.fnc (@25605..)
p4raw-integrated: from //depot/perl@25611 'edit in' pp_ctl.c (@25511..)
p4raw-integrated: from //depot/perl@25600 'merge in' op.h (@25344..)
p4raw-integrated: from //depot/perl@25599 'edit in' toke.c (@25411..)
perly.y (@25530..) 'ignore' perly.h (@25399..)

18 years agoIntegrate:
Nicholas Clark [Wed, 10 May 2006 14:36:06 +0000 (14:36 +0000)]
Integrate:
[ 25344]
Add the "no 6" / "no v6" syntax.

[ 25346]
Oops, fix threaded build

[ 28149]
Convert use.t to an inlined is/isnt/like implementation, to give better
diagnostics.

[ 28150]
no 5.9.4; should fail in version 5.9.4.
Improve the diagnostics and test names in t/comp/use.t
p4raw-link: @28150 on //depot/perl: 3cacfbb9b2d87693f7e1ca19103800cc2118ccb4
p4raw-link: @28149 on //depot/perl: 6a4a49dd808ad2c69f6e654d449e72d713a54229
p4raw-link: @25346 on //depot/perl: cc6ed77d04bf16cb06af8602b4d69f01bf68bd79
p4raw-link: @25344 on //depot/perl: 468aa647417bbcdb0729a787fa25968401364880

p4raw-id: //depot/maint-5.8/perl@28151
p4raw-edited: from //depot/perl@28149 'edit in' t/comp/use.t (@25344..)
p4raw-integrated: from //depot/perl@25344 'edit in' pp_ctl.c toke.c
(@25343..) 'merge in' embed.fnc embed.h op.c op.h proto.h
(@25343..)

18 years agoIntegrate:
Rick Delaney [Thu, 14 Jul 2005 16:10:00 +0000 (16:10 +0000)]
Integrate:
[ 25166]
Subject: Re: [perl #27028] /$/ not honouring /m in some cases
Message-ID: <20050714141059.GF19090@localhost.localdomain>
p4raw-link: @25166 on //depot/perl: 28905b57f48ed7d8802e9adcef28d443eb2b6de4

p4raw-id: //depot/maint-5.8/perl@28147
p4raw-branched: from //depot/perl@28130 'branch in'
t/op/regexp_qr_embed.t
p4raw-integrated: from //depot/perl@28130 'copy in' t/op/regexp.t
(@23471..)
p4raw-integrated: from //depot/perl@25166 'merge in' MANIFEST
(@25083..)

18 years agoIntegrate:
Sébastien Aperghis-Tramoni [Tue, 2 May 2006 01:37:03 +0000 (03:37 +0200)]
Integrate:
[ 27802]
Replace explict "/dev/null" with BIT_BUCKET, which varies by platform.

[ 27804]
In the description of require, clarify the file handle return and why
C<INC> must be qualified.

[ 27811]
Add a test for source filters returned from code references in @INC.

[ 27812]
Add more tests for the builtin source filter implementation, and fix
two bugs - it would loop infinitely if data were already in the read
buffer, and it would process those data twice.

[ 27813]
Tests for having multiple pipes open simultaneously.
(See comment added in change 3771 about this apparently being buggy)

[ 27814]
If you return void from a filter subroutine, the caller's status is
used. If not, your last statement is the return value, and if it keeps
being +ve you'll never hit EOF.
The probably should be a sanity check for this in toke.c, but I'm not
sure how.

[ 27815]
Eliminate the filter_child_proc hack from pp_require.

[ 27816]
If the downstream caller wants block mode, and we're in line mode,
then don't return more bytes than they asked for. Hold bytes over
until next time if necessary.

[ 27817]
$foo .= $bar doesn't warn if $foo is undefined, so simplify code.

[ 27819]
Augment the user filter caching code so that if the user filter returns
multiple lines, only one line at a time is returned.
Rename the variable len to status, as it is the status value.

[ 27820]
Fix a bug - the introduction of the caching code means that we should
initialise the SV upstream after it.
assert that filter_sub is always non-null now.

[ 27821]
I believe that it makes little sense for the simple user filters
provided by coderefs to be run in block mode. Hence always read from
the upstream filter in line mode, and always call the user's filter
with 1 line.

[ 27827]
Teach Perl_do_sv_dump how to cope with IOs that have bogus things in
GV slots. (Which source filters are prone to do to them).

[ 27849]
A scalar reference returned from a coderef in @INC is treated as the
initial "content" of the file. When it is exhausted input is taken
from a real file handle, or a generator sub, if either exists.

[ 27879]
Document all the return values that code references in @INC can return.

[ 27880]
Coderefs in @INC are done and documented.

[ 27881]
Fix an error, spotted by Tim Bunce.

[ 28080]
Subject: -Dmad breaks a few tests
Message-Id: <64F8ECEA-D96B-11DA-AA80-000502F3279F@free.fr>

(part of, with tweaks)
p4raw-link: @28080 on //depot/perl: 16d5c2f8b1cda0f138e42178a21cad8ee16e6a20
p4raw-link: @27881 on //depot/perl: 903fe02ab005d9a6f5d2870ed93bddff5a74bffb
p4raw-link: @27880 on //depot/perl: b7c820d594aef1c01406b9c359285ee68bced521
p4raw-link: @27879 on //depot/perl: 1f0bdf18444b331f5a1887aca7110f5ab92d17b7
p4raw-link: @27849 on //depot/perl: 34113e50dc4bebd1212d8cbfbf09a86a40b7a699
p4raw-link: @27827 on //depot/perl: 9ba1f5657a950811acc3c9f990446c958b14c2a1
p4raw-link: @27821 on //depot/perl: 67e70b337a8efad4c893a32652ba61fe203f5803
p4raw-link: @27820 on //depot/perl: ec0b63d7653607317b5427af153e4a7e13388bee
p4raw-link: @27819 on //depot/perl: 941a98a017bebaf9418c346af5601481227ecf3c
p4raw-link: @27817 on //depot/perl: 8498a5184cf05e744bf72b6e3f846f8deac7a425
p4raw-link: @27816 on //depot/perl: 937b367d393d2f47eca488c9413d9e139fc7d431
p4raw-link: @27815 on //depot/perl: 0f7de14d8669cd6dcee1170d6d9b7b40f82657fa
p4raw-link: @27814 on //depot/perl: bccf3f3d1e8232741671a14320e468bb69bd7bed
p4raw-link: @27813 on //depot/perl: 6b75eab3f73b41deb8b430d182d5c3677d0d992f
p4raw-link: @27812 on //depot/perl: 5675696b3881ef5bfde3012a829ca51ab1d42333
p4raw-link: @27811 on //depot/perl: bde61959ea5e52e421c597172a9aeac53357fcd9
p4raw-link: @27804 on //depot/perl: 92c6daad83acab71abd7df8769e308064578da8e
p4raw-link: @27802 on //depot/perl: b65b4fdfe53460eecfaecff3c500bb40665bb82f

p4raw-id: //depot/maint-5.8/perl@28130
p4raw-branched: from //depot/perl@28129 'branch in' t/op/incfilter.t
(@27849..)
p4raw-integrated: from //depot/perl@28129 'copy in' t/op/inccode.t
(@21426..)
p4raw-integrated: from //depot/perl@27880 'merge in' pod/perltodo.pod
(@27872..)
p4raw-integrated: from //depot/perl@27827 'merge in' dump.c (@27643..)
p4raw-integrated: from //depot/perl@27819 'edit in' pp_ctl.c (@27816..)
p4raw-integrated: from //depot/perl@27811 'merge in' MANIFEST
(@27721..)
p4raw-integrated: from //depot/perl@27804 'edit in' pod/perlfunc.pod
(@27643..)

18 years agoIntegrate:
Andy Lester [Fri, 24 Feb 2006 14:54:35 +0000 (08:54 -0600)]
Integrate:
[ 27334]
Subject: [PATCH] Speedups and shrinkages of SvREFCNT_inc
Date: Fri, 24 Feb 2006 14:54:35 -0600
Message-ID: <20060224205434.GA17867@petdance.com>

[ 27348]
Silence a GCC warning
(assignment from incompatible pointer type)

[ 27701]
Subject: [PATCH] SvREFCNT_inc tweaks
From: andy@petdance.com (Andy Lester)
Date: Sat, 1 Apr 2006 02:01:30 -0600
Message-ID: <20060401080130.GA19372@petdance.com>
p4raw-link: @27701 on //depot/perl: f84c484e31ca71701038f389bc647f43cdbdfd43
p4raw-link: @27348 on //depot/perl: 0181a44dee4b04fc7b83c7827c96b5cbcda0b557
p4raw-link: @27334 on //depot/perl: b37c2d43c8bccbefe3985273e9661833102148d0

p4raw-id: //depot/maint-5.8/perl@28129
p4raw-integrated: from //depot/perl@27701 'edit in' pad.c (@27419..)
p4raw-integrated: from //depot/perl@27348 'edit in' sv.h (@27334..)
p4raw-edited: from //depot/perl@27334 'edit in' perl.c perlio.c
(@27300..) gv.c (@27323..) op.c (@27327..)
p4raw-integrated: from //depot/perl@27334 'edit in' pp_sort.c
(@27241..) pp_ctl.c regcomp.c (@27300..) pp_hot.c (@27323..)
sv.c (@27324..) pp.c (@27329..) 'merge in' pod/perlintern.pod
(@26229..) av.c (@26901..) pod/perlapi.pod (@27215..) doop.c
pp_sys.c (@27238..) doio.c (@27239..) cop.h (@27247..) hv.c
mg.c perl.h toke.c (@27300..) scope.c (@27322..)

18 years agoIntegrate:
Steven Schubiger [Thu, 2 Feb 2006 10:38:49 +0000 (11:38 +0100)]
Integrate:
[ 26380]
s/Nullav/NULL/g

[ 26381]
s/Nullhv/NULL/g;
# Although I see that Robin is proposing to add some :-)

[ 27054]
Subject: Re: [PATCH] s/Null(av|ch)/NULL/g
Date: Thu, 2 Feb 2006 10:38:49 +0100
Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org>

[ 27065]
Subject: Re: [PATCH] s/Null(gv|hv|sv)/NULL/g
From: Steven Schubiger <schubiger@cpan.org>
Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org>
Date: Fri, 3 Feb 2006 16:24:49 +0100

[ 27067]
Oops. When changing warnings.pl one should re-run it. Well spotted
Rafael.

[ 27078]
warnings.h does some evil(*) pointer arithmetic on (SV *)0, so a
simple replace of Nullsv with NULL turns out to be a bad idea.
* Technically undefined behaviour, I believe.

[ 27238]
More NullXXX macro removal from Andy Lester
p4raw-link: @27238 on //depot/perl: 4608196e45589eea5792cff92b551109899ddb06
p4raw-link: @27078 on //depot/perl: 78db725db76314f0edb7f2ab8770841118d8ad2e
p4raw-link: @27067 on //depot/perl: 84b2b14beadff5ecd6b639a44c9ae7c2f1664528
p4raw-link: @27065 on //depot/perl: a0714e2c8319bd04d1f7d262de652b6b5ec054f7
p4raw-link: @27054 on //depot/perl: bd61b36601703dd438f87762f0c4d23a6aeb375d
p4raw-link: @26381 on //depot/perl: 5c284bb074748eab0ba4ff8e53eb1eeeb0f7a962
p4raw-link: @26380 on //depot/perl: 7d49f6898e172f330a81e972c5944fc5726fcbf3

p4raw-id: //depot/maint-5.8/perl@28128
p4raw-integrated: from //depot/perl@28124 'copy in' perlsdio.h
(@19242..) perlio.h (@24552..) 'merge in'
ext/DynaLoader/dlutils.c (@24271..) mg.h (@26924..)
p4raw-integrated: from //depot/perl@27238 'edit in' universal.c
(@27064..) doop.c pad.h (@27065..) intrpvar.h (@27084..) doio.c
(@27129..) pp_sys.c (@27130..) deb.c (@27136..) util.c
(@27151..) pad.c pp_hot.c toke.c (@27177..) scope.c (@27184..)
hv.c (@27215..) sv.c (@27231..) pp_ctl.c (@27235..)
p4raw-integrated: from //depot/perl@27078 'edit in' warnings.pl
(@27065..) warnings.h (@27067..)
p4raw-edited: from //depot/perl@27065 'edit in' op.c (@27060..)
p4raw-integrated: from //depot/perl@27065 'edit in' hv.h locale.c
mathoms.c pp_sort.c regexec.c sv.h thrdvar.h (@27054..)
perlio.c (@27059..) dump.c gv.c mg.c (@27060..) 'merge in'
embed.pl (@26565..) utf8.c (@26795..) pp_pack.c (@26901..)
p4raw-integrated: from //depot/perl@27054 'edit in' op.h (@26446..)
pod/perlapi.pod (@26924..) 'merge in' regcomp.h (@24580..)
XSUB.h (@26176..) malloc.c (@26676..) perl.h (@27027..)
p4raw-integrated: from //depot/perl@26381 'edit in' cop.h
ext/Data/Dumper/Dumper.xs (@26380..) 'merge in' xsutils.c
(@25693..)
p4raw-integrated: from //depot/perl@26380 'edit in' perl.c (@26196..)
'merge in' pp.c (@26374..)

18 years agoTidy up warnings about implicitly removing qualifiers from pointers.
Nicholas Clark [Mon, 8 May 2006 18:08:05 +0000 (18:08 +0000)]
Tidy up warnings about implicitly removing qualifiers from pointers.

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

18 years agoIntegrate:
Nicholas Clark [Mon, 8 May 2006 17:43:39 +0000 (17:43 +0000)]
Integrate:
[ 27564]
(Hopefully) make VMS happy.

[ 27607]
Silence 3 (spurious) gcc warnings about "maybe used uninitialized".

[Well, the 2 of them applicable to maint]
p4raw-link: @27607 on //depot/perl: 7087a21c096179886f18cec5311cc7e897850eef
p4raw-link: @27564 on //depot/perl: ef816a7825f62e55a90703026042ab32dd69a74f

p4raw-id: //depot/maint-5.8/perl@28123
p4raw-integrated: from //depot/perl@27607 'edit in' sv.c (@27602..)

18 years agoIntegrate:
Nicholas Clark [Mon, 8 May 2006 15:53:23 +0000 (15:53 +0000)]
Integrate:
[ 27525]
Add a new per-interpeter variable PL_utf8cache, which will be used to
control the UTF-8 offset caching code. Make this visible as
${^UTF8CACHE}

[ 27536]
Properly set/reset the UTF-8 length cache in regcomp.c.

[ 27537]
Remove a duplicated conditional test by putting everything for the
not readonly case inside one block.

[ 27538]
Make Perl_sv_len_utf8 honour the new ${^UTF8CACHE}.
If PERL_UTF8_CACHE_ASSERT is defined, default ${^UTF8CACHE} to -1
(assertion mode). Need a way to turn this on with existing command
line flags.

[ 27543]
Remove a redundant test on mg->mg_ptr. (It had to be non-NULL to get
into this block).

[ 27552]
The two loops in Perl_utf8_distance can be merged.

[ 27553]
Perl_utf8_distance can be implemented as a call to Perl_utf8_length.

[ 27557]
Abstract the string walking functionality from Perl_sv_pos_b2u into
static functions, and make it respect PL_utf8cache.

[ 27558]
In Perl_sv_pos_b2u, if we know the character offset of the end, we
can take advantage of this to count backwards if close.
Remove some now unnecessary casts.

[ 27559]
Extend change 27558 - if we know the character offset of the end, but
don't have a cache for intermediate offsets, we can still use the end
offset.

[ 27570]
The simplest way to start on Perl_sv_pos_u2b seems to be to take out
all of the caching code.

[ 27572]
Create S_sv_pos_u2b_cached, which abstracts away utf-8 to byte
conversions, hiding the complexity of any cache lookup.

[ 27573]
Add S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
both sides of the desired offset, so could count either way.
Use cached utf-8 length in S_sv_pos_u2b_cached.
Check the results if PL_utf8cache < 0.

[ 27574]
Take advantage of uoffset >= uoffset0, to simplify some logic.

[ 27575]
Call S_utf8_mg_pos_cache_update() from S_sv_pos_u2b_cached().
S_utf8_mg_pos_cache_update() can't use S_sv_pos_b2u_forwards() in the
cache assertion code as it triggers warnings about surrogates.

[ 27578]
Use the cache in S_sv_pos_u2b_cached when the sought offset is after
the first cache entry.

[ 27579]
Use the cache in S_sv_pos_u2b_cached() when the desired offset is
between the start of the string and the cached location.
Remove unneccesary else from Perl_sv_pos_b2u().

[ 27580]
Add all new static functions to embed.fnc
Remove old unused static functions.
Remove references to cache[2] and cache[3].

[ 27582]
Pass the (byte) length of the entire string into
utf8_mg_pos_cache_update()
Start to use the cache to store two pairs of byte/utf-8 pairs.
Add the first third of the cache update code.

[ 27583]
Complete the other 2 arms of the cache update code.

[ 27584]
Use both cache entries for Perl_sv_pos_b2u().

[ 27585]
Make S_sv_pos_u2b_cached use both cache pairs.

[ 27586]
Move orphaned documentation back to its functions
Document the new static functions, and how the cache works.

[ 27588]
Rejig the location of the cache assertion code in Perl_sv_pos_b2u().

[ 27589]
Document the values for ${^UTF8CACHE}

[ 27875]
Turn on UTF8 cache assertions with -Ca
p4raw-link: @27875 on //depot/perl: 5a22a2bbf3880b61603040e7bdfddd4d5f5809a5
p4raw-link: @27589 on //depot/perl: 16d9fe9265b394fc040cd89792cf2d6c529f6830
p4raw-link: @27588 on //depot/perl: a922f900a6916d70770b1348cbacd5ea3df02a9f
p4raw-link: @27586 on //depot/perl: 9564a3bd324d2a11ec288a3353233ffa07e5477b
p4raw-link: @27585 on //depot/perl: dd7c5fd3a00e036412095647a0fc720a41dd4fea
p4raw-link: @27584 on //depot/perl: 9f985e4c436303340569d267e23865fa9c16fba7
p4raw-link: @27583 on //depot/perl: 57d7fbf1cb64ed175ce62552c70317e98a87db33
p4raw-link: @27582 on //depot/perl: ab455f6077c4f8e6e59a143e82bbdc3535ce31e5
p4raw-link: @27580 on //depot/perl: 25a8a4efab6ffb6c4c3d00dd04d74d3036b35aa6
p4raw-link: @27579 on //depot/perl: 668af93f1915d2f416c8e13d6ab3b8f85d22477b
p4raw-link: @27578 on //depot/perl: d8b2e1f98fe91e4020778e571bebc149328875f1
p4raw-link: @27575 on //depot/perl: 0905937dfb35f5c5812cb6d7a8ed9334fb7fa7d9
p4raw-link: @27574 on //depot/perl: 75c33c120988d1ac9c551ac7361ab5df33793713
p4raw-link: @27573 on //depot/perl: c336ad0b0ffc3d19ec24d23d8bc7a30158ac1ae5
p4raw-link: @27572 on //depot/perl: 28ccbf949dabb67c68ce034cf8b582683d4ca2a5
p4raw-link: @27570 on //depot/perl: bdf30dd65934b3741b68564e8d7bd2730f15bae4
p4raw-link: @27559 on //depot/perl: ffca234a07dfeae45b7c9ca966164446c5bc3d4b
p4raw-link: @27558 on //depot/perl: b9f984a55a3d61f57de87f7bbf6faaafd7674b67
p4raw-link: @27557 on //depot/perl: ec07b5e0edbab584681096049bf2ce4b033d95b1
p4raw-link: @27553 on //depot/perl: bf1665bcc8f6722faa3c19404edba61541d05501
p4raw-link: @27552 on //depot/perl: eb63405fd7f24e5bad9ec7f42adce6af6314724e
p4raw-link: @27543 on //depot/perl: d2923cdda4646b2fa4fd9d9343aa524e2c8f257d
p4raw-link: @27538 on //depot/perl: 263464574f2ea8aa016791622811118aec3970fc
p4raw-link: @27537 on //depot/perl: cb9e20bb64f36b65e47caecca6cc3eb11c910175
p4raw-link: @27536 on //depot/perl: 45f4726892ee34fcb87cb59a34b8208652d4d517
p4raw-link: @27525 on //depot/perl: e07ea26af5fdde170ce4e4e0a797a364c6a185e6

p4raw-id: //depot/maint-5.8/perl@28121
p4raw-integrated: from //depot/perl@28120 'merge in' locale.c
(@27769..) pod/perlrun.pod (@27872..)
p4raw-integrated: from //depot/perl@27875 'merge in' perl.h (@27735..)
perl.c util.c (@27784..)
p4raw-integrated: from //depot/perl@27588 'edit in' sv.c (@27586..)
p4raw-integrated: from //depot/perl@27586 'merge in' pod/perltodo.pod
(@27524..)
p4raw-integrated: from //depot/perl@27582 'edit in' embed.fnc
(@27580..)
p4raw-integrated: from //depot/perl@27580 'edit in' embed.h (@27534..)
'ignore' proto.h (@27542..)
p4raw-integrated: from //depot/perl@27552 'edit in' utf8.c (@27300..)
p4raw-integrated: from //depot/perl@27538 'edit in' intrpvar.h
(@27525..)
p4raw-integrated: from //depot/perl@27536 'merge in' regcomp.c
(@27334..)
p4raw-integrated: from //depot/perl@27525 'edit in' pod/perlvar.pod
(@26999..) 'merge in' mg.c (@27334..) gv.c (@27456..)
embedvar.h perlapi.h (@27466..)

18 years agoRe: Smoke [5.8.8] 28115 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Steve Hay [Mon, 8 May 2006 12:35:09 +0000 (13:35 +0100)]
Re: Smoke [5.8.8] 28115 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Message-ID: <445F2CED.3010808@uk.radan.com>
Date: Mon, 08 May 2006 12:35:09 +0100

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

18 years agoIntegrate:
Nicholas Clark [Mon, 8 May 2006 13:45:02 +0000 (13:45 +0000)]
Integrate:
[ 27728]
Save the regexp engine state as 1 block on the save stack.

[ 27739]
Teach ss_dup about SAVEt_RE_STATE. (As correctly as it ever was before)

[ 27930]
Given that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING
build, we cannot assume that PL_reg_starttry isn't needed. So copy it
in Perl_ss_dup.
p4raw-link: @27930 on //depot/perl: 83f21520f5a54c9513027c729005d6adb6ddea45
p4raw-link: @27739 on //depot/perl: 5bfb7d0e2e2f3251d6322e902aed9479d39e920a
p4raw-link: @27728 on //depot/perl: 1ade1aa1ca2b2fe7e0085ec2cd022693e0d7a0d6

p4raw-id: //depot/maint-5.8/perl@28119
p4raw-integrated: from //depot/perl@27739 'edit in' sv.c (@27738..)
p4raw-edited: from //depot/perl@27728 'edit in' regexp.h (@27694..)
scope.c (@27726..)
p4raw-integrated: from //depot/perl@27728 'edit in' regcomp.c
(@27716..) 'merge in' scope.h (@27671..)

18 years agoHateful gcc. g<something-not-entirely-unlike-C>c, I feel.
Nicholas Clark [Sun, 7 May 2006 23:30:16 +0000 (23:30 +0000)]
Hateful gcc. g<something-not-entirely-unlike-C>c, I feel.

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

18 years agoIntegrate:
Nicholas Clark [Sun, 7 May 2006 00:03:20 +0000 (00:03 +0000)]
Integrate:
[ 25193]
Exit test script (if we're going to) *before* declaring a plan

[ 25200]
Subject: [PATCH] support POSIX SA_SIGINFO
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Wed, 20 Jul 2005 14:40:54 +0300
Message-ID: <42DE3846.6050606@gmail.com>

[ 25203]
Fix definition of Perl_sighandler following change 25200

[ 25207]
Subject: [PATCH] Re: [PATCH] support POSIX SA_SIGINFO
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Thu, 21 Jul 2005 18:33:22 +0300
Message-ID: <42DFC042.1090201@gmail.com>

[ 25223]
use POSIX might not throw an error. Check for useful values also

[ 25230]
Some signals are more real than others
Also added comment about why the tests are there

[ 25240]
Subject: RE: [PATCH] Re: [PATCH] support POSIX SA_SIGINFO
From: "Green, Paul" <Paul.Green@stratus.com>
Date: Mon, 25 Jul 2005 12:39:32 -0400
Message-ID: <F5F42E77A43DD944B6D664B00A5401CB8A9F67@EXNA.corp.stratus.com>

[ 25248]
SIGRTMIN & SIGRTMAX on Cygwin both 32. sig_count = 33, but
POSIX::SigRt is not available on use

[ 25586]
Subject: [PATCH] quiet a few warnings
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Wed, 21 Sep 2005 18:45:56 -0700
Message-ID: <20050922014555.GA2852@efn.org>

[ 25975]
Test for the right signal should use the constant for that signal.

[ 25976]
Missing va_end(args) from SA_SIGINFO related code.

[ 25977]
Change #25976 seemed to cause test failures in ext/B/t/f_sort.t.  What
was that line about Jenga again?

[ 25980]
Reverting the reversion.  va_end() goes with va_start().

[ 27440]
croak in POSIX::sigaction() when passed a negative signal instead
dumping core.

[ 27441]
Need to update test count from change #27440.

[ 28039]
Disable SIGRTMAX and SIGRTMIN in POSIX if Configure's probes found that
they aren't viable. (Certain glibcs are "interesting")
p4raw-link: @28039 on //depot/perl: d5b7de33164333623115fd731d37408d6cff1ceb
p4raw-link: @27441 on //depot/perl: 2317db586aeb77926bf079f11fe4cfb4f1008cba
p4raw-link: @27440 on //depot/perl: 516d25e8e8c09c6c60bf2f46703fc4d5add0f5fb
p4raw-link: @25980 on //depot/perl: 31427afec1d22b154bc26076ccf058eb9fa9220d
p4raw-link: @25977 on //depot/perl: fcd9d3089367ef25a1979dbcb6de9c4be99bd205
p4raw-link: @25976 on //depot/perl: b4552a27c5bde2b942c656d09569805009152afb
p4raw-link: @25975 on //depot/perl: 08120247c56b2b8f5624b20a34ff64b763274d95
p4raw-link: @25586 on //depot/perl: ec1aec95445a95d039a6c0ba6bc5dca901f81175
p4raw-link: @25248 on //depot/perl: 8d13d857deffb84b29dddaec57ad762c5da26bbd
p4raw-link: @25240 on //depot/perl: ea1bde1698e6ad6e5f9da28bfbefc2987ec7abcc
p4raw-link: @25230 on //depot/perl: ba822478ced3e5aa2061138c165c9599de668198
p4raw-link: @25223 on //depot/perl: 8bdc704b4ed4fab9a538bca405d43887fb36a32f
p4raw-link: @25207 on //depot/perl: 79dec0f47660bf63141eb6171dd4c2d4053422af
p4raw-link: @25203 on //depot/perl: 1e82f5a677c5abc27ea5ffb3546e5db6b8a56b93
p4raw-link: @25200 on //depot/perl: 8aad04aa6a2ab20a526b53089f8919d46434ca7e
p4raw-link: @25193 on //depot/perl: 37d19de818f4f6fae6d075d28278cad409bf2d33

p4raw-id: //depot/maint-5.8/perl@28115
p4raw-edited: from //depot/perl@28114 'edit in' ext/POSIX/Makefile.PL
(@26996..)
p4raw-integrated: from //depot/perl@28114 'merge in' ext/POSIX/POSIX.xs
(@26901..)
p4raw-edited: from //depot/perl@25980 'edit in' mg.c (@25977..)
p4raw-edited: from //depot/perl@25586 'edit in' embed.fnc (@25497..)
p4raw-integrated: from //depot/perl@25586 'merge in' cygwin/cygwin.c
(@25101..)
p4raw-integrated: from //depot/perl@25230 'ignore'
ext/POSIX/t/sigaction.t (@25223..)
p4raw-edited: from //depot/perl@25200 'edit in' perl.c (@25156..)
perl.h (@25191..)
p4raw-integrated: from //depot/perl@25200 'edit in' ext/POSIX/POSIX.pod
(@25185..) proto.h (@25197..) 'merge in' iperlsys.h (@25041..)
global.sym (@25074..) embed.h (@25156..) util.c (@25160..)
pp_sys.c (@25178..)

18 years agoIntegrate:
Nicholas Clark [Sat, 6 May 2006 10:35:42 +0000 (10:35 +0000)]
Integrate:
[ 26449]
Break out the item normalisation code into a method normalise_items.

[ 26451]
Break out the code to generate #ifdef/#endif into new methods
macro_to_ifdef and macro_to_endif
Add an args hashref to normalise_items; provide a
disable_utf8_duplication argument to disable the utf8 duplication code.

[ 26453]
Make ExtUtils::Constant generate the inlineable proxy constant subs.
So far just enough to make Fcntl work.

[ 26455]
Use inlineable proxy constant subs for POSIX.
There may be trouble ahead, as it seems that not all POSIX "constants"
are. I wonder if too many systems are going to have too many
variations to make this viable.

[ 26463]
Use inlineable proxy constant subs for Socket

[ 26464]
SIGRTMAX, SIGRTMIN, LDBL_MAX, LDBL_MIN, LDBL_EPSILON and HUGE_VAL
aren't constants on (at least some) Linux.
And more evil than that, HUGE_VAL likes to use the C preprocessor
in its value, necessitating use of a temporary.

[ 26465]
Need to be more careful with the symbol table manipulation - if there
is already an entry in place, back off and generate a real constant
subroutine. (fixes lib/Net/hostent.t failure)
Fix a bug with how hv_store was being called.

[ 26472]
Add support for PV to ExtUtils::Constant::ProxySubs, and enable its
use in Sys::Syslog

[ 26475]
Provide support for types PVN and UNDEF in
 ExtUtils::Constant::ProxySubs

[ 26488]
The values for proxy constant subroutines need to be read only.

[ 26490]
Add C_FH and XS_FH arguments to ExtUtils::Constant::WriteConstants,
to allow the caller to pass in file handles. Use this in Contant.t
with tied file handles to capture the output, rather than calling
the lower level routines directly.

[ 26490]
Add C_FH and XS_FH arguments to ExtUtils::Constant::WriteConstants,
to allow the caller to pass in file handles. Use this in Contant.t
with tied file handles to capture the output, rather than calling
the lower level routines directly.

[ 26491]
Add a couple of newlines for tidier regen output, consistent with the
code generated by WriteConstants()

[ 26495]
Add method macro_from_item to encapsulate the entire logic for getting
the correct macro direct from the item hash.

[ 26496]
Support type UNDEF, and correct a bug in the macro generation by using
macro_from_item.

[ 26497]
Remove the hard wired test numbers in the generated test script for
simple tests. Use this script twice, firstly for testing the old style
autoloaded constants, then for testing the ProxySubs.
Make testing the dogfood/regeneration code optional, as the ProxySubs
output doesn't contain it.

[ 26502]
As what we're doing is generating subroutines, which are methods, we
need to invalidate cached methods. For constant.pm we need to create
&Internals::inc_sub_generation

[ 26506]
Pass in the full arguments to ExtUtils::Constant::ProxySubs
Prototype all the missing constants, so that parsing doesn't depend on
the phase of the moon. (Well, the system headers)
Add an option for making missing constants generate errors at read time
(which can be during constant folding). This isn't the default.

[ 26507]
s/%/%%/ in the package name so that it can be used safely in the
sprintf format string (and hence not need runtime %s interpolation)

[ 26679]
Negating an unsigned value generates warnings for some compilers, so
cast it first.

[ 26932]
constant_add_symbol needs to be static, else static builds can fail at
link time. (*How* many meanings is "static" overloaded with?)

[ 27242]
Need to clear CvXSUBANY() too to turn a constant sub into a prototype.

[ 27720]
Fix test portability on non-ASCII platforms

Subject: Re: lib/ExtUtils/t/Constant.t problem on z/OS
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Date: Wed, 05 Apr 2006 21:13:02 +0900
Message-Id: <20060405210426.F99D.BQW10602@nifty.com>

[ 27962]
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
From: Marcus Holland-Moritz <mhx-perl@gmx.net>
Date: Mon, 24 Apr 2006 23:20:38 +0200
Message-ID: <20060424232038.7550f9b6@r2d2>

[ 28038]
Allow a macro of "0" to mean "#if 0" for convenient elimination of
constants.
p4raw-link: @28038 on //depot/perl: 71adef125534c48a9b41d31beff5cf0c57c9c240
p4raw-link: @27962 on //depot/perl: bb7a0f5422600fd7de7806825a1300a577b7e61f
p4raw-link: @27720 on //depot/perl: bd64360a8955f3a23bb4b6cca55a669eadd40f3f
p4raw-link: @27242 on //depot/perl: aa092aa30938df861825e5192a09d0567bdac529
p4raw-link: @26932 on //depot/perl: 9fb4165716e9d7e90180e75d92d68781f04d8ad0
p4raw-link: @26679 on //depot/perl: 66ccb71661623abcbd6f029b84aa5a6eac24403f
p4raw-link: @26507 on //depot/perl: fa6eee5ae7df0ed232a4efff3a72fda8726cb1b2
p4raw-link: @26506 on //depot/perl: 6b43b341b2d8d541dbd2e189b77bfae9979fe6c4
p4raw-link: @26502 on //depot/perl: e1234d8e95fb69a46c5f20bacb0c0cd2f1c325f7
p4raw-link: @26497 on //depot/perl: 6b58ea4c55e49561dc9c77afc8e004e01972d275
p4raw-link: @26496 on //depot/perl: 0fcb9a02a3987f84b772f7d6b9f6581b0e1c75c4
p4raw-link: @26495 on //depot/perl: c48e04e60e0b6832c6f967240cc478d08e77d54f
p4raw-link: @26491 on //depot/perl: 599bf9a6a2d7541099ceb30e7475b9b3d98f6aa2
p4raw-link: @26490 on //depot/perl: 16be8eabce435265b5696f46468c90933be2574a
p4raw-link: @26488 on //depot/perl: abe8a887caa63fd7e57355cf256e4fa84a0c0dc3
p4raw-link: @26475 on //depot/perl: 6f226cd7e2e174eaee90c21b4e6e1408383e3e75
p4raw-link: @26472 on //depot/perl: 49657794b700c5b56b92eaf38a24c952564ee7db
p4raw-link: @26465 on //depot/perl: 0998eade2b4cf180e79d81842503267e4ade9181
p4raw-link: @26464 on //depot/perl: 6800c0cf85ac0db6e97c99271c275fdcd4bf4200
p4raw-link: @26463 on //depot/perl: 2ebbb0c37e2208c771091cac60cafb6a2767248b
p4raw-link: @26455 on //depot/perl: 64bb7586561259fcc353586ee951814f41b49333
p4raw-link: @26453 on //depot/perl: 6d7fb585cd8ad83f4523191641999603aa48eb76
p4raw-link: @26451 on //depot/perl: 329b93cd165ae2f0ce223aadada619c461255001
p4raw-link: @26449 on //depot/perl: efa32bb49fad39e670c055d4b6f557a0d2e1a8a2

p4raw-id: //depot/maint-5.8/perl@28114
p4raw-branched: from //depot/perl@28113 'branch in'
lib/ExtUtils/Constant/ProxySubs.pm
p4raw-integrated: from //depot/perl@28113 'copy in'
lib/ExtUtils/Constant/XS.pm (@26491..) 'edit in'
lib/ExtUtils/t/Constant.t (@26497..)
p4raw-integrated: from //depot/perl@26495 'ignore'
lib/ExtUtils/Constant/Base.pm (@26455..)
p4raw-integrated: from //depot/perl@26453 'ignore'
lib/ExtUtils/Constant.pm (@25927..) 'merge in' MANIFEST
(@26435..)

18 years agoIntegrate:
Jarkko Hietaniemi [Tue, 19 Jul 2005 12:06:00 +0000 (15:06 +0300)]
Integrate:
[ 25185]
Subject: [PATCH] allow POSIX SIGRTMIN...SIGRTMAX signals (and plug a core dump)
Date: Tue, 19 Jul 2005 12:06:00 +0300
Message-ID: <42DCC278.2010009@gmail.com>

[ 25188]
XS constants fail when their value is called for, not at import.
This might be construed as a bug. Fixing is probably a greater evil.

[ 25189]
C<use Foo;> inside Foo.pm considered a "bad thing"
(Certainly where there is AUTOLOADing and XS)
Hopefully this fixes the POSIX breakage.

[ 25190]
       C<use Foo;> inside Foo.pm considered a "bad thing"
       (Certainly where there is AUTOLOADing and XS)
       Hopefully *this* fixes the POSIX breakage.

[ 25191]
Subject: [PATCH] move NSIG logic
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Wed, 20 Jul 2005 09:57:44 +0300
Message-ID: <42DDF5E8.1060100@gmail.com>

[ 25199]
Silence warnings about NSIG redefinition on Win32

(Change 25191 doesn't work out unless dosish.h includes <signal.h>
too, which it currently only does for DJGPP)
p4raw-link: @25199 on //depot/perl: a3526348f2163e87ba8192a892f448a36aeaa1ed
p4raw-link: @25191 on //depot/perl: 2946a1581daf24ef79ae436d21e7fd234738b645
p4raw-link: @25190 on //depot/perl: 42bf33b5fc7ae0d4251da5bee07d8ce557915334
p4raw-link: @25189 on //depot/perl: d3ac73385d36ed84fb21dee9d9f2f3c77e7059a2
p4raw-link: @25188 on //depot/perl: eb101f41791285e0d0ca33ee99e944e537d5830b
p4raw-link: @25185 on //depot/perl: 3609ea0df8ff1318cd5f51cdbcd9bcd6c2a3fce2

p4raw-id: //depot/maint-5.8/perl@28113
p4raw-integrated: from //depot/perl@25199 'merge in' dosish.h
(@21989..)
p4raw-integrated: from //depot/perl@25191 'merge in' perl.h (@25174..)
p4raw-integrated: from //depot/perl@25190 'copy in' ext/POSIX/POSIX.pm
(@25185..)
p4raw-integrated: from //depot/perl@25185 'copy in'
ext/POSIX/Makefile.PL (@23659..) 'edit in' handy.h (@25128..)
Configure (@25169..) 'ignore' ext/POSIX/t/sigaction.t
(@20081..) 'merge in' ext/POSIX/POSIX.pod (@23921..)
ext/POSIX/POSIX.xs (@25101..)

18 years agoIntegrate:
Nicholas Clark [Fri, 5 May 2006 20:21:42 +0000 (20:21 +0000)]
Integrate:
[ 25688]
Subject: Re: $^CHILD_ERROR_NATIVE issues (with attachment)
From: Gisle Aas <gisle@ActiveState.com>
Date: 04 Oct 2005 02:18:27 -0700
Message-ID: <lrd5ml7i8s.fsf@caliper.activestate.com>

[ 25772]
Subject: [patch@25763] Fix VMS error/exit handling, update kill function
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4351F393.8030809@qsl.net>
Date: Sun, 16 Oct 2005 02:30:43 -0400

[ 25810]
Subject: [patch@25809]restore documented exit behavior
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Thu, 20 Oct 2005 18:21:20 -0400
Message-id: <43581860.3020108@qsl.net>

[ 25839]
Subject: VMS exit handling still broken, need some help.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Mon, 24 Oct 2005 01:34:41 -0400
Message-ID: <435C7271.8070403@qsl.net>

[ 25849]
Back out change #25839, and apply :

Subject: [patch@25838]Hopefully the last VMS exit/error fixes needed.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Tue, 25 Oct 2005 11:09:37 -0400
Message-ID: <435E4AB1.1000106@qsl.net>

[ 25851]
Subject: Re: [patch@25838]Hopefully the last VMS exit/error fixes needed.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Tue, 25 Oct 2005 13:36:20 -0400
Message-ID: <435E6D14.7000104@qsl.net>
p4raw-link: @25851 on //depot/perl: 52e64fc8b5379b483536e0f6eb064825c7a9f6a5
p4raw-link: @25849 on //depot/perl: 6ac6a52b90121db9304782c76ae9243ce4205369
p4raw-link: @25839 on //depot/perl: 0968cdad220f9ff42abaf7f92b7d3731a578e46d
p4raw-link: @25810 on //depot/perl: fb38d079f941c715cfb0486ced0d003ca5964c75
p4raw-link: @25772 on //depot/perl: 7a7fd8e0ed51785cbfb9fc040ff670a40911ca48
p4raw-link: @25688 on //depot/perl: 37038d913ecbccf83ca988aedaa1e6067b127dbc

p4raw-id: //depot/maint-5.8/perl@28112
p4raw-integrated: from //depot/perl@28111 'copy in' t/op/exec.t
t/run/exit.t (@25283..)
p4raw-integrated: from //depot/perl@25849 'ignore' vms/perlvms.pod
(@25810..)
p4raw-integrated: from //depot/perl@25839 'edit in' perl.h (@25832..)
p4raw-integrated: from //depot/perl@25810 'merge in' mg.c (@25803..)
p4raw-integrated: from //depot/perl@25772 'edit in' perl.c (@25755..)
vms/vms.c (@25759..) 'merge in' vms/vmsish.h (@25680..)
p4raw-integrated: from //depot/perl@25688 'edit in' cop.h (@24847..)
'merge in' win32/perlhost.h wince/perlhost.h (@25101..) doio.c
(@25621..) pp_sys.c (@25680..)

18 years agoIntegrate:
Nicholas Clark [Fri, 5 May 2006 19:41:27 +0000 (19:41 +0000)]
Integrate:
[ 24613]
Subject: [PATCH] VMS build update for blead
From: "Craig A. Berry" <craigberry@mac.com>
Date: Sat, 28 May 2005 23:18:46 -0500
Message-Id: <429942A6.10601@mac.com>

[ 24731]
Remove unneeded #ifdef VMS since VMS is not defined here anyway
(spotted by Steve_p)

[ 25256]
Various patches by John E. Malmberg to fix data
corruption issues on VMS. Back out change 25218 and
the parts of change 25217 that affect pp_ctl.c and
pp_sys.c.

[ 25760]
Subject: patch for blead - Perlvms.pod update
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Fri, 14 Oct 2005 21:15:26 -0400
Message-id: <4350582E.4070209@qsl.net>

[ 25761]
Subject: [patch@blead] perlport.pod
From: "John E. Malmberg" <wb8tyw@qsl.net>
Date: Fri, 14 Oct 2005 23:48:20 -0400
Message-id: <43507C04.8050003@qsl.net>
p4raw-link: @25761 on //depot/perl: 016930a652f8808ad727da23a377e1d4e4f4ef41
p4raw-link: @25760 on //depot/perl: 9296fdfa58e48c98d4f73d3f3c7220275ccf66e3
p4raw-link: @25256 on //depot/perl: 4d0523d6c78866412e93a18e8d5034cac4b49d90
p4raw-link: @24731 on //depot/perl: ce6e1103a66e3cbd2c2ec85914dcbaa395276c13
p4raw-link: @24613 on //depot/perl: 94a11853edc681701a5fe80474ba2a421f2a4aef

p4raw-id: //depot/maint-5.8/perl@28111
p4raw-integrated: from //depot/perl@25761 'merge in' pod/perlport.pod
(@24686..)
p4raw-integrated: from //depot/perl@25760 'copy in' vms/perlvms.pod
(@25253..)
p4raw-edited: from //depot/perl@25256 'edit in' vms/vms.c (@25255..)
p4raw-integrated: from //depot/perl@25256 'ignore' pp_sys.c (@25237..)
mg.c (@25240..) doio.c pp_ctl.c (@25243..)
p4raw-integrated: from //depot/perl@24731 'merge in' util.c (@24729..)
p4raw-integrated: from //depot/perl@24613 'merge in' vms/vmsish.h
(@24076..)

18 years agoIntegrate:
John E. Malmberg [Thu, 18 Aug 2005 21:18:27 +0000 (17:18 -0400)]
Integrate:
[ 25306]
Subject: [patch@25305] fixes to const fixes + Case Preserved start
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <43053363.8090809@qsl.net>
p4raw-link: @25306 on //depot/perl: f7ddb74ae664d8225514d5dfa61fca99e012630d

p4raw-id: //depot/maint-5.8/perl@28110
p4raw-integrated: from //depot/perl@25306 'edit in' vms/vms.c
(@25280..)

18 years agoIntegrate:
John E. Malmberg [Wed, 10 Aug 2005 00:37:13 +0000 (20:37 -0400)]
Integrate:
[ 25257]
Various patches by John E. Malmberg to fix data
corruption issues on VMS. Back out change 25218 and
the parts of change 25217 that affect pp_ctl.c and
pp_sys.c.

[ 25265]
VMS debugging help, by John E. Malmberg

[ 25280]
Subject: patch@25279 VMS error handling and const fixes
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <42F98479.6030207@qsl.net>

[Bowlderised to keep the non-static functions in embed.fnc unchanged]
p4raw-link: @25280 on //depot/perl: 2fbb330f9938ff7e61d0006c9b3a662963250509
p4raw-link: @25265 on //depot/perl: 6fb2e99a4675508a54c31e684ed2b9c97b82d1f3
p4raw-link: @25257 on //depot/perl: b8ffc8df1a4e893e9c7d77b64a6fae8af5801974

p4raw-id: //depot/maint-5.8/perl@28109
p4raw-integrated: from //depot/perl@25280 'edit in' doio.c (@25257..)
embed.fnc (@25277..) 'ignore' proto.h (@25251..) 'merge in'
perl.h (@25251..)
p4raw-integrated: from //depot/perl@25265 'merge in'
vms/descrip_mms.template (@25040..)
p4raw-edited: from //depot/perl@25257 'edit in' pp_sys.c (@25256..)
p4raw-integrated: from //depot/perl@25257 'edit in' vms/vms.c
vms/vmsish.h (@25256..) 'merge in' mg.c pp_ctl.c (@25256..)

18 years agoIntegrate:
Gisle Aas [Wed, 18 May 2005 08:35:47 +0000 (01:35 -0700)]
Integrate:
[ 24501]
Subject: Well defined $? and introduction of ${^CHILD_ERROR_NATIVE} [PATCH]
Date: 18 May 2005 08:35:47 -0700
Message-ID: <lr8y2cim24.fsf_-_@caliper.activestate.com>

[ 24503]
Adjust VMS test count

[ 24506]
Fix the new exit() tests, by Gisle Aas :
don't let the shell interfere with the process return value

[ 24507]
Gisle noted an unused variable

[ 24606]
Skip signals and core dump tests on Win32

See http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-05/msg00749.html

[ 24691]
POD fixes

[ 25687]
Subject: Clone PL_statusvalue_posix [PATCH]
From: Gisle Aas <gisle@ActiveState.com>
Date: 03 Oct 2005 09:37:57 -0700
Message-ID: <lr3bni8ska.fsf_-_@caliper.activestate.com>

[ 25688]
Subject: Re: $^CHILD_ERROR_NATIVE issues (with attachment)
From: Gisle Aas <gisle@ActiveState.com>
Date: 04 Oct 2005 02:18:27 -0700
Message-ID: <lrd5ml7i8s.fsf@caliper.activestate.com>
p4raw-link: @25688 on //depot/perl: 37038d913ecbccf83ca988aedaa1e6067b127dbc
p4raw-link: @25687 on //depot/perl: 49cf90411ef5ee744fe54688234613893a6876a9
p4raw-link: @24691 on //depot/perl: eadb07ed3f5b6ca1fbf5669326ef7159ad11e894
p4raw-link: @24606 on //depot/perl: 5c5be41ca584ca84b007976e40b3e32e6829bc3f
p4raw-link: @24507 on //depot/perl: 78b9063ba31cc2a48b78683b758601c04e4eb340
p4raw-link: @24506 on //depot/perl: 755bf8135e72e27b0b1b9dc23cff856b5daa2d90
p4raw-link: @24503 on //depot/perl: 6d016528e06c60e93120e6e6509dc7dbf0df6e85
p4raw-link: @24501 on //depot/perl: e5218da503dbb4980410e0018f4cc5dcba3ea666

p4raw-id: //depot/maint-5.8/perl@28107
p4raw-integrated: from //depot/perl@25687 'merge in' sv.c (@25502..)
p4raw-integrated: from //depot/perl@25283 'copy in' t/op/exec.t
(@16421..)
p4raw-integrated: from //depot/perl@24606 'ignore' t/run/exit.t
(@24507..)
p4raw-integrated: from //depot/perl@24501 'edit in' pod/perlfunc.pod
(@24450..) 'merge in' pod/perlvar.pod (@24383..) doio.c gv.c
(@24445..) embedvar.h intrpvar.h perlapi.h (@24459..) perl.c
(@24489..) mg.c (@24492..) perl.h (@24495..) pod/perlport.pod
(@24496..)

18 years agoIntegrate:
Nicholas Clark [Fri, 28 Apr 2006 14:12:06 +0000 (14:12 +0000)]
Integrate:
[ 26569]
add svt_local slot to magic vtable, and fix local $shared

[ 26735]
document svt_copy, svt_dup and svt_local vtable slots
p4raw-link: @26735 on //depot/perl: 301cb7e88d962bd78c8bd82e4f0df528d67f2ba8
p4raw-link: @26569 on //depot/perl: a5063e7cd8fef802efd25ffe9df2c3748f4254f6

p4raw-id: //depot/maint-5.8/perl@28002
p4raw-integrated: from //depot/perl@26735 'merge in' pod/perlguts.pod
(@26131..)
p4raw-integrated: from //depot/perl@26569 'copy in'
ext/threads/shared/shared.xs (@26350..) 'merge in' mg.h
(@24761..) mg.c (@26562..)

18 years agoIntegrate:
Nicholas Clark [Fri, 28 Apr 2006 13:21:30 +0000 (13:21 +0000)]
Integrate:
[ 24264]
Subject:  [PATCH] Fix MGVTBL structures in perl.h
From:  Andy Lester <andy@petdance.com>
Date:  Wed, 20 Apr 2005 15:09:24 -0500
Message-Id:  <20050420200923.GA3017@petdance.com>

The MGVTBL structures contain 7 function pointers, but only 5 were
getting initialized. Plus, there were repeated lists between
declaration and definition; add a macro to declare or define
all the global MGVTBLs as appropriate.

[ 24268]
Subject:  patch to [PATCH] Fix MGVTBL structures in perl.h (preprocessor
From:  David Dyck <david.dyck@fluke.com>
Date:  Wed, 20 Apr 2005 16:35:55 -0700 (PDT)
Message-Id:  <Pine.LNX.4.62.0504201627550.27786@dd.tc.fluke.com>

fix nits in change #24264:
some preprocessors don't like #ifdefs within a macro's args;
also removed duplicate semicolons from macro definitions.

[ 25060]
Subject:  Re: [PATCH] Re: [PATCH] Re: a blead warning from tru64
From:  Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date:  Mon, 04 Jul 2005 00:19:28 +0300
Message-Id:  <42C85660.50807@gmail.com>
p4raw-link: @25060 on //depot/perl: 2e2109e12416b244e6b23d5233c6b74f3451621b
p4raw-link: @24268 on //depot/perl: 9ba75e3cf905a6e617107b2c32c44744529e7a65
p4raw-link: @24264 on //depot/perl: 4944113acaf494b4518ba93648e0a4276c34a175

p4raw-id: //depot/maint-5.8/perl@27996
p4raw-integrated: from //depot/perl@25060 'edit in' perl.h (@25047..)

18 years agoI didn't want ExtUtils::CBuilder. Only ExtUtils::ParseXS, and that's
Nicholas Clark [Thu, 27 Apr 2006 19:14:04 +0000 (19:14 +0000)]
I didn't want ExtUtils::CBuilder. Only ExtUtils::ParseXS, and that's
merely as a side effect of xsubpp now being a thin wrapper around it.

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

18 years agoIntegrate:
Nicholas Clark [Thu, 27 Apr 2006 18:09:09 +0000 (18:09 +0000)]
Integrate:
[ 24820]
Make some variables global, to avoid some "will not stay
shared" warnings at compile time

[ 25222]
Make CBuilder and ParseXS clean up their temp test files

[ 25225]
Ken pointed out that CBuilder's cleanup is too agrressive

The Windows compile() and link() methods bizarrely include their own
output files in the list of files to be cleaned up.  Now that they
actually are being cleaned up, this isn't ideal ;-)

Stop compile() and link() from cleaning up their own output, and
reinstate the explicit deletion of those output files in the test
scripts.

[ 25533]
Upgrade to ExtUtils::ParseXS 2.12

[ 25690]
Upgrade to ExtUtils-ParseXS-2.13

[ 25722]
Upgraded to ExtUtils-ParseXS-2.14.

[ 25764]
Upgrade to ExtUtils-ParseXS-2.15.
p4raw-link: @25764 on //depot/perl: 27856418c89336f06fb37ea6a58a1a69e1e2a27c
p4raw-link: @25722 on //depot/perl: 907ce46c268395662feb0d30bc31726b9dbce916
p4raw-link: @25690 on //depot/perl: 4b75f5a1204fc501172a9743173878da4918e4de
p4raw-link: @25533 on //depot/perl: 2f47ab8edd56c5955eeed9457c1ac240743f9f69
p4raw-link: @25225 on //depot/perl: 5c71b354394b716d454ace0c48305ad74467e50e
p4raw-link: @25222 on //depot/perl: da2b6f3329c3a764a9e5a8032aebe3c69d3f55c4
p4raw-link: @24820 on //depot/perl: a8adbc995c8b3526402e47f3b93617cf228128c3

p4raw-id: //depot/maint-5.8/perl@27984
p4raw-integrated: from //depot/perl@25225 'ignore'
lib/ExtUtils/ParseXS/t/basic.t (@25222..)
p4raw-integrated: from //depot/perl@25222 'ignore'
lib/ExtUtils/ParseXS.pm (@24820..)

18 years agoIntegrate:
Nicholas Clark [Thu, 27 Apr 2006 17:48:33 +0000 (17:48 +0000)]
Integrate:
[ 24500]
Subject: Re: [PATCH] ExtUtils-{ParseXS,CBuilder} into bleadperl (was: Re: [Module::Build] ANNOUNCE: Module::Build 0.2610 -> CPAN)
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Wed, 18 May 2005 07:13:40 -0700
Message-ID: <20050518141131.GA2704@efn.org>

[ 24504]
tabs, not spaces. Bad editor. No cookie.
Does the MANIFEST file support comments, sufficient to add an editor
block?

[ 24537]
Subject: [PATCH] ExtUtils::CBuilder Tru64 support
From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
Date: Sat, 21 May 2005 23:20:21 +0300
Message-Id: <428F9805.70108@gmail.com>

[ 24558]
Make distclean should remove the leftover test files of ExtUtils::ParseXS

[ 24568]
Subject: [PATCH] xsubpp, ParseXS: allow other suffix beyond .c
From: jarkko.hietaniemi@nokia.com
Date: Tue, 24 May 2005 12:48:38 +0300
Message-Id: <B356D8F434D20B40A8CEDAEC305A1F2453D7EB@esebe105.NOE.Nokia.com>
p4raw-link: @24568 on //depot/perl: 008fb49c17496ad9d8e3abe1ff0dc992e9aa5beb
p4raw-link: @24558 on //depot/perl: fc2730c3295eb4a594536e0e74f2cc0ae0825ba9
p4raw-link: @24537 on //depot/perl: 0e66cca035ceb727a3ab9256f4ef9b63b31b7c37
p4raw-link: @24504 on //depot/perl: 5f7616dd7d65892ef137e82326123f56d35fc47c
p4raw-link: @24500 on //depot/perl: 6b09c1601036c61459334bdedef5d7e29e07fcaf

p4raw-id: //depot/maint-5.8/perl@27981
p4raw-branched: from //depot/perl@27980 'branch in'
lib/ExtUtils/ParseXS/t/XSTest.pm
p4raw-integrated: from //depot/perl@27980 'copy in' lib/ExtUtils/xsubpp
(@24500..)
p4raw-branched: from //depot/perl@24675 'branch in'
lib/ExtUtils/ParseXS.pm (@24568..)
p4raw-integrated: from //depot/perl@24558 'merge in' Makefile.SH
(@24528..)
p4raw-branched: from //depot/perl@24537 'branch in'
lib/ExtUtils/CBuilder/Platform/dec_osf.pm
p4raw-integrated: from //depot/perl@24537 'edit in' MANIFEST (@24513..)
p4raw-branched: from //depot/perl@24500 'branch in'
lib/ExtUtils/CBuilder.pm lib/ExtUtils/CBuilder/Base.pm
lib/ExtUtils/CBuilder/Platform/Unix.pm
lib/ExtUtils/CBuilder/Platform/VMS.pm
lib/ExtUtils/CBuilder/Platform/Windows.pm
lib/ExtUtils/CBuilder/Platform/aix.pm
lib/ExtUtils/CBuilder/Platform/cygwin.pm
lib/ExtUtils/CBuilder/Platform/darwin.pm
lib/ExtUtils/CBuilder/Platform/os2.pm
lib/ExtUtils/CBuilder/t/01-basic.t
lib/ExtUtils/CBuilder/t/02-link.t
lib/ExtUtils/ParseXS/t/XSTest.xs lib/ExtUtils/ParseXS/t/basic.t

18 years agoFix up a couple more errors in 2 static functions' prototypes, and
Nicholas Clark [Thu, 27 Apr 2006 15:30:40 +0000 (15:30 +0000)]
Fix up a couple more errors in 2 static functions' prototypes, and
add NN to 3 other functions.

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

18 years agoPesky stowaways.
Nicholas Clark [Thu, 27 Apr 2006 14:38:12 +0000 (14:38 +0000)]
Pesky stowaways.

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

18 years agoIntegrate:
Nicholas Clark [Thu, 27 Apr 2006 14:37:43 +0000 (14:37 +0000)]
Integrate:
[ 24412]
while (my $x ...) { ...; redo } shouldn't undef $x.
In the presence of 'my' in the conditional of a while(), until(),
or for(;;) loop, add an extra scope to the body so that redo
doesn't undef the lexical
p4raw-link: @24412 on //depot/perl: a034e688aeb372632feafc428b392a22393dec55

p4raw-id: //depot/maint-5.8/perl@27978
p4raw-branched: from //depot/perl@24412 'branch in' perly.tab
(@23960..)
p4raw-edited: from //depot/perl@24412 'edit in' t/op/loopctl.t
(@22438..) perly.y (@23960..) op.c (@24271..) embed.fnc
(@24350..)
p4raw-integrated: from //depot/perl@24412 'edit in' perly.h (@23960..)
'ignore' proto.h (@24350..) 'merge in' embed.h (@24328..)
pp_ctl.c (@24384..)

18 years agoFix up my mistakes with prototypes made while merging pack changes.
Nicholas Clark [Thu, 27 Apr 2006 14:19:31 +0000 (14:19 +0000)]
Fix up my mistakes with prototypes made while merging pack changes.
Prototypes for non-static functions are now restored to 5.8.8.

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

18 years agoIntegrate:
Andy Lester [Thu, 10 Mar 2005 15:17:28 +0000 (09:17 -0600)]
Integrate:
[ 24023]
Subject: [PATCH] pad_push numero three-o
Message-ID: <20050310211728.GC32386@petdance.com>
p4raw-link: @24023 on //depot/perl: 2601929893f334f18dbc48652b91b4acab6e8915

p4raw-id: //depot/maint-5.8/perl@27975
p4raw-integrated: from //depot/perl@24023 'edit in' pad.c (@23433..)
embed.fnc (@24010..) 'merge in' pod/perlintern.pod (@23780..)

18 years agoIntegrate:
Nicholas Clark [Thu, 27 Apr 2006 11:41:22 +0000 (11:41 +0000)]
Integrate:
[ 25779]
Make some casts explicit to keep VC++ 7 happy

Specifically, this silences the warnings from the following smoke:
http://www.nntp.perl.org/group/perl.daily-build.reports/32258
(Hmm. Looks like you need to decode the base64 yourself before you
can read that.)

[ 26032]
Subject: [PATCH] Missing static declarations
From: Gisle Aas <gisle@ActiveState.com>
Date: 05 Nov 2005 05:08:03 -0800
Message-ID: <lracgj1bv0.fsf@caliper.activestate.com>

[ 26130]
The warning "Field too wide in 'u' format in pack" was emitted even
when pack warnings were not enabled

[ 26242]
Subject: [PATCH] Signs, signs, everywhere a sign
From: Andy Lester <andy@petdance.com>
Date: Thu, 1 Dec 2005 14:24:51 -0600
Message-ID: <20051201202451.GI22713@petdance.com>

[ 26549]
Subject: [PATCH] op/pack.t failure on Win64
From: Jan Dubois <jand@activestate.com>
Date: Dec 30, 2005 9:55 PM
Message-ID: <017a01c60d83$5dc73110$2217a8c0@candy>

[ 27956]
Perl_unpack_str() is a mathom!
p4raw-link: @27956 on //depot/perl: c03e83bfc67c29c088e71db6b1168b1b9d7f296b
p4raw-link: @26549 on //depot/perl: 2b00a750be32d67419b465b04ecb90c2045abe25
p4raw-link: @26242 on //depot/perl: 2d3e09341b1708b9d4e0982daf4d89d075ef0973
p4raw-link: @26130 on //depot/perl: 0fdc08b6b5f98f1985cdae23a9e282c1de90ad84
p4raw-link: @26032 on //depot/perl: f43a9a3142f71956ec256aa7b03ca89db65cbb0c
p4raw-link: @25779 on //depot/perl: 585ec06d680e861557397efeb05210638532c6dc

p4raw-id: //depot/maint-5.8/perl@27974
p4raw-integrated: from //depot/perl@27973 'merge in'
genpacksizetables.pl (@24038..) mathoms.c (@27896..)
p4raw-integrated: from //depot/perl@26549 'edit in' pp_pack.c
(@26281..)

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>

[ 25129]
make the expensive ckWARN() be called as late as possible
reorganise
    if (ckWARN(FOO) && should_not_happen_condition)
to
    if (should_not_happen_condition && ckWARN(FOO))
p4raw-link: @25129 on //depot/perl: 041457d90dbb6fb79a72c7a8462f01423f2daa09
p4raw-link: @24965 on //depot/perl: 8772537cf6d022a54f738ccb84b65a7f21ccf1b2

p4raw-id: //depot/maint-5.8/perl@27973
p4raw-integrated: from //depot/perl@25129 'edit in' pp_pack.c
(@25101..)

18 years agoIntegrate:
Nicholas Clark [Wed, 26 Apr 2006 22:56:05 +0000 (22:56 +0000)]
Integrate:
[ 24328]
Subject: Re: [PATCH] pp_pack.c redux, to work w/Jarkko's recent patches
From: Andy Lester <andy@petdance.com>
Date: Mon, 25 Apr 2005 17:56:51 -0500
Message-ID: <20050425225651.GB17271@petdance.com>

[ 24350]
Subject: (in blead) a missing const in a prototype
From: <jarkko.hietaniemi@nokia.com>
Date: Wed, 27 Apr 2005 17:35:27 +0300
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D6ED@esebe105.NOE.Nokia.com>

[ 24772]
Subject: [PATCH] pp_pack.c cleanup
From: Andy Lester <andy@petdance.com>
Date: Wed, 8 Jun 2005 10:23:53 -0500
Message-ID: <20050608152353.GA6253@petdance.com>

[ 24778]
More SvPV consting
p4raw-link: @24778 on //depot/perl: b83604b4e5062f93776f6a381f822df058667e23
p4raw-link: @24772 on //depot/perl: 8b6e33c7886a0f01211e87223fa130b968e1d3a2
p4raw-link: @24350 on //depot/perl: 857de280fd236a1e6fa40c22088b0ce709b2421c
p4raw-link: @24328 on //depot/perl: f7fe979eb2503f8f9651a18eedcb85278b593375

p4raw-id: //depot/maint-5.8/perl@27972
p4raw-integrated: from //depot/perl@24778 'edit in' pp_pack.c
(@24772..)
p4raw-integrated: from //depot/perl@24350 'edit in' embed.fnc
(@24328..)
p4raw-integrated: from //depot/perl@24328 'edit in' proto.h (@24318..)
'merge in' pod/perlapi.pod (@24095..) embed.h (@24308..) perl.h
(@24318..)

18 years agoIntegrate:
Nicholas Clark [Wed, 26 Apr 2006 22:23:19 +0000 (22:23 +0000)]
Integrate:
[ 24061]
Casts needed to make VMS happy. (It gets very upset at assignments
between char * and unsigned char *)

[ 24126]
Subject: [PATCH] pp_pack.c warnings on VMS
From: "Craig A. Berry" <craigberry@mac.com>
Date: Thu, 31 Mar 2005 14:51:05 -0600
Message-ID: <424C62B9.2030601@mac.com>

[ 24251]
Avoid generating thousands of UTF-8 warnings when testing under a
UTF-8 locale

[ 24279]
Subject: [PATCH] pp_pack.c warning quieting
From: Andy Lester <andy@petdance.com>
Date: Thu, 21 Apr 2005 11:33:13 -0500
Message-ID: <20050421163313.GA20930@petdance.com>
p4raw-link: @24279 on //depot/perl: 9e27e96ad8a80dcef2399eb03105fd8195e035f3
p4raw-link: @24251 on //depot/perl: bd7d4f4d586a396d1b104a293cce339c8d63ce5a
p4raw-link: @24126 on //depot/perl: 00646304f46650d8f8cd95d4c043173d162d8d30
p4raw-link: @24061 on //depot/perl: 230e1fced0e32ea5f367dab8fc27454367d20d6f

p4raw-id: //depot/maint-5.8/perl@27971
p4raw-integrated: from //depot/perl@24251 'edit in' t/op/pack.t
(@24100..)
p4raw-integrated: from //depot/perl@24126 'edit in' pp_pack.c
(@24100..)