This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoS_share_hek_flags can revert to returning a HEK
Nicholas Clark [Mon, 13 Jun 2005 09:43:18 +0000 (09:43 +0000)]
S_share_hek_flags can revert to returning a HEK

p4raw-id: //depot/perl@24819

16 years agoRemove MANIFEST for Compress::Zlib
Rafael Garcia-Suarez [Mon, 13 Jun 2005 09:13:43 +0000 (09:13 +0000)]
Remove MANIFEST for Compress::Zlib

p4raw-id: //depot/perl@24818

16 years agoMake SvUPGRADE always have the value '1'
Rafael Garcia-Suarez [Mon, 13 Jun 2005 09:00:00 +0000 (09:00 +0000)]
Make SvUPGRADE always have the value '1'
Make sv_upgrade a void function

p4raw-id: //depot/perl@24817

16 years agoWe no longer need PL_shared_hek_table
Nicholas Clark [Mon, 13 Jun 2005 08:25:53 +0000 (08:25 +0000)]
We no longer need PL_shared_hek_table

p4raw-id: //depot/perl@24816

16 years agoHelp "make distclean"
Rafael Garcia-Suarez [Mon, 13 Jun 2005 07:58:31 +0000 (07:58 +0000)]
Help "make distclean"

p4raw-id: //depot/perl@24815

