This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoImplement hv_delayfree_ent in terms of hv_free_ent
Nicholas Clark [Mon, 4 Jul 2005 15:03:32 +0000 (15:03 +0000)]
Implement hv_delayfree_ent in terms of hv_free_ent

p4raw-id: //depot/perl@25072

15 years agoSkip nit in t/op/lfs.t
Steve Peters [Mon, 4 Jul 2005 10:10:13 +0000 (05:10 -0500)]
Skip nit in t/op/lfs.t
Message-ID: <20050704151013.GA18468@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@25071

15 years agoTests for hv_delayfree_ent and hv_free_ent
Nicholas Clark [Mon, 4 Jul 2005 14:45:40 +0000 (14:45 +0000)]
Tests for hv_delayfree_ent and hv_free_ent

p4raw-id: //depot/perl@25070

15 years agoProvide a macro version of S_new_body to inline it within the hot code.
Nicholas Clark [Mon, 4 Jul 2005 13:56:39 +0000 (13:56 +0000)]
Provide a macro version of S_new_body to inline it within the hot code.

p4raw-id: //depot/perl@25069

15 years agoBorland's .pdb files are called .tds
Steve Hay [Mon, 4 Jul 2005 13:21:36 +0000 (13:21 +0000)]
Borland's .pdb files are called .tds

p4raw-id: //depot/perl@25068

15 years agoPost-YAPC consting, now with an attachment!
Andy Lester [Sun, 3 Jul 2005 18:31:56 +0000 (13:31 -0500)]
Post-YAPC consting, now with an attachment!
Message-ID: <20050703233156.GA20967@petdance.com>

p4raw-id: //depot/perl@25067

15 years agoInlining del_HE is actually a space optimisation.
Nicholas Clark [Mon, 4 Jul 2005 10:41:28 +0000 (10:41 +0000)]
Inlining del_HE is actually a space optimisation.
It's therefore likely also to be a speed optimisation. :-)

p4raw-id: //depot/perl@25066

15 years agoperlglossary.pod: add jump points
Yitzchak Scott-Thoennes [Mon, 4 Jul 2005 02:07:52 +0000 (19:07 -0700)]
perlglossary.pod: add jump points
Message-ID: <20050704090752.GB4056@efn.org>

p4raw-id: //depot/perl@25065

15 years agosv_setuv_mg is so rarely called that the IV optimisation test is not
Nicholas Clark [Mon, 4 Jul 2005 10:24:26 +0000 (10:24 +0000)]
sv_setuv_mg is so rarely called that the IV optimisation test is not
needed.

p4raw-id: //depot/perl@25064

15 years agoRe: How to suppress warnings when building Errno with gcc
Yitzchak Scott-Thoennes [Fri, 1 Jul 2005 10:56:23 +0000 (03:56 -0700)]
Re: How to suppress warnings when building Errno with gcc
Message-ID: <20050701175623.GD216@efn.org>

p4raw-id: //depot/perl@25063

15 years agoFix change 25045
Steve Hay [Mon, 4 Jul 2005 09:17:06 +0000 (09:17 +0000)]
Fix change 25045

p4raw-id: //depot/perl@25062

15 years agoHere's the rest of change 25058 ;-)
Steve Hay [Mon, 4 Jul 2005 08:26:38 +0000 (08:26 +0000)]
Here's the rest of change 25058 ;-)

p4raw-id: //depot/perl@25061

15 years agoRe: [PATCH] Re: [PATCH] Re: a blead warning from tru64
Jarkko Hietaniemi [Mon, 4 Jul 2005 00:19:28 +0000 (03:19 +0300)]
Re: [PATCH] Re: [PATCH] Re: a blead warning from tru64
Message-Id:  <42C85660.50807@gmail.com>

p4raw-id: //depot/perl@25060

15 years agoStop reentr.pl changing EOL on the files it writes on Win32
Steve Hay [Mon, 4 Jul 2005 08:10:27 +0000 (08:10 +0000)]
Stop reentr.pl changing EOL on the files it writes on Win32

