platform/upstream/perl.git
18 years agoCode assumes that *FOO{SCALAR} will always return a scalar reference,
Nicholas Clark [Mon, 30 Jan 2006 13:42:56 +0000 (13:42 +0000)]
Code assumes that *FOO{SCALAR} will always return a scalar reference,
so make it so, creating $FOO if necessary.
(Effectively this is a policy decision that PERL_DONT_CREATE_GVSV is
visible to XS code, but isn't visible to Perl code)

p4raw-id: //depot/perl@27002

18 years agoAdd -DPTR_IS_LONG when building with -Duse64bitint on Solaris/i386.
Steve Peters [Mon, 30 Jan 2006 13:25:04 +0000 (13:25 +0000)]
Add -DPTR_IS_LONG when building with -Duse64bitint on Solaris/i386.
Otherwise, the build fails in POSIX.

p4raw-id: //depot/perl@27001

18 years agoUse a union for storing the shared hash key reference count, rather
Nicholas Clark [Mon, 30 Jan 2006 12:59:12 +0000 (12:59 +0000)]
Use a union for storing the shared hash key reference count, rather
than messy pointer hacks.

p4raw-id: //depot/perl@27000

18 years ago[DOC PATCH] $^X isn't necessarily argv[0]
Yitzchak Scott-Thoennes [Mon, 30 Jan 2006 01:06:24 +0000 (17:06 -0800)]
[DOC PATCH] $^X isn't necessarily argv[0]
Message-ID: <20060130090624.GA3760@efn.org>

p4raw-id: //depot/perl@26999

18 years agomaint and blead: unicos.sh hints
Jarkko Hietaniemi [Sun, 29 Jan 2006 23:45:03 +0000 (01:45 +0200)]
maint and blead: unicos.sh hints
Message-Id: <200601292145.k0TLj3mW320311@kosh.hut.fi>

p4raw-id: //depot/perl@26998

18 years agoAssert that IVs and NVs can never be tainted.
Nicholas Clark [Mon, 30 Jan 2006 00:18:52 +0000 (00:18 +0000)]
Assert that IVs and NVs can never be tainted.

p4raw-id: //depot/perl@26997

18 years agoSolaris seems not to enjoy initialising constants from SIG_??? on 64
Nicholas Clark [Sun, 29 Jan 2006 22:00:11 +0000 (22:00 +0000)]
Solaris seems not to enjoy initialising constants from SIG_??? on 64
bit builds.

p4raw-id: //depot/perl@26996

18 years agoUpgrade to podlators-2.0.3
Steve Peters [Sun, 29 Jan 2006 20:43:44 +0000 (20:43 +0000)]
Upgrade to podlators-2.0.3

p4raw-id: //depot/perl@26995

18 years agoEmail change for Steven Schubiger
Rafael Garcia-Suarez [Sun, 29 Jan 2006 18:31:52 +0000 (18:31 +0000)]
Email change for Steven Schubiger

p4raw-id: //depot/perl@26994

18 years agoRe: [patch] s/ar ts/ar s/g
Philippe M. Chiasson [Thu, 26 Jan 2006 13:53:07 +0000 (05:53 -0800)]
Re: [patch] s/ar ts/ar s/g
From: "Philippe M. Chiasson" <gozer@ActiveState.com>
Message-ID: <43D944C3.60101@ActiveState.com>

p4raw-id: //depot/perl@26993

18 years agoC compilers don't let you return void. Pay attention gcc, and
Nicholas Clark [Sun, 29 Jan 2006 00:25:04 +0000 (00:25 +0000)]
C compilers don't let you return void. Pay attention gcc, and
stop aping Shildt.

p4raw-id: //depot/perl@26991

18 years agoAvoid using space to create 2 functions just to force mathoms to be
Nicholas Clark [Sun, 29 Jan 2006 00:09:10 +0000 (00:09 +0000)]
Avoid using space to create 2 functions just to force mathoms to be
linked. Instead, force the link via the perl interpreter structure
via a function pointer that gets replaced at run time anyway.

p4raw-id: //depot/perl@26990

18 years agoCall gv_fetchpvn_flags where we already know the length.
Nicholas Clark [Sat, 28 Jan 2006 17:46:56 +0000 (17:46 +0000)]
Call gv_fetchpvn_flags where we already know the length.

p4raw-id: //depot/perl@26989

18 years agoUpgrade to podlators-2.0.2
Steve Peters [Sat, 28 Jan 2006 17:25:03 +0000 (17:25 +0000)]
Upgrade to podlators-2.0.2

p4raw-id: //depot/perl@26988

18 years agoSqueeze more flag manipulations together in sv_setsv_flags.
Nicholas Clark [Sat, 28 Jan 2006 17:15:21 +0000 (17:15 +0000)]
Squeeze more flag manipulations together in sv_setsv_flags.

p4raw-id: //depot/perl@26987

18 years agoUpgrade to CPAN-1.83_59
Steve Peters [Sat, 28 Jan 2006 16:50:32 +0000 (16:50 +0000)]
Upgrade to CPAN-1.83_59

p4raw-id: //depot/perl@26986

18 years agoUpgrade to Archive-Tar-1.28
Steve Peters [Sat, 28 Jan 2006 16:43:43 +0000 (16:43 +0000)]
Upgrade to Archive-Tar-1.28

p4raw-id: //depot/perl@26985

18 years agoAdd gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.
Nicholas Clark [Sat, 28 Jan 2006 15:44:04 +0000 (15:44 +0000)]
Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.
Many strlen()s saved.

p4raw-id: //depot/perl@26983

18 years agoMerge the IOK and NOK clauses together in sv_setsv_flags.
Nicholas Clark [Sat, 28 Jan 2006 14:46:35 +0000 (14:46 +0000)]
Merge the IOK and NOK clauses together in sv_setsv_flags.

p4raw-id: //depot/perl@26982

18 years agoThe flags manipulation in sv_setsv_flags can be more efficient.
Nicholas Clark [Sat, 28 Jan 2006 14:23:49 +0000 (14:23 +0000)]
The flags manipulation in sv_setsv_flags can be more efficient.

p4raw-id: //depot/perl@26981

18 years agoPERL_DONT_CREATE_GVSV wasn't as effective as it should have been.
Nicholas Clark [Sat, 28 Jan 2006 14:02:10 +0000 (14:02 +0000)]
PERL_DONT_CREATE_GVSV wasn't as effective as it should have been.

p4raw-id: //depot/perl@26980

18 years agoBy changing SvVOK() from returning 0/1 to 0/pointer-to-magic we can
Nicholas Clark [Sat, 28 Jan 2006 13:38:28 +0000 (13:38 +0000)]
By changing SvVOK() from returning 0/1 to 0/pointer-to-magic we can
save duplicating mg_find calls, without changing the semantics in any
boolean context.

p4raw-id: //depot/perl@26979

18 years agoPull the other large chunk of PVGV assignment code into S_pvgv_assign.
Nicholas Clark [Sat, 28 Jan 2006 12:49:15 +0000 (12:49 +0000)]
Pull the other large chunk of PVGV assignment code into S_pvgv_assign.
There seems to be some duplication with S_glob_assign.

p4raw-id: //depot/perl@26978

18 years agoRemove goto glob_assign;
Nicholas Clark [Sat, 28 Jan 2006 12:26:47 +0000 (12:26 +0000)]
Remove goto glob_assign;

p4raw-id: //depot/perl@26977

18 years agoPull glob_assign out from sv_setsv_flags into a static function.
Nicholas Clark [Sat, 28 Jan 2006 12:08:01 +0000 (12:08 +0000)]
Pull glob_assign out from sv_setsv_flags into a static function.

p4raw-id: //depot/perl@26976

18 years agoUpdate Changes
Rafael Garcia-Suarez [Sat, 28 Jan 2006 11:00:30 +0000 (11:00 +0000)]
Update Changes

p4raw-id: //depot/perl@26975

18 years agoAdd perl 5.9.3 in release list
Rafael Garcia-Suarez [Sat, 28 Jan 2006 10:57:04 +0000 (10:57 +0000)]
Add perl 5.9.3 in release list

p4raw-id: //depot/perl@26974

18 years agoRe: Make Passive mode the default for Net::FTP
Gisle Aas [Fri, 27 Jan 2006 07:21:16 +0000 (23:21 -0800)]
Re: Make Passive mode the default for Net::FTP
Message-ID: <lrslr91ytv.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@26970

18 years agoOops. Forgot to add this file.
Rafael Garcia-Suarez [Fri, 27 Jan 2006 18:27:22 +0000 (18:27 +0000)]
Oops. Forgot to add this file.

p4raw-id: //depot/perl@26969

18 years agoRegenerate META.yml
Rafael Garcia-Suarez [Fri, 27 Jan 2006 18:07:54 +0000 (18:07 +0000)]
Regenerate META.yml

p4raw-id: //depot/perl@26968

18 years agoRegenerate Changes; remove ^M chars in Changes
Rafael Garcia-Suarez [Fri, 27 Jan 2006 18:04:17 +0000 (18:04 +0000)]
Regenerate Changes; remove ^M chars in Changes

p4raw-id: //depot/perl@26967

18 years agoRemove patch number
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:47:32 +0000 (17:47 +0000)]
Remove patch number

