This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoRegenerate perlapi.pod.
Marcus Holland-Moritz [Mon, 31 Jan 2005 18:14:44 +0000 (18:14 +0000)]
Regenerate perlapi.pod.

p4raw-id: //depot/perl@23913

16 years agoUpgrade to Devel::PPPort 3.05.
Marcus Holland-Moritz [Mon, 31 Jan 2005 18:07:29 +0000 (18:07 +0000)]
Upgrade to Devel::PPPort 3.05.

p4raw-id: //depot/perl@23912

16 years agoAdd simple exception handling macros for XS writers.
Marcus Holland-Moritz [Mon, 31 Jan 2005 18:00:31 +0000 (18:00 +0000)]
Add simple exception handling macros for XS writers.

p4raw-id: //depot/perl@23911

16 years agoAdd all the missing gnuk{free,net}bsd hints files to MANIFEST
Nicholas Clark [Mon, 31 Jan 2005 17:46:03 +0000 (17:46 +0000)]
Add all the missing gnuk{free,net}bsd hints files to MANIFEST

p4raw-id: //depot/perl@23910

16 years ago[perl #33998] [PATCH] Support for GNU/kFreeBSD
Robert Millan [Mon, 31 Jan 2005 07:37:55 +0000 (07:37 +0000)]
[perl #33998] [PATCH] Support for GNU/kFreeBSD
From: "rmh@debian.org (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33998-106860.15.2609323921089@perl.org>

p4raw-id: //depot/perl@23909

16 years agoDocument the changes to PERLIO_DEBUG.
Rafael Garcia-Suarez [Mon, 31 Jan 2005 11:17:26 +0000 (11:17 +0000)]
Document the changes to PERLIO_DEBUG.

p4raw-id: //depot/perl@23907

16 years agoReally fix the bug [perl #33990].
Rafael Garcia-Suarez [Mon, 31 Jan 2005 10:53:14 +0000 (10:53 +0000)]
Really fix the bug [perl #33990].
NB. -DIAMSUID is only set to compile sperl.o.

p4raw-id: //depot/perl@23906

16 years agoFix test suite hang on Win32 caused by change #23898
Steve Hay [Mon, 31 Jan 2005 10:03:56 +0000 (10:03 +0000)]
Fix test suite hang on Win32 caused by change #23898

("perl -e sleep 3" does an indefinite sleep!)
p4raw-link: @23898 on //depot/perl: 75af1a9c52a124d2be09fece4ba0d7bc6091ed01

p4raw-id: //depot/perl@23905

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

p4raw-id: //depot/perl@23904

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

p4raw-id: //depot/perl@23903

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

p4raw-id: //depot/perl@23900

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

p4raw-id: //depot/perl@23899

16 years ago[perl #33928] chomp() fails after alarm(), `sleep`
Dave Mitchell [Sat, 29 Jan 2005 16:14:20 +0000 (16:14 +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

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

p4raw-id: //depot/perl@23897

16 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 (13:59 +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

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

p4raw-id: //depot/perl@23893

16 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 (19:26 +0000)]
Retrieve the flag bit that only 'p' uses, so that it is spare for
future use.

p4raw-id: //depot/perl@23892

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

p4raw-id: //depot/perl@23891

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

p4raw-id: //depot/perl@23890

16 years agoMake the byte order modifers < and > and the sign modifier ! (for
Nicholas Clark [Thu, 27 Jan 2005 17:29:04 +0000 (17:29 +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

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

p4raw-id: //depot/perl@23888

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

p4raw-id: //depot/perl@23886

16 years agoMake the tests for the endianness modifiers < and >, and the
Nicholas Clark [Thu, 27 Jan 2005 11:27:12 +0000 (11:27 +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

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

p4raw-id: //depot/perl@23883

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

p4raw-id: //depot/perl@23882

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

p4raw-id: //depot/perl@23881

16 years agoperlapi.pod has pod errors
Jos I. Boumans [Tue, 25 Jan 2005 16:42:38 +0000 (17:42 +0100)]
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

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

p4raw-id: //depot/perl@23879

16 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 (22:10 +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

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

p4raw-id: //depot/perl@23877

16 years agoAdd weights to ExtUtils::Constant to allow sorting by expected
Nicholas Clark [Mon, 24 Jan 2005 22:05:29 +0000 (22:05 +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

16 years agoReplace Perl_keyword() with a version that's 20% faster on typical
Nicholas Clark [Mon, 24 Jan 2005 21:43:52 +0000 (21:43 +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

16 years agoassorted tempfile clean-up in the test suite
Craig A. Berry [Sun, 23 Jan 2005 14:23:17 +0000 (08:23 -0600)]
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

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