19 years agoAvoid a buffer overflow with threads and PERLIO_DEBUG
Rafael Garcia-Suarez [Mon, 31 Jan 2005 08:35:51 +0000]
Avoid a buffer overflow with threads and PERLIO_DEBUG

p4raw-id: //depot/perl@23904

19 years agoDon't write to $PERLIO_DEBUG when setuid ([perl #33990])
Rafael Garcia-Suarez [Mon, 31 Jan 2005 08:19:10 +0000]
Don't write to $PERLIO_DEBUG when setuid ([perl #33990])

p4raw-id: //depot/perl@23903

19 years agominor corrections to comments in perly.y
Dave Mitchell [Sun, 30 Jan 2005 17:46:35 +0000]
minor corrections to comments in perly.y

p4raw-id: //depot/perl@23900

19 years agoh2hp: 2 fix
Olivier Thauvin [Fri, 28 Jan 2005 16:53:11 +0000]
h2hp: 2 fix
Message-Id: <200501281653.15708.olivier.thauvin@aerov.jussieu.fr>

p4raw-id: //depot/perl@23899

19 years ago[perl #33928] chomp() fails after alarm(), `sleep`
Dave Mitchell [Sat, 29 Jan 2005 16:14:20 +0000]
[perl #33928] chomp() fails after alarm(), `sleep`

PP_backtick's temp altering of PL_rs didn't restore after
an exception

p4raw-id: //depot/perl@23898

19 years agoMore consistent names for all the parameter name/declaration methods
Nicholas Clark [Fri, 28 Jan 2005 21:01:04 +0000]
More consistent names for all the parameter name/declaration methods

p4raw-id: //depot/perl@23897

19 years agoCalculate the number of tests in one place, so that the skip()s will
Nicholas Clark [Fri, 28 Jan 2005 13:59:40 +0000]
Calculate the number of tests in one place, so that the skip()s will
always agree with the plan()s

p4raw-id: //depot/perl@23894

19 years agoAdd a reference to books.perl.org.
Rafael Garcia-Suarez [Fri, 28 Jan 2005 08:53:47 +0000]
Add a reference to books.perl.org.

p4raw-id: //depot/perl@23893

19 years agoRetrieve the flag bit that only 'p' uses, so that it is spare for
Nicholas Clark [Thu, 27 Jan 2005 19:26:21 +0000]
Retrieve the flag bit that only 'p' uses, so that it is spare for
future use.

p4raw-id: //depot/perl@23892

19 years agoRe: [patch] decrufting OptreeCheck stuff
Jim Cromie [Sun, 16 Jan 2005 17:16:00 +0000]
Re: [patch] decrufting OptreeCheck stuff
Message-ID: <41EB03C0.7030509@divsol.com>
(with minor typos fixed)

p4raw-id: //depot/perl@23891

19 years agolibperl leaks a THREAD_KEY each time it is reloaded
Gisle Aas [Wed, 5 Jan 2005 03:21:06 +0000]
libperl leaks a THREAD_KEY each time it is reloaded
Message-ID: <lris6cxgt9.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@23890

19 years agoMake the byte order modifers < and > and the sign modifier ! (for
Nicholas Clark [Thu, 27 Jan 2005 17:29:04 +0000]
Make the byte order modifers < and > and the sign modifier ! (for
n N v V) conditionally compile. This means that the refactored
pp_pack/pp_unpack code can now be used in maint.

p4raw-id: //depot/perl@23889

19 years agoOops. Was forgetting to test n! N! v! V! in pack
Nicholas Clark [Thu, 27 Jan 2005 16:40:07 +0000]
Oops. Was forgetting to test n! N! v! V! in pack

p4raw-id: //depot/perl@23888

19 years agoCheck that the warning behaviour on the modifiers !, < and > is as we
Nicholas Clark [Thu, 27 Jan 2005 14:42:28 +0000]
Check that the warning behaviour on the modifiers !, < and > is as we
expect it for this perl.

p4raw-id: //depot/perl@23886

19 years agoMake the tests for the endianness modifiers < and >, and the
Nicholas Clark [Thu, 27 Jan 2005 11:27:12 +0000]
Make the tests for the endianness modifiers < and >, and the
signnedness modifier ! conditional on perl version. Surprisingly
little change needed.

p4raw-id: //depot/perl@23884

19 years ago&_q needs to *globally* escape ' and \ in its substitution.
Nicholas Clark [Thu, 27 Jan 2005 11:12:34 +0000]
&_q needs to *globally* escape ' and \ in its substitution.

p4raw-id: //depot/perl@23883

19 years agoBigInt mbi_rand.t failings
Tels [Tue, 25 Jan 2005 18:06:58 +0000]
BigInt mbi_rand.t failings
Message-Id: <200501251806.59782@bloodgate.com>

p4raw-id: //depot/perl@23882

19 years agoIntegrate change #23880 in original comment
Rafael Garcia-Suarez [Tue, 25 Jan 2005 16:12:08 +0000]
Integrate change #23880 in original comment
p4raw-link: @23880 on //depot/perl: 9c2fe30c684e721963ef24f7385a620d0e125995

p4raw-id: //depot/perl@23881

19 years agoperlapi.pod has pod errors
Jos I. Boumans [Tue, 25 Jan 2005 16:42:38 +0000]
perlapi.pod has pod errors
From: "Jos I. Boumans" <kane@xs4all.net>
Message-Id: <BDA482F7-6EE7-11D9-8AA7-000A95EF62E2@xs4all.net>

p4raw-id: //depot/perl@23880

19 years agoCorrect and update comments (before anyone writes in)
Nicholas Clark [Mon, 24 Jan 2005 23:16:04 +0000]
Correct and update comments (before anyone writes in)
Remove a temporary variable.

p4raw-id: //depot/perl@23879

19 years agoOoops. It was 190M when I was using 4 bytes per entry for lengths in
Nicholas Clark [Mon, 24 Jan 2005 22:10:36 +0000]
Ooops. It was 190M when I was using 4 bytes per entry for lengths in
the dump file. The newer format is only 135M

p4raw-id: //depot/perl@23878

19 years agoA script to regenerate Perl_keyword()
Nicholas Clark [Mon, 24 Jan 2005 22:06:05 +0000]
A script to regenerate Perl_keyword()

p4raw-id: //depot/perl@23877

19 years agoAdd weights to ExtUtils::Constant to allow sorting by expected
Nicholas Clark [Mon, 24 Jan 2005 22:05:29 +0000]
Add weights to ExtUtils::Constant to allow sorting by expected
frequency. This makes the Perl_keyword() replacement 20% faster,
rather than just 12%

p4raw-id: //depot/perl@23876

19 years agoReplace Perl_keyword() with a version that's 20% faster on typical
Nicholas Clark [Mon, 24 Jan 2005 21:43:52 +0000]
Replace Perl_keyword() with a version that's 20% faster on typical
input, generated by subclassing ExtUtils::Constant. (Typical input
being about 135M of input from running a lot of perl scripts)

p4raw-id: //depot/perl@23875

19 years agoassorted tempfile clean-up in the test suite
Craig A. Berry [Sun, 23 Jan 2005 14:23:17 +0000]
assorted tempfile clean-up in the test suite
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41F407B5.7020106@mac.com>

p4raw-id: //depot/perl@23874

19 years agoRevert change 23843.
Rafael Garcia-Suarez [Mon, 24 Jan 2005 13:14:21 +0000]
Revert change 23843.
(See discussion for bug [perl #31924])

p4raw-id: //depot/perl@23873

19 years ago[perl #33906] Missing \\ in perlre
Andrew [Sun, 23 Jan 2005 20:52:51 +0000]
[perl #33906] Missing \\ in perlre
From: Andrew (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33906-106339.17.5527961922343@perl.org>

p4raw-id: //depot/perl@23872

19 years agoTest::Harness::Straps::_default_inc shell problem
Craig A. Berry [Sun, 23 Jan 2005 13:44:49 +0000]
Test::Harness::Straps::_default_inc shell problem
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41F3FEB1.9020102@mac.com>

p4raw-id: //depot/perl@23871

19 years agoRe: [perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 15:16:16 +0000]
Re: [perl #33892] Add Interix support
Message-ID: <Pine.NEB.4.61.0501211424350.13373@duh.net.dhis.org>

p4raw-id: //depot/perl@23870

19 years agoRe: Smoke [5.9.2] 23863 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Jarkko Hietaniemi [Sun, 23 Jan 2005 21:25:01 +0000]
Re: Smoke [5.9.2] 23863 FAIL(F) MSWin32 WinXP/.Net SP1 (x86/1 cpu)
Message-Id:  <41F3FA0D.4010301@iki.fi>

The uc() memory reduction patch had a memory leak...

p4raw-id: //depot/perl@23869

19 years agoTidy up 2 comments
Nicholas Clark [Sun, 23 Jan 2005 22:06:01 +0000]
Tidy up 2 comments

p4raw-id: //depot/perl@23868

19 years agoAssimilate ExtUtils::Constant 0.16
Nicholas Clark [Sun, 23 Jan 2005 22:05:12 +0000]
Assimilate ExtUtils::Constant 0.16

p4raw-id: //depot/perl@23867

19 years agoSlightly terser code in S_regpposixcc (names inside [:*here*:])
Nicholas Clark [Sun, 23 Jan 2005 21:43:17 +0000]
Slightly terser code in S_regpposixcc (names inside [:*here*:])

p4raw-id: //depot/perl@23866

19 years agoRe: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Jarkko Hietaniemi [Sat, 22 Jan 2005 23:22:47 +0000]
Re: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Message-ID: <41F2C427.7020003@iki.fi>
Date: Sat, 22 Jan 2005 23:22:47 +0200

p4raw-id: //depot/perl@23864

19 years agoRe: uc($long_utf8_string) exhausts memory
Jarkko Hietaniemi [Sat, 22 Jan 2005 11:33:12 +0000]
Re: uc($long_utf8_string) exhausts memory
Message-Id:  <41F21DD8.3050500@iki.fi>

change #23857 miscalculated the SvGROW size
p4raw-link: @23857 on //depot/perl: 89ebb4a3f2a55825eeed13aaf58db5c73d2140ef

p4raw-id: //depot/perl@23863

19 years agoRe: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Jarkko Hietaniemi [Sat, 22 Jan 2005 19:45:02 +0000]
Re: Smoke [5.9.2] 23792 FAIL(F) osf1 V5.1 (21264A)/4 cpu)
Message-ID: <41F2911E.8090204@iki.fi>

(drop optimisation on pp_pack.c for gcc on osf1 to -O1)

p4raw-id: //depot/perl@23862

19 years agoUpdate copyright years and add editor blocks
Nicholas Clark [Sat, 22 Jan 2005 14:15:58 +0000]
Update copyright years and add editor blocks

p4raw-id: //depot/perl@23861

19 years agoRe: [PATCH] do not assume quads or long doubles
Jarkko Hietaniemi [Sat, 22 Jan 2005 11:21:14 +0000]
Re: [PATCH] do not assume quads or long doubles
Message-ID: <41F21B0A.2050301@iki.fi>
Date: Sat, 22 Jan 2005 11:21:14 +0200

p4raw-id: //depot/perl@23860

19 years agoRemove now-unnecessary check. (It's done earlier)
Nicholas Clark [Sat, 22 Jan 2005 00:39:41 +0000]
Remove now-unnecessary check. (It's done earlier)

p4raw-id: //depot/perl@23858

19 years agoRe: uc($long_utf8_string) exhausts memory
Jarkko Hietaniemi [Sat, 22 Jan 2005 00:20:12 +0000]
Re: uc($long_utf8_string) exhausts memory
Message-Id:  <41F1801C.3080201@iki.fi>

Make buffer size estimates for utf8 case conversion less maximally
pessimistic

p4raw-id: //depot/perl@23857

19 years agoShrink a switch() statment by driving the size calculations from the
Nicholas Clark [Fri, 21 Jan 2005 22:15:43 +0000]
Shrink a switch() statment by driving the size calculations from the
size table. This requires #ifdef()s in the size table initialiser.
Astoundingly this shaves over 6K of the object size with -Os on OS X.
I was expecting about 1K (due to shrinking a branch table). Mind you,
I'm not going to argue with what I got. :-)

p4raw-id: //depot/perl@23854

19 years agoMake the length overrun checking and stack extension table driven.
Nicholas Clark [Fri, 21 Jan 2005 16:46:49 +0000]
Make the length overrun checking and stack extension table driven.
(Shaves about 3k off pp_pack.o)

p4raw-id: //depot/perl@23853

19 years ago[perl #32503] Fix for Storable module
Steven N. Hirsch [Fri, 19 Nov 2004 13:06:57 +0000]
[perl #32503] Fix for Storable module
From: "Steven N. Hirsch" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-32503-100597.6.46123979926323@perl.org>

p4raw-id: //depot/perl@23852

19 years agoFix spurious warnings emitted by XSLoader via Data::Dumper
Rafael Garcia-Suarez [Fri, 21 Jan 2005 15:51:54 +0000]
Fix spurious warnings emitted by XSLoader via Data::Dumper

p4raw-id: //depot/perl@23851

19 years agoName another pack test
Nicholas Clark [Fri, 21 Jan 2005 15:43:24 +0000]
Name another pack test

p4raw-id: //depot/perl@23850

19 years ago[perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 14:36:31 +0000]
[perl #33892] Add Interix support
From: Todd Vierling (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33892-106280.17.6407478352545@perl.org>

(except the Configure chunk)
(and bump version numbers of modules)

p4raw-id: //depot/perl@23849

19 years ago[perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 14:36:31 +0000]
[perl #33892] Add Interix support
From: Todd Vierling (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33892-106280.17.6407478352545@perl.org>

p4raw-id: //depot/perl@23848

19 years agoUpgrade to Test::Harness 2.46
Rafael Garcia-Suarez [Fri, 21 Jan 2005 14:46:38 +0000]
Upgrade to Test::Harness 2.46

p4raw-id: //depot/perl@23847

19 years ago[perl #32967] [PATCH] Re: More B bugs: svref_2object
Stephen McCamant [Tue, 28 Dec 2004 16:01:49 +0000]
[perl #32967] [PATCH] Re: More B bugs: svref_2object
Message-ID: <16849.62445.116153.489478@apocalypse.OCF.Berkeley.EDU>

p4raw-id: //depot/perl@23845

19 years ago[Patch] [perl #32446] close leaves fd open
Steffen Ullrich [Wed, 1 Dec 2004 15:22:34 +0000]
[Patch] [perl #32446]  close leaves fd open
Message-ID: <20041201142236.4273.qmail@lists.develooper.com>

p4raw-id: //depot/perl@23844

19 years agoRe: [perl #31924] %INC caching failure-case problem
Rick Delaney [Wed, 13 Oct 2004 12:40:18 +0000]
Re: [perl #31924] %INC caching failure-case problem
Message-ID: <20041013164018.GA32174@biff.bort.ca>

p4raw-id: //depot/perl@23843

19 years agoRe: [PATCH] File::Find dies on find({follow=>1, ...}) on Win32
Yitzchak Scott-Thoennes [Mon, 20 Dec 2004 16:08:56 +0000]
Re: [PATCH] File::Find dies on find({follow=>1, ...}) on Win32
Message-ID: <20041221000856.GA2924@efn.org>

p4raw-id: //depot/perl@23842

19 years agodoc SVt_PVLV <=> SVt_PVGV change version in B.pm
Yitzchak Scott-Thoennes [Sun, 19 Dec 2004 23:57:56 +0000]
doc SVt_PVLV <=> SVt_PVGV change version in B.pm
Message-ID: <20041220075754.GA800@efn.org>

p4raw-id: //depot/perl@23841

19 years ago[patch] cleanup perlsfio.h
Stas Bekman [Thu, 13 Jan 2005 16:14:23 +0000]
[patch] cleanup perlsfio.h
Message-ID: <41E6E4AF.8070303@stason.org>

p4raw-id: //depot/perl@23840

19 years agoVERSION++
Rafael Garcia-Suarez [Thu, 20 Jan 2005 18:33:00 +0000]
VERSION++

p4raw-id: //depot/perl@23839

19 years agoRe: [perl #33173] shellwords.pl and tainting
Alexey Tourbin [Tue, 28 Dec 2004 22:29:37 +0000]
Re: [perl #33173] shellwords.pl and tainting
Message-ID: <20041228192937.GB7824@solemn.turbinal.org>

p4raw-id: //depot/perl@23838

19 years agoRun regen.pl and pod/buildtoc --build-all
Nicholas Clark [Thu, 20 Jan 2005 13:21:14 +0000]
Run regen.pl and pod/buildtoc --build-all

p4raw-id: //depot/perl@23836

19 years agoA little more determinacy in our sorting
Nicholas Clark [Thu, 20 Jan 2005 13:20:50 +0000]
A little more determinacy in our sorting

p4raw-id: //depot/perl@23835

19 years agoMake "assertion" attribute code and test conditional
Nicholas Clark [Wed, 19 Jan 2005 21:22:30 +0000]
Make "assertion" attribute code and test conditional

p4raw-id: //depot/perl@23827

19 years agoFurther follow-up to 23767
Robin Barker [Wed, 19 Jan 2005 18:30:31 +0000]
Further follow-up to 23767
Message-ID: <533D273D4014D411AB1D00062938C4D90849C57D@hotel.npl.co.uk>

p4raw-id: //depot/perl@23824

19 years agoRe: [perl #32498] h2xs generates incorrect code for Makefile.PL for enums
Noah [Wed, 19 Jan 2005 12:33:52 +0000]
Re: [perl #32498] h2xs generates incorrect code for Makefile.PL for enums
Message-ID: <20050119173352.GA15592@radu.onastick.net>

p4raw-id: //depot/perl@23822

19 years agoop/stat.t test 9 failing on recent cygwin snapshots
Yitzchak Scott-Thoennes [Sun, 16 Jan 2005 10:30:45 +0000]
op/stat.t test 9 failing on recent cygwin snapshots
Message-ID: <20050116183045.GA2768@efn.org>

p4raw-id: //depot/perl@23821

19 years agoMake Data::Dumper work when dynamic extensions are not available
Jos I. Boumans [Tue, 18 Jan 2005 15:12:03 +0000]
Make Data::Dumper work when dynamic extensions are not available
From: "Jos I. Boumans" <kane@xs4all.net>
Message-Id: <ED6BA2C4-695A-11D9-B09C-000A95EF62E2@xs4all.net>

p4raw-id: //depot/perl@23820

19 years agoFix dependencies in ext/B/Makefile.PL
Rafael Garcia-Suarez [Wed, 19 Jan 2005 11:15:14 +0000]
Fix dependencies in ext/B/Makefile.PL
(bug #8254, fix by Alan Burlison)

p4raw-id: //depot/perl@23819

19 years agoExclude "Thread" from $Config{extensions}
Steve Hay [Wed, 19 Jan 2005 09:33:27 +0000]
Exclude "Thread" from $Config{extensions}

It is already excluded from $Config{dynamic_ext}, so should not be
in $Config{extensions} either. (Note that Thread is actually still
built, though. This is just for consistency with Unix builds.)

p4raw-id: //depot/perl@23817

19 years agoExclude "Thread" from $Config{dynamic_ext}
Steve Hay [Wed, 19 Jan 2005 08:55:06 +0000]
Exclude "Thread" from $Config{dynamic_ext}

This was accidentally broken by change 23757.  It has already been
fixed in maint-5.8 when resolving conflicts during integration of
23757, so this one does NOT need integrating itself!

For more details see:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-01/msg00477.html

p4raw-id: //depot/perl@23816

19 years agoFix for building with MinGW under Cygwin
Yitzchak Scott-Thoennes [Thu, 13 Jan 2005 16:11:36 +0000]
Fix for building with MinGW under Cygwin

Subject: [PATCH] building win32 perl with cygwin's mingw (was: Re: [PATCH] Re: lib/Config/Extensions.t fails on Win32)
Message-ID: <20050114001136.GC2516@efn.org>

p4raw-id: //depot/perl@23807

19 years agoGet $Config{ccversion} or $Config{gccversion} filled in on Win32
Steve Hay [Mon, 17 Jan 2005 16:57:10 +0000]
Get $Config{ccversion} or $Config{gccversion} filled in on Win32

p4raw-id: //depot/perl@23806

19 years agoBetter test diagnostics for the numbers tests.
Nicholas Clark [Fri, 14 Jan 2005 19:56:42 +0000]
Better test diagnostics for the numbers tests.
(Failure diagnostics were always good, but now the tests have names,
which show even when they pass)

p4raw-id: //depot/perl@23805

19 years agoCorrect the editor block to match the perl 5 policy on tabs
Nicholas Clark [Fri, 14 Jan 2005 12:06:31 +0000]
Correct the editor block to match the perl 5 policy on tabs

p4raw-id: //depot/perl@23803

19 years agoRefactor S_regclass to generate slightly smaller object code
Nicholas Clark [Fri, 14 Jan 2005 10:58:47 +0000]
Refactor S_regclass to generate slightly smaller object code

p4raw-id: //depot/perl@23802

19 years agoA terser way to write the \-ing code in pv_uni_display
Nicholas Clark [Fri, 14 Jan 2005 10:32:08 +0000]
A terser way to write the \-ing code in pv_uni_display
Plus drive-by insert of a more correct editor block. (thanks Dave)

p4raw-id: //depot/perl@23801

19 years agoImprove documentation for sv_catpvf, to note that pattern's UTF-8ness
Nicholas Clark [Fri, 14 Jan 2005 09:55:16 +0000]
Improve documentation for sv_catpvf, to note that pattern's UTF-8ness
is taken from the SV's UTF-8ness

p4raw-id: //depot/perl@23800

19 years agoSvUTF8_off() in do_join can be unconditional.
Nicholas Clark [Fri, 14 Jan 2005 09:52:51 +0000]
SvUTF8_off() in do_join can be unconditional.

p4raw-id: //depot/perl@23799

19 years agosv_catpvf holds no advantage over sv_catpv when the "pattern" isn't.
Nicholas Clark [Fri, 14 Jan 2005 09:28:14 +0000]
sv_catpvf holds no advantage over sv_catpv when the "pattern" isn't.

p4raw-id: //depot/perl@23798

19 years agoUse the new SV_NOSTEAL flag to avoid the SvTEMP dance in newSVsv
Nicholas Clark [Thu, 13 Jan 2005 23:13:05 +0000]
Use the new SV_NOSTEAL flag to avoid the SvTEMP dance in newSVsv

p4raw-id: //depot/perl@23797

19 years agosv_2mortal(NEWSV(0,0)) better written as sv_newmortal()
Nicholas Clark [Thu, 13 Jan 2005 23:10:38 +0000]
sv_2mortal(NEWSV(0,0)) better written as sv_newmortal()

p4raw-id: //depot/perl@23796

19 years agoreplace NEWSV(), SvSetSV() with newSVsv()
Nicholas Clark [Thu, 13 Jan 2005 22:54:10 +0000]
replace NEWSV(), SvSetSV() with newSVsv()

p4raw-id: //depot/perl@23795

19 years agoTurn the unreachable code into assertions. (So prove me wrong...)
Nicholas Clark [Thu, 13 Jan 2005 22:39:58 +0000]
Turn the unreachable code into assertions. (So prove me wrong...)

p4raw-id: //depot/perl@23794

19 years agoSource code tidy up - avoid assigning to sv.
Nicholas Clark [Thu, 13 Jan 2005 22:07:20 +0000]
Source code tidy up - avoid assigning to sv.

p4raw-id: //depot/perl@23793

19 years agoAvoid dogfood problems when an empty string accidentally ends up
Nicholas Clark [Thu, 13 Jan 2005 21:54:21 +0000]
Avoid dogfood problems when an empty string accidentally ends up
as a constant name. [They don't work in qw(), strangely]

p4raw-id: //depot/perl@23792

19 years agoThe leaktesting of NEWSV() is long dead, so create and initialise
Nicholas Clark [Thu, 13 Jan 2005 21:44:53 +0000]
The leaktesting of NEWSV() is long dead, so create and initialise
SV values in one, to simplify source code and shrink object code
by about 1%

p4raw-id: //depot/perl@23791

19 years agoNot a good idea to use unpack "H*" to peek at a scalar's internal
Nicholas Clark [Thu, 13 Jan 2005 20:55:37 +0000]
Not a good idea to use unpack "H*" to peek at a scalar's internal
representation.

p4raw-id: //depot/perl@23790

19 years agoUpdate copyright years. Add an editor block while passing by.
Nicholas Clark [Thu, 13 Jan 2005 14:05:08 +0000]
Update copyright years. Add an editor block while passing by.

p4raw-id: //depot/perl@23789

19 years agoutf.pm needs to require Carp before croak()ing
Nicholas Clark [Thu, 13 Jan 2005 13:50:40 +0000]
utf.pm needs to require Carp before croak()ing

p4raw-id: //depot/perl@23788

19 years agoRefactor all the unpack checksum-or-not logic to avoid massive
Nicholas Clark [Thu, 13 Jan 2005 13:21:11 +0000]
Refactor all the unpack checksum-or-not logic to avoid massive
duplication.

p4raw-id: //depot/perl@23787

19 years agoRe: killing USE_5005THREADS in blead?
Stas Bekman [Wed, 12 Jan 2005 16:32:42 +0000]
Re: killing USE_5005THREADS in blead?
Message-ID: <41E5977A.3060306@stason.org>

p4raw-id: //depot/perl@23786

19 years agoFix Win32 build problem caused by change 23757
Steve Hay [Thu, 13 Jan 2005 10:24:13 +0000]
Fix Win32 build problem caused by change 23757

Change 23757 added a glob() call to win32/FindExt.pm.  That code is
run by miniperl.exe when making the ..\config.sh target, but
miniperl.exe is built with -D PERL_EXTERNAL_GLOB so it requires
perlglob.exe to do the glob().  perlglob.exe has been built, but is
in the top-level of the source tree so is not found when miniperl.exe
is executed from within the win32/ sub-directory.

This was causing smokes to fail on t/lib/commonsense.t because the
"extensions" field in lib/Config_heavy.pl only contained
"threads/shared" as a result of the glob() not finding anything.

Manual builds had been working fine for me because I had an installed
perl in my PATH so perlglob.exe was being found there instead!

p4raw-id: //depot/perl@23785

19 years agofollow-up to #23765
Craig A. Berry [Tue, 11 Jan 2005 21:01:27 +0000]
follow-up to #23765
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41E49307.7080900@mac.com>

p4raw-id: //depot/perl@23783

19 years agoFix bug 32294 - index()/rindex() ignore UTF8 flag
Nicholas Clark [Tue, 11 Jan 2005 19:10:20 +0000]
Fix bug 32294 - index()/rindex() ignore UTF8 flag
(for cases of mixed UTF8/bytes)
Test code based on bug report by John Gardiner Myers

p4raw-id: //depot/perl@23782

19 years agofollow-up to 23767
Robin Barker [Tue, 11 Jan 2005 15:48:49 +0000]
follow-up to 23767
Message-ID: <533D273D4014D411AB1D00062938C4D90849C56A@hotel.npl.co.uk>

p4raw-id: //depot/perl@23781

19 years agoRemove PERL_FLEXIBLE_EXCEPTIONS code.
Marcus Holland-Moritz [Mon, 10 Jan 2005 19:25:27 +0000]
Remove PERL_FLEXIBLE_EXCEPTIONS code.

p4raw-id: //depot/perl@23780

19 years agot/op/split.t #11 nit on VMS
Craig A. Berry [Sun, 9 Jan 2005 17:46:41 +0000]
t/op/split.t #11 nit on VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41E1C261.5020100@mac.com>
Date: Sun, 09 Jan 2005 17:46:41 -0600

p4raw-id: //depot/perl@23779

19 years agoNeed to close files before unlinking them on Win32
Steve Hay [Mon, 10 Jan 2005 11:53:10 +0000]
Need to close files before unlinking them on Win32

(Various files created by test programs are left behind otherwise,
and distclean doesn't clean them up)

p4raw-id: //depot/perl@23778

19 years agoMake Win32's distclean target clean up properly
Steve Hay [Mon, 10 Jan 2005 10:28:00 +0000]
Make Win32's distclean target clean up properly

p4raw-id: //depot/perl@23777

19 years agoGet $Config{osvers} filled in on Win32
Steve Hay [Mon, 10 Jan 2005 09:45:50 +0000]
Get $Config{osvers} filled in on Win32

p4raw-id: //depot/perl@23776

19 years agofollow-up to #23748, -Duselargefiles on VMS
Craig A. Berry [Sun, 9 Jan 2005 17:52:09 +0000]
follow-up to #23748, -Duselargefiles on VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41E1C3A9.9080900@mac.com>

p4raw-id: //depot/perl@23775

19 years agoShorter source code in pp_gelem. (But it compiles to the same size)
Nicholas Clark [Sun, 9 Jan 2005 23:42:25 +0000]
Shorter source code in pp_gelem. (But it compiles to the same size)

p4raw-id: //depot/perl@23774

19 years agoIf we know the length of the string constant, save a strlen()
Nicholas Clark [Sun, 9 Jan 2005 21:50:28 +0000]
If we know the length of the string constant, save a strlen()

p4raw-id: //depot/perl@23773

19 years agosavepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
Nicholas Clark [Sun, 9 Jan 2005 21:26:40 +0000]
savepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
strlen(). Add savesvpv(sv), which gets the length from the SV,
and returns a copy of its PV.

p4raw-id: //depot/perl@23772