Nicholas Clark [Sat, 4 Feb 2006 13:27:00 +0000]
Rejig the definition of ARENAS_PER_SET to maximise the size of the
array whilst keeping the structure within PERL_ARENA_SIZE.
p4raw-id: //depot/perl@27081
Nicholas Clark [Sat, 4 Feb 2006 13:00:06 +0000]
Tweak arena sets to avoid assignment between different pointers.
p4raw-id: //depot/perl@27080
Jim Cromie [Tue, 31 Jan 2006 04:52:06 +0000]
[patch] arena rework - arena sets
Message-ID: <
43DF4F66.4080808@gmail.com>
Date: Tue, 31 Jan 2006 04:52:06 -0700
p4raw-id: //depot/perl@27079
Nicholas Clark [Sat, 4 Feb 2006 11:10:52 +0000]
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.
p4raw-id: //depot/perl@27078
Nicholas Clark [Sat, 4 Feb 2006 10:37:08 +0000]
Remove obsolete comment.
p4raw-id: //depot/perl@27077
Nicholas Clark [Fri, 3 Feb 2006 23:21:37 +0000]
S_find_beginning is only called from one place, so by hoisting the
forbid_setid check for -x into the caller, we can eliminate the
suidscript parameter from S_find_beginning.
p4raw-id: //depot/perl@27076
Nicholas Clark [Fri, 3 Feb 2006 22:41:55 +0000]
And as we've now got to the point where all calls to Perl_moreswitches
have -1 as the second argument, we can remove the second argument,
which gets us back to where we started, only with the elimination of
a per-thread variable.
p4raw-id: //depot/perl@27075
Nicholas Clark [Fri, 3 Feb 2006 22:18:45 +0000]
The MSDOS-only call to moreswitches will never reach forbid_setid, so
it can have a parameter of -1 without changing any behaviour.
I see no reason to forbid "command line" switches when they are
actually coming from the #! line of the script itself (as read by perl)
as they must have been written by the owner of the script, rather than
being crafted by the user manipulating the command line, and therefore
cannot be subverted. (Or alternatively, can be subverted as easily as
the rest of the script, and we're permitting *that* to be run)
p4raw-id: //depot/perl@27074
Nicholas Clark [Fri, 3 Feb 2006 21:47:04 +0000]
Pull the variables fdscript and suidscript into a much smaller scope.
Replace suidscript with literal -1 where it could only have been -1.
(Re-indent the other code inside the new block creating the scope.
Rejig the indentation of the conditionals)
p4raw-id: //depot/perl@27073
Nicholas Clark [Fri, 3 Feb 2006 21:23:21 +0000]
Change 27070 failed to initialise a variable. (But despite that still
passed all tests locally.)
p4raw-id: //depot/perl@27072
Nicholas Clark [Fri, 3 Feb 2006 20:12:10 +0000]
Silence a warning about "statement not reached" from the Sun C compiler.
It was accurate - the conditional code used to give 2 return statements.
p4raw-id: //depot/perl@27071
Nicholas Clark [Fri, 3 Feb 2006 20:10:07 +0000]
Eliminating PL_suidscript is more tricky, and requires changing the
prototype of Perl_moreswitches.
p4raw-id: //depot/perl@27070
Nicholas Clark [Fri, 3 Feb 2006 18:27:52 +0000]
Passing the flag to S_forbit_setid as a single char rather than a
string is a slight space optimisation.
p4raw-id: //depot/perl@27069
Nicholas Clark [Fri, 3 Feb 2006 18:10:45 +0000]
Oops. I *thought* that I had checked that all changed files were open.
Clearly not. (Fixes change 27066)
p4raw-id: //depot/perl@27068
Nicholas Clark [Fri, 3 Feb 2006 17:06:43 +0000]
Oops. When changing warnings.pl one should re-run it. Well spotted
Rafael.
p4raw-id: //depot/perl@27067
Nicholas Clark [Fri, 3 Feb 2006 17:06:04 +0000]
It's actually easier to get rid of PL_fdscript than we thought.
p4raw-id: //depot/perl@27066
Steven Schubiger [Fri, 3 Feb 2006 16:24:49 +0000]
Re: [PATCH] s/Null(gv|hv|sv)/NULL/g
Message-ID: <
20060203152449.GI12591@accognoscere.homeunix.org>
Date: Fri, 3 Feb 2006 16:24:49 +0100
p4raw-id: //depot/perl@27065
Rafael Garcia-Suarez [Fri, 3 Feb 2006 15:18:18 +0000]
Fix file where internal XS functions are defined
p4raw-id: //depot/perl@27064
John E. Malmberg [Tue, 13 Dec 2005 22:18:56 +0000]
Help to compile on VMS with UNLINK_ALL_VERSIONS
See :
Subject: bug@26347 embed.fnc/embed.h with unlnk macro
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <
439F8F20.4050207@qsl.net>
p4raw-id: //depot/perl@27063
Andreas König [Thu, 2 Feb 2006 12:35:41 +0000]
[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.83_64.tar.gz
Message-ID: <87acda0z8y.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@27062
SADAHIRO Tomoyuki [Mon, 9 Jan 2006 12:53:15 +0000]
L<PerlIO> and Pod::Html
Message-Id: <
20060109125220.3BB0.BQW10602@nifty.com>
p4raw-id: //depot/perl@27061
Steven Schubiger [Thu, 2 Feb 2006 16:02:41 +0000]
s/Nullcv/NULL/g
Message-ID: <
20060202150241.GF12591@accognoscere.homeunix.org>
Date: Thu, 2 Feb 2006 16:02:41 +0100
p4raw-id: //depot/perl@27060
Nicholas Clark [Fri, 3 Feb 2006 13:06:00 +0000]
Change PL_perlio_fd_refcnt from a fixed size static array to a pointer
to a dynamic array.
p4raw-id: //depot/perl@27059
Steve Peters [Thu, 2 Feb 2006 20:57:01 +0000]
It would be nice to have tests in B for the functions getting changed.
p4raw-id: //depot/perl@27057
Steve Peters [Thu, 2 Feb 2006 20:42:56 +0000]
Death to magic characters! No pun intended.
p4raw-id: //depot/perl@27056
Steven Schubiger [Thu, 2 Feb 2006 10:38:49 +0000]
Re: [PATCH] s/Null(av|ch)/NULL/g
Message-ID: <
20060202093849.GD12591@accognoscere.homeunix.org>
p4raw-id: //depot/perl@27054
Nicholas Clark [Thu, 2 Feb 2006 12:31:30 +0000]
gv_fetchpvn_flags ranks highly in the profile, and the ::/' scanning
loop is iterated over millions of times. Add a flag GV_NOTQUAL purely
as an optimisation, when the caller is passing in a string that is
known not to contain any package separators.
p4raw-id: //depot/perl@27053
Rafael Garcia-Suarez [Thu, 2 Feb 2006 11:22:43 +0000]
Update to Module::CoreList 3.04.
Cleanup corelist manpage.
Remove -w in corelist shebang to avoid spurious warnings.
p4raw-id: //depot/perl@27052
Gisle Aas [Thu, 2 Feb 2006 10:05:32 +0000]
perl-5.8.8 also contained change 27040.
p4raw-id: //depot/perl@27051
Nicholas Clark [Thu, 2 Feb 2006 00:36:38 +0000]
Yet more instances of gv_fetchpv... that should be GV_ADD rather than
TRUE.
Convert two gv_fetchpvn_flags to gv_fetchpvs.
p4raw-id: //depot/perl@27050
Nicholas Clark [Thu, 2 Feb 2006 00:24:06 +0000]
And another assumption.
p4raw-id: //depot/perl@27049
Nicholas Clark [Wed, 1 Feb 2006 23:38:53 +0000]
Since PERL_COPY_ON_WRITE became PERL_OLD_COPY_ON_WRITE it seems that
no-one has been testing it, as there was a const too far.
p4raw-id: //depot/perl@27048
Steve Peters [Wed, 1 Feb 2006 23:34:47 +0000]
Doc nit found by Stephen Gordon.
p4raw-id: //depot/perl@27047
Nicholas Clark [Wed, 1 Feb 2006 23:03:11 +0000]
doubleplusoops. Apart from the documented NUL termination assumption.
Now removed.
p4raw-id: //depot/perl@27046
Nicholas Clark [Wed, 1 Feb 2006 22:39:29 +0000]
References can't have SVp_IOK or SVp_NOK set, so no need for all the
conditional code to copy IVX and NVX if true. "You cannot get here".
p4raw-id: //depot/perl@27045
Nicholas Clark [Wed, 1 Feb 2006 22:03:37 +0000]
Oops. 1 NUL termination assumption remains in Perl_gv_fetchpvn_flags
p4raw-id: //depot/perl@27044
Nicholas Clark [Wed, 1 Feb 2006 20:26:46 +0000]
Correct my comment, so that it's actually useful. :-)
p4raw-id: //depot/perl@27043
Steve Purkis [Fri, 20 Jan 2006 12:35:06 +0000]
[[:...:]] is equivalent to \p{...}, not [:...:], tweaked from
Subject: Re: [:...:] and \p{...} character class equivalence in utf8 regexps
Message-Id: <
0DAE5956-3ECC-4692-A0C9-C62C8F790C97@multimap.com>
Date: Fri, 20 Jan 2006 12:35:06 -0500
p4raw-id: //depot/perl@27042
Rafael Garcia-Suarez [Wed, 1 Feb 2006 18:07:26 +0000]
Improve a bit the documentation for kill() with SIGNAL==0
p4raw-id: //depot/perl@27039
Nicholas Clark [Wed, 1 Feb 2006 18:05:20 +0000]
Mmm, it looks like it's a bad plan to rebuild the TOC from a tree that
has other modules in ext/
TODO - fix buildtoc to cross check with MANIFEST.
p4raw-id: //depot/perl@27038
Nicholas Clark [Wed, 1 Feb 2006 17:53:28 +0000]
Integrate perl588delta.pod from maint, and re-run pod/buildtoc.
p4raw-id: //depot/perl@27037
p4raw-branched: from //depot/maint-5.8/perl@27036 'branch in'
pod/perl588delta.pod (@27012..)
p4raw-edited: from //depot/maint-5.8/perl@24695 'edit in'
vms/descrip_mms.template (@24616..)
p4raw-integrated: from //depot/maint-5.8/perl@24695 'edit in'
Makefile.SH (@23936..) pod.lst pod/perltoc.pod win32/Makefile
win32/makefile.mk (@24616..) 'merge in' win32/pod.mak
(@23573..) MANIFEST (@24611..)
Rafael Garcia-Suarez [Wed, 1 Feb 2006 17:49:53 +0000]
Doc nit by Andy Dougherty
p4raw-id: //depot/perl@27036
Rafael Garcia-Suarez [Wed, 1 Feb 2006 16:14:07 +0000]
autouse actually requires perl 5.6 at least.
p4raw-id: //depot/perl@27035
Rafael Garcia-Suarez [Wed, 1 Feb 2006 15:51:35 +0000]
Avoid "Prototype mismatch" warnings with autouse.
p4raw-id: //depot/perl@27034
Rafael Garcia-Suarez [Wed, 1 Feb 2006 13:22:26 +0000]
Fix corelist data for 5.8.8
p4raw-id: //depot/perl@27033
Rafael Garcia-Suarez [Wed, 1 Feb 2006 12:41:37 +0000]
More history
p4raw-id: //depot/perl@27032
Rafael Garcia-Suarez [Wed, 1 Feb 2006 12:30:14 +0000]
Update to Module::CoreList 2.03 (includes 5.8.8 and 5.9.3)
p4raw-id: //depot/perl@27031
Jim Cromie [Tue, 31 Jan 2006 03:33:46 +0000]
[patch] arena rework - unify arenaroots
Message-ID: <
43DF3D0A.3040102@gmail.com>
Date: Tue, 31 Jan 2006 03:33:46 -0700
p4raw-id: //depot/perl@27030
Nicholas Clark [Tue, 31 Jan 2006 22:59:27 +0000]
Make Perl_gv_fetchpvn_flags actually heed the passed in length.
This means that \0 bytes in symbolic references now work.
p4raw-id: //depot/perl@27028
Steve Peters [Tue, 31 Jan 2006 18:42:31 +0000]
Intel C Compiler 9.0 hatefully defines __GNUC__. Unfortunately,
icc does not support gcc built-ins like __attribiute__.
p4raw-id: //depot/perl@27027
p.boven@sara.nl [Tue, 31 Jan 2006 05:22:28 +0000]
[perl #38380] Typo in perlfunc.pod
From: p.boven@sara.nl (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38380-129047.11.
4217468041333@perl.org>
Date: Tue, 31 Jan 2006 05:22:28 -0800
p4raw-id: //depot/perl@27022
Nicholas Clark [Tue, 31 Jan 2006 15:10:37 +0000]
Eliminate save_threadsv, as it is never linked to, and all it does
post 5005 threads is croak().
p4raw-id: //depot/perl@27021
Yves Orton [Tue, 31 Jan 2006 09:55:25 +0000]
Re: [PATCH] Re: replacing "inuse" Win files (was Re: Help with a Cwd.pm build error)
Message-ID: <
9b18b3110601310055h7aeb9aa1gdc2d63cc56d97768@mail.gmail.com>
p4raw-id: //depot/perl@27016
John E. Malmberg [Tue, 31 Jan 2006 04:37:27 +0000]
patch@26996 - patch around stat("_NLA0:") bug
From: "John E. Malmberg" <wb8tyw@qsl.net>Date: Mon, 30 Jan 2006 23:21:34 -0500
Message-id: <
43DEE5CE.7060108@qsl.net>
p4raw-id: //depot/perl@27015
Nicholas Clark [Tue, 31 Jan 2006 00:15:26 +0000]
Silence a warning from the MS compiler about signed/unsigned mismatch.
p4raw-id: //depot/perl@27014
Rafael Garcia-Suarez [Mon, 30 Jan 2006 17:47:56 +0000]
Add perl594delta
p4raw-id: //depot/perl@27010
Nicholas Clark [Mon, 30 Jan 2006 17:12:54 +0000]
Change the author aliasing to reflect updates to AUTHORS.
p4raw-id: //depot/perl@27009
Rafael Garcia-Suarez [Mon, 30 Jan 2006 16:58:47 +0000]
Bump version number to 5.9.4
Regenerate template config in Porting
p4raw-id: //depot/perl@27007
Nicholas Clark [Mon, 30 Jan 2006 16:50:38 +0000]
Silence another Irix compiler warning.
p4raw-id: //depot/perl@27006
Nicholas Clark [Mon, 30 Jan 2006 16:29:38 +0000]
Avoid a warning from the Irix C compiler.
p4raw-id: //depot/perl@27005
Steve Peters [Mon, 30 Jan 2006 15:04:50 +0000]
Teach the Makefile how to cleanup config.over.
p4raw-id: //depot/perl@27004
Nicholas Clark [Mon, 30 Jan 2006 13:42:56 +0000]
Code assumes that *FOO{SCALAR} will always return a scalar reference,
so make it so, creating $FOO if necessary.
(Effectively this is a policy decision that PERL_DONT_CREATE_GVSV is
visible to XS code, but isn't visible to Perl code)
p4raw-id: //depot/perl@27002
Steve Peters [Mon, 30 Jan 2006 13:25:04 +0000]
Add -DPTR_IS_LONG when building with -Duse64bitint on Solaris/i386.
Otherwise, the build fails in POSIX.
p4raw-id: //depot/perl@27001
Nicholas Clark [Mon, 30 Jan 2006 12:59:12 +0000]
Use a union for storing the shared hash key reference count, rather
than messy pointer hacks.
p4raw-id: //depot/perl@27000
Yitzchak Scott-Thoennes [Mon, 30 Jan 2006 01:06:24 +0000]
[DOC PATCH] $^X isn't necessarily argv[0]
Message-ID: <
20060130090624.GA3760@efn.org>
p4raw-id: //depot/perl@26999
Jarkko Hietaniemi [Sun, 29 Jan 2006 23:45:03 +0000]
maint and blead: unicos.sh hints
Message-Id: <
200601292145.k0TLj3mW320311@kosh.hut.fi>
p4raw-id: //depot/perl@26998
Nicholas Clark [Mon, 30 Jan 2006 00:18:52 +0000]
Assert that IVs and NVs can never be tainted.
p4raw-id: //depot/perl@26997
Nicholas Clark [Sun, 29 Jan 2006 22:00:11 +0000]
Solaris seems not to enjoy initialising constants from SIG_??? on 64
bit builds.
p4raw-id: //depot/perl@26996
Steve Peters [Sun, 29 Jan 2006 20:43:44 +0000]
Upgrade to podlators-2.0.3
p4raw-id: //depot/perl@26995
Rafael Garcia-Suarez [Sun, 29 Jan 2006 18:31:52 +0000]
Email change for Steven Schubiger
p4raw-id: //depot/perl@26994
Philippe M. Chiasson [Thu, 26 Jan 2006 13:53:07 +0000]
Re: [patch] s/ar ts/ar s/g
From: "Philippe M. Chiasson" <gozer@ActiveState.com>
Message-ID: <
43D944C3.60101@ActiveState.com>
p4raw-id: //depot/perl@26993
Nicholas Clark [Sun, 29 Jan 2006 00:25:04 +0000]
C compilers don't let you return void. Pay attention gcc, and
stop aping Shildt.
p4raw-id: //depot/perl@26991
Nicholas Clark [Sun, 29 Jan 2006 00:09:10 +0000]
Avoid using space to create 2 functions just to force mathoms to be
linked. Instead, force the link via the perl interpreter structure
via a function pointer that gets replaced at run time anyway.
p4raw-id: //depot/perl@26990
Nicholas Clark [Sat, 28 Jan 2006 17:46:56 +0000]
Call gv_fetchpvn_flags where we already know the length.
p4raw-id: //depot/perl@26989
Steve Peters [Sat, 28 Jan 2006 17:25:03 +0000]
Upgrade to podlators-2.0.2
p4raw-id: //depot/perl@26988
Nicholas Clark [Sat, 28 Jan 2006 17:15:21 +0000]
Squeeze more flag manipulations together in sv_setsv_flags.
p4raw-id: //depot/perl@26987
Steve Peters [Sat, 28 Jan 2006 16:50:32 +0000]
Upgrade to CPAN-1.83_59
p4raw-id: //depot/perl@26986
Steve Peters [Sat, 28 Jan 2006 16:43:43 +0000]
Upgrade to Archive-Tar-1.28
p4raw-id: //depot/perl@26985
Nicholas Clark [Sat, 28 Jan 2006 15:44:04 +0000]
Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.
Many strlen()s saved.
p4raw-id: //depot/perl@26983
Nicholas Clark [Sat, 28 Jan 2006 14:46:35 +0000]
Merge the IOK and NOK clauses together in sv_setsv_flags.
p4raw-id: //depot/perl@26982
Nicholas Clark [Sat, 28 Jan 2006 14:23:49 +0000]
The flags manipulation in sv_setsv_flags can be more efficient.
p4raw-id: //depot/perl@26981
Nicholas Clark [Sat, 28 Jan 2006 14:02:10 +0000]
PERL_DONT_CREATE_GVSV wasn't as effective as it should have been.
p4raw-id: //depot/perl@26980
Nicholas Clark [Sat, 28 Jan 2006 13:38:28 +0000]
By changing SvVOK() from returning 0/1 to 0/pointer-to-magic we can
save duplicating mg_find calls, without changing the semantics in any
boolean context.
p4raw-id: //depot/perl@26979
Nicholas Clark [Sat, 28 Jan 2006 12:49:15 +0000]
Pull the other large chunk of PVGV assignment code into S_pvgv_assign.
There seems to be some duplication with S_glob_assign.
p4raw-id: //depot/perl@26978
Nicholas Clark [Sat, 28 Jan 2006 12:26:47 +0000]
Remove goto glob_assign;
p4raw-id: //depot/perl@26977
Nicholas Clark [Sat, 28 Jan 2006 12:08:01 +0000]
Pull glob_assign out from sv_setsv_flags into a static function.
p4raw-id: //depot/perl@26976
Rafael Garcia-Suarez [Sat, 28 Jan 2006 11:00:30 +0000]
Update Changes
p4raw-id: //depot/perl@26975
Rafael Garcia-Suarez [Sat, 28 Jan 2006 10:57:04 +0000]
Add perl 5.9.3 in release list
p4raw-id: //depot/perl@26974
Gisle Aas [Fri, 27 Jan 2006 07:21:16 +0000]
Re: Make Passive mode the default for Net::FTP
Message-ID: <lrslr91ytv.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@26970
Rafael Garcia-Suarez [Fri, 27 Jan 2006 18:27:22 +0000]
Oops. Forgot to add this file.
p4raw-id: //depot/perl@26969
Rafael Garcia-Suarez [Fri, 27 Jan 2006 18:07:54 +0000]
Regenerate META.yml
p4raw-id: //depot/perl@26968
Rafael Garcia-Suarez [Fri, 27 Jan 2006 18:04:17 +0000]
Regenerate Changes; remove ^M chars in Changes
p4raw-id: //depot/perl@26967
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:47:32 +0000]
Remove patch number
p4raw-id: //depot/perl@26966
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:44:48 +0000]
Mention ptardiff in perldelta.
p4raw-id: //depot/perl@26965
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:37:27 +0000]
Don't install ptardiff in the module tree
p4raw-id: //depot/perl@26964
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:19:52 +0000]
Install the ptardiff utility that comes with Archive::Tar
p4raw-id: //depot/perl@26963
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:04:35 +0000]
Install nit : README.e2x should be installed, the other READMEs shouldn't
p4raw-id: //depot/perl@26962
Rafael Garcia-Suarez [Fri, 27 Jan 2006 16:31:33 +0000]
Regenerate PODs
p4raw-id: //depot/perl@26961
Rafael Garcia-Suarez [Fri, 27 Jan 2006 15:35:01 +0000]
Some spelling fixes by David Landgren.
Mention perltodo.
p4raw-id: //depot/perl@26960
Rafael Garcia-Suarez [Fri, 27 Jan 2006 15:26:05 +0000]
Revert change 24461, now that change 26757 allows TEST
to accept extra output from module tests
p4raw-id: //depot/perl@26959