16 years agoClone all shared string PVs as shared string PVs (now that we can do
Nicholas Clark [Sun, 12 Jun 2005 23:40:55 +0000 (23:40 +0000)]
Clone all shared string PVs as shared string PVs (now that we can do
it very efficiently)

p4raw-id: //depot/perl@24814

16 years agoduping shared hask key scalars can use hek_dup
Nicholas Clark [Sun, 12 Jun 2005 22:34:39 +0000 (22:34 +0000)]
duping shared hask key scalars can use hek_dup

p4raw-id: //depot/perl@24813

16 years agohek_dup can now store the HEK rather than the HE, as there is now a
Nicholas Clark [Sun, 12 Jun 2005 22:33:51 +0000 (22:33 +0000)]
hek_dup can now store the HEK rather than the HE, as there is now a
fast way to share a hek

p4raw-id: //depot/perl@24812

16 years agoProvide share_hek_hek, and use it for fast copying of shared string
Nicholas Clark [Sun, 12 Jun 2005 21:59:34 +0000 (21:59 +0000)]
Provide share_hek_hek, and use it for fast copying of shared string
scalars.

p4raw-id: //depot/perl@24811

16 years agoCompare HE *s in S_unshare_hek_or_pvn's tight hek loop, rather than
Nicholas Clark [Sun, 12 Jun 2005 21:58:23 +0000 (21:58 +0000)]
Compare HE *s in S_unshare_hek_or_pvn's tight hek loop, rather than
HEKs

p4raw-id: //depot/perl@24810

16 years agoShortcut chasing round strtab when we're not the last reference.
Nicholas Clark [Sun, 12 Jun 2005 21:08:33 +0000 (21:08 +0000)]
Shortcut chasing round strtab when we're not the last reference.

p4raw-id: //depot/perl@24809

16 years agoIn the shared string table, store the HE and HEK next to each other
Nicholas Clark [Sun, 12 Jun 2005 20:00:18 +0000 (20:00 +0000)]
In the shared string table, store the HE and HEK next to each other
in one malloc()ed block.

p4raw-id: //depot/perl@24808

16 years agoperlipc.pod: mkfifo()
Alexey Tourbin [Sat, 11 Jun 2005 16:26:56 +0000 (20:26 +0400)]
perlipc.pod: mkfifo()
Message-ID: <20050611122656.GC8181@solemn.turbinal.org>

p4raw-id: //depot/perl@24807

16 years agoimprove static build for win32/Makefile
Vadim Konovalov [Sun, 12 Jun 2005 14:09:11 +0000 (10:09 -0400)]
improve static build for win32/Makefile
Message-Id: <1118599750.2732.2.camel@mdk10>

p4raw-id: //depot/perl@24806

16 years agoRE: 05gzsetp.t and initial 'ver' in test output
Paul Marquess [Sat, 11 Jun 2005 22:23:00 +0000 (23:23 +0100)]
RE: 05gzsetp.t and initial 'ver' in test output
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-Id: <20050611212234.UGOL29707.aamta11-winn.ispmail.ntl.com@MARQUESSPT21>

p4raw-id: //depot/perl@24805

16 years agoThis isn't an LVALUE, so make the compiler enforce that.
Nicholas Clark [Sat, 11 Jun 2005 21:05:29 +0000 (21:05 +0000)]
This isn't an LVALUE, so make the compiler enforce that.

p4raw-id: //depot/perl@24804

16 years agohash key code cleanup
Nicholas Clark [Sat, 11 Jun 2005 18:01:32 +0000 (18:01 +0000)]
hash key code cleanup

p4raw-id: //depot/perl@24803

16 years agoShrink shared hash scalars from PVIV to PV
Nicholas Clark [Sat, 11 Jun 2005 17:00:52 +0000 (17:00 +0000)]
Shrink shared hash scalars from PVIV to PV

p4raw-id: //depot/perl@24802

16 years agoPropagate const/mutable/not into the SvPV call for retrieving an
Nicholas Clark [Sat, 11 Jun 2005 14:08:00 +0000 (14:08 +0000)]
Propagate const/mutable/not into the SvPV call for retrieving an
overloaded value.

p4raw-id: //depot/perl@24801

16 years agoMore SvPV consting. And other related drive-by refactoring.
Nicholas Clark [Fri, 10 Jun 2005 23:12:29 +0000 (23:12 +0000)]
More SvPV consting. And other related drive-by refactoring.

p4raw-id: //depot/perl@24800

16 years agoMore SvPV consting, including some code cleanup and living dangerously
Nicholas Clark [Fri, 10 Jun 2005 22:06:15 +0000 (22:06 +0000)]
More SvPV consting, including some code cleanup and living dangerously
with socket API calls.

p4raw-id: //depot/perl@24799

16 years agoMove SvPV consting, remove an n_a, and correct one error in Move()
Nicholas Clark [Fri, 10 Jun 2005 20:48:35 +0000 (20:48 +0000)]
Move SvPV consting, remove an n_a, and correct one error in Move()

p4raw-id: //depot/perl@24798

16 years agoAllison says that "Media" isn't really needed in the name.
Nicholas Clark [Fri, 10 Jun 2005 18:42:47 +0000 (18:42 +0000)]
Allison says that "Media" isn't really needed in the name.

p4raw-id: //depot/perl@24797

16 years agoAdd SvGROW_mutable
Nicholas Clark [Fri, 10 Jun 2005 16:26:43 +0000 (16:26 +0000)]
Add SvGROW_mutable

p4raw-id: //depot/perl@24796

16 years agoPassing read only values (such as string constants) to select should
Nicholas Clark [Fri, 10 Jun 2005 15:44:47 +0000 (15:44 +0000)]
Passing read only values (such as string constants) to select should
croak.

p4raw-id: //depot/perl@24795

16 years agoDon't pass constants to select
Nicholas Clark [Fri, 10 Jun 2005 15:16:43 +0000 (15:16 +0000)]
Don't pass constants to select

p4raw-id: //depot/perl@24794

16 years agoPre-run and disarm the code automodification run by
Rafael Garcia-Suarez [Fri, 10 Jun 2005 13:44:35 +0000 (13:44 +0000)]
Pre-run and disarm the code automodification run by
Compress::Zlib's Makefile

p4raw-id: //depot/perl@24793

16 years agoUpdate Windows makefiles
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:53:21 +0000 (12:53 +0000)]
Update Windows makefiles

p4raw-id: //depot/perl@24792

16 years agoWork around bug 36211, plus a lot of TODO regression tests for local/
Nicholas Clark [Fri, 10 Jun 2005 12:44:30 +0000 (12:44 +0000)]
Work around bug 36211, plus a lot of TODO regression tests for local/
$#... interaction.

p4raw-id: //depot/perl@24791

16 years agoUpdate maintainers list
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:44:02 +0000 (12:44 +0000)]
Update maintainers list

p4raw-id: //depot/perl@24790

16 years agoBump version number
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:30:14 +0000 (12:30 +0000)]
Bump version number

p4raw-id: //depot/perl@24789

16 years agoMakefile.PL adjustments for the core
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:09:30 +0000 (12:09 +0000)]
Makefile.PL adjustments for the core

p4raw-id: //depot/perl@24788

16 years agoSvUPGRADE returns void in blead
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:07:01 +0000 (12:07 +0000)]
SvUPGRADE returns void in blead

p4raw-id: //depot/perl@24787