p4raw-id: //depot/perl@26966

18 years agoMention ptardiff in perldelta.
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:44:48 +0000 (17:44 +0000)]
Mention ptardiff in perldelta.

p4raw-id: //depot/perl@26965

18 years agoDon't install ptardiff in the module tree
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:37:27 +0000 (17:37 +0000)]
Don't install ptardiff in the module tree

p4raw-id: //depot/perl@26964

18 years agoInstall the ptardiff utility that comes with Archive::Tar
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:19:52 +0000 (17:19 +0000)]
Install the ptardiff utility that comes with Archive::Tar

p4raw-id: //depot/perl@26963

18 years agoInstall nit : README.e2x should be installed, the other READMEs shouldn't
Rafael Garcia-Suarez [Fri, 27 Jan 2006 17:04:35 +0000 (17:04 +0000)]
Install nit : README.e2x should be installed, the other READMEs shouldn't

p4raw-id: //depot/perl@26962

18 years agoRegenerate PODs
Rafael Garcia-Suarez [Fri, 27 Jan 2006 16:31:33 +0000 (16:31 +0000)]
Regenerate PODs

p4raw-id: //depot/perl@26961

18 years agoSome spelling fixes by David Landgren.
Rafael Garcia-Suarez [Fri, 27 Jan 2006 15:35:01 +0000 (15:35 +0000)]
Some spelling fixes by David Landgren.
Mention perltodo.