p4raw-id: //depot/perl@25059

15 years agoPerl_ckwarn (added by change 25050) needs exporting on Win32
Steve Hay [Mon, 4 Jul 2005 08:09:36 +0000 (08:09 +0000)]
Perl_ckwarn (added by change 25050) needs exporting on Win32

(At least PerlIO/via uses it, so it must be public)

p4raw-id: //depot/perl@25058

15 years agoAndy suggests this tweak to Dave's fix for MEM_WRAP_CHECK to shut up
Nicholas Clark [Sat, 2 Jul 2005 21:19:09 +0000 (21:19 +0000)]
Andy suggests this tweak to Dave's fix for MEM_WRAP_CHECK to shut up
a different compiler warnings. I guess we need a waterbed theory of
compiler warnings.

p4raw-id: //depot/perl@25055

15 years agoConvert bless.t to test.pl
Nicholas Clark [Sat, 2 Jul 2005 16:53:09 +0000 (16:53 +0000)]
Convert bless.t to test.pl

p4raw-id: //depot/perl@25054

15 years agoCopying the first parameter in the macro del_body seems to reduce
Nicholas Clark [Sat, 2 Jul 2005 16:25:06 +0000 (16:25 +0000)]
Copying the first parameter in the macro del_body seems to reduce
code size.  Presumably an expression is no longer evaluated twice.

p4raw-id: //depot/perl@25053

15 years agodo just-in-time loading of Carp.pm in some modules
Tels [Sat, 2 Jul 2005 16:11:46 +0000 (16:11 +0000)]
do just-in-time loading of Carp.pm in some modules
Subject: [PATCH] No Carp #4 AutoSplit.pm
Subject: [PATCH] no Carp #5 (File::Path)
Subject: [PATCH] no Carp #7 - charnames.pm
Subject: [PATCH] no Carp #6 (File::Compare, File::Copy, File::Temp)
Subject: [PATCH] no Carp #8 - SelfLoader, Text/Balanced and open.pm

p4raw-id: //depot/perl@25052

15 years agoUnwrap the del_Xfoo() macros by explicitly noting the arena to free
Nicholas Clark [Sat, 2 Jul 2005 16:07:47 +0000 (16:07 +0000)]
Unwrap the del_Xfoo() macros by explicitly noting the arena to free
the body to. This comletely eliminates the second switch statement.

p4raw-id: //depot/perl@25051

15 years agoreplace ckWARN macros with functions
Dave Mitchell [Sat, 2 Jul 2005 15:05:04 +0000 (15:05 +0000)]
replace ckWARN macros with functions

p4raw-id: //depot/perl@25050

15 years agoGiven that the GV no longer owns a reference on the symbol table, we
Nicholas Clark [Sat, 2 Jul 2005 14:57:43 +0000 (14:57 +0000)]
Given that the GV no longer owns a reference on the symbol table, we
dont need the deferred SvREFCNT_dec games.

p4raw-id: //depot/perl@25049

15 years agoPassing gvtype as char rather than char * to S_varname generates
Nicholas Clark [Sat, 2 Jul 2005 13:55:45 +0000 (13:55 +0000)]
Passing gvtype as char rather than char * to S_varname generates
smaller code.

p4raw-id: //depot/perl@25048

15 years agoDon't inline offer_nice_chunk, as it's rarely called.
Nicholas Clark [Sat, 2 Jul 2005 13:07:26 +0000 (13:07 +0000)]
Don't inline offer_nice_chunk, as it's rarely called.

p4raw-id: //depot/perl@25047

15 years agomissed one PAD_SET_CUR
Dave Mitchell [Sat, 2 Jul 2005 12:35:12 +0000 (12:35 +0000)]
missed one PAD_SET_CUR

p4raw-id: //depot/perl@25046