16 years agoDrom Compress::Zlib 1.34 in ext/
Rafael Garcia-Suarez [Fri, 10 Jun 2005 12:05:38 +0000 (12:05 +0000)]
Drom Compress::Zlib 1.34 in ext/

p4raw-id: //depot/perl@24786

16 years agoChange 24531 broke DEBUG_LEAKING_SCALARS.
Nicholas Clark [Fri, 10 Jun 2005 10:06:30 +0000 (10:06 +0000)]
Change 24531 broke DEBUG_LEAKING_SCALARS.

p4raw-id: //depot/perl@24785

16 years ago$r = do {my @a; \$#a}; $$r = 503 # is also naughty and now warns
Nicholas Clark [Thu, 9 Jun 2005 21:01:42 +0000 (21:01 +0000)]
$r = do {my @a; \$#a}; $$r = 503 # is also naughty and now warns

p4raw-id: //depot/perl@24784

16 years agoFixes the case of $a = \$#{[]}; and then accessing $$a
Nicholas Clark [Thu, 9 Jun 2005 19:02:43 +0000 (19:02 +0000)]
Fixes the case of $a = \$#{[]}; and then accessing $$a
(but not \$#a after local @a or my @a leave a block)

p4raw-id: //depot/perl@24783

16 years agoConvert op/array.t to test.pl
Nicholas Clark [Thu, 9 Jun 2005 16:37:18 +0000 (16:37 +0000)]
Convert op/array.t to test.pl

p4raw-id: //depot/perl@24782

16 years agoRevert part of previous patch
Rafael Garcia-Suarez [Thu, 9 Jun 2005 15:32:09 +0000 (15:32 +0000)]
Revert part of previous patch

p4raw-id: //depot/perl@24781

16 years agoregcomp.c and more
Andy Lester [Thu, 9 Jun 2005 10:05:56 +0000 (05:05 -0500)]
regcomp.c and more
Message-ID: <20050609150556.GA30554@petdance.com>

p4raw-id: //depot/perl@24780

16 years agoMore SvPV consting
Nicholas Clark [Thu, 9 Jun 2005 10:36:53 +0000 (10:36 +0000)]
More SvPV consting

p4raw-id: //depot/perl@24778

16 years agoDon't ignore errors from an eval.
Nicholas Clark [Thu, 9 Jun 2005 10:36:40 +0000 (10:36 +0000)]
Don't ignore errors from an eval.

p4raw-id: //depot/perl@24777

16 years agoUpdate API docs.
Nicholas Clark [Thu, 9 Jun 2005 09:23:55 +0000 (09:23 +0000)]
Update API docs.

p4raw-id: //depot/perl@24776

16 years agoChange perforce filetype from text to text+w (so regen.pl is happy)
Nicholas Clark [Thu, 9 Jun 2005 09:22:18 +0000 (09:22 +0000)]
Change perforce filetype from text to text+w (so regen.pl is happy)

p4raw-id: //depot/perl@24775

16 years agoreentr.pl should be using regen_lib.pl and unlinking files before it
Nicholas Clark [Thu, 9 Jun 2005 09:15:55 +0000 (09:15 +0000)]
reentr.pl should be using regen_lib.pl and unlinking files before it
starts.

p4raw-id: //depot/perl@24774

16 years agoMake minitest pass (must skip if no dynaloading)
Nicholas Clark [Thu, 9 Jun 2005 08:59:21 +0000 (08:59 +0000)]
Make minitest pass (must skip if no dynaloading)

p4raw-id: //depot/perl@24773

16 years agopp_pack.c cleanup
Andy Lester [Wed, 8 Jun 2005 10:23:53 +0000 (05:23 -0500)]
pp_pack.c cleanup
Message-ID: <20050608152353.GA6253@petdance.com>

p4raw-id: //depot/perl@24772

16 years agoperlfunc.pod: ioctl.ph
Alexey Tourbin [Wed, 8 Jun 2005 13:45:08 +0000 (17:45 +0400)]
perlfunc.pod: ioctl.ph
Message-ID: <20050608094508.GJ5867@solemn.turbinal.org>

p4raw-id: //depot/perl@24771

16 years agoinstead of unions use double cast for data pointer <-> function pointer
Jarkko Hietaniemi [Thu, 9 Jun 2005 08:50:56 +0000 (11:50 +0300)]
instead of unions use double cast for data pointer <-> function pointer
Message-ID: <42A7D8C0.1080104@gmail.com>

p4raw-id: //depot/perl@24770

16 years agoMore SvPV consting
Nicholas Clark [Wed, 8 Jun 2005 22:48:00 +0000 (22:48 +0000)]
More SvPV consting

p4raw-id: //depot/perl@24769

16 years agoThe old COW code needs to use SvPVX_mutable when doing copy-on-write.
Nicholas Clark [Wed, 8 Jun 2005 22:45:39 +0000 (22:45 +0000)]
The old COW code needs to use SvPVX_mutable when doing copy-on-write.

p4raw-id: //depot/perl@24768

16 years agoAdd SvPV_mutable for use by the old COW code.
Nicholas Clark [Wed, 8 Jun 2005 22:43:58 +0000 (22:43 +0000)]
Add SvPV_mutable for use by the old COW code.

p4raw-id: //depot/perl@24767

16 years agosv_setsv is allowed to swipe buffers from read only scalars
Nicholas Clark [Wed, 8 Jun 2005 20:32:35 +0000 (20:32 +0000)]
sv_setsv is allowed to swipe buffers from read only scalars

p4raw-id: //depot/perl@24766

16 years agoconst-ize pp_formline
Nicholas Clark [Wed, 8 Jun 2005 19:49:08 +0000 (19:49 +0000)]
const-ize pp_formline

p4raw-id: //depot/perl@24765

16 years agoCygwin fails to open $^X on many occasion here
H.Merijn Brand [Wed, 8 Jun 2005 19:14:19 +0000 (19:14 +0000)]
Cygwin fails to open $^X on many occasion here
afile is still available from the previous test

p4raw-id: //depot/perl@24764

16 years agoRemove repeated C<n_a>s
Nicholas Clark [Wed, 8 Jun 2005 17:48:35 +0000 (17:48 +0000)]
Remove repeated C<n_a>s

p4raw-id: //depot/perl@24763

16 years agoRemove the n_a
Nicholas Clark [Wed, 8 Jun 2005 17:48:17 +0000 (17:48 +0000)]
Remove the n_a

p4raw-id: //depot/perl@24762

16 years agoAdd and use MgPV_nolen_const
Nicholas Clark [Wed, 8 Jun 2005 16:02:54 +0000 (16:02 +0000)]
Add and use MgPV_nolen_const

p4raw-id: //depot/perl@24761

16 years agoNuke some more n_a, and convert S_gv_ename from char * to const char *
Nicholas Clark [Wed, 8 Jun 2005 15:39:40 +0000 (15:39 +0000)]
Nuke some more n_a, and convert S_gv_ename from char * to const char *

p4raw-id: //depot/perl@24760

16 years agoAllow a null length pointer to sv_pvn_force_flags.
Nicholas Clark [Wed, 8 Jun 2005 14:52:17 +0000 (14:52 +0000)]
Allow a null length pointer to sv_pvn_force_flags.
Add SvPV_force_nolen and use it to remove some C<n_a>s

p4raw-id: //depot/perl@24759

16 years agon_a no more
Nicholas Clark [Wed, 8 Jun 2005 13:43:23 +0000 (13:43 +0000)]
n_a no more

p4raw-id: //depot/perl@24758

16 years agoEliminate more C<n_a>s
Nicholas Clark [Wed, 8 Jun 2005 11:00:54 +0000 (11:00 +0000)]
Eliminate more C<n_a>s

p4raw-id: //depot/perl@24757

16 years agoA mising cast (given that rx->subbeg is only char *)
Nicholas Clark [Wed, 8 Jun 2005 11:00:33 +0000 (11:00 +0000)]
A mising cast (given that rx->subbeg is only char *)

p4raw-id: //depot/perl@24756

16 years agos/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/g
Nicholas Clark [Wed, 8 Jun 2005 10:08:01 +0000 (10:08 +0000)]
s/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/g

p4raw-id: //depot/perl@24755

16 years agoregexec.c utf8 loading
Andy Lester [Wed, 8 Jun 2005 00:03:32 +0000 (19:03 -0500)]
regexec.c utf8 loading
Message-ID: <20050608050332.GA31059@petdance.com>

p4raw-id: //depot/perl@24754

16 years agoRe: FindBin.pm: incomplete getcwd/cwd patch and SELinux (Strict policy)
José Pedro Oliveira [Tue, 7 Jun 2005 21:07:42 +0000 (22:07 +0100)]
Re: FindBin.pm: incomplete getcwd/cwd patch and SELinux (Strict policy)
Message-ID: <42A5FE8E.3020608@di.uminho.pt>

p4raw-id: //depot/perl@24753

16 years agoOne more SvPV_const
Nicholas Clark [Wed, 8 Jun 2005 09:09:52 +0000 (09:09 +0000)]
One more SvPV_const

p4raw-id: //depot/perl@24752

16 years agoDon't test the core XS code yet with PERL_DEBUG_COW > 1
Nicholas Clark [Wed, 8 Jun 2005 09:09:28 +0000 (09:09 +0000)]
Don't test the core XS code yet with PERL_DEBUG_COW > 1

p4raw-id: //depot/perl@24751

16 years agoRemove two more unused C<n_a>s
Nicholas Clark [Wed, 8 Jun 2005 08:50:06 +0000 (08:50 +0000)]
Remove two more unused C<n_a>s

p4raw-id: //depot/perl@24750

16 years agoBetter sv_2pv_flags implementation (avoid writing to n_a)
Nicholas Clark [Wed, 8 Jun 2005 08:49:32 +0000 (08:49 +0000)]
Better sv_2pv_flags implementation (avoid writing to n_a)

p4raw-id: //depot/perl@24749

16 years agoConvert POPpx POPpconstx and POPpbytex to use nolen macros.
Nicholas Clark [Wed, 8 Jun 2005 08:07:05 +0000 (08:07 +0000)]
Convert POPpx POPpconstx and POPpbytex to use nolen macros.
Elminate a lot of C<n_a>s

p4raw-id: //depot/perl@24748

16 years agoAdd SvPVx_nolen and SvPVbytex_nolen
Nicholas Clark [Wed, 8 Jun 2005 08:05:47 +0000 (08:05 +0000)]
Add SvPVx_nolen and SvPVbytex_nolen

p4raw-id: //depot/perl@24747

16 years agoMore SvPV consting
Nicholas Clark [Wed, 8 Jun 2005 08:04:53 +0000 (08:04 +0000)]
More SvPV consting

p4raw-id: //depot/perl@24746

16 years agoMark a static function as static
Rafael Garcia-Suarez [Wed, 8 Jun 2005 06:51:48 +0000 (06:51 +0000)]
Mark a static function as static

p4raw-id: //depot/perl@24745

16 years agoMore SvPV consting
Nicholas Clark [Tue, 7 Jun 2005 22:22:34 +0000 (22:22 +0000)]
More SvPV consting

p4raw-id: //depot/perl@24744

16 years agoMore SvPV consting
Nicholas Clark [Tue, 7 Jun 2005 21:16:13 +0000 (21:16 +0000)]
More SvPV consting

p4raw-id: //depot/perl@24743

16 years agoMore consting of SvPV
Nicholas Clark [Tue, 7 Jun 2005 19:45:13 +0000 (19:45 +0000)]
More consting of SvPV

p4raw-id: //depot/perl@24742

16 years agoThe definition of SvPVx_nolen_const is missing for non GNU-C compilers
Rafael Garcia-Suarez [Tue, 7 Jun 2005 19:30:35 +0000 (19:30 +0000)]
The definition of SvPVx_nolen_const is missing for non GNU-C compilers

p4raw-id: //depot/perl@24741

16 years agoMore SvPV consting.
Nicholas Clark [Tue, 7 Jun 2005 18:38:39 +0000 (18:38 +0000)]
More SvPV consting.

p4raw-id: //depot/perl@24740

16 years agoAdd SvPV_nolen_const and SvPV_nomg_const
Nicholas Clark [Tue, 7 Jun 2005 18:33:08 +0000 (18:33 +0000)]
Add SvPV_nolen_const and SvPV_nomg_const

p4raw-id: //depot/perl@24739

16 years agoAdd MgPV_const
Nicholas Clark [Tue, 7 Jun 2005 18:32:44 +0000 (18:32 +0000)]
Add MgPV_const

p4raw-id: //depot/perl@24738

16 years agoRemove unused variable (thanks to Andy's lint)
Rafael Garcia-Suarez [Tue, 7 Jun 2005 18:07:41 +0000 (18:07 +0000)]
Remove unused variable (thanks to Andy's lint)

p4raw-id: //depot/perl@24737

16 years agoChange 24733 allows several pointers to be NULL. Therefore this
Nicholas Clark [Tue, 7 Jun 2005 17:35:10 +0000 (17:35 +0000)]
Change 24733 allows several pointers to be NULL. Therefore this
should be reflected in their attributes.

p4raw-id: //depot/perl@24736

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

p4raw-id: //depot/perl@24735

16 years agomake some more functions static
Alexey Tourbin [Sun, 5 Jun 2005 00:00:00 +0000 (00:00 +0000)]
make some more functions static

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

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

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

all being :
Date: Sun, 5 Jun 2005

p4raw-id: //depot/perl@24734

16 years agoSimplify the implementation of SvPV*nolen functions
Nicholas Clark [Tue, 7 Jun 2005 15:10:38 +0000 (15:10 +0000)]
Simplify the implementation of SvPV*nolen functions

p4raw-id: //depot/perl@24733

16 years agoEnsure string table counts are balanced. (Was not true in op/pack.t)
Nicholas Clark [Tue, 7 Jun 2005 14:57:35 +0000 (14:57 +0000)]
Ensure string table counts are balanced. (Was not true in op/pack.t)

p4raw-id: //depot/perl@24732

16 years agoRemove unneeded #ifdef VMS since VMS is not defined here anyway
Rafael Garcia-Suarez [Tue, 7 Jun 2005 14:44:55 +0000 (14:44 +0000)]
Remove unneeded #ifdef VMS since VMS is not defined here anyway
(spotted by Steve_p)

p4raw-id: //depot/perl@24731

16 years agoone more round of is_utf8_foo tuneup
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:06:12 +0000 (21:06 +0300)]
one more round of is_utf8_foo tuneup
Message-ID: <42A314E4.8060608@gmail.com>

p4raw-id: //depot/perl@24730

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

p4raw-id: //depot/perl@24729

16 years agoFix apidoc for newSVhek
Rafael Garcia-Suarez [Tue, 7 Jun 2005 13:15:45 +0000 (13:15 +0000)]
Fix apidoc for newSVhek

p4raw-id: //depot/perl@24728

16 years agomake pp_split const
Nicholas Clark [Tue, 7 Jun 2005 13:01:42 +0000 (13:01 +0000)]
make pp_split const

p4raw-id: //depot/perl@24727

16 years agoLots of consting
Nicholas Clark [Tue, 7 Jun 2005 12:11:48 +0000 (12:11 +0000)]
Lots of consting

p4raw-id: //depot/perl@24726

16 years agoThe FBM compile code is mutable, because it's permissible to FBM
Nicholas Clark [Tue, 7 Jun 2005 12:08:58 +0000 (12:08 +0000)]
The FBM compile code is mutable, because it's permissible to FBM
compile a read-only value.

p4raw-id: //depot/perl@24725

16 years agoXS_VERSION_BOOTCHECK is read only.
Nicholas Clark [Tue, 7 Jun 2005 12:07:49 +0000 (12:07 +0000)]
XS_VERSION_BOOTCHECK is read only.

p4raw-id: //depot/perl@24724

16 years agoPOPpx needs a const equivalent.
Nicholas Clark [Tue, 7 Jun 2005 12:06:13 +0000 (12:06 +0000)]
POPpx needs a const equivalent.

p4raw-id: //depot/perl@24723

16 years agoMake a start at consting calls to SvPV. SV conversion and upgrade
Nicholas Clark [Tue, 7 Jun 2005 12:03:56 +0000 (12:03 +0000)]
Make a start at consting calls to SvPV. SV conversion and upgrade
routines need to be mutable, as it's permitted to change the type of
a READONLY SV, or cache the string or number conversion.
Other routines are mostly const.

p4raw-id: //depot/perl@24722

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

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

p4raw-id: //depot/perl@24721

16 years agoRe: [perl #36130] chr(-1) should probably return undef
Jarkko Hietaniemi [Mon, 6 Jun 2005 20:28:35 +0000 (23:28 +0300)]
Re: [perl #36130] chr(-1) should probably return undef
Message-ID: <42A487C3.8010306@gmail.com>

p4raw-id: //depot/perl@24720

16 years agoRE: a bit of trouble with compiling with MSVC++ on Win32
Vadim Konovalov [Tue, 7 Jun 2005 13:19:33 +0000 (17:19 +0400)]
RE: a bit of trouble with compiling with MSVC++ on Win32
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12D462@itotest-1.spb.lucent.com>

p4raw-id: //depot/perl@24719