p4raw-id: //depot/perl@26960

18 years agoRevert change 24461, now that change 26757 allows TEST
Rafael Garcia-Suarez [Fri, 27 Jan 2006 15:26:05 +0000 (15:26 +0000)]
Revert change 24461, now that change 26757 allows TEST
to accept extra output from module tests

p4raw-id: //depot/perl@26959

18 years agoquiet gcc Info message in cygwin
Yitzchak Scott-Thoennes [Wed, 25 Jan 2006 19:16:09 +0000 (11:16 -0800)]
quiet gcc Info message in cygwin
Message-ID: <20060126031608.GA2588@efn.org>

p4raw-id: //depot/perl@26958

18 years agoRemove note about #elif, see :
Steve Hay [Fri, 27 Jan 2006 11:09:02 +0000 (11:09 +0000)]
Remove note about #elif, see :
Subject: Re: Change 26954: Simplify nested '#ifdef' by replacing it with '#elif defined()'
Message-ID: <43D9FF4E.6010501@uk.radan.com>

p4raw-id: //depot/perl@26957

18 years agoA description of the new constants.
Nicholas Clark [Fri, 27 Jan 2006 10:36:05 +0000 (10:36 +0000)]
A description of the new constants.

p4raw-id: //depot/perl@26955

18 years agoSimplify nested '#ifdef' by replacing it with '#elif defined()'
Gisle Aas [Fri, 27 Jan 2006 08:54:04 +0000 (08:54 +0000)]
Simplify nested '#ifdef' by replacing it with '#elif defined()'