15 years agoDon't check the pointer is non-NULL before calling Safefree() in
Nicholas Clark [Sat, 2 Jul 2005 12:34:08 +0000 (12:34 +0000)]
Don't check the pointer is non-NULL before calling Safefree() in
little used code, code used only once per run (such as interpreter
construction and destruction), and cases where the pointer nearly
never is NULL. Safefree does its own non-NULL check, and even that
isn't strictly necessary as all conformant free()s accept a NULL
pointer.

p4raw-id: //depot/perl@25045

15 years agoUpgrade to Time::HiRes 1.72
Rafael Garcia-Suarez [Sat, 2 Jul 2005 07:41:14 +0000 (07:41 +0000)]
Upgrade to Time::HiRes 1.72

p4raw-id: //depot/perl@25044

15 years agoMake Archive::Tar clean up its test files on Win32
Steve Hay [Fri, 1 Jul 2005 16:33:42 +0000 (16:33 +0000)]
Make Archive::Tar clean up its test files on Win32

(The old "can't delete an open file on Win32" chestnut again)

p4raw-id: //depot/perl@25043

15 years agothe PAD_SET_CUR macro expanded too much for AIX compilers
Dave Mitchell [Fri, 1 Jul 2005 15:40:40 +0000 (15:40 +0000)]
the PAD_SET_CUR macro expanded too much for AIX compilers

p4raw-id: //depot/perl@25042

15 years agoSilence MinGW warning about "'noreturn' function does return"
Steve Hay [Fri, 1 Jul 2005 15:15:23 +0000 (15:15 +0000)]
Silence MinGW warning about "'noreturn' function does return"

(Thanks to Nicholas Clark)

p4raw-id: //depot/perl@25041

15 years agoInstall perlglossary on VMS and Windows
Rafael Garcia-Suarez [Fri, 1 Jul 2005 15:05:58 +0000 (15:05 +0000)]
Install perlglossary on VMS and Windows

p4raw-id: //depot/perl@25040

15 years agoundo some excessive Carp.pm minimalisation
Dave Mitchell [Fri, 1 Jul 2005 14:34:52 +0000 (14:34 +0000)]
undo some excessive Carp.pm minimalisation

p4raw-id: //depot/perl@25039

15 years agoRemove unreferenced local variable (and the warning about it)
Steve Hay [Fri, 1 Jul 2005 13:39:33 +0000 (13:39 +0000)]
Remove unreferenced local variable (and the warning about it)

p4raw-id: //depot/perl@25038

15 years agoAdd the perlglossary man page
Yitzchak Scott-Thoennes [Fri, 1 Jul 2005 03:10:50 +0000 (20:10 -0700)]
Add the perlglossary man page

Subject: [PATCH] perlglossary.pod
Message-ID: <20050701101050.GA2448@efn.org>

p4raw-id: //depot/perl@25037

15 years agoMake Exporter.t warnings clean
Michael G. Schwern [Tue, 28 Jun 2005 15:58:36 +0000 (08:58 -0700)]
Make Exporter.t warnings clean
Message-ID: <20050628225836.GB27320@windhund.schwern.org>

p4raw-id: //depot/perl@25036

15 years agosilence a warning in Perl_sv_compile_2op
Dave Mitchell [Fri, 1 Jul 2005 11:49:22 +0000 (11:49 +0000)]
silence a warning in Perl_sv_compile_2op

p4raw-id: //depot/perl@25035

15 years agosilence gcc 'comparison is always false' warning in MEM_WRAP_CHECK
Dave Mitchell [Fri, 1 Jul 2005 11:45:40 +0000 (11:45 +0000)]
silence gcc 'comparison is always false' warning in MEM_WRAP_CHECK
Only a partial fix: works where sizeof(type)==1; since we
can never wraparound in that case, disarm the check

p4raw-id: //depot/perl@25034

15 years agoSilence some cast warnings from bcc32 on Win32
Steve Hay [Fri, 1 Jul 2005 07:44:50 +0000 (07:44 +0000)]
Silence some cast warnings from bcc32 on Win32

