Nicholas Clark [Wed, 2 Nov 2005 16:35:42 +0000 (16:35 +0000)]
Correct error in 25958 for threaded builds.
p4raw-id: //depot/perl@25959
Nicholas Clark [Wed, 2 Nov 2005 15:59:30 +0000 (15:59 +0000)]
Merge ftsize ftmtime ftatime ftctime into Perl_pp_ftis
p4raw-id: //depot/perl@25958
Rafael Garcia-Suarez [Wed, 2 Nov 2005 14:33:32 +0000 (14:33 +0000)]
Remove last sort test, that was failing with and without threads.
Silence some warnings.
p4raw-id: //depot/perl@25957
Rafael Garcia-Suarez [Wed, 2 Nov 2005 14:10:54 +0000 (14:10 +0000)]
Adjust test count
p4raw-id: //depot/perl@25956
Rafael Garcia-Suarez [Wed, 2 Nov 2005 13:39:35 +0000 (13:39 +0000)]
Add missing file from change 25953
p4raw-id: //depot/perl@25955
Rafael Garcia-Suarez [Wed, 2 Nov 2005 13:14:19 +0000 (13:14 +0000)]
Regen headers
p4raw-id: //depot/perl@25954
Robin Houston [Sat, 29 Oct 2005 21:33:07 +0000 (22:33 +0100)]
sort/multicall patch
Message-ID: <
20051029203307.GA8869@rpc142.cs.man.ac.uk>
p4raw-id: //depot/perl@25953
Paul Marquess [Tue, 1 Nov 2005 17:05:38 +0000 (17:05 +0000)]
RE: [perl #37571] -z FH broken with Borland build
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
003501c5df06$
7d63fdb0$
0505140a@myopwv.com>
p4raw-id: //depot/perl@25952
Gisle Aas [Tue, 1 Nov 2005 00:02:37 +0000 (16:02 -0800)]
Re: futimes [PATCH]
Message-ID: <lrbr1494o2.fsf@caliper.activestate.com>
p4raw-id: //depot/perl@25951
Steve Peters [Wed, 2 Nov 2005 04:59:47 +0000 (04:59 +0000)]
Ambiguous test cases may be hazardous to your health.
p4raw-id: //depot/perl@25950
Steve Peters [Wed, 2 Nov 2005 04:54:52 +0000 (04:54 +0000)]
Lowercase barewords considered harmful to your health.
p4raw-id: //depot/perl@25949
Andy Lester [Mon, 31 Oct 2005 18:54:00 +0000 (18:54 +0000)]
perlio.c consting
Message-ID: <
20051031175411.GA18480@petdance.com>
p4raw-id: //depot/perl@25948
Steve Hay [Tue, 1 Nov 2005 17:20:18 +0000 (17:20 +0000)]
This *really* should clear up Win32's Perl_do_exec undefined warnings
p4raw-id: //depot/perl@25947
Nicholas Clark [Tue, 1 Nov 2005 16:38:31 +0000 (16:38 +0000)]
This should clear up 'Perl_do_exec' undefined; warnings on win32
p4raw-id: //depot/perl@25946
Steve Hay [Tue, 1 Nov 2005 10:33:48 +0000 (10:33 +0000)]
Make PerlLIOUtime()'s filename const
Fixes a warning brought about by change #25941 (which made the
filename argument const).
The various implementations of PerlLIOUtime() (in NetWare/, win32/
and wince/) already take a const filename.
p4raw-link: @25941 on //depot/perl:
e96b369dc61077fe31b75895167f55dbce4d7519
p4raw-id: //depot/perl@25945
Steve Hay [Tue, 1 Nov 2005 08:45:09 +0000 (08:45 +0000)]
Fix nit in pod nit fix
p4raw-id: //depot/perl@25944
Steve Hay [Tue, 1 Nov 2005 08:39:32 +0000 (08:39 +0000)]
Update win32 config files w.r.t. change #25935
p4raw-link: @25935 on //depot/perl:
dc814df18cd354aa2bad87c5b7f94c6b2d38af48
p4raw-id: //depot/perl@25943
Steve Peters [Mon, 31 Oct 2005 23:46:01 +0000 (23:46 +0000)]
Upgrade to DB_File 1.813.
p4raw-id: //depot/perl@25942
Gisle Aas [Mon, 31 Oct 2005 13:53:53 +0000 (05:53 -0800)]
futimes [PATCH]
Message-ID: <lrk6ft8ia6.fsf_-_@caliper.activestate.com>
p4raw-id: //depot/perl@25941
Nicholas Clark [Mon, 31 Oct 2005 20:36:36 +0000 (20:36 +0000)]
All the ops that are simply C<return some_other_op();> can be bypassed
in the op dispatch table, and the bodies retired.
p4raw-id: //depot/perl@25940
Nicholas Clark [Mon, 31 Oct 2005 19:55:18 +0000 (19:55 +0000)]
Simplify the implementation of the "unimplemented" message in the
conditionally compiled ops.
p4raw-id: //depot/perl@25939
Nicholas Clark [Mon, 31 Oct 2005 19:14:47 +0000 (19:14 +0000)]
Further pod nit spotted by Jarkko
p4raw-id: //depot/perl@25938
Nicholas Clark [Mon, 31 Oct 2005 18:34:59 +0000 (18:34 +0000)]
Replace the 3 currently "unreachable" ops with a single op body
unimplemented_op() that panics descriptively if ever reached.
p4raw-id: //depot/perl@25937
Nicholas Clark [Mon, 31 Oct 2005 18:29:05 +0000 (18:29 +0000)]
Add "moving common filetest code to a static function" to the todo.
p4raw-id: //depot/perl@25936
H.Merijn Brand [Mon, 31 Oct 2005 17:50:05 +0000 (17:50 +0000)]
revive probe for futimes ()
p4raw-id: //depot/perl@25935
Bas van Sisseren [Wed, 26 Oct 2005 13:59:42 +0000 (15:59 +0200)]
A B::Deparse fix from :
Subject: Re: [perl #37527] regular-expression parser does not see '(' character
Message-ID: <
435F6FAE.4060502@quarantainenet.nl>
p4raw-id: //depot/perl@25934
Jarkko Hietaniemi [Mon, 31 Oct 2005 18:38:42 +0000 (20:38 +0200)]
Symbian port 0.3.0 as of blead@25911
Message-ID: <
B356D8F434D20B40A8CEDAEC305A1F24E7A6D6@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@25933
Rafael Garcia-Suarez [Mon, 31 Oct 2005 16:24:31 +0000 (16:24 +0000)]
Avoid corruption when calling mg_get to retrieve the value
of a $digit variable. This is done by ensuring it's not
tainted.
See http://bugs.debian.org/303308
Patch by Chris Heath <chris.heath@autoweb.net>
p4raw-id: //depot/perl@25932
Nicholas Clark [Mon, 31 Oct 2005 16:24:29 +0000 (16:24 +0000)]
maddingue prefers this e-mail address.
p4raw-id: //depot/perl@25931
H.Merijn Brand [Mon, 31 Oct 2005 16:18:03 +0000 (16:18 +0000)]
Try to preserve the lost opcode alias info in comments
extent to change #25929
p4raw-link: @25929 on //depot/perl:
1d5774de323ac43a91c2a30cf2e40384e4754f98
p4raw-id: //depot/perl@25930
Nicholas Clark [Mon, 31 Oct 2005 15:52:50 +0000 (15:52 +0000)]
It appears that it's trivially easy to alias opcode functions in
the opcode table. We should be able to get both a speed and size
saving here. Time will tell how much.
p4raw-id: //depot/perl@25929
Nicholas Clark [Mon, 31 Oct 2005 15:13:06 +0000 (15:13 +0000)]
Add maddingue to AUTHORS
p4raw-id: //depot/perl@25928
Sébastien Aperghis-Tramoni [Sun, 30 Oct 2005 23:52:41 +0000 (00:52 +0100)]
Making ExtUtils::Constant compatible with Perl 5.004
Message-ID: <
1130712761.
43654eb9cd9f7@imp4-g19.free.fr>
with tweaks by chromatic and me.
p4raw-id: //depot/perl@25927
Nicholas Clark [Mon, 31 Oct 2005 14:51:48 +0000 (14:51 +0000)]
A more elegant way to deal with utf8n_to_uvchr() and utf8n_to_uvuni().
p4raw-id: //depot/perl@25926
Rafael Garcia-Suarez [Mon, 31 Oct 2005 14:27:32 +0000 (14:27 +0000)]
Fix [perl #37533] open pragma ignored for all 3-arg opens
Also, correct the documentation in open.pm that stated
that open() did not override open.pm-given default encodings.
p4raw-id: //depot/perl@25925
Nicholas Clark [Mon, 31 Oct 2005 14:18:59 +0000 (14:18 +0000)]
Perl_csighandler was in global.sym twice.
p4raw-id: //depot/perl@25924
Nicholas Clark [Mon, 31 Oct 2005 14:18:14 +0000 (14:18 +0000)]
Arrange to only output each symbol once into global.sym
p4raw-id: //depot/perl@25923
Rafael Garcia-Suarez [Mon, 31 Oct 2005 13:45:06 +0000 (13:45 +0000)]
Tests for index/rindex with empty search string,
adapted from a patch by Rick Delaney
p4raw-id: //depot/perl@25922
Nicholas Clark [Mon, 31 Oct 2005 13:22:01 +0000 (13:22 +0000)]
uvchr_to_utf8() and utf8n_to_uvchr() are mathoms on ASCII based
systems, and not on EBCDIC, so some more thinking is going to be
needed here.
p4raw-id: //depot/perl@25921
Steve Peters [Mon, 31 Oct 2005 11:58:08 +0000 (11:58 +0000)]
Coverage stats showed that there were no tests for taking a slice
from ().
p4raw-id: //depot/perl@25920
Steve Hay [Mon, 31 Oct 2005 11:53:05 +0000 (11:53 +0000)]
Change some spaces to tabs for easier diffing against config_h.SH
p4raw-id: //depot/perl@25919
Steve Hay [Mon, 31 Oct 2005 11:30:15 +0000 (11:30 +0000)]
Fixed threaded builds following change 25916
p4raw-id: //depot/perl@25918
Nicholas Clark [Mon, 31 Oct 2005 11:29:43 +0000 (11:29 +0000)]
POD nit spotted by Jarkko
p4raw-id: //depot/perl@25917
Rafael Garcia-Suarez [Mon, 31 Oct 2005 10:44:32 +0000 (10:44 +0000)]
is_utf8_string_loc() is now a macro, don't use its Perl_-prefixed form
p4raw-id: //depot/perl@25916
Andy Lester [Sun, 30 Oct 2005 23:44:13 +0000 (17:44 -0600)]
Etta James presents: More consting
Message-ID: <
20051031054413.GA10767@petdance.com>
p4raw-id: //depot/perl@25915
Andy Lester [Mon, 31 Oct 2005 00:04:59 +0000 (18:04 -0600)]
S_tokereport's unused parm
Message-ID: <
20051031060459.GC10767@petdance.com>
p4raw-id: //depot/perl@25914
Rafael Garcia-Suarez [Mon, 31 Oct 2005 08:54:18 +0000 (08:54 +0000)]
Regenerate perlapi.pod
p4raw-id: //depot/perl@25913
Rafael Garcia-Suarez [Mon, 31 Oct 2005 08:40:23 +0000 (08:40 +0000)]
Robin Houston remarks that mention of a context is missing from the
threads.pm documentation.
p4raw-id: //depot/perl@25912
Steve Peters [Mon, 31 Oct 2005 03:51:08 +0000 (03:51 +0000)]
perlsio_binmode() is pretty much a mathom on UNIX platforms, but it is
used on Cygwin, at least.
p4raw-id: //depot/perl@25911
Nicholas Clark [Sun, 30 Oct 2005 21:53:03 +0000 (21:53 +0000)]
const const bad bad.
gcc bad bad too, because it didn't grumble one bit. (or two, for that
matter).
p4raw-id: //depot/perl@25910
Nicholas Clark [Sun, 30 Oct 2005 21:38:29 +0000 (21:38 +0000)]
is_utf8_alnum() and is_utf8_alnumc() can use is_utf8_common() too.
p4raw-id: //depot/perl@25909
Nicholas Clark [Sun, 30 Oct 2005 21:24:29 +0000 (21:24 +0000)]
Jarkko and I think that Perl_is_utf8_alnumc should be initialising
and using PL_utf8_alnum*c*, not PL_utf8_alnum.
p4raw-id: //depot/perl@25908
Nicholas Clark [Sun, 30 Oct 2005 21:10:39 +0000 (21:10 +0000)]
Perl_is_utf8_* share a lot of common code. Pull that out into a new
function S_is_utf8_common.
p4raw-id: //depot/perl@25907
Nicholas Clark [Sun, 30 Oct 2005 18:31:25 +0000 (18:31 +0000)]
Given that sv_nosharing performs the same function as sv_nolocking
and sv_unnolocking (ie sweet FA), we might as well use the 1 function
to initialise all 3 variables, and elimiate the other two.
For some reason all 3 are listed as being in the public API. Daft.
p4raw-id: //depot/perl@25906
Nicholas Clark [Sun, 30 Oct 2005 18:04:17 +0000 (18:04 +0000)]
Replace uvuni_to_utf8() with a macro that passes the extra 0 argument
to uvuni_to_utf8_flags(). Move the old body to mathoms.c
p4raw-id: //depot/perl@25905
Nicholas Clark [Sun, 30 Oct 2005 17:59:08 +0000 (17:59 +0000)]
global.sym appears to have become out of date. Oops.
p4raw-id: //depot/perl@25904
Nicholas Clark [Sun, 30 Oct 2005 17:49:27 +0000 (17:49 +0000)]
Replace is_utf8_string_loc() with a macro that passes the extra 0
argument to is_utf8_string_loc(). Correct the description of its
parameters in its POD.
p4raw-id: //depot/perl@25903
Nicholas Clark [Sun, 30 Oct 2005 17:14:08 +0000 (17:14 +0000)]
Fix typos in comments.
p4raw-id: //depot/perl@25902
Nicholas Clark [Sun, 30 Oct 2005 17:08:39 +0000 (17:08 +0000)]
Functions that die aren't exactly well used code.
(ck_retarget, oopsCV, pp_padany, pp_threadsv, pp_mapstart)
p4raw-id: //depot/perl@25901
Nicholas Clark [Sun, 30 Oct 2005 16:45:34 +0000 (16:45 +0000)]
save_hints is a mathom.
p4raw-id: //depot/perl@25900
Nicholas Clark [Sun, 30 Oct 2005 16:41:02 +0000 (16:41 +0000)]
I infer that change 25891 as-is would break OS2. This should fix it.
p4raw-id: //depot/perl@25899
Nicholas Clark [Sun, 30 Oct 2005 16:36:22 +0000 (16:36 +0000)]
init_i18nl14n is a mathom.
p4raw-id: //depot/perl@25898
Nicholas Clark [Sun, 30 Oct 2005 16:24:37 +0000 (16:24 +0000)]
Replace hv_magic() with a macro to call sv_magic() directly. Move the
old body to mathoms.c
p4raw-id: //depot/perl@25897
Nicholas Clark [Sun, 30 Oct 2005 16:07:58 +0000 (16:07 +0000)]
Fix win32 breakage inadvertently introduced by 25889
p4raw-id: //depot/perl@25896
Nicholas Clark [Sun, 30 Oct 2005 10:31:01 +0000 (10:31 +0000)]
Replace hv_iternext() with a macro that calls hv_iternext_flags with
an extra 0 argument. Move the old body to mathoms.c
p4raw-id: //depot/perl@25895
Nicholas Clark [Sun, 30 Oct 2005 10:00:42 +0000 (10:00 +0000)]
Fix typo in comment.
p4raw-id: //depot/perl@25894
Nicholas Clark [Sun, 30 Oct 2005 09:59:41 +0000 (09:59 +0000)]
Replace gv_fetchmethod() with a macro to call gv_fetchmethod_autoload()
with the extra TRUE argument.
p4raw-id: //depot/perl@25893
Nicholas Clark [Sun, 30 Oct 2005 08:51:52 +0000 (08:51 +0000)]
I think we have a winner. do_pipe hasn't been called since 4.036.
Maybe we should just remove this appendix.
p4raw-id: //depot/perl@25892
Nicholas Clark [Sun, 30 Oct 2005 08:38:07 +0000 (08:38 +0000)]
Replace do_aexec() with a macro to call do_aexec5() with the two extra
0 arguments. Move the old body to mathoms.c
p4raw-id: //depot/perl@25891
Nicholas Clark [Sun, 30 Oct 2005 08:23:29 +0000 (08:23 +0000)]
Replace do_exec() with a macro to call do_exec3() with the extra two
0 arguments. Move the old body to mathoms.c
p4raw-id: //depot/perl@25890
Nicholas Clark [Sun, 30 Oct 2005 08:05:32 +0000 (08:05 +0000)]
Replace do_open() with a macro to call do_openn() with the extra two
0 paramters. Move the old body to mathoms.c.
p4raw-id: //depot/perl@25889
Bram [Thu, 4 Aug 2005 23:55:33 +0000 (01:55 +0200)]
warnings.pl/pm: Croaker function: bug (perl v5.8, v5.9)
Message-Id: <
42F28ED5.
CFFDCCFD@wizbit.be>
p4raw-id: //depot/perl@25888
Jarkko Hietaniemi [Sat, 29 Oct 2005 23:24:33 +0000 (02:24 +0300)]
Re: [PATCH] predecrement vs postdecrement
Message-ID: <
4363DA81.6060600@gmail.com>
Nit in pod/perlhack.pod
p4raw-id: //depot/perl@25887
Nicholas Clark [Sat, 29 Oct 2005 17:31:01 +0000 (17:31 +0000)]
Replace the body of the rarely used sv_setpviv_mg with a call to
sv_setpviv followed by SvSETMAGIC.
p4raw-id: //depot/perl@25886
Nicholas Clark [Sat, 29 Oct 2005 17:21:24 +0000 (17:21 +0000)]
Replace sv_catsv_mg and sv_catpvn_mg, and move the obsolete bodies to
mathoms.c
p4raw-id: //depot/perl@25885
Nicholas Clark [Sat, 29 Oct 2005 17:02:49 +0000 (17:02 +0000)]
Add a new SMAGIC flag, to signal a call to SvSETMAGIC. Add it to
sv_catpvn_flags and sv_catsv_flags, and then re-implement sv_catpvn_mg
and sv_catsv_mg as calls to sv_catpvn_flags and sv_catsv_flags
respectively.
p4raw-id: //depot/perl@25884
Nicholas Clark [Sat, 29 Oct 2005 16:25:38 +0000 (16:25 +0000)]
sv_2pv_nolen, sv_2pvbyte_nolen and sv_2pvutf8_nolen can all be replaced
with terse macros, and the function bodies retired.
p4raw-id: //depot/perl@25883
Nicholas Clark [Sat, 29 Oct 2005 16:06:39 +0000 (16:06 +0000)]
All the private implementations of @foo for compilers that can't do
complex macro expansions became dead wood sometime around 5.7.3
(Don't tell Otava this)
p4raw-id: //depot/perl@25882
Srezic@Iconmobile.Com [Fri, 2 Jul 2004 11:32:12 +0000 (11:32 +0000)]
[perl #30563] [PATCH] Storable::dclone fails for tied elements
Message-ID: <rt-3.0.11-30563-91788.4.
94870186951744@perl.org>
Also, a version bump to Storable.pm.
p4raw-id: //depot/perl@25881
Nicholas Clark [Sat, 29 Oct 2005 15:07:42 +0000 (15:07 +0000)]
sv_utf8_upgrade declares itself to be a mathom, so off it goes.
Remove duplicate declaration of Perl_sv_2uv
p4raw-id: //depot/perl@25880
Nicholas Clark [Sat, 29 Oct 2005 14:51:32 +0000 (14:51 +0000)]
Replace sv_force_normal with a macro that calls sv_force_normal_flags.
p4raw-id: //depot/perl@25879
Nicholas Clark [Sat, 29 Oct 2005 14:39:37 +0000 (14:39 +0000)]
Replace sv_unref with a macro that calls sv_unref_flags
p4raw-id: //depot/perl@25878
Steve Peters [Sat, 29 Oct 2005 14:33:30 +0000 (14:33 +0000)]
Oops, missed an sv_force_normal()
p4raw-id: //depot/perl@25877
Nicholas Clark [Sat, 29 Oct 2005 14:25:55 +0000 (14:25 +0000)]
sv_taint() can easily be replaced by a macro.
p4raw-id: //depot/perl@25876
Steve Peters [Sat, 29 Oct 2005 14:14:25 +0000 (14:14 +0000)]
Change to use sv_force_normal_flags() directly, rather than calling
sv_force_normal() to call sv_force_normal_flags().
p4raw-id: //depot/perl@25875
Nicholas Clark [Sat, 29 Oct 2005 11:50:29 +0000 (11:50 +0000)]
A terser implementation of S_varname, by using and post-processing
gv_fullname4
p4raw-id: //depot/perl@25874
Steve Peters [Sat, 29 Oct 2005 11:47:55 +0000 (11:47 +0000)]
Additional mathoms from doio.c
p4raw-id: //depot/perl@25873
Steve Peters [Sat, 29 Oct 2005 11:36:26 +0000 (11:36 +0000)]
Coverage stats say av_fake() is a mathom too.
p4raw-id: //depot/perl@25872
Nicholas Clark [Sat, 29 Oct 2005 11:14:40 +0000 (11:14 +0000)]
gv_fullname3 and gv_efullname3 are definately mathoms. They even say so.
p4raw-id: //depot/perl@25871
Jarkko Hietaniemi [Sat, 29 Oct 2005 11:52:25 +0000 (14:52 +0300)]
Re: [PATCH] predecrement vs postdecrement
Message-ID: <
43633849.6060809@gmail.com>
p4raw-id: //depot/perl@25870
Nicholas Clark [Sat, 29 Oct 2005 10:53:40 +0000 (10:53 +0000)]
gv_fullname and gv_efullname are definately mathoms.
p4raw-id: //depot/perl@25869
Brendan O'Dea [Sat, 29 Oct 2005 07:14:40 +0000 (17:14 +1000)]
perl5db.pl incorrect instructions in termination message
Message-ID: <
20051028211440.GA23305@londo.c47.org>
p4raw-id: //depot/perl@25868
Steve Peters [Fri, 28 Oct 2005 21:12:35 +0000 (21:12 +0000)]
Makefiles like tabs, not spaces.
p4raw-id: //depot/perl@25867
Steve Peters [Fri, 28 Oct 2005 21:09:31 +0000 (21:09 +0000)]
Add a new file, mathoms.c, to hold old code kept around for binary
compatability with previous versions of Perl. Change also includes
various Makefile changes to compile the new file and link it into
libperl.
p4raw-id: //depot/perl@25866
Steve Peters [Fri, 28 Oct 2005 11:30:51 +0000 (11:30 +0000)]
Check for changes in IO on CPAN.
p4raw-id: //depot/perl@25865
Steve Peters [Fri, 28 Oct 2005 11:21:48 +0000 (11:21 +0000)]
gbarr is maintaining IO.
p4raw-id: //depot/perl@25864
Steve Peters [Fri, 28 Oct 2005 10:48:32 +0000 (10:48 +0000)]
Add SPRINTF_RETURNS_STRLEN to the various Win32 config_H.* files.
p4raw-id: //depot/perl@25863
Nicholas Clark [Fri, 28 Oct 2005 10:24:43 +0000 (10:24 +0000)]
Use the return value from sprintf and avoid a call to strlen
p4raw-id: //depot/perl@25862
Gisle Aas [Thu, 27 Oct 2005 01:00:39 +0000 (18:00 -0700)]
Re: IO::File performace issue
Message-ID: <lrvezjv17c.fsf@caliper.activestate.com>
Also includes a version bump for IO::File.
p4raw-id: //depot/perl@25861
Nicholas Clark [Thu, 27 Oct 2005 08:53:03 +0000 (08:53 +0000)]
Change 25850 failed to include all changed headers
p4raw-id: //depot/perl@25860