This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
17 years agoRevert patch #25993.
Rafael Garcia-Suarez [Fri, 4 Nov 2005 18:38:34 +0000 (18:38 +0000)]
Revert patch #25993.

p4raw-id: //depot/perl@25998

17 years agoFix a Win32 linker error following change #25972
Steve Hay [Fri, 4 Nov 2005 17:23:49 +0000 (17:23 +0000)]
Fix a Win32 linker error following change #25972
p4raw-link: @25972 on //depot/perl: ce6987d0ee9b127be2a1769a57aa5a88de5b51ef

p4raw-id: //depot/perl@25997

17 years agouse clearenv if available
Alan Burlison [Fri, 4 Nov 2005 16:33:30 +0000 (16:33 +0000)]
use clearenv if available
Message-ID: <436B8D5A.4010502@sun.com>

p4raw-id: //depot/perl@25996

17 years agoRe: futimes [PATCH]
Steve Peters [Fri, 4 Nov 2005 09:00:25 +0000 (03:00 -0600)]
Re: futimes [PATCH]
Message-ID: <20051104150025.GA3873@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@25995

17 years ago[perl #19049] Incorrect $` after replacement
Andreas König [Fri, 4 Nov 2005 08:17:25 +0000 (09:17 +0100)]
[perl #19049] Incorrect $` after replacement
Message-ID: <87fyqc51bu.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@25993

17 years agoRe: [PATCH] sort/multicall patch
Robin Houston [Fri, 4 Nov 2005 15:20:29 +0000 (15:20 +0000)]
Re: [PATCH] sort/multicall patch
Message-ID: <20051104152029.GA17169@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@25992

17 years agoRe: Configure -Dno_mathoms
Gisle Aas [Tue, 1 Nov 2005 03:27:49 +0000 (19:27 -0800)]
Re: Configure -Dno_mathoms
Message-ID: <lrslug7glm.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@25991

17 years agoMerge msgsnd, msgrcv with Perl_pp_shmwrite().
Nicholas Clark [Fri, 4 Nov 2005 14:47:49 +0000 (14:47 +0000)]
Merge msgsnd, msgrcv with Perl_pp_shmwrite().
"Perfection is achieved not when there's nothing more to add,
 but when there's nothing left to remove" (Antoine de Saint-Exupéry)

p4raw-id: //depot/perl@25990

17 years agoOnce more, with feeling.
Nicholas Clark [Fri, 4 Nov 2005 14:21:19 +0000 (14:21 +0000)]
Once more, with feeling.
[Mmm, has someone been swapping the coffee for decaf?]
[Actual cause - make sure the edited version of the file is in the
 correct directory]

p4raw-id: //depot/perl@25989

17 years agoMeta-oops. Change 25987 was not the change you were looking for.
Nicholas Clark [Fri, 4 Nov 2005 14:18:14 +0000 (14:18 +0000)]
Meta-oops. Change 25987 was not the change you were looking for.

p4raw-id: //depot/perl@25988

17 years agoOops. This new panic was meant to be added to the documented
Nicholas Clark [Fri, 4 Nov 2005 14:09:11 +0000 (14:09 +0000)]
Oops. This new panic was meant to be added to the documented
diagnostics.

p4raw-id: //depot/perl@25987

17 years agoftrwrite, ftrexec, fteread, ftewrite and fteexec can all be merged
Nicholas Clark [Fri, 4 Nov 2005 13:02:42 +0000 (13:02 +0000)]
ftrwrite, ftrexec, fteread, ftewrite and fteexec can all be merged
with Perl_pp_ftrread().

p4raw-id: //depot/perl@25986

17 years agoUpgrade to Time-HiRes-1.80
Steve Peters [Fri, 4 Nov 2005 12:02:51 +0000 (12:02 +0000)]
Upgrade to Time-HiRes-1.80

p4raw-id: //depot/perl@25985

17 years agoPERL_EFF_ACCESS_[RWX]_OK can go.
Nicholas Clark [Fri, 4 Nov 2005 11:36:24 +0000 (11:36 +0000)]
PERL_EFF_ACCESS_[RWX]_OK can go.

p4raw-id: //depot/perl@25984

17 years agoThe PERL_EFF_ACCESS_[RWX]_OK macros are all defined as triples, so
Nicholas Clark [Fri, 4 Nov 2005 11:16:08 +0000 (11:16 +0000)]
The PERL_EFF_ACCESS_[RWX]_OK macros are all defined as triples, so
can be refactored to a single platform dependent PERL_EFF_ACCESS macro
with the other 3 implemented in terms of it.

p4raw-id: //depot/perl@25983

17 years agobad semicolon in pp_ftrowned
Andy Lester [Fri, 4 Nov 2005 00:37:54 +0000 (18:37 -0600)]
bad semicolon in pp_ftrowned
Message-ID: <20051104063753.GA3863@petdance.com>

p4raw-id: //depot/perl@25982

17 years agoUpgrade to Time-HiRes 1.79
Steve Peters [Fri, 4 Nov 2005 00:10:21 +0000 (00:10 +0000)]
Upgrade to Time-HiRes 1.79

p4raw-id: //depot/perl@25981

17 years agoReverting the reversion. va_end() goes with va_start().
Steve Peters [Thu, 3 Nov 2005 21:23:48 +0000 (21:23 +0000)]
Reverting the reversion.  va_end() goes with va_start().

p4raw-id: //depot/perl@25980

17 years agoFix test failures introduced by the change of flags on op_sort
Rafael Garcia-Suarez [Thu, 3 Nov 2005 21:07:54 +0000 (21:07 +0000)]
Fix test failures introduced by the change of flags on op_sort

p4raw-id: //depot/perl@25979

17 years agoUpgrade to Time-HiRes-1.78
Steve Peters [Thu, 3 Nov 2005 20:28:20 +0000 (20:28 +0000)]
Upgrade to Time-HiRes-1.78

p4raw-id: //depot/perl@25978

17 years agoChange #25976 seemed to cause test failures in ext/B/t/f_sort.t. What
Steve Peters [Thu, 3 Nov 2005 17:27:58 +0000 (17:27 +0000)]
Change #25976 seemed to cause test failures in ext/B/t/f_sort.t.  What
was that line about Jenga again?

p4raw-id: //depot/perl@25977

17 years agoMissing va_end(args) from SA_SIGINFO related code.
Steve Peters [Thu, 3 Nov 2005 17:14:17 +0000 (17:14 +0000)]
Missing va_end(args) from SA_SIGINFO related code.

p4raw-id: //depot/perl@25976

17 years agoTest for the right signal should use the constant for that signal.
Steve Peters [Thu, 3 Nov 2005 16:00:12 +0000 (16:00 +0000)]
Test for the right signal should use the constant for that signal.

p4raw-id: //depot/perl@25975

17 years agoAdd appropriate skips to t/io/fs.t to fix test failures on Cygwin.
Steve Peters [Thu, 3 Nov 2005 15:07:26 +0000 (15:07 +0000)]
Add appropriate skips to t/io/fs.t to fix test failures on Cygwin.

p4raw-id: //depot/perl@25974

17 years agoMore core test cleanups. Mainly fixes to remove code that caused
Steve Peters [Thu, 3 Nov 2005 14:56:25 +0000 (14:56 +0000)]
More core test cleanups.  Mainly fixes to remove code that caused
warnings, but there were a few bug fixes that were hidden by
no using warnings.

p4raw-id: //depot/perl@25973

17 years agoPerl_pp_symlink and Perl_pp_link can be merged. The diff looks evil,
Nicholas Clark [Thu, 3 Nov 2005 14:19:34 +0000 (14:19 +0000)]
Perl_pp_symlink and Perl_pp_link can be merged. The diff looks evil,
but the actual finished code is not as bad as it seems.

p4raw-id: //depot/perl@25972

17 years agoDocument some bogus compiler warnings in README.solaris
Alan Burlison [Thu, 3 Nov 2005 12:54:16 +0000 (12:54 +0000)]
Document some bogus compiler warnings in README.solaris

Subject: Re: Why is malloc_wrap now the default?
Message-ID: <436A0878.1030703@sun.com>

p4raw-id: //depot/perl@25971

17 years agoUpgrade to Time-HiRes-1.77
Steve Peters [Thu, 3 Nov 2005 11:37:31 +0000 (11:37 +0000)]
Upgrade to Time-HiRes-1.77

p4raw-id: //depot/perl@25970

17 years agoPatch 3945 was a bit overkeen - the effective parameter to cando() and
Nicholas Clark [Thu, 3 Nov 2005 11:09:39 +0000 (11:09 +0000)]
Patch 3945 was a bit overkeen - the effective parameter to cando() and
ingroup() is a boolean flag, not a GID or UID.

p4raw-id: //depot/perl@25969

17 years agoAvoiding source code duplication for the lstat() on filehandle %s
Nicholas Clark [Thu, 3 Nov 2005 09:51:56 +0000 (09:51 +0000)]
Avoiding source code duplication for the lstat() on filehandle %s
warning also makes the object code slightly smaller.

p4raw-id: //depot/perl@25968

17 years agoClean up some test files.
Steve Peters [Thu, 3 Nov 2005 02:09:30 +0000 (02:09 +0000)]
Clean up some test files.

p4raw-id: //depot/perl@25967

17 years agoMake harness warning-free when running with -Mdiagnostics
Steve Peters [Thu, 3 Nov 2005 01:45:45 +0000 (01:45 +0000)]
Make harness warning-free when running with -Mdiagnostics

p4raw-id: //depot/perl@25966

17 years agoTest case should not execute /no_such_process if it does exist.
Steve Peters [Wed, 2 Nov 2005 22:37:48 +0000 (22:37 +0000)]
Test case should not execute /no_such_process if it does exist.

p4raw-id: //depot/perl@25965

17 years agounlink chmod utime kill can be merged into Perl_pp_chown().
Nicholas Clark [Wed, 2 Nov 2005 21:27:58 +0000 (21:27 +0000)]
unlink chmod utime kill can be merged into Perl_pp_chown().

p4raw-id: //depot/perl@25964

17 years agoMove the conditonal compiles that report absence of kill and chown
Nicholas Clark [Wed, 2 Nov 2005 20:59:52 +0000 (20:59 +0000)]
Move the conditonal compiles that report absence of kill and chown
from pp_kill() and pp_chown() into apply().

p4raw-id: //depot/perl@25963

17 years agoMove ftsuid ftsgid ftsvtx into Perl_pp_ftrowned.
Nicholas Clark [Wed, 2 Nov 2005 20:13:24 +0000 (20:13 +0000)]
Move ftsuid ftsgid ftsvtx into Perl_pp_ftrowned.

p4raw-id: //depot/perl@25962

17 years agoMerge ftzero ftsock ftchr ftblk ftfile ftdir ftpipe into
Nicholas Clark [Wed, 2 Nov 2005 19:04:10 +0000 (19:04 +0000)]
Merge ftzero ftsock ftchr ftblk ftfile ftdir ftpipe into
Perl_pp_ftrowned

p4raw-id: //depot/perl@25961

17 years agoAvoid a pad panic by attempting to use dTARGET; in an op that didn't
Nicholas Clark [Wed, 2 Nov 2005 17:24:35 +0000 (17:24 +0000)]
Avoid a pad panic by attempting to use dTARGET; in an op that didn't
flag that it needed a target (OP_FTIS)

p4raw-id: //depot/perl@25960

17 years agoCorrect error in 25958 for threaded builds.
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

17 years agoMerge ftsize ftmtime ftatime ftctime into Perl_pp_ftis
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

17 years agoRemove last sort test, that was failing with and without threads.
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

17 years agoAdjust test count
Rafael Garcia-Suarez [Wed, 2 Nov 2005 14:10:54 +0000 (14:10 +0000)]
Adjust test count

p4raw-id: //depot/perl@25956

17 years agoAdd missing file from change 25953
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

17 years agoRegen headers
Rafael Garcia-Suarez [Wed, 2 Nov 2005 13:14:19 +0000 (13:14 +0000)]
Regen headers

p4raw-id: //depot/perl@25954

17 years agosort/multicall patch
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

17 years agoRE: [perl #37571] -z FH broken with Borland build
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

17 years agoRe: futimes [PATCH]
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

17 years agoAmbiguous test cases may be hazardous to your health.
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

17 years agoLowercase barewords considered harmful to your health.
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

17 years agoperlio.c consting
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

17 years agoThis *really* should clear up Win32's Perl_do_exec undefined warnings
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

17 years agoThis should clear up 'Perl_do_exec' undefined; warnings on win32
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

17 years agoMake PerlLIOUtime()'s filename const
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

17 years agoFix nit in pod nit fix
Steve Hay [Tue, 1 Nov 2005 08:45:09 +0000 (08:45 +0000)]
Fix nit in pod nit fix

p4raw-id: //depot/perl@25944

17 years agoUpdate win32 config files w.r.t. change #25935
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

17 years agoUpgrade to DB_File 1.813.
Steve Peters [Mon, 31 Oct 2005 23:46:01 +0000 (23:46 +0000)]
Upgrade to DB_File 1.813.

p4raw-id: //depot/perl@25942

17 years agofutimes [PATCH]
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

17 years agoAll the ops that are simply C<return some_other_op();> can be bypassed
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

17 years agoSimplify the implementation of the "unimplemented" message in the
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

17 years agoFurther pod nit spotted by Jarkko
Nicholas Clark [Mon, 31 Oct 2005 19:14:47 +0000 (19:14 +0000)]
Further pod nit spotted by Jarkko

p4raw-id: //depot/perl@25938

17 years agoReplace the 3 currently "unreachable" ops with a single op body
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

17 years agoAdd "moving common filetest code to a static function" to the todo.
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

17 years agorevive probe for futimes ()
H.Merijn Brand [Mon, 31 Oct 2005 17:50:05 +0000 (17:50 +0000)]
revive probe for futimes ()

p4raw-id: //depot/perl@25935

17 years agoA B::Deparse fix from :
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

17 years agoSymbian port 0.3.0 as of blead@25911
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

17 years agoAvoid corruption when calling mg_get to retrieve the value
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

17 years agomaddingue prefers this e-mail address.
Nicholas Clark [Mon, 31 Oct 2005 16:24:29 +0000 (16:24 +0000)]
maddingue prefers this e-mail address.

p4raw-id: //depot/perl@25931

17 years agoTry to preserve the lost opcode alias info in comments
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

17 years agoIt appears that it's trivially easy to alias opcode functions in
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

17 years agoAdd maddingue to AUTHORS
Nicholas Clark [Mon, 31 Oct 2005 15:13:06 +0000 (15:13 +0000)]
Add maddingue to AUTHORS

p4raw-id: //depot/perl@25928

17 years agoMaking ExtUtils::Constant compatible with Perl 5.004
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

17 years agoA more elegant way to deal with utf8n_to_uvchr() and utf8n_to_uvuni().
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

17 years agoFix [perl #37533] open pragma ignored for all 3-arg opens
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

17 years agoPerl_csighandler was in global.sym twice.
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

17 years agoArrange to only output each symbol once into global.sym
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

17 years agoTests for index/rindex with empty search string,
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

17 years agouvchr_to_utf8() and utf8n_to_uvchr() are mathoms on ASCII based
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

17 years agoCoverage stats showed that there were no tests for taking a slice
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

17 years agoChange some spaces to tabs for easier diffing against config_h.SH
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

17 years agoFixed threaded builds following change 25916
Steve Hay [Mon, 31 Oct 2005 11:30:15 +0000 (11:30 +0000)]
Fixed threaded builds following change 25916

p4raw-id: //depot/perl@25918

17 years agoPOD nit spotted by Jarkko
Nicholas Clark [Mon, 31 Oct 2005 11:29:43 +0000 (11:29 +0000)]
POD nit spotted by Jarkko

p4raw-id: //depot/perl@25917

17 years agois_utf8_string_loc() is now a macro, don't use its Perl_-prefixed form
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

17 years agoEtta James presents: More consting
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

17 years agoS_tokereport's unused parm
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

17 years agoRegenerate perlapi.pod
Rafael Garcia-Suarez [Mon, 31 Oct 2005 08:54:18 +0000 (08:54 +0000)]
Regenerate perlapi.pod

p4raw-id: //depot/perl@25913

17 years agoRobin Houston remarks that mention of a context is missing from the
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

17 years agoperlsio_binmode() is pretty much a mathom on UNIX platforms, but it is
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

17 years agoconst const bad bad.
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

17 years agois_utf8_alnum() and is_utf8_alnumc() can use is_utf8_common() too.
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

17 years agoJarkko and I think that Perl_is_utf8_alnumc should be initialising
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

17 years agoPerl_is_utf8_* share a lot of common code. Pull that out into a new
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

17 years agoGiven that sv_nosharing performs the same function as sv_nolocking
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

17 years agoReplace uvuni_to_utf8() with a macro that passes the extra 0 argument
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

17 years agoglobal.sym appears to have become out of date. Oops.
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

17 years agoReplace is_utf8_string_loc() with a macro that passes the extra 0
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

17 years agoFix typos in comments.
Nicholas Clark [Sun, 30 Oct 2005 17:14:08 +0000 (17:14 +0000)]
Fix typos in comments.

p4raw-id: //depot/perl@25902

17 years agoFunctions that die aren't exactly well used code.
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

17 years agosave_hints is a mathom.
Nicholas Clark [Sun, 30 Oct 2005 16:45:34 +0000 (16:45 +0000)]
save_hints is a mathom.

p4raw-id: //depot/perl@25900

17 years agoI infer that change 25891 as-is would break OS2. This should fix it.
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

17 years agoinit_i18nl14n is a mathom.
Nicholas Clark [Sun, 30 Oct 2005 16:36:22 +0000 (16:36 +0000)]
init_i18nl14n is a mathom.

p4raw-id: //depot/perl@25898