See the thread starting here for arguments:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-06/msg00994.html

p4raw-id: //depot/perl@25033

15 years ago[perl #36434] assigning shared consts (eg __PACKAGE__) to magic vars
Dave Mitchell [Thu, 30 Jun 2005 22:41:07 +0000 (22:41 +0000)]
[perl #36434] assigning shared consts (eg __PACKAGE__) to magic vars

p4raw-id: //depot/perl@25032

15 years agoBy grabbing the length, we can use sv_setpvn here.
Nicholas Clark [Thu, 30 Jun 2005 17:41:03 +0000 (17:41 +0000)]
By grabbing the length, we can use sv_setpvn here.

p4raw-id: //depot/perl@25031

15 years agoUse sv_setpvn where we know the length.
Nicholas Clark [Thu, 30 Jun 2005 17:37:56 +0000 (17:37 +0000)]
Use sv_setpvn where we know the length.

p4raw-id: //depot/perl@25030

15 years agoA terser way of implementing require_pv.
Nicholas Clark [Thu, 30 Jun 2005 17:28:45 +0000 (17:28 +0000)]
A terser way of implementing require_pv.

p4raw-id: //depot/perl@25029

15 years agoWe know the length, so use sv_setpvn rather than sv_setpv.
Nicholas Clark [Thu, 30 Jun 2005 17:21:28 +0000 (17:21 +0000)]
We know the length, so use sv_setpvn rather than sv_setpv.

p4raw-id: //depot/perl@25028

15 years agoAvoid using PL_Sv in the -V argument processing.
Nicholas Clark [Thu, 30 Jun 2005 17:05:13 +0000 (17:05 +0000)]
Avoid using PL_Sv in the -V argument processing.
Express the embedded perl program in a slightly terser way.

p4raw-id: //depot/perl@25027

15 years agoUse Perl_sv_catpvf to shorten the code (source and object) needed for
Nicholas Clark [Thu, 30 Jun 2005 16:34:52 +0000 (16:34 +0000)]
Use Perl_sv_catpvf to shorten the code (source and object) needed for
commandline -V options that q\0...\0.

p4raw-id: //depot/perl@25026

15 years agoAdd TODO tests for bug #36434
Rafael Garcia-Suarez [Thu, 30 Jun 2005 16:15:31 +0000 (16:15 +0000)]
Add TODO tests for bug #36434

p4raw-id: //depot/perl@25025

15 years agoThe core shouldn't be using PL_na
Nicholas Clark [Thu, 30 Jun 2005 12:28:55 +0000 (12:28 +0000)]
The core shouldn't be using PL_na

p4raw-id: //depot/perl@25024

15 years ago-V:... would get upset (syntax error) if ... contained unbalanced ().
Nicholas Clark [Thu, 30 Jun 2005 12:15:14 +0000 (12:15 +0000)]
-V:... would get upset (syntax error) if ... contained unbalanced ().

p4raw-id: //depot/perl@25023

15 years agoReplace newSVpv(...,0) with newSVpvn where we know the length.
Nicholas Clark [Thu, 30 Jun 2005 11:40:37 +0000 (11:40 +0000)]
Replace newSVpv(...,0) with newSVpvn where we know the length.

p4raw-id: //depot/perl@25022

15 years agoWhy use Perl_form and newSVpv when newSVpvf will do it in one?
Nicholas Clark [Thu, 30 Jun 2005 11:20:33 +0000 (11:20 +0000)]
Why use Perl_form and newSVpv when newSVpvf will do it in one?

p4raw-id: //depot/perl@25021

15 years agomake t/uni/class.t faster
Tels [Wed, 29 Jun 2005 21:19:52 +0000 (23:19 +0200)]
make t/uni/class.t faster
Message-Id: <200506292120.05519@bloodgate.com>

p4raw-id: //depot/perl@25020

15 years agoIf gp_flags is unused, why are we even allocating it?
Nicholas Clark [Thu, 30 Jun 2005 09:57:31 +0000 (09:57 +0000)]
If gp_flags is unused, why are we even allocating it?

p4raw-id: //depot/perl@25019

15 years agoNothing is actually relying on GvUNIQUE holding state.
Nicholas Clark [Thu, 30 Jun 2005 09:21:05 +0000 (09:21 +0000)]
Nothing is actually relying on GvUNIQUE holding state.

p4raw-id: //depot/perl@25018

15 years agoRe: [PATCH] Convert File::Basename tests to Test::More
Michael G. Schwern [Thu, 30 Jun 2005 01:02:30 +0000 (18:02 -0700)]
Re: [PATCH] Convert File::Basename tests to Test::More
Message-ID: <20050630080230.GC17965@windhund.schwern.org>

p4raw-id: //depot/perl@25017

15 years agoRe: [PATCH]Re: [perl #36417] IO::Handle::getline() doco should note an important...
Steve Peters [Wed, 29 Jun 2005 21:47:23 +0000 (16:47 -0500)]
Re: [PATCH]Re: [perl #36417] IO::Handle::getline() doco should note an important difference from <$io>
Message-ID: <20050630024723.GA3786@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@25016

15 years agosome dusting off of the cross-compilation information
Jarkko Hietaniemi [Thu, 30 Jun 2005 08:41:17 +0000 (11:41 +0300)]
some dusting off of the cross-compilation information
Message-ID: <42C385FD.9040601@gmail.com>

p4raw-id: //depot/perl@25015

15 years agoSilence MinGW warnings about system headers when building Errno
Steve Hay [Thu, 30 Jun 2005 07:57:25 +0000 (07:57 +0000)]
Silence MinGW warnings about system headers when building Errno

Thanks to Mike Guy for the suggested fix.

p4raw-id: //depot/perl@25014

15 years agoExpand on parts of perltodo
Nicholas Clark [Wed, 29 Jun 2005 21:24:53 +0000 (21:24 +0000)]
Expand on parts of perltodo

p4raw-id: //depot/perl@25013

15 years agoAll tests pass (for me) with -DPERL_DONT_CREATE_GVSV
Nicholas Clark [Wed, 29 Jun 2005 21:09:16 +0000 (21:09 +0000)]
All tests pass (for me) with -DPERL_DONT_CREATE_GVSV

p4raw-id: //depot/perl@25012

15 years agoMake warnings.t pass with -DPERL_DONT_CREATE_GVSV
Nicholas Clark [Wed, 29 Jun 2005 20:24:12 +0000 (20:24 +0000)]
Make warnings.t pass with -DPERL_DONT_CREATE_GVSV

p4raw-id: //depot/perl@25011

15 years agoFixes to -DPERL_DONT_CREATE_GVSV to make more tests pass
Nicholas Clark [Wed, 29 Jun 2005 19:25:24 +0000 (19:25 +0000)]
Fixes to -DPERL_DONT_CREATE_GVSV to make more tests pass

p4raw-id: //depot/perl@25010

15 years agoFirst stab at not automatically creating an unused SV for GvSV
Nicholas Clark [Wed, 29 Jun 2005 15:58:14 +0000 (15:58 +0000)]
First stab at not automatically creating an unused SV for GvSV
Enable it with -DPERL_DONT_CREATE_GVSV.
Currently if enabled 22 test scripts have failures, so still some way
to go.

p4raw-id: //depot/perl@25009

15 years agoRemove old variable needed for binary compatibility
Rafael Garcia-Suarez [Wed, 29 Jun 2005 08:11:53 +0000 (08:11 +0000)]
Remove old variable needed for binary compatibility

p4raw-id: //depot/perl@25008

15 years agoConvert strcpy to memcpy where we already know the length.
Nicholas Clark [Tue, 28 Jun 2005 22:02:03 +0000 (22:02 +0000)]
Convert strcpy to memcpy where we already know the length.

p4raw-id: //depot/perl@25007

15 years agomove Carp.pod back into Carp.pm
Dave Mitchell [Tue, 28 Jun 2005 11:28:20 +0000 (11:28 +0000)]
move Carp.pod back into Carp.pm

p4raw-id: //depot/perl@25006

15 years agoB::Deparse was chocking on variable names with colons (like foo::::bar)
Rafael Garcia-Suarez [Tue, 28 Jun 2005 11:17:30 +0000 (11:17 +0000)]
B::Deparse was chocking on variable names with colons (like foo::::bar)

p4raw-id: //depot/perl@25005

15 years agoRe: Hints for 64bitall (PPC!) Darwin perl
Dominic Dunlop [Mon, 27 Jun 2005 19:46:59 +0000 (21:46 +0200)]
Re: Hints for 64bitall (PPC!) Darwin perl
Message-Id: <1D31D9A6-2451-49EE-AD80-80F1D9CA2825@computer.org>
Date: Mon, 27 Jun 2005 19:46:59 +0200

p4raw-id: //depot/perl@25004

15 years agoStop "Possible use before definition" warning following change 24997
Steve Hay [Tue, 28 Jun 2005 08:01:21 +0000 (08:01 +0000)]
Stop "Possible use before definition" warning following change 24997

p4raw-id: //depot/perl@25003

15 years agoUpgrade to Time::HiRes 1.71
Rafael Garcia-Suarez [Tue, 28 Jun 2005 07:40:35 +0000 (07:40 +0000)]
Upgrade to Time::HiRes 1.71

p4raw-id: //depot/perl@25002

15 years agoStop "suspicious pointer conversion" warning following change 24997
Steve Hay [Tue, 28 Jun 2005 07:40:01 +0000 (07:40 +0000)]
Stop "suspicious pointer conversion" warning following change 24997

p4raw-id: //depot/perl@25001

15 years agoDon't install demo files with perl
Rafael Garcia-Suarez [Mon, 27 Jun 2005 21:57:04 +0000 (21:57 +0000)]
Don't install demo files with perl

p4raw-id: //depot/perl@25000

15 years agoAvoid redefinition warning for MinGW
Mattia Barbon [Mon, 27 Jun 2005 22:07:00 +0000 (22:07 +0000)]
Avoid redefinition warning for MinGW
Message-ID: <Mahogany-0.66.0-1232-20050627-220727.00@rbnet.it>

p4raw-id: //depot/perl@24999

15 years agoFix sv_dec of undefined PVs to (a) not downgrade to NV
Nicholas Clark [Mon, 27 Jun 2005 20:52:27 +0000 (20:52 +0000)]
Fix sv_dec of undefined PVs to (a) not downgrade to NV
(b) give -1, rather than +1

p4raw-id: //depot/perl@24998

15 years agoWe're going round in circles with pp_sys.c
Andy Lester [Mon, 27 Jun 2005 13:06:59 +0000 (08:06 -0500)]
We're going round in circles with pp_sys.c
Message-ID: <20050627180659.GB29744@petdance.com>

(edited)

p4raw-id: //depot/perl@24997

15 years agoFix installation of ptar(1) manpage.
Rafael Garcia-Suarez [Mon, 27 Jun 2005 17:19:45 +0000 (17:19 +0000)]
Fix installation of ptar(1) manpage.
The __END__ was making the POD being ignored by pod2man.

p4raw-id: //depot/perl@24996

15 years agoMake Carp.pm even lighter (and Carp::Heavy even heavier)
Dave Mitchell [Mon, 27 Jun 2005 16:34:34 +0000 (16:34 +0000)]
Make Carp.pm even lighter (and Carp::Heavy even heavier)
Also move carp.pm pod to carp.pod

p4raw-id: //depot/perl@24995

15 years agoSilence compiler warning in SDBM_File
Steve Hay [Mon, 27 Jun 2005 15:45:05 +0000 (15:45 +0000)]
Silence compiler warning in SDBM_File

Unless I'm missing something it looks like "key" actually is used,
and the "key = key" assignment causes bcc32 to complain about use
before definition!

p4raw-id: //depot/perl@24994

15 years agoXSLoader for Sys::Syslog
Alexey Tourbin [Sun, 26 Jun 2005 08:32:05 +0000 (12:32 +0400)]
XSLoader for Sys::Syslog
Message-ID: <20050626043204.GA31585@solemn.turbinal.org>

p4raw-id: //depot/perl@24993

15 years agoOops (fix previous fix).
Rafael Garcia-Suarez [Mon, 27 Jun 2005 13:51:10 +0000 (13:51 +0000)]
Oops (fix previous fix).

p4raw-id: //depot/perl@24992

15 years agoFix tests of Filter::Simple 0.82 in the core
Rafael Garcia-Suarez [Mon, 27 Jun 2005 13:48:26 +0000 (13:48 +0000)]
Fix tests of Filter::Simple 0.82 in the core

p4raw-id: //depot/perl@24991

15 years agoUpgrade to Filter::Simple 0.82
Rafael Garcia-Suarez [Mon, 27 Jun 2005 13:46:25 +0000 (13:46 +0000)]
Upgrade to Filter::Simple 0.82

p4raw-id: //depot/perl@24990

15 years agoUpgrade to Test::Harness 2.52
Rafael Garcia-Suarez [Mon, 27 Jun 2005 12:46:44 +0000 (12:46 +0000)]
Upgrade to Test::Harness 2.52

p4raw-id: //depot/perl@24989

15 years agoUpgrade to Time::HiRes 1.70
Rafael Garcia-Suarez [Mon, 27 Jun 2005 12:35:33 +0000 (12:35 +0000)]
Upgrade to Time::HiRes 1.70

p4raw-id: //depot/perl@24988

15 years agoSuppress warnings about a clash between redefined malloc and the
Andy Lester [Fri, 24 Jun 2005 12:11:59 +0000 (07:11 -0500)]
Suppress warnings about a clash between redefined malloc and the
use of __attribute__malloc__

Subject: Re: Fun with __attribute__malloc__
Message-ID: <20050624171159.GB29590@petdance.com>

p4raw-id: //depot/perl@24987

15 years agoTweak the child dump socket protocol to return error messages to the
Nicholas Clark [Sun, 26 Jun 2005 22:19:22 +0000 (22:19 +0000)]
Tweak the child dump socket protocol to return error messages to the
parent so that it can display what went wrong.

p4raw-id: //depot/perl@24986

15 years agoUpgrade to Time::HiRes 1.69
Rafael Garcia-Suarez [Sun, 26 Jun 2005 20:06:10 +0000 (20:06 +0000)]
Upgrade to Time::HiRes 1.69

p4raw-id: //depot/perl@24985

15 years agoWhen using DEBUG_LEAKING_SCALARS_FORK_DUMP it's possible to cause
Nicholas Clark [Sun, 26 Jun 2005 17:59:33 +0000 (17:59 +0000)]
When using DEBUG_LEAKING_SCALARS_FORK_DUMP it's possible to cause
indefinite hangs when the debugging child holds open Perl_debug_log,
and it happens to be a file descriptor that is one end of a pipe,
with a process sitting at the other end waitng for EOF.
So close all descriptors in the child *including* Perl_debug_log,
and pass it back in over the control socket if it's needed.

p4raw-id: //depot/perl@24984

15 years agoNeed to pass a my_perl to S_my_localtime to make threaded builds build.
Nicholas Clark [Sun, 26 Jun 2005 10:28:43 +0000 (10:28 +0000)]
Need to pass a my_perl to S_my_localtime to make threaded builds build.

p4raw-id: //depot/perl@24983

15 years agoAdd a sanity check to Config::AUTOLOAD to prevent infinte loops if
Nicholas Clark [Sat, 25 Jun 2005 17:58:26 +0000 (17:58 +0000)]
Add a sanity check to Config::AUTOLOAD to prevent infinte loops if
Configure_heavy.pl gets truncated.

p4raw-id: //depot/perl@24982

15 years agoOn OS X to use perl's malloc need to USE_PERL_SBRK and emulate sbrk()
Nicholas Clark [Sat, 25 Jun 2005 15:45:06 +0000 (15:45 +0000)]
On OS X to use perl's malloc need to USE_PERL_SBRK and emulate sbrk()
using system malloc, because sbrk() stops giving us memory after about
14Mb.

p4raw-id: //depot/perl@24981

15 years agoNeed to skip exporting PL_dumper_fd unless it is used.
Nicholas Clark [Sat, 25 Jun 2005 15:42:30 +0000 (15:42 +0000)]
Need to skip exporting PL_dumper_fd unless it is used.

p4raw-id: //depot/perl@24980

15 years agoIf forking during global destruction, the child needs to close all
Nicholas Clark [Sat, 25 Jun 2005 12:55:09 +0000 (12:55 +0000)]
If forking during global destruction, the child needs to close all
unused file descriptors, else it can cause other processes to hang
because it accidentally holds open pipes and sockets.

p4raw-id: //depot/perl@24979

15 years agoUpgrade to Unicode::Collate 0.51
Rafael Garcia-Suarez [Fri, 24 Jun 2005 15:21:38 +0000 (15:21 +0000)]
Upgrade to Unicode::Collate 0.51

p4raw-id: //depot/perl@24978

15 years agoFix typo in win32.c
Steve Hay [Fri, 24 Jun 2005 14:38:05 +0000 (14:38 +0000)]
Fix typo in win32.c

Doesn't fix bcc32 + USE_LARGE_FILES, though :-(

p4raw-id: //depot/perl@24977

15 years agoExtend DEBUG_LEAKING_SCALARS_FORK_DUMP so it can also dump scalars
Nicholas Clark [Fri, 24 Jun 2005 14:04:19 +0000 (14:04 +0000)]
Extend DEBUG_LEAKING_SCALARS_FORK_DUMP so it can also dump scalars
which become unreferenced. This is less likely to be successful.
The #define needs a better name.

p4raw-id: //depot/perl@24976

15 years agoStop '"__attribute__format__" redefined' warnings from gcc on Win32
Steve Hay [Fri, 24 Jun 2005 13:56:15 +0000 (13:56 +0000)]
Stop '"__attribute__format__" redefined' warnings from gcc on Win32

p4raw-id: //depot/perl@24975

15 years agoMake opendir() filename const in Win32-land & friends
Steve Hay [Fri, 24 Jun 2005 12:27:45 +0000 (12:27 +0000)]
Make opendir() filename const in Win32-land & friends

That fact that it wasn't const already was highlighted by a warning
from pp_open_dir() generated by change 24743. Rather than undo the
const change in pp_open_dir(), this seems to make more sense. Hope I
haven't broken Netware or WinCE.

p4raw-id: //depot/perl@24974

15 years agoNeed to do some sort of die/warn to get the "global destruction"
Nicholas Clark [Fri, 24 Jun 2005 10:45:44 +0000 (10:45 +0000)]
Need to do some sort of die/warn to get the "global destruction"
text if the bug is still present.

p4raw-id: //depot/perl@24973

15 years agoFix t\op\gv.t on Win32
Steve Hay [Fri, 24 Jun 2005 09:37:24 +0000 (09:37 +0000)]
Fix t\op\gv.t on Win32

p4raw-id: //depot/perl@24972

15 years agoRemove cargo-culted binmode.
Rafael Garcia-Suarez [Fri, 24 Jun 2005 07:54:59 +0000 (07:54 +0000)]
Remove cargo-culted binmode.

p4raw-id: //depot/perl@24971