platform/upstream/perl.git
19 years ago[perl #17487] ncftp only handles http
Michael G Schwern [Mon, 11 Jul 2005 23:19:06 +0000 (16:19 -0700)]
[perl #17487] ncftp only handles http
From: "Michael G Schwern via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-17487-116934.11.3382445877892@perl.org>

(and bump $VERSION (1.76_01 is a CPAN release already))

p4raw-id: //depot/perl@25124

19 years agoRe: Scalar leaked in 'local $0' under ithreads + taint mode
Steve Hay [Mon, 11 Jul 2005 13:29:37 +0000 (14:29 +0100)]
Re: Scalar leaked in 'local $0' under ithreads + taint mode
Message-ID: <42D26631.1070500@uk.radan.com>

p4raw-id: //depot/perl@25123

19 years ago[perl #36502] File::Copy::mv fails to replicate behavior of Unix mv
Michael G Schwern [Mon, 11 Jul 2005 19:16:10 +0000 (12:16 -0700)]
[perl #36502] File::Copy::mv fails to replicate behavior of Unix mv
From: "Michael G Schwern via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36502-116917.0.56038652013207@perl.org>

p4raw-id: //depot/perl@25122

19 years agoCleanup File::Copy tests
Michael G. Schwern [Mon, 11 Jul 2005 18:45:42 +0000 (11:45 -0700)]
Cleanup File::Copy tests
Message-ID: <20050712014542.GB20855@windhund.schwern.org>

(and fix the SKIP: {} blocks to say $how_many)

p4raw-id: //depot/perl@25121

19 years agoRe: [perl #36502] File::Copy::mv fails to replicate behavior of Unix mv
Michael G. Schwern [Mon, 11 Jul 2005 17:35:14 +0000 (10:35 -0700)]
Re: [perl #36502] File::Copy::mv fails to replicate behavior of Unix mv
Message-ID: <20050712003514.GA20132@windhund.schwern.org>

p4raw-id: //depot/perl@25120

19 years agoMissed a New() -> Newx().
Steve Hay [Tue, 12 Jul 2005 09:01:11 +0000 (09:01 +0000)]
Missed a New() -> Newx().

This one only had 3 args to start with! Presumably nobody uses
YYERROR_VERBOSE.  (The yystpcpy() calls don't look right either,
but someone else that is interested in YYERROR_VERBOSE will have
to look into that.)

p4raw-id: //depot/perl@25119

19 years agoHack out -DL documentation from perldebuguts.pod
Steve Hay [Tue, 12 Jul 2005 08:46:13 +0000 (08:46 +0000)]
Hack out -DL documentation from perldebuguts.pod

Now that the perl core uses Newx*() rather than New*() this chunk
of old documentation is more obsolete than ever before.

p4raw-id: //depot/perl@25118

19 years agoFix worrying typo in handy.h :-s
Steve Hay [Tue, 12 Jul 2005 08:20:11 +0000 (08:20 +0000)]
Fix worrying typo in handy.h :-s

p4raw-id: //depot/perl@25117

19 years agoChange New*() to Newx*() in various comments and documentation
Steve Hay [Tue, 12 Jul 2005 08:17:47 +0000 (08:17 +0000)]
Change New*() to Newx*() in various comments and documentation

p4raw-id: //depot/perl@25116

19 years ago[patch: handy.c] update Newx API pod to mention PERL_MEM_LOG build opt
Jim Cromie [Mon, 11 Jul 2005 19:18:02 +0000 (13:18 -0600)]
[patch: handy.c]  update Newx API pod to mention PERL_MEM_LOG build opt
Message-ID: <42D31A4A.1020305@divsol.com>

(with some minor tweaks)

p4raw-id: //depot/perl@25115

19 years agoUnderstand "ok" with no number
Michael G. Schwern [Mon, 11 Jul 2005 18:41:30 +0000 (11:41 -0700)]
Understand "ok" with no number
Message-ID: <20050712014130.GA20855@windhund.schwern.org>

p4raw-id: //depot/perl@25114

19 years ago[patch: sv.c] reuse new_body_inline in Perl_new_body
Jim Cromie [Sun, 10 Jul 2005 15:59:30 +0000 (09:59 -0600)]
[patch: sv.c] reuse new_body_inline in Perl_new_body
Message-ID: <42D19A42.8040409@divsol.com>

p4raw-id: //depot/perl@25113

19 years agoperlfunc.pod
Piotr Fusik [Sat, 9 Jul 2005 16:21:05 +0000 (18:21 +0200)]
perlfunc.pod
From: "Piotr Fusik" <pfusik@op.pl>
Message-ID: <01de01c58491$f3182f60$a6d24dd5@piec>

p4raw-id: //depot/perl@25112

19 years ago[patch hv.h doc] HvNAME
Steve Hay [Mon, 11 Jul 2005 14:41:27 +0000 (14:41 +0000)]
[patch hv.h doc] HvNAME
From: Stas Bekman <stas@stason.org>
Date: Fri, 08 Jul 2005 13:52:13 +0300
Message-ID: <42CE5ADD.3020003@stason.org>

Subject: Re: [patch hv.h doc] HvNAME
From: Nicholas Clark <nick@ccl4.org>
Date: Sat, 9 Jul 2005 15:23:51 +0100
Message-ID: <20050709142351.GT15833@plum.flirble.org>

p4raw-id: //depot/perl@25111

19 years agono code before declarations!
Dave Mitchell [Sun, 10 Jul 2005 23:04:26 +0000 (23:04 +0000)]
no code before declarations!

p4raw-id: //depot/perl@25110

19 years agoyet another way of debugging memory allocations
Jarkko Hietaniemi [Sun, 10 Jul 2005 21:50:27 +0000 (00:50 +0300)]
yet another way of debugging memory allocations
Message-ID: <42D16DF3.4040806@gmail.com>

tweak PERL_MEM_LOG

p4raw-id: //depot/perl@25109

19 years agorun regen.pl
Dave Mitchell [Sun, 10 Jul 2005 19:57:31 +0000 (19:57 +0000)]
run regen.pl

p4raw-id: //depot/perl@25108

19 years agoMaking my way thru embed.fnc
Andy Lester [Sun, 10 Jul 2005 14:36:35 +0000 (09:36 -0500)]
Making my way thru embed.fnc
Message-ID: <20050710193635.GC8081@petdance.com>

p4raw-id: //depot/perl@25107

19 years agoRe: [perl #36207] UTF8/Latin 1/i regexp "Malformed character" warning
Yves Orton [Fri, 8 Jul 2005 17:07:26 +0000 (19:07 +0200)]
Re: [perl #36207] UTF8/Latin 1/i regexp "Malformed character" warning
Message-ID: <9b18b3110507080807f16d1eb@mail.gmail.com>

Fix trie codepath of mixed utf8/latin1 pattern matches

p4raw-id: //depot/perl@25106

19 years agoyet another way of debugging memory allocations
Jarkko Hietaniemi [Sun, 10 Jul 2005 13:03:10 +0000 (16:03 +0300)]
yet another way of debugging memory allocations

Message-ID: <42D0F25E.3040801@gmail.com>

adds PERL_MEM_LOG and PERL_MEM_LOG_STDERR options

p4raw-id: //depot/perl@25105

19 years agosilence some compiler warnings
Dave Mitchell [Sun, 10 Jul 2005 11:39:50 +0000 (11:39 +0000)]
silence some compiler warnings

p4raw-id: //depot/perl@25104

19 years agoextend MEM_WRAP_CHECK supress warning hack to MEM_WRAP_CHECK_*
Dave Mitchell [Sun, 10 Jul 2005 11:15:32 +0000 (11:15 +0000)]
extend MEM_WRAP_CHECK supress warning hack to MEM_WRAP_CHECK_*

p4raw-id: //depot/perl@25103

19 years agosv_dec is supposed to go *down*, m'kay.
Nicholas Clark [Sat, 9 Jul 2005 15:44:17 +0000 (15:44 +0000)]
sv_dec is supposed to go *down*, m'kay.

p4raw-id: //depot/perl@25102

19 years agoRe: janitorial work ? [patch]
Jim Cromie [Wed, 6 Jul 2005 14:19:53 +0000 (08:19 -0600)]
Re: janitorial work ? [patch]
Message-ID: <42CC3CE9.5050606@divsol.com>

(reverted all dual-lived modules since they must work with older
perls too so must wait for a new Devel::PPPort)

p4raw-id: //depot/perl@25101

19 years agoWe no longer default to creating a new SV for GvSV.
Nicholas Clark [Fri, 8 Jul 2005 15:57:37 +0000 (15:57 +0000)]
We no longer default to creating a new SV for GvSV.

p4raw-id: //depot/perl@25100

19 years agoDEFSV causes GvSVn() to be used in lvalue context.
Nicholas Clark [Fri, 8 Jul 2005 15:57:16 +0000 (15:57 +0000)]
DEFSV causes GvSVn() to be used in lvalue context.
Not sure if instead we should recode DEFSV to avoid this, and leave
GvSVn() as rvalue only, like its namesakes.

p4raw-id: //depot/perl@25099

19 years agoRe: [PATCH] Pod::Html - correctly link to =item's on the same page
Yitzchak Scott-Thoennes [Thu, 7 Jul 2005 15:05:51 +0000 (08:05 -0700)]
Re: [PATCH] Pod::Html - correctly link to =item's on the same page
Message-ID: <20050707220551.GB2388@efn.org>

(plus fix a couple of POD warnings)

p4raw-id: //depot/perl@25098

19 years agobasename() and suffixes
Michael G. Schwern [Thu, 7 Jul 2005 15:38:32 +0000 (08:38 -0700)]
basename() and suffixes
Message-ID: <20050707223832.GA4782@windhund.schwern.org>

p4raw-id: //depot/perl@25097

19 years agoRe: [perl #36477] File::Basename basename() bug
Michael G. Schwern [Thu, 7 Jul 2005 14:16:01 +0000 (07:16 -0700)]
Re: [perl #36477] File::Basename basename() bug
Message-ID: <20050707211601.GA3769@windhund.schwern.org>

p4raw-id: //depot/perl@25096

19 years ago[perl #36207] UTF8/Latin 1/i regexp "Malformed character" warning
Dave Mitchell [Fri, 8 Jul 2005 01:43:24 +0000 (01:43 +0000)]
[perl #36207] UTF8/Latin 1/i regexp "Malformed character" warning
$utf8 =~ /latin/i didn't match.
Also added TODO for $latin =~ /utf8/i which also fails

p4raw-id: //depot/perl@25095

19 years agomore taint fallout from change 24943
Dave Mitchell [Thu, 7 Jul 2005 14:47:51 +0000 (14:47 +0000)]
more taint fallout from change 24943

p4raw-id: //depot/perl@25094

19 years agobug with charnames::viacode("0x1234") and optimize it
Tels [Wed, 6 Jul 2005 21:11:59 +0000 (23:11 +0200)]
bug with charnames::viacode("0x1234") and optimize it
Message-Id: <200507062112.12159@bloodgate.com>

p4raw-id: //depot/perl@25093

19 years agoReadParse in the CGI docs
Ton Hospel [Thu, 9 Oct 2003 15:04:53 +0000 (15:04 +0000)]
ReadParse in the CGI docs
From: "Ton Hospel" <me-02@ton.iguana.be>
To: perlbug@perl.org

(plus blank lines so example code is in verbatim paragraphs,
and bump $VERSION)

p4raw-id: //depot/perl@25092

19 years agoMention File::Spec in File::Basename
Michael G. Schwern [Wed, 6 Jul 2005 13:06:20 +0000 (06:06 -0700)]
Mention File::Spec in File::Basename
Message-ID: <20050706200620.GE15644@windhund.schwern.org>

(plus bump $VERSION)

p4raw-id: //depot/perl@25091

19 years ago[perl #22236] File::Basename behavior is misleading
Michael G Schwern [Wed, 6 Jul 2005 19:45:40 +0000 (19:45 +0000)]
[perl #22236] File::Basename behavior is misleading
From: "Michael G Schwern via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-22236-116656.1.59163789180809@perl.org>

p4raw-id: //depot/perl@25090

19 years agoFurther lies in the File::Basename docs
Michael G. Schwern [Wed, 6 Jul 2005 09:22:32 +0000 (02:22 -0700)]
Further lies in the File::Basename docs
Message-ID: <20050706162232.GA14495@windhund.schwern.org>

(plus some minor POD changes and a bug fix)

p4raw-id: //depot/perl@25089

19 years ago[perl #34171] bytes pragma error in substitution operator
Dave Mitchell [Thu, 7 Jul 2005 00:11:00 +0000 (00:11 +0000)]
[perl #34171] bytes pragma error in substitution operator

p4raw-id: //depot/perl@25088

19 years ago[perl #36470] 'undef $@; die' gives uninint value warning
Dave Mitchell [Wed, 6 Jul 2005 20:09:29 +0000 (20:09 +0000)]
[perl #36470] 'undef $@; die' gives uninint value warning

p4raw-id: //depot/perl@25087

19 years agoFile::Basename doc overhaul
Michael G. Schwern [Tue, 5 Jul 2005 20:11:27 +0000 (13:11 -0700)]
File::Basename doc overhaul
Message-ID: <20050706031127.GL9227@windhund.schwern.org>

(with some minor changes)

p4raw-id: //depot/perl@25086

19 years agosimple authors removal
Vadim Konovalov [Wed, 6 Jul 2005 00:15:48 +0000 (04:15 +0400)]
simple authors removal
Message-ID: <42CAEA74.1020108@vkonovalov.ru>

p4raw-id: //depot/perl@25085

19 years agoa long /etc/groups entry could cause memory exhaustion.
Dave Mitchell [Tue, 5 Jul 2005 18:17:34 +0000 (18:17 +0000)]
a long /etc/groups entry could cause memory exhaustion.
Too small a buffer would cause ERANGE and a retry with double the
buffer size. later at EOF, the apparent error got 'stuck' as
ERANGE rather than ENOENT, so the buffer size doubled recursively

p4raw-id: //depot/perl@25084

19 years agoPod::Html - correctly link to =item's on the same page
Yitzchak Scott-Thoennes [Mon, 4 Jul 2005 02:07:38 +0000 (19:07 -0700)]
Pod::Html - correctly link to =item's on the same page
Message-ID: <20050704090738.GA4056@efn.org>

(plus a new test, although it is currently marked TODO)

p4raw-id: //depot/perl@25083

19 years agoOops! Change 25080 should have updated checksums too.
Steve Hay [Tue, 5 Jul 2005 16:54:11 +0000 (16:54 +0000)]
Oops! Change 25080 should have updated checksums too.

p4raw-id: //depot/perl@25082

19 years agochange 24943 broke restoration of localized taint values
Dave Mitchell [Tue, 5 Jul 2005 13:01:23 +0000 (13:01 +0000)]
change 24943 broke restoration of localized taint values

p4raw-id: //depot/perl@25081

19 years agoRemove an unreferenced local variable in Digest-MD5
Steve Hay [Tue, 5 Jul 2005 10:32:08 +0000 (10:32 +0000)]
Remove an unreferenced local variable in Digest-MD5

p4raw-id: //depot/perl@25080

19 years agoRemove unnecessary null check
Andy Lester [Mon, 4 Jul 2005 14:12:00 +0000 (09:12 -0500)]
Remove unnecessary null check
Message-ID: <20050704191200.GA2614@petdance.com>

p4raw-id: //depot/perl@25079

19 years agoMake the tests for hv_free_ent and hv_delayfree_ent pass under
Nicholas Clark [Mon, 4 Jul 2005 19:07:31 +0000 (19:07 +0000)]
Make the tests for hv_free_ent and hv_delayfree_ent pass under
-DPURIFY too.

p4raw-id: //depot/perl@25078

19 years agoBetter string constant in hv.c
Andy Lester [Mon, 4 Jul 2005 13:53:49 +0000 (08:53 -0500)]
Better string constant in hv.c
Message-ID: <20050704185349.GA2351@petdance.com>

p4raw-id: //depot/perl@25077

19 years agoAdd regression test for change 25062
Steve Hay [Mon, 4 Jul 2005 16:15:37 +0000 (16:15 +0000)]
Add regression test for change 25062

p4raw-id: //depot/perl@25076

19 years agoUse void, not void *, to suppress RETVAL (and compiler warning)
Steve Hay [Mon, 4 Jul 2005 15:57:32 +0000 (15:57 +0000)]
Use void, not void *, to suppress RETVAL (and compiler warning)

p4raw-id: //depot/perl@25075

19 years agoPerl_share_hek needs exporting for change 25070 on Win32
Steve Hay [Mon, 4 Jul 2005 15:36:04 +0000 (15:36 +0000)]
Perl_share_hek needs exporting for change 25070 on Win32

p4raw-id: //depot/perl@25074

19 years agoRegen after change 25067
Steve Hay [Mon, 4 Jul 2005 15:34:11 +0000 (15:34 +0000)]
Regen after change 25067

p4raw-id: //depot/perl@25073

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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