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
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
Rafael Garcia-Suarez [Thu, 9 Jun 2005 15:32:09 +0000 (15:32 +0000)]
Revert part of previous patch
p4raw-id: //depot/perl@24781
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
Nicholas Clark [Thu, 9 Jun 2005 10:36:53 +0000 (10:36 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24778
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
Nicholas Clark [Thu, 9 Jun 2005 09:23:55 +0000 (09:23 +0000)]
Update API docs.
p4raw-id: //depot/perl@24776
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
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
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
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
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
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
Nicholas Clark [Wed, 8 Jun 2005 22:48:00 +0000 (22:48 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24769
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
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
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
Nicholas Clark [Wed, 8 Jun 2005 19:49:08 +0000 (19:49 +0000)]
const-ize pp_formline
p4raw-id: //depot/perl@24765
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
Nicholas Clark [Wed, 8 Jun 2005 17:48:35 +0000 (17:48 +0000)]
Remove repeated C<n_a>s
p4raw-id: //depot/perl@24763
Nicholas Clark [Wed, 8 Jun 2005 17:48:17 +0000 (17:48 +0000)]
Remove the n_a
p4raw-id: //depot/perl@24762
Nicholas Clark [Wed, 8 Jun 2005 16:02:54 +0000 (16:02 +0000)]
Add and use MgPV_nolen_const
p4raw-id: //depot/perl@24761
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
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
Nicholas Clark [Wed, 8 Jun 2005 13:43:23 +0000 (13:43 +0000)]
n_a no more
p4raw-id: //depot/perl@24758
Nicholas Clark [Wed, 8 Jun 2005 11:00:54 +0000 (11:00 +0000)]
Eliminate more C<n_a>s
p4raw-id: //depot/perl@24757
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
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
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
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
Nicholas Clark [Wed, 8 Jun 2005 09:09:52 +0000 (09:09 +0000)]
One more SvPV_const
p4raw-id: //depot/perl@24752
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
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
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
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
Nicholas Clark [Wed, 8 Jun 2005 08:05:47 +0000 (08:05 +0000)]
Add SvPVx_nolen and SvPVbytex_nolen
p4raw-id: //depot/perl@24747
Nicholas Clark [Wed, 8 Jun 2005 08:04:53 +0000 (08:04 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24746
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
Nicholas Clark [Tue, 7 Jun 2005 22:22:34 +0000 (22:22 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24744
Nicholas Clark [Tue, 7 Jun 2005 21:16:13 +0000 (21:16 +0000)]
More SvPV consting
p4raw-id: //depot/perl@24743
Nicholas Clark [Tue, 7 Jun 2005 19:45:13 +0000 (19:45 +0000)]
More consting of SvPV
p4raw-id: //depot/perl@24742
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
Nicholas Clark [Tue, 7 Jun 2005 18:38:39 +0000 (18:38 +0000)]
More SvPV consting.
p4raw-id: //depot/perl@24740
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
Nicholas Clark [Tue, 7 Jun 2005 18:32:44 +0000 (18:32 +0000)]
Add MgPV_const
p4raw-id: //depot/perl@24738
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
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
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
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
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
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
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
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
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
Rafael Garcia-Suarez [Tue, 7 Jun 2005 13:15:45 +0000 (13:15 +0000)]
Fix apidoc for newSVhek
p4raw-id: //depot/perl@24728
Nicholas Clark [Tue, 7 Jun 2005 13:01:42 +0000 (13:01 +0000)]
make pp_split const
p4raw-id: //depot/perl@24727
Nicholas Clark [Tue, 7 Jun 2005 12:11:48 +0000 (12:11 +0000)]
Lots of consting
p4raw-id: //depot/perl@24726
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
Nicholas Clark [Tue, 7 Jun 2005 12:07:49 +0000 (12:07 +0000)]
XS_VERSION_BOOTCHECK is read only.
p4raw-id: //depot/perl@24724
Nicholas Clark [Tue, 7 Jun 2005 12:06:13 +0000 (12:06 +0000)]
POPpx needs a const equivalent.
p4raw-id: //depot/perl@24723
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
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
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
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
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
Andy Lester [Mon, 6 Jun 2005 23:08:50 +0000 (18:08 -0500)]
Unvoid SvUPGRADE
Message-ID: <
20050607040850.GA7033@petdance.com>
p4raw-id: //depot/perl@24717
Nicholas Clark [Mon, 6 Jun 2005 14:50:21 +0000 (14:50 +0000)]
Abstract all access to the shared hash value through SvSHARED_HASH()
p4raw-id: //depot/perl@24716
Nicholas Clark [Mon, 6 Jun 2005 10:01:49 +0000 (10:01 +0000)]
SvIsCOW_shared_hash is declared all the time, so use it.
p4raw-id: //depot/perl@24715
Nicholas Clark [Mon, 6 Jun 2005 09:08:45 +0000 (09:08 +0000)]
Shared hash key scalars can be safely copied as shared hash key scalars
all the time.
p4raw-id: //depot/perl@24714
Steve Hay [Mon, 6 Jun 2005 07:52:59 +0000 (07:52 +0000)]
NORETURN_FUNCTION_END is not a complete statement
(Fix compilation error following change #24702)
p4raw-link: @24702 on //depot/perl:
7698c435fea241ff5aec7932afdb5f821dde55f3
p4raw-id: //depot/perl@24713
Steve Hay [Mon, 6 Jun 2005 07:47:06 +0000 (07:47 +0000)]
We still need an "i" in the PERL_IMPLICIT_SYS case
(Fix compilation error following change #24689)
p4raw-link: @24689 on //depot/perl:
b464bac0b70c4876af1296864220315edde8461d
p4raw-id: //depot/perl@24712
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:28:08 +0000 (21:28 +0300)]
Tru64: allow creating perl.pixie even with optimized Perl
Message-ID: <
42A31A08.3070601@gmail.com>
p4raw-id: //depot/perl@24711
Yitzchak Scott-Thoennes [Sun, 5 Jun 2005 20:43:55 +0000 (13:43 -0700)]
Re: blead attribute warnings, cygwin + gcc 3.4.1
Message-ID: <
20050606034354.GA1456@efn.org>
p4raw-id: //depot/perl@24710
Rafael Garcia-Suarez [Sun, 5 Jun 2005 11:35:48 +0000 (11:35 +0000)]
New test for getppid(), by Alexey Tourbin
p4raw-id: //depot/perl@24709
Salvador Fandiño [Sun, 5 Jun 2005 04:25:00 +0000 (04:25 +0000)]
PATCH for [perl #36043] '@foo = sort { $a <=> $b } @bar' uses too much memory
Message-ID: <
20050605022436.21982.qmail@lists.develooper.com>
p4raw-id: //depot/perl@24708
Andy Lester [Sat, 4 Jun 2005 23:09:04 +0000 (18:09 -0500)]
Fix minor bummer in 24706
Message-Id: <
20050605040904.GA27783@petdance.com>
p4raw-id: //depot/perl@24707
Jarkko Hietaniemi [Sat, 4 Jun 2005 13:40:15 +0000 (16:40 +0300)]
further speeding up of is_utf8_string()
Message-ID: <
42A1850F.4040109@gmail.com>
p4raw-id: //depot/perl@24706
Rafael Garcia-Suarez [Sat, 4 Jun 2005 16:49:33 +0000 (16:49 +0000)]
Silence a const warning
p4raw-id: //depot/perl@24705
José Pedro Oliveira [Thu, 12 May 2005 20:36:48 +0000 (21:36 +0100)]
Improve FindBin discovery of current directory, based on :
Subject: FindBin.pm: incomplete getcwd/cwd patch? (#24375, #24379)
Message-ID: <
4283B050.6080805@di.uminho.pt>
Plus POD fixes
p4raw-id: //depot/perl@24704
Rafael Garcia-Suarez [Sat, 4 Jun 2005 07:16:11 +0000 (07:16 +0000)]
Simplify the getppid code, by Alexey Tourbin
p4raw-id: //depot/perl@24703
Andy Lester [Fri, 3 Jun 2005 22:22:43 +0000 (22:22 +0000)]
Consting IO and Devel::Peek
Reply-To: Perl 5 Porters <perl5-porters@perl.org>
Message-ID: <
20050531212621.GA12117@petdance.com>
p4raw-id: //depot/perl@24702
Andy Lester [Fri, 3 Jun 2005 19:14:00 +0000 (19:14 +0000)]
Clean up UNI* macros in toke.c
Message-ID: <
20050603171448.GA5834@petdance.com>
p4raw-id: //depot/perl@24701
Jim Cromie [Thu, 2 Jun 2005 06:36:00 +0000 (06:36 +0000)]
B::Concise torture
Message-ID: <
429E8CBE.406@divsol.com>
(with formatting nits)
p4raw-id: //depot/perl@24700
Gisle Aas [Fri, 3 Jun 2005 09:17:44 +0000 (02:17 -0700)]
Re: [PATCH] Improved ICMP_UNREACHABLE handling in Net::Ping
Message-ID: <lry89rfm8n.fsf_-_@caliper.activestate.com>
p4raw-id: //depot/perl@24699
Nicholas Clark [Fri, 3 Jun 2005 12:00:01 +0000 (12:00 +0000)]
Use newSVhek in the cloning code.
p4raw-id: //depot/perl@24698
Nicholas Clark [Fri, 3 Jun 2005 11:06:36 +0000 (11:06 +0000)]
Use newSVhek where we're generating SVs from package names
p4raw-id: //depot/perl@24697
Nicholas Clark [Fri, 3 Jun 2005 10:03:21 +0000 (10:03 +0000)]
s/newSVpv_hek/newSVhek/g; # Lousy choice of name
p4raw-id: //depot/perl@24696
Rafael Garcia-Suarez [Fri, 3 Jun 2005 09:57:26 +0000 (09:57 +0000)]
Bump version number
p4raw-id: //depot/perl@24694
Duncan Findlay [Wed, 1 Jun 2005 12:18:08 +0000 (08:18 -0400)]
Re: [perl #35977] perlbug AutoReply: Devel::DProf "unstacked calls in outer"
Message-ID: <
20050601161808.GA17294@duncf.mine.nu>
p4raw-id: //depot/perl@24693
Nicholas Clark [Fri, 3 Jun 2005 09:37:21 +0000 (09:37 +0000)]
Create newSVpv_hek to reduce code duplication where HEKs need to be
turned into SVs
p4raw-id: //depot/perl@24692
Rafael Garcia-Suarez [Fri, 3 Jun 2005 09:29:36 +0000 (09:29 +0000)]
POD fixes
p4raw-id: //depot/perl@24691
Yitzchak Scott-Thoennes [Thu, 2 Jun 2005 11:49:11 +0000 (04:49 -0700)]
Re: Should while ( <$fh> ) and while (< $fh >) do the same thing?
Message-ID: <
20050602184911.GA3292@efn.org>
p4raw-id: //depot/perl@24690
Andy Lester [Thu, 2 Jun 2005 12:19:43 +0000 (07:19 -0500)]
Random consting
Message-ID: <
20050602171943.GA16553@petdance.com>
p4raw-id: //depot/perl@24689
Jan Dubois [Mon, 18 Apr 2005 20:16:24 +0000 (13:16 -0700)]
[PATCH] Run ICMP ping tests on Windows as long as we have admin privs
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 18 Apr 2005 20:16:24 -0700
Message-Id: <
200504190311.j3J3BM4p001792@smtp3.ActiveState.com>
Subject: RE: [PATCH] Run ICMP ping tests on Windows as long as we have admin privs
From: "Jan Dubois" <jand@ActiveState.com>
Date: Tue, 19 Apr 2005 01:49:51 -0700
Message-Id: <
200504190844.j3J8inkW032630@smtp3.ActiveState.com>
(There was no reply from Rob Brown in over a month, so commit to blead
for now. I'll email him again...)
p4raw-id: //depot/perl@24688
Jarkko Hietaniemi [Thu, 2 Jun 2005 21:52:46 +0000 (00:52 +0300)]
speed up is_utf8_char()
Message-ID: <
429F557E.3090007@gmail.com>
p4raw-id: //depot/perl@24687
Andy Lester [Thu, 2 Jun 2005 16:19:54 +0000 (11:19 -0500)]
Quotes in pod/*.pod
Message-ID: <
20050602211954.GA22107@petdance.com>
p4raw-id: //depot/perl@24686
Rafael Garcia-Suarez [Fri, 3 Jun 2005 07:59:48 +0000 (07:59 +0000)]
Indent fix
p4raw-id: //depot/perl@24685
Rafael Garcia-Suarez [Fri, 3 Jun 2005 07:58:10 +0000 (07:58 +0000)]
FAQ sync
p4raw-id: //depot/perl@24684
Jarkko Hietaniemi [Fri, 3 Jun 2005 11:00:01 +0000 (14:00 +0300)]
symbian/xsbuild.pl
Message-ID: <
B356D8F434D20B40A8CEDAEC305A1F24E7A225@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24683
Steve Peters [Thu, 2 Jun 2005 13:41:35 +0000 (08:41 -0500)]
SvPVX_const() - patch #4
Message-ID: <
20050602184135.GA13682@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24682