platform/upstream/perl.git
19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 years ago[perl #36193] crash in Perl_yyerror due to missing check for NULL
Todd C. Miller [Mon, 6 Jun 2005 23:24:28 +0000 (23:24 +0000)]
[perl #36193] crash in Perl_yyerror due to missing check for NULL
From: "Todd C. Miller" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36193-115243.12.1531563965146@perl.org>

p4raw-id: //depot/perl@24718