p4raw-id: //depot/perl@26954

18 years agoSafer implementation of RTRIM().
Gisle Aas [Fri, 27 Jan 2006 08:49:34 +0000 (08:49 +0000)]
Safer implementation of RTRIM().
Don't rely on SvCUR to be sane unless SvPOK.

p4raw-id: //depot/perl@26953

18 years agoChange 26781/26830 (SvRTRIM should also write a new '\0' at the end) can cause segfaults
Philippe M. Chiasson [Thu, 26 Jan 2006 13:39:59 +0000 (05:39 -0800)]
Change 26781/26830 (SvRTRIM should also write a new '\0' at the end) can cause segfaults
From: "Philippe M. Chiasson" <gozer@ActiveState.com>
Message-ID: <43D941AF.1060503@ActiveState.com>
Date: Thu, 26 Jan 2006 13:39:59 -0800

p4raw-id: //depot/perl@26952

18 years agoFix a few nits in perl593delta
Steve Peters [Thu, 26 Jan 2006 19:23:48 +0000 (19:23 +0000)]
Fix a few nits in perl593delta

p4raw-id: //depot/perl@26951

18 years agominiperl isn't enough anymore to run pod2man.
Rafael Garcia-Suarez [Thu, 26 Jan 2006 18:48:27 +0000 (18:48 +0000)]
miniperl isn't enough anymore to run pod2man.

p4raw-id: //depot/perl@26950

