This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoRevert change 23843.
Rafael Garcia-Suarez [Mon, 24 Jan 2005 13:14:21 +0000 (13:14 +0000)]
Revert change 23843.
(See discussion for bug [perl #31924])

p4raw-id: //depot/perl@23873

16 years ago[perl #33906] Missing \\ in perlre
Andrew [Sun, 23 Jan 2005 20:52:51 +0000 (20:52 +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

16 years agoTest::Harness::Straps::_default_inc shell problem
Craig A. Berry [Sun, 23 Jan 2005 13:44:49 +0000 (07:44 -0600)]
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

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

p4raw-id: //depot/perl@23870

16 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 (23:25 +0200)]
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

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

p4raw-id: //depot/perl@23868

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

p4raw-id: //depot/perl@23867

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

p4raw-id: //depot/perl@23866

16 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 (01:22 +0200)]
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

16 years agoRe: uc($long_utf8_string) exhausts memory
Jarkko Hietaniemi [Sat, 22 Jan 2005 11:33:12 +0000 (13:33 +0200)]
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

16 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 (21:45 +0200)]
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

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

p4raw-id: //depot/perl@23861

16 years agoRe: [PATCH] do not assume quads or long doubles
Jarkko Hietaniemi [Sat, 22 Jan 2005 11:21:14 +0000 (13:21 +0200)]
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

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

p4raw-id: //depot/perl@23858

16 years agoRe: uc($long_utf8_string) exhausts memory
Jarkko Hietaniemi [Sat, 22 Jan 2005 00:20:12 +0000 (02:20 +0200)]
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

16 years agoShrink a switch() statment by driving the size calculations from the
Nicholas Clark [Fri, 21 Jan 2005 22:15:43 +0000 (22:15 +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

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

p4raw-id: //depot/perl@23853

16 years ago[perl #32503] Fix for Storable module
Steven N. Hirsch [Fri, 19 Nov 2004 13:06:57 +0000 (13:06 +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

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

p4raw-id: //depot/perl@23851

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

p4raw-id: //depot/perl@23850

16 years ago[perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 14:36:31 +0000 (14:36 +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

16 years ago[perl #33892] Add Interix support
Todd Vierling [Fri, 21 Jan 2005 14:36:31 +0000 (14:36 +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

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

p4raw-id: //depot/perl@23847

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

p4raw-id: //depot/perl@23845

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

p4raw-id: //depot/perl@23844

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

p4raw-id: //depot/perl@23843

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

p4raw-id: //depot/perl@23842

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

p4raw-id: //depot/perl@23841

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

p4raw-id: //depot/perl@23840

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

p4raw-id: //depot/perl@23839

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

p4raw-id: //depot/perl@23838

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

p4raw-id: //depot/perl@23836

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

p4raw-id: //depot/perl@23835

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

p4raw-id: //depot/perl@23827

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

p4raw-id: //depot/perl@23824

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

p4raw-id: //depot/perl@23822

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

p4raw-id: //depot/perl@23821

16 years agoMake Data::Dumper work when dynamic extensions are not available
Jos I. Boumans [Tue, 18 Jan 2005 15:12:03 +0000 (16:12 +0100)]
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

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

p4raw-id: //depot/perl@23819

16 years agoExclude "Thread" from $Config{extensions}
Steve Hay [Wed, 19 Jan 2005 09:33:27 +0000 (09:33 +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

16 years agoExclude "Thread" from $Config{dynamic_ext}
Steve Hay [Wed, 19 Jan 2005 08:55:06 +0000 (08:55 +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

16 years agoFix for building with MinGW under Cygwin
Yitzchak Scott-Thoennes [Thu, 13 Jan 2005 16:11:36 +0000 (08:11 -0800)]
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

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

p4raw-id: //depot/perl@23806

16 years agoBetter test diagnostics for the numbers tests.
Nicholas Clark [Fri, 14 Jan 2005 19:56:42 +0000 (19:56 +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

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

p4raw-id: //depot/perl@23803

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

p4raw-id: //depot/perl@23802

16 years agoA terser way to write the \-ing code in pv_uni_display
Nicholas Clark [Fri, 14 Jan 2005 10:32:08 +0000 (10:32 +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

16 years agoImprove documentation for sv_catpvf, to note that pattern's UTF-8ness
Nicholas Clark [Fri, 14 Jan 2005 09:55:16 +0000 (09:55 +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

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

p4raw-id: //depot/perl@23799

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

p4raw-id: //depot/perl@23798

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

p4raw-id: //depot/perl@23797

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

p4raw-id: //depot/perl@23796

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

p4raw-id: //depot/perl@23795

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

p4raw-id: //depot/perl@23794

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

p4raw-id: //depot/perl@23793

16 years agoAvoid dogfood problems when an empty string accidentally ends up
Nicholas Clark [Thu, 13 Jan 2005 21:54:21 +0000 (21:54 +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

16 years agoThe leaktesting of NEWSV() is long dead, so create and initialise
Nicholas Clark [Thu, 13 Jan 2005 21:44:53 +0000 (21:44 +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

16 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 (20:55 +0000)]
Not a good idea to use unpack "H*" to peek at a scalar's internal
representation.

p4raw-id: //depot/perl@23790

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

p4raw-id: //depot/perl@23789

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

p4raw-id: //depot/perl@23788

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

p4raw-id: //depot/perl@23787

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

p4raw-id: //depot/perl@23786

16 years agoFix Win32 build problem caused by change 23757
Steve Hay [Thu, 13 Jan 2005 10:24:13 +0000 (10:24 +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

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

p4raw-id: //depot/perl@23783

16 years agoFix bug 32294 - index()/rindex() ignore UTF8 flag
Nicholas Clark [Tue, 11 Jan 2005 19:10:20 +0000 (19:10 +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

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

p4raw-id: //depot/perl@23781

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

p4raw-id: //depot/perl@23780

16 years agot/op/split.t #11 nit on VMS
Craig A. Berry [Sun, 9 Jan 2005 17:46:41 +0000 (11:46 -0600)]
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

16 years agoNeed to close files before unlinking them on Win32
Steve Hay [Mon, 10 Jan 2005 11:53:10 +0000 (11:53 +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

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

p4raw-id: //depot/perl@23777

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

p4raw-id: //depot/perl@23776

16 years agofollow-up to #23748, -Duselargefiles on VMS
Craig A. Berry [Sun, 9 Jan 2005 17:52:09 +0000 (11:52 -0600)]
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

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

p4raw-id: //depot/perl@23774

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

p4raw-id: //depot/perl@23773

16 years agosavepv(SvPV(sv,n_a)) is common, and creates an unnecessary call to
Nicholas Clark [Sun, 9 Jan 2005 21:26:40 +0000 (21:26 +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

16 years agoCan pass in a length here without introducing a bug. Might save
Nicholas Clark [Sun, 9 Jan 2005 19:42:30 +0000 (19:42 +0000)]
Can pass in a length here without introducing a bug. Might save
a strlen()

p4raw-id: //depot/perl@23771

16 years agoPull the am-I-utf8-or-not logic into one place (S_newSV_maybe_utf8)
Nicholas Clark [Sun, 9 Jan 2005 15:05:33 +0000 (15:05 +0000)]
Pull the am-I-utf8-or-not logic into one place (S_newSV_maybe_utf8)
as I think that it will be needed for utf8 soft references.

p4raw-id: //depot/perl@23770

16 years agoDisable PERL_MALLOC and DEBUG_MSTATS in win32/makefile.mk by default
Steve Hay [Fri, 7 Jan 2005 17:25:35 +0000 (17:25 +0000)]
Disable PERL_MALLOC and DEBUG_MSTATS in win32/makefile.mk by default
and force PERL_MALLOC off if USE_IMP_SYS is on

This brings makefile.mk into line with Makefile in this regard

(PERL_MALLOC cannot currently be used with USE_IMP_SYS, e.g. see:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2004-07/msg00465.html
so it is sensible to enforce this, and to not have the default set
to a configuration that isn't allowed)

p4raw-id: //depot/perl@23769

16 years agoRe: [PATCH] Remove Carp from warnings.pm
Jim Cromie [Mon, 3 Jan 2005 06:36:16 +0000 (23:36 -0700)]
Re: [PATCH] Remove Carp from warnings.pm
Message-ID: <cfe85dfa05010305367445dee6@mail.gmail.com>

p4raw-id: //depot/perl@23768

16 years agoto improve -DCHECK_FORMAT
Robin Barker [Wed, 5 Jan 2005 11:55:09 +0000 (11:55 +0000)]
to improve -DCHECK_FORMAT
Message-ID: <533D273D4014D411AB1D00062938C4D90849C55A@hotel.npl.co.uk>

p4raw-id: //depot/perl@23767

16 years agoStage 1 of utf8 support for soft references.
Nicholas Clark [Fri, 7 Jan 2005 12:46:07 +0000 (12:46 +0000)]
Stage 1 of utf8 support for soft references.
Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags
Add gv_fetchsv to look up a GV by SV rather than a char * pointer
Provide a backwards compatability gv_fetchpv
Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing
the pointer from an SV
All tests still pass.

p4raw-id: //depot/perl@23766

16 years agomake lib/warnings.t use t/test.pl
Craig A. Berry [Thu, 6 Jan 2005 17:32:01 +0000 (11:32 -0600)]
make lib/warnings.t use t/test.pl
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41DDCA71.1080704@mac.com>
Date: Thu, 06 Jan 2005 17:32:01 -0600

p4raw-id: //depot/perl@23765

16 years agoFix win32/config.*'s cc, ld and other related values
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000 (02:01 -0800)]
Fix win32/config.*'s cc, ld and other related values

cc and ld themselves always get replaced with correct values anyway
       so we just provide example values as per other similar settings

       Other related values (ccname, cpp, cpprun, cppstdin) need to use the
       correct ~keyword~, namely ~cc~, not ~CC~, otherwise they do not get set

Subject: [PATCH] Re: lib/Config/Extensions.t fails on Win32
Date: Wed, 5 Jan 2005 10:01:41 -0800
Message-ID: <20050105180141.GA676@efn.org>

Subject: Re: [PATCH] Re: lib/Config/Extensions.t fails on Win32
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
Date: Thu, 6 Jan 2005 11:53:11 -0800
Message-ID: <20050106195311.GC1300@efn.org>

p4raw-id: //depot/perl@23764

16 years agoAdd TODO tests for UTF8 encoded soft references
Nicholas Clark [Thu, 6 Jan 2005 17:42:59 +0000 (17:42 +0000)]
Add TODO tests for UTF8 encoded soft references

p4raw-id: //depot/perl@23763

16 years agoAllow static linking core extensions on Win32 with MinGW
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000 (02:01 -0800)]
Allow static linking core extensions on Win32 with MinGW

Subject: [PATCH] Re: lib/Config/Extensions.t fails on Win32
Message-ID: <20050105180141.GA676@efn.org>

p4raw-id: //depot/perl@23762

16 years agoSilence a compilation warning
Rafael Garcia-Suarez [Thu, 6 Jan 2005 15:49:39 +0000 (15:49 +0000)]
Silence a compilation warning

p4raw-id: //depot/perl@23761

16 years agoTurn barewords into strings to run under strict subs.
Nicholas Clark [Thu, 6 Jan 2005 14:59:17 +0000 (14:59 +0000)]
Turn barewords into strings to run under strict subs.
Run under strict refs outside the soft reference tests.

p4raw-id: //depot/perl@23760

16 years agoAll tests now use test.pl
Nicholas Clark [Thu, 6 Jan 2005 14:34:24 +0000 (14:34 +0000)]
All tests now use test.pl

p4raw-id: //depot/perl@23759

16 years agoStart converting t/op/ref.t to use test.pl
Nicholas Clark [Thu, 6 Jan 2005 11:44:08 +0000 (11:44 +0000)]
Start converting t/op/ref.t to use test.pl

p4raw-id: //depot/perl@23758

16 years agoFix extensions config fields on Win32 to be as they are on Unix
Yitzchak Scott-Thoennes [Wed, 5 Jan 2005 10:01:41 +0000 (02:01 -0800)]
Fix extensions config fields on Win32 to be as they are on Unix

Subject: [PATCH] Re: lib/Config/Extensions.t fails on Win32
Message-ID: <20050105180141.GA676@efn.org>

p4raw-id: //depot/perl@23757

16 years agoCorrect a Greengrocer's apostrophe.
Nicholas Clark [Wed, 5 Jan 2005 21:58:15 +0000 (21:58 +0000)]
Correct a Greengrocer's apostrophe.

p4raw-id: //depot/perl@23756

16 years agoFoolishly I committed change 23753 before remembering to test without
Nicholas Clark [Wed, 5 Jan 2005 21:36:26 +0000 (21:36 +0000)]
Foolishly I committed change 23753 before remembering to test without
ithreads. No tests => bugs. This should fix them.

p4raw-id: //depot/perl@23755

16 years agoError-free constant folding is a TODO
Nicholas Clark [Wed, 5 Jan 2005 20:14:02 +0000 (20:14 +0000)]
Error-free constant folding is a TODO

p4raw-id: //depot/perl@23754

16 years agoTurn INIT_TLS_AND_INTERP into a static function
Nicholas Clark [Wed, 5 Jan 2005 19:44:28 +0000 (19:44 +0000)]
Turn INIT_TLS_AND_INTERP into a static function

p4raw-id: //depot/perl@23753

16 years agoShave off the explict 1; from the end of lib/Config.pm
Nicholas Clark [Wed, 5 Jan 2005 16:27:19 +0000 (16:27 +0000)]
Shave off the explict 1; from the end of lib/Config.pm

p4raw-id: //depot/perl@23752

16 years agounnecessary rmdir in Makefile
Robin Barker [Wed, 5 Jan 2005 11:58:54 +0000 (11:58 +0000)]
unnecessary rmdir in Makefile
Message-ID: <533D273D4014D411AB1D00062938C4D90849C55C@hotel.npl.co.uk>

p4raw-id: //depot/perl@23751

16 years agogcc and ld in Configure
Robin Barker [Wed, 5 Jan 2005 12:04:25 +0000 (12:04 +0000)]
gcc and ld in Configure
Message-ID: <533D273D4014D411AB1D00062938C4D90849C55D@hotel.npl.co.uk>

p4raw-id: //depot/perl@23750

16 years agoAvoid segfault when pthread_key_create fails
Gisle Aas [Wed, 5 Jan 2005 01:09:51 +0000 (17:09 -0800)]
Avoid segfault when pthread_key_create fails
Message-ID: <lracroz1gg.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@23749

16 years ago-Duselargefiles for VMS
Craig A. Berry [Tue, 4 Jan 2005 21:48:54 +0000 (15:48 -0600)]
-Duselargefiles for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <41DB63A6.7040504@mac.com>
Date: Tue, 04 Jan 2005 21:48:54 -0600

p4raw-id: //depot/perl@23748

16 years agoRafael spotted that my changes caused warnings. So clean up.
Nicholas Clark [Wed, 5 Jan 2005 10:10:14 +0000 (10:10 +0000)]
Rafael spotted that my changes caused warnings. So clean up.

p4raw-id: //depot/perl@23747