18 years ago2 spelling corrections, and rephrase the entry on perlivp (better
Nicholas Clark [Thu, 26 Jan 2006 18:35:56 +0000 (18:35 +0000)]
2 spelling corrections, and rephrase the entry on perlivp (better
grammer, more succinct)

p4raw-id: //depot/perl@26949

18 years agoMore work on perldelta
Rafael Garcia-Suarez [Thu, 26 Jan 2006 18:14:26 +0000 (18:14 +0000)]
More work on perldelta

p4raw-id: //depot/perl@26948

18 years agoMake dump and -u croak on Win32 and Cygwin to avoid confusion
Yves Orton [Thu, 26 Jan 2006 15:40:42 +0000 (16:40 +0100)]
Make dump and -u croak on Win32 and Cygwin to avoid confusion
such as was seen here:

Subject: Weird Win32 error: "This application has requested the Runtime to terminate it in an unusual way."
Message-ID: <9b18b3110601260640x34b2442cnf5379d2f83b74187@mail.gmail.com>

p4raw-id: //depot/perl@26947

18 years agoSvREADONLY_off inside the magic routines is also dangerous on shared
Nicholas Clark [Thu, 26 Jan 2006 14:57:42 +0000 (14:57 +0000)]
SvREADONLY_off inside the magic routines is also dangerous on shared
hash key scalars, so decompose them to normal scalars if they ever
get here.

p4raw-id: //depot/perl@26946

18 years agoassertions.pm is dual-lived
Rafael Garcia-Suarez [Thu, 26 Jan 2006 11:49:22 +0000 (11:49 +0000)]
assertions.pm is dual-lived

p4raw-id: //depot/perl@26945

18 years agoaelemfast optimization opclass problem (c.f. [perl #38279])
Stephen McCamant [Tue, 24 Jan 2006 07:23:00 +0000 (07:23 +0000)]
aelemfast optimization opclass problem (c.f. [perl #38279])
Message-ID: <17365.51166.604020.571992@conquest.OCF.Berkeley.EDU>

p4raw-id: //depot/perl@26943

18 years agoSimplify &IO::Handle::say
Gisle Aas [Tue, 24 Jan 2006 05:01:28 +0000 (21:01 -0800)]
Simplify &IO::Handle::say
Message-ID: <lrzmll7pav.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@26941

18 years agoFix a regression on suidperl : the error message "No #! line" was
Rafael Garcia-Suarez [Tue, 24 Jan 2006 15:10:27 +0000 (15:10 +0000)]
Fix a regression on suidperl : the error message "No #! line" was
produced in erroneous cases, because we used to read values in a
string buffer that pointed to nothing.

p4raw-id: //depot/perl@26940

18 years agoRemove d_nanosleep from win32 configs
Steve Hay [Tue, 24 Jan 2006 12:13:15 +0000 (12:13 +0000)]
Remove d_nanosleep from win32 configs
Change 19899 removed them before, but they have accidentally crept back.

p4raw-id: //depot/perl@26936

18 years agoSPRINTF_RETURNS_STRLEN isn't really a compile-time option
Steve Hay [Tue, 24 Jan 2006 09:22:44 +0000 (09:22 +0000)]
SPRINTF_RETURNS_STRLEN isn't really a compile-time option
From: Gisle Aas <gisle@ActiveState.com>
Date: 23 Jan 2006 02:12:04 -0800
Message-ID: <lr3bjfb6dn.fsf@caliper.activestate.com>

Subject: RE: SPRINTF_RETURNS_STRLEN isn't really a compile-time option
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 23 Jan 2006 11:30:51 -0800
Message-ID: <008001c62053$86adf680$2217a8c0@candy>

p4raw-id: //depot/perl@26935

18 years agoMore work on perldelta
Rafael Garcia-Suarez [Mon, 23 Jan 2006 19:24:06 +0000 (19:24 +0000)]
More work on perldelta

p4raw-id: //depot/perl@26933

18 years agoconstant_add_symbol needs to be static, else static builds can fail at
Nicholas Clark [Mon, 23 Jan 2006 19:06:41 +0000 (19:06 +0000)]
constant_add_symbol needs to be static, else static builds can fail at
link time. (*How* many meanings is "static" overloaded with?)

p4raw-id: //depot/perl@26932

18 years agoTru64: -Uusedl: lib/ExtUtils/t/Embed.t
Jarkko Hietaniemi [Mon, 23 Jan 2006 20:34:18 +0000 (22:34 +0200)]
Tru64: -Uusedl: lib/ExtUtils/t/Embed.t
Message-ID: <43D521AA.7030008@gmail.com>

p4raw-id: //depot/perl@26930

18 years agoUpgrade to Pod-Simple-3.04
Steve Peters [Mon, 23 Jan 2006 15:56:34 +0000 (15:56 +0000)]
Upgrade to Pod-Simple-3.04

p4raw-id: //depot/perl@26929

18 years agoNow that change #26410 is reverted, mark as TODO the tests added
Rafael Garcia-Suarez [Mon, 23 Jan 2006 15:28:51 +0000 (15:28 +0000)]
Now that change #26410 is reverted, mark as TODO the tests added
by change #26925.
p4raw-link: @26925 on //depot/perl: 86f12da24a95dda38e6d599b881a5cca226226e4
p4raw-link: @26410 on //depot/perl: e26a497577f3ce7b9a4d9e1e62062839554dfd8f

p4raw-id: //depot/perl@26928

18 years agoMissing chunk in change #26926
Rafael Garcia-Suarez [Mon, 23 Jan 2006 15:18:30 +0000 (15:18 +0000)]
Missing chunk in change #26926
p4raw-link: @26926 on //depot/perl: 6fbb66d654f8539b40e6cdc4ce45f9e073f37d64

p4raw-id: //depot/perl@26927

18 years agoRevert change 26410, marking the test that was added there as TODO.
Nicholas Clark [Wed, 18 Jan 2006 21:30:00 +0000 (21:30 +0000)]
Revert change 26410, marking the test that was added there as TODO.
See the thread :
Subject: LVALUE m//g (was Re: au revoir ...)
Message-ID: <20060118203058.GQ616@plum.flirble.org>

p4raw-id: //depot/perl@26926

18 years agoChange the regression test added by 26410 to use test.pl; this makes
Nicholas Clark [Mon, 23 Jan 2006 15:11:11 +0000 (15:11 +0000)]
Change the regression test added by 26410 to use test.pl; this makes
it easier to TODO if needed.
Add the TODO test provided by Rick Delaney, but not as TODO, because
change 26410 also made pos on LVALUE subroutines work for the first
time.

p4raw-id: //depot/perl@26925

18 years agoUn-const magic virtual tables; this consting breaks the nasty
Rafael Garcia-Suarez [Mon, 23 Jan 2006 14:44:59 +0000 (14:44 +0000)]
Un-const magic virtual tables; this consting breaks the nasty
things done by Swig, as noticed by Audrey.

p4raw-id: //depot/perl@26924

18 years agoUpgrade to CPAN-1.83_58
Steve Peters [Mon, 23 Jan 2006 14:35:52 +0000 (14:35 +0000)]
Upgrade to CPAN-1.83_58

p4raw-id: //depot/perl@26923

18 years agoAvoid warning with MS Visual C compiler.
Gisle Aas [Mon, 23 Jan 2006 12:33:02 +0000 (12:33 +0000)]
Avoid warning with MS Visual C compiler.
Encode.xs(443) : warning C4761: integral size mismatch in argument; conversion supplied

p4raw-id: //depot/perl@26922

18 years agoAvoid most getprotobyname/number calls in IO::Socket::INET
Gisle Aas [Wed, 18 Jan 2006 09:28:24 +0000 (01:28 -0800)]
Avoid most getprotobyname/number calls in IO::Socket::INET
Message-ID: <lr3bjlbg3r.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@26921

18 years agoMake Manifest.t do what is says it's doing.
Craig A. Berry [Sat, 21 Jan 2006 17:05:07 +0000 (17:05 +0000)]
Make Manifest.t do what is says it's doing.

p4raw-id: //depot/perl@26919

18 years agoRemove wrong cast to (void *), which fixes a gcc warning, and use
Marcus Holland-Moritz [Sat, 21 Jan 2006 15:31:06 +0000 (15:31 +0000)]
Remove wrong cast to (void *), which fixes a gcc warning, and use
the return value of upg_version() at least once in the core.

p4raw-id: //depot/perl@26918

18 years agoNote 5.8.8-RC1
Nicholas Clark [Fri, 20 Jan 2006 10:12:12 +0000 (10:12 +0000)]
Note 5.8.8-RC1

p4raw-id: //depot/perl@26915

18 years agoUpgrade to Devel::PPPort 3.08
Marcus Holland-Moritz [Thu, 19 Jan 2006 18:44:34 +0000 (18:44 +0000)]
Upgrade to Devel::PPPort 3.08

p4raw-id: //depot/perl@26914

18 years agofind_perl() must be after environment initialization
Craig A. Berry [Thu, 19 Jan 2006 04:55:19 +0000 (04:55 +0000)]
find_perl() must be after environment initialization

p4raw-id: //depot/perl@26913

18 years agoFix hardcoded "/" in a filepath that causes ext/List/Util/t/p_tainted.t
Steve Peters [Thu, 19 Jan 2006 02:58:37 +0000 (02:58 +0000)]
Fix hardcoded "/" in a filepath that causes ext/List/Util/t/p_tainted.t
to fail on VMS.

p4raw-id: //depot/perl@26912

18 years agoFix another concatenated filepath in a test for Digest::SHA.
Steve Peters [Thu, 19 Jan 2006 02:32:06 +0000 (02:32 +0000)]
Fix another concatenated filepath in a test for Digest::SHA.

p4raw-id: //depot/perl@26911

18 years agoIntegrate 26847 from maint.
Nicholas Clark [Wed, 18 Jan 2006 23:52:20 +0000 (23:52 +0000)]
Integrate 26847 from maint.
[Whoops, that was never the plan. Didn't realise which directory I was
 in]

p4raw-id: //depot/perl@26910
p4raw-integrated: from //depot/maint-5.8/perl@26904 'merge in'
Porting/Maintainers.pl (@26588..)
p4raw-integrated: from //depot/maint-5.8/perl@26847 'merge in' AUTHORS
(@26590..)

18 years agoChange 26410 caused a regression, with the RVALUE return value of
Nicholas Clark [Wed, 18 Jan 2006 18:02:17 +0000 (18:02 +0000)]
Change 26410 caused a regression, with the RVALUE return value of
method calls now failing if bound to a global match. Add a TODO test.

p4raw-id: //depot/perl@26904

18 years agoAllow IPPROTO_ICMP and IPPROTO_UDP to be exported.
Gisle Aas [Wed, 18 Jan 2006 14:43:14 +0000 (14:43 +0000)]
Allow IPPROTO_ICMP and IPPROTO_UDP to be exported.
These were introduced in change 26897.

p4raw-id: //depot/perl@26903

18 years agoUse the IPPROTO_TCP constant instead of 6.
Gisle Aas [Wed, 18 Jan 2006 14:41:17 +0000 (14:41 +0000)]
Use the IPPROTO_TCP constant instead of 6.

p4raw-id: //depot/perl@26902

18 years agoChange all NEWSV() to newSV() in the core and non-dual-lived modules.
Steve Hay [Wed, 18 Jan 2006 14:23:09 +0000 (14:23 +0000)]
Change all NEWSV() to newSV() in the core and non-dual-lived modules.
Keep NEWSV() itself for backwards-compatibility outside of the core,
but don't advertise it any more.
(cf. change #25101).
p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada

p4raw-id: //depot/perl@26901

18 years agoDigest::SHA's t/2-nist-sha-oo.t has some path related problems on
Steve Peters [Wed, 18 Jan 2006 13:32:09 +0000 (13:32 +0000)]
Digest::SHA's t/2-nist-sha-oo.t has some path related problems on
VMS as well.

p4raw-id: //depot/perl@26900

18 years agoFixes for Digest::SHA. Replaced old ppport.h file with a new one
Steve Peters [Wed, 18 Jan 2006 13:09:10 +0000 (13:09 +0000)]
Fixes for Digest::SHA.  Replaced old ppport.h file with a new one
generated from Devel::PPPort 3.07.  Also, fixed a UNIX-based path
element that caused test failures on VMS (reported by John E. Malmberg
<wb8tyw@qsl.net>).

p4raw-id: //depot/perl@26899

18 years agoMake sure the most common IPPROTO_* constants are always available.
Gisle Aas [Wed, 18 Jan 2006 11:57:07 +0000 (11:57 +0000)]
Make sure the most common IPPROTO_* constants are always available.
These are well known numbers so it should not be a problem to
hardcode values when no constant is provided by the C library.
Ref <http://www.iana.org/assignments/protocol-numbers>.

On some old glibc systems (eg Redhat 6) IPPROTO_TCP is an enum only
and this change workaround that problem as well.

p4raw-id: //depot/perl@26897

18 years agoSuppress "statement not reached" warning from the Sun C compiler.
Gisle Aas [Wed, 18 Jan 2006 10:12:14 +0000 (10:12 +0000)]
Suppress "statement not reached" warning from the Sun C compiler.

p4raw-id: //depot/perl@26893

18 years agoExplain better how that test count works.
Rafael Garcia-Suarez [Wed, 18 Jan 2006 10:06:24 +0000 (10:06 +0000)]
Explain better how that test count works.

p4raw-id: //depot/perl@26892

18 years agoNew t/comp/require.t tests should go before the conditional exit.
Nicholas Clark [Wed, 18 Jan 2006 10:02:19 +0000 (10:02 +0000)]
New t/comp/require.t tests should go before the conditional exit.

p4raw-id: //depot/perl@26891

18 years agospecial VMS handling no longer needed since we now close the file
Craig A. Berry [Wed, 18 Jan 2006 05:12:10 +0000 (05:12 +0000)]
special VMS handling no longer needed since we now close the file

p4raw-id: //depot/perl@26889

18 years agoGisle points out that it's ok to ignore the return value of newSVrv.
Rafael Garcia-Suarez [Tue, 17 Jan 2006 21:45:37 +0000 (21:45 +0000)]
Gisle points out that it's ok to ignore the return value of newSVrv.
Due to how embed.pl is implemented, this also has the unfortunate
side-effect of removing __attribute__malloc__ from the attributes of
this function, but given that the new pointer is stored elsewhere
anyway, this shouldn't impact what gcc could have optimized.

p4raw-id: //depot/perl@26885

18 years agoRegression test for change #26881
Rafael Garcia-Suarez [Tue, 17 Jan 2006 21:22:38 +0000 (21:22 +0000)]
Regression test for change #26881
p4raw-link: @26881 on //depot/perl: ae706db49f17350f7e2ed5eccdc792223f4ea020

p4raw-id: //depot/perl@26883

18 years agoThe current OP that is tested in doeval() can be a require(), an
Rafael Garcia-Suarez [Tue, 17 Jan 2006 19:03:51 +0000 (19:03 +0000)]
The current OP that is tested in doeval() can be a require(), an
eval() or a do(). When we test whether OPf_SPECIAL is set on it, be
sure to take into account that it's the eval-related meaning of
OPf_SPECIAL we're testing for, not the require-related one.

p4raw-id: //depot/perl@26881

18 years agoMake the description of $^M in perlvar a bit more clear
Rafael Garcia-Suarez [Tue, 17 Jan 2006 16:15:15 +0000 (16:15 +0000)]
Make the description of $^M in perlvar a bit more clear
w.r.t. cross-references to the INSTALL document. (spotted
by Stas Bekman)

p4raw-id: //depot/perl@26878

18 years agoRe: [PATCH] Updated README.macosx
Sherm Pendley [Mon, 16 Jan 2006 16:53:23 +0000 (11:53 -0500)]
Re: [PATCH] Updated README.macosx
Message-Id: <619C9A5D-972F-4B90-A99A-B4B6D04C584D@dot-app.org>

p4raw-id: //depot/perl@26877

18 years agoMore readable MEM_WRAP_CHECK_1() macro.
Gisle Aas [Tue, 17 Jan 2006 11:37:54 +0000 (11:37 +0000)]
More readable MEM_WRAP_CHECK_1() macro.
This form also avoids the "dead part of constant expression is nonconstant"
warning from the Sun Studio 10 compiler.

p4raw-id: //depot/perl@26871

18 years agoDots in directory names aren't nice on VMS.
Craig A. Berry [Tue, 17 Jan 2006 04:03:01 +0000 (04:03 +0000)]
Dots in directory names aren't nice on VMS.

p4raw-id: //depot/perl@26870

18 years agomore case tolerance for vms/ext/filespec.t
Craig A. Berry [Tue, 17 Jan 2006 03:28:20 +0000 (03:28 +0000)]
more case tolerance for vms/ext/filespec.t

p4raw-id: //depot/perl@26869

18 years agoDon't warn about a directory being closed in the DESTROY for
Steve Peters [Mon, 16 Jan 2006 22:31:52 +0000 (22:31 +0000)]
Don't warn about a directory being closed in the DESTROY for
IO::Dir.

p4raw-id: //depot/perl@26868

18 years agodefined %foo::bar:: wasn't working like it used to do in evals
Rafael Garcia-Suarez [Mon, 16 Jan 2006 19:16:58 +0000 (19:16 +0000)]
defined %foo::bar:: wasn't working like it used to do in evals
(and, consequently, when require'ing modules.)

p4raw-id: //depot/perl@26867

18 years agoUpgrade to Devel::PPPort 3.07
Marcus Holland-Moritz [Mon, 16 Jan 2006 18:13:28 +0000 (18:13 +0000)]
Upgrade to Devel::PPPort 3.07

p4raw-id: //depot/perl@26866

18 years agoUpgrade to Encode 2.14
Rafael Garcia-Suarez [Mon, 16 Jan 2006 14:09:29 +0000 (14:09 +0000)]
Upgrade to Encode 2.14

p4raw-id: //depot/perl@26863