This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
18 years agoversion objects final(?) patch
John Peacock [Sun, 5 Jan 2003 21:28:41 +0000 (16:28 -0500)]
version objects final(?) patch
Message-ID: <3E18E9D9.2040908@rowman.com>

p4raw-id: //depot/perl@18682

18 years agoAdd CPAN ChangeLog to MANIFEST.
Chip Salzenberg [Sun, 9 Feb 2003 17:39:33 +0000 (17:39 +0000)]
Add CPAN ChangeLog to MANIFEST.

p4raw-id: //depot/perl@18680

18 years agoCPAN ChangeLog not needed, says Andreas.
Jarkko Hietaniemi [Sun, 9 Feb 2003 14:37:38 +0000 (14:37 +0000)]
CPAN ChangeLog not needed, says Andreas.

p4raw-id: //depot/perl@18678

18 years ago[perl #20785] glitches with $PerlIO::encoding::fallback
autrijus@ossf.iis.sinica.edu.tw [Sat, 8 Feb 2003 11:54:11 +0000 (11:54 +0000)]
[perl #20785] glitches with $PerlIO::encoding::fallback
From: "autrijus@ossf.iis.sinica.edu.tw (via RT)" <perlbug-followup@perl.org>
Message-Id: <rt-20785-50586.6.45611613038412@bugs6.perl.org>

p4raw-id: //depot/perl@18677

18 years agoRe: utime undef, undef, "/tmp/test" and warnings
Stas Bekman [Sat, 8 Feb 2003 11:12:28 +0000 (22:12 +1100)]
Re: utime undef, undef, "/tmp/test" and warnings
Message-ID: <3E444B6C.5060407@stason.org>

p4raw-id: //depot/perl@18676

18 years agoPossible cruft removal.
Jarkko Hietaniemi [Sat, 8 Feb 2003 19:49:40 +0000 (19:49 +0000)]
Possible cruft removal.

p4raw-id: //depot/perl@18675

18 years agoSignedness nits.
Jarkko Hietaniemi [Sat, 8 Feb 2003 18:22:42 +0000 (18:22 +0000)]
Signedness nits.

p4raw-id: //depot/perl@18674

18 years agoUpgrade to CPAN 1.64, from Andreas Koenig.
Jarkko Hietaniemi [Sat, 8 Feb 2003 08:45:35 +0000 (08:45 +0000)]
Upgrade to CPAN 1.64, from Andreas Koenig.

p4raw-id: //depot/perl@18672

18 years agoUpgrade to Net::Ping 2.28, from Rob Brown.
Jarkko Hietaniemi [Sat, 8 Feb 2003 08:35:06 +0000 (08:35 +0000)]
Upgrade to Net::Ping 2.28, from Rob Brown.

p4raw-id: //depot/perl@18671

18 years agoperluniintro nit
Audrey Tang [Fri, 7 Feb 2003 00:02:49 +0000 (08:02 +0800)]
perluniintro nit
Message-ID: <20030206160249.GA12984@not.autrijus.org>

p4raw-id: //depot/perl@18670

18 years agopath tweak fix up for t/pod/find.t on VMS
Peter Prymmer [Wed, 5 Feb 2003 12:00:05 +0000 (07:00 -0500)]
path tweak fix up for t/pod/find.t on VMS
Message-ID: <OFF5FDC924.68DBF580-ON85256CC4.005CC78E@factset.com>

p4raw-id: //depot/perl@18669

18 years agosv_cat_recode() proto was missing, noticed by Craig Berry.
Jarkko Hietaniemi [Thu, 6 Feb 2003 20:00:52 +0000 (20:00 +0000)]
sv_cat_recode() proto was missing, noticed by Craig Berry.

p4raw-id: //depot/perl@18668

18 years agoPatch from Richard Soderberg, cleanup the code a bit and comment
Artur Bergman [Thu, 6 Feb 2003 09:39:24 +0000 (09:39 +0000)]
Patch from Richard Soderberg, cleanup the code a bit and comment
why we are not using SvOOK_on.

p4raw-id: //depot/perl@18666

18 years agoThings forgotten from Encode 1.87.
Jarkko Hietaniemi [Thu, 6 Feb 2003 09:26:53 +0000 (09:26 +0000)]
Things forgotten from Encode 1.87.

p4raw-id: //depot/perl@18664

18 years agoUpgrade to Encode 1.87.
Jarkko Hietaniemi [Thu, 6 Feb 2003 04:03:31 +0000 (04:03 +0000)]
Upgrade to Encode 1.87.

p4raw-id: //depot/perl@18663

18 years agoAdd the test of [perl #8760] (fixed by change #18656).
Jarkko Hietaniemi [Wed, 5 Feb 2003 19:40:38 +0000 (19:40 +0000)]
Add the test of [perl #8760] (fixed by change #18656).
p4raw-link: @18656 on //depot/perl: 834a3ffa15e23871424d94f91fd39fe77b05f76b

p4raw-id: //depot/perl@18662

18 years ago[perl #19767] has become fixed too (by changes #18653
Jarkko Hietaniemi [Wed, 5 Feb 2003 19:28:37 +0000 (19:28 +0000)]
[perl #19767] has become fixed too (by changes #18653
and #18658, methinks), adding the test(s).
p4raw-link: @18653 on //depot/perl: d12e50cf45149336efec3161d04293f1ae511ed7

p4raw-id: //depot/perl@18661

18 years ago[Patch] parsing under encoding (Re: [Encode] HEADS-UP; $Encode::VERSION++ to enhance...
Inaba Hiroto [Sat, 1 Feb 2003 21:58:20 +0000 (06:58 +0900)]
[Patch] parsing under encoding (Re: [Encode] HEADS-UP; $Encode::VERSION++ to enhance filter option)([perl #16823])
Message-ID: <3E3BC46B.6C687CFD@st.rim.or.jp>

p4raw-id: //depot/perl@18660

18 years agofix for PerlIO/Via compilation on VMS
Peter Prymmer [Tue, 4 Feb 2003 12:03:17 +0000 (07:03 -0500)]
fix for PerlIO/Via compilation on VMS
Message-ID: <OFCBC6AE62.FF2B83D4-ON85256CC3.005D7A9F@factset.com>

p4raw-id: //depot/perl@18659

18 years agos/S_cache_re/cache_re/ for building with threads.
Jarkko Hietaniemi [Wed, 5 Feb 2003 05:45:11 +0000 (05:45 +0000)]
s/S_cache_re/cache_re/ for building with threads.

p4raw-id: //depot/perl@18658

18 years agoB::Concise updates (incl. avoiding use of op_seq)
Stephen McCamant [Mon, 3 Feb 2003 21:01:07 +0000 (16:01 -0500)]
B::Concise updates (incl. avoiding use of op_seq)
Message-ID: <15935.7907.976943.74729@syllepsis.MIT.EDU>

p4raw-id: //depot/perl@18657

18 years agoBetter version of change #18648, by Enache Adrian
Rafael Garcia-Suarez [Tue, 4 Feb 2003 20:02:56 +0000 (20:02 +0000)]
Better version of change #18648, by Enache Adrian
Message-ID: <20030204101533.GA11817@ratsnest.hole>
p4raw-link: @18648 on //depot/perl: 7c2549db3c820cf72273bacc18a4e3d2b361563d

p4raw-id: //depot/perl@18656

18 years agoAdd the new test to MANIFEST.
Jarkko Hietaniemi [Tue, 4 Feb 2003 15:56:36 +0000 (15:56 +0000)]
Add the new test to MANIFEST.

p4raw-id: //depot/perl@18655

18 years agoSync with 1.10
Graham Barr [Tue, 4 Feb 2003 14:42:51 +0000 (14:42 +0000)]
Sync with 1.10

p4raw-id: //depot/perl@18654

18 years agoFix "[perl #20667] unicode regex vs non-unicode regex".
Jarkko Hietaniemi [Tue, 4 Feb 2003 11:04:25 +0000 (11:04 +0000)]
Fix "[perl #20667] unicode regex vs non-unicode regex".
The PL_regdata was not set up (S_cache_re()) before it
was needed (S_reginclass()).  The test put in fresh_perl.t
because we need a pristine state to start.

p4raw-id: //depot/perl@18653

18 years agoComment tweak.
Jarkko Hietaniemi [Tue, 4 Feb 2003 06:35:51 +0000 (06:35 +0000)]
Comment tweak.

p4raw-id: //depot/perl@18652

18 years agoSignedness issue.
Jarkko Hietaniemi [Tue, 4 Feb 2003 06:28:53 +0000 (06:28 +0000)]
Signedness issue.

p4raw-id: //depot/perl@18651

18 years agoForce the C locale in makedepend, to prevent gcc from
Rafael Garcia-Suarez [Mon, 3 Feb 2003 22:02:44 +0000 (22:02 +0000)]
Force the C locale in makedepend, to prevent gcc from
producing locale-dependent messages.

p4raw-id: //depot/perl@18650

18 years agoDocument the environment variable PERL_UTF8_LOCALE in perlrun.
Rafael Garcia-Suarez [Mon, 3 Feb 2003 22:00:21 +0000 (22:00 +0000)]
Document the environment variable PERL_UTF8_LOCALE in perlrun.

p4raw-id: //depot/perl@18649

18 years agoFix bug #8760 : cop_line isn't properly restored
Rafael Garcia-Suarez [Mon, 3 Feb 2003 19:32:57 +0000 (19:32 +0000)]
Fix bug #8760 : cop_line isn't properly restored
when a module is loaded at runtime behind the scenes.

p4raw-id: //depot/perl@18648

18 years agoRe: [perl #20606] [PATCH} openbsd hints
Abe Timmerman [Sun, 2 Feb 2003 18:27:57 +0000 (19:27 +0100)]
Re: [perl #20606] [PATCH} openbsd hints
Message-Id: <200302021827.57240.abe@ztreet.demon.nl>

p4raw-id: //depot/perl@18647

18 years agoDuh, test -e ENOPORTABLE, I should've remembered that.
Jarkko Hietaniemi [Mon, 3 Feb 2003 12:41:51 +0000 (12:41 +0000)]
Duh, test -e ENOPORTABLE, I should've remembered that.
(Made Solaris go boom.)

p4raw-id: //depot/perl@18644

18 years agoDetypo.
Jarkko Hietaniemi [Mon, 3 Feb 2003 10:36:15 +0000 (10:36 +0000)]
Detypo.

p4raw-id: //depot/perl@18643

18 years agoIntegrate MIME::Base64 2.16 from CPAN. (Do we really want the
Abhijit Menon-Sen [Mon, 3 Feb 2003 08:26:36 +0000 (08:26 +0000)]
Integrate MIME::Base64 2.16 from CPAN. (Do we really want the
utility scripts?)

p4raw-id: //depot/perl@18642

18 years agoIn any case, never copy this but use the same SV since
Artur Bergman [Sun, 2 Feb 2003 23:46:24 +0000 (23:46 +0000)]
In any case, never copy this but use the same SV since
if we copy we loose the hash we so badly need.
For op_const we might still need to copy however.

p4raw-id: //depot/perl@18641

18 years agoMove SvPVIV out of ->op_sv of METHOD_NAMED into the pad, fixes
Artur Bergman [Sun, 2 Feb 2003 23:38:40 +0000 (23:38 +0000)]
Move SvPVIV out of ->op_sv of METHOD_NAMED into the pad, fixes
threading issue. Should perhaps be a PVOP to save memory, but then
we have nowhere to store the hash of the function!

p4raw-id: //depot/perl@18640

18 years agoPlan 9: Some time has passed.
Jarkko Hietaniemi [Sun, 2 Feb 2003 20:07:57 +0000 (20:07 +0000)]
Plan 9: Some time has passed.

p4raw-id: //depot/perl@18637

18 years agoRe: typo in checkin 18616
Nick Ing-Simmons [Sun, 2 Feb 2003 17:23:08 +0000 (17:23 +0000)]
Re: typo in checkin 18616
Message-Id: <20030202172308.9244.1@bactrian.ni-s.u-net.com>

p4raw-id: //depot/perl@18636

18 years agoPlan 9: Add also config.sh sample for 5.8.0 from Russ Cox.
Jarkko Hietaniemi [Sun, 2 Feb 2003 19:46:35 +0000 (19:46 +0000)]
Plan 9: Add also config.sh sample for 5.8.0 from Russ Cox.

p4raw-id: //depot/perl@18635

18 years agopod/perlfunc.pod
Abigail [Sun, 2 Feb 2003 16:59:48 +0000 (17:59 +0100)]
pod/perlfunc.pod
Message-Id: <20030202155948.7971.qmail@abigail.nl>

p4raw-id: //depot/perl@18634

18 years ago[perl #18232] [PATCH] store PL_reg_match_utf8 in reganch
Rafael Garcia-Suarez [Wed, 22 Jan 2003 22:35:56 +0000 (23:35 +0100)]
[perl #18232] [PATCH] store PL_reg_match_utf8 in reganch
Message-Id: <20030122223556.57d597a3.rgarciasuarez@free.fr>

p4raw-id: //depot/perl@18633

18 years agoAlso [perl #3547] has been fixed; add its test case.
Jarkko Hietaniemi [Sun, 2 Feb 2003 15:31:36 +0000 (15:31 +0000)]
Also [perl #3547] has been fixed; add its test case.

p4raw-id: //depot/perl@18632

18 years agoThe [perl #7471] seems to have been fixed; add its test.
Jarkko Hietaniemi [Sun, 2 Feb 2003 15:26:10 +0000 (15:26 +0000)]
The [perl #7471] seems to have been fixed; add its test.

p4raw-id: //depot/perl@18631

18 years ago[perl #15397] seems to have been fixed; add its test.
Jarkko Hietaniemi [Sun, 2 Feb 2003 15:21:23 +0000 (15:21 +0000)]
[perl #15397] seems to have been fixed; add its test.

p4raw-id: //depot/perl@18630

18 years agoPlan 9: Supply also Russ Cox' original config.h for 5.8.0.
Jarkko Hietaniemi [Sun, 2 Feb 2003 15:09:39 +0000 (15:09 +0000)]
Plan 9: Supply also Russ Cox' original config.h for 5.8.0.

p4raw-id: //depot/perl@18629

18 years agoPlan 9: Update config.plan9 based on Russ Cox' work.
Jarkko Hietaniemi [Sun, 2 Feb 2003 14:46:26 +0000 (14:46 +0000)]
Plan 9: Update config.plan9 based on Russ Cox' work.

p4raw-id: //depot/perl@18628

18 years agoPlan 9: Update the list of object files.
Jarkko Hietaniemi [Sun, 2 Feb 2003 14:24:00 +0000 (14:24 +0000)]
Plan 9: Update the list of object files.

p4raw-id: //depot/perl@18627

18 years agoPlan 9: No Configure.
Jarkko Hietaniemi [Sun, 2 Feb 2003 14:03:16 +0000 (14:03 +0000)]
Plan 9: No Configure.

p4raw-id: //depot/perl@18626

18 years agoPlan 9: doesn't really do Configure (undo #18585/#18586)
Jarkko Hietaniemi [Sun, 2 Feb 2003 13:29:02 +0000 (13:29 +0000)]
Plan 9: doesn't really do Configure (undo #18585/#18586)

p4raw-id: //depot/perl@18624

18 years agominitest wasn't working. (The $^X /miniperl/ test in
Jarkko Hietaniemi [Sun, 2 Feb 2003 12:49:13 +0000 (12:49 +0000)]
minitest wasn't working.  (The $^X /miniperl/ test in
io/crlf.t didn't work in Tru64, $^X was "./perl", used
the same 'eval q/use .../' trick everywhere.)

p4raw-id: //depot/perl@18622

18 years agoFix and test for [perl #15549 Empty \Q\E not permitted]
Jarkko Hietaniemi [Sun, 2 Feb 2003 12:23:28 +0000 (12:23 +0000)]
Fix and test for [perl #15549 Empty \Q\E not permitted]
(test.pl-ise quotemeta.t, too)

p4raw-id: //depot/perl@18621

18 years agoFix bug #15837, temporary from storable call hadn't gotten
Artur Bergman [Sat, 1 Feb 2003 21:04:36 +0000 (21:04 +0000)]
Fix bug #15837, temporary from storable call hadn't gotten
freed yet and was cloned but without a real (AvREAL)
reference to it. @_ doesn't refcount!

p4raw-id: //depot/perl@18618

18 years agoIntegrate from perlio:
Jarkko Hietaniemi [Sat, 1 Feb 2003 19:43:09 +0000 (19:43 +0000)]
Integrate from perlio:

[ 18591]
PERL_IMPLICIT_SYS does NOT vector PerlIO_xxx but PerlSIO_xxx, so
correct XSUB.h

[ 18611]
Michael Schroeder's fix for re-try if stdio ops after
interrupts. (Calls to PERL_ASYNC_CHECK added by NI-S).

[ 18612]
PerlIO friendly version of speed up of $/ = undef case.

[ 18613]
fflush() before invalidating stdio's fileno.
p4raw-link: @18613 on //depot/perlio: bbfd922f5bb0c97d0accf18f588b887418c94e6b
p4raw-link: @18612 on //depot/perlio: e468d35bbed7491e8b221d65181da6200264b6a0
p4raw-link: @18611 on //depot/perlio: 4d94824190f1d3f4307c94794486b277afd6e971
p4raw-link: @18591 on //depot/perlio: f9415d2377705b4cde579db69c15a29f1b9bb9f6

p4raw-id: //depot/perl@18616

18 years agoDon't free thread before using it, breaks platforms that
Artur Bergman [Sat, 1 Feb 2003 12:01:01 +0000 (12:01 +0000)]
Don't free thread before using it, breaks platforms that
trust that I really want to free what I free, (like HPUX
and AIX).

p4raw-id: //depot/perl@18615

18 years agoRe: bleadperl: PerlIOStdio_invalidate_fileno breaks fclose semantics
Nick Ing-Simmons [Sat, 1 Feb 2003 13:03:52 +0000 (13:03 +0000)]
Re: bleadperl: PerlIOStdio_invalidate_fileno breaks fclose semantics
Message-Id: <20030201130352.1872.12@bactrian.ni-s.u-net.com>

p4raw-id: //depot/perl@18614

18 years agofflush() before invalidating stdio's fileno.
Nick Ing-Simmons [Sat, 1 Feb 2003 11:56:47 +0000 (11:56 +0000)]
fflush() before invalidating stdio's fileno.

p4raw-id: //depot/perlio@18613

18 years agoPerlIO friendly version of speed up of $/ = undef case.
Nick Ing-Simmons [Sat, 1 Feb 2003 11:37:30 +0000 (11:37 +0000)]
PerlIO friendly version of speed up of $/ = undef case.

p4raw-id: //depot/perlio@18612

18 years agoMichael Schroeder's fix for re-try if stdio ops after
Nick Ing-Simmons [Sat, 1 Feb 2003 09:26:31 +0000 (09:26 +0000)]
Michael Schroeder's fix for re-try if stdio ops after
interrupts. (Calls to PERL_ASYNC_CHECK added by NI-S).

p4raw-id: //depot/perlio@18611

18 years agoIntegrate mainline
Nick Ing-Simmons [Sat, 1 Feb 2003 09:19:20 +0000 (09:19 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@18610

18 years agoGo even further (back) than change #18608 and revert
Jarkko Hietaniemi [Fri, 31 Jan 2003 08:58:40 +0000 (08:58 +0000)]
Go even further (back) than change #18608 and revert
to the 5.8.0 code, since otherwise split.t #40 fails.
The four new tests of pat.t should keep us more honest.
p4raw-link: @18608 on //depot/perl: 5dec093fd414e8adffdf65a1d75b0b0d7a2938c3

p4raw-id: //depot/perl@18609

18 years ago[FIX] Re: UTF-8 failures (surprise!)
Adrian M. Enache [Fri, 31 Jan 2003 09:20:59 +0000 (11:20 +0200)]
[FIX] Re: UTF-8 failures (surprise!)
Message-ID: <20030131072059.GB6045@ratsnest.hole>

p4raw-id: //depot/perl@18608

18 years agoFix typo in version check ($[ to $]).
Abhijit Menon-Sen [Fri, 31 Jan 2003 02:29:56 +0000 (02:29 +0000)]
Fix typo in version check ($[ to $]).

p4raw-id: //depot/perl@18607

18 years agoUpper<->Lower case mistake in perlunicode.pod ?
Jose Auguste-Etienne [Thu, 30 Jan 2003 12:40:53 +0000 (09:40 -0300)]
Upper<->Lower case mistake in perlunicode.pod ?
Message-ID: <OF8E7C1B73.22FEA7CE-ON03256CBE.00528AB8@Cgss-Guyane.fr>

p4raw-id: //depot/perl@18606

18 years ago[perl #20616] code example in the FAQ that isn't strict-friendly.
Beckett Richard-qswi266 [Thu, 30 Jan 2003 11:43:17 +0000 (11:43 +0000)]
[perl #20616] code example in the FAQ that isn't strict-friendly.
Subject: [perl #20616] Tie::IxHash doc error.
From: Beckett Richard-qswi266 (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-20616-49904.16.891027432675@bugs6.perl.org>

p4raw-id: //depot/perl@18605

18 years agoFAQ sync.
Rafael Garcia-Suarez [Thu, 30 Jan 2003 20:52:05 +0000 (20:52 +0000)]
FAQ sync.

p4raw-id: //depot/perl@18604

18 years ago[FIX] Re: UTF-8 failures (surprise!)
Adrian M. Enache [Thu, 30 Jan 2003 10:48:09 +0000 (12:48 +0200)]
[FIX] Re: UTF-8 failures (surprise!)
Message-ID: <20030130084809.GA16902@ratsnest.hole>

Fix for half of the failures, with an expanded test.

p4raw-id: //depot/perl@18603

18 years agoUpdates to the openbsd hints
Todd C. Miller [Wed, 29 Jan 2003 18:38:37 +0000 (18:38 +0000)]
Updates to the openbsd hints

Subject: [perl #20606] [no subject]
From: "Todd C. Miller" (via RT) <perlbug-followup@perl.org>
Message-Id: <rt-20606-49879.4.78874436094841@bugs6.perl.org>

p4raw-id: //depot/perl@18602

18 years agoMore of the #18600.
Jarkko Hietaniemi [Wed, 29 Jan 2003 05:58:36 +0000 (05:58 +0000)]
More of the #18600.

p4raw-id: //depot/perl@18601

18 years agoRetract the %_/SVf change (part of #18456) for PROTOTYPE (CV)
Jarkko Hietaniemi [Wed, 29 Jan 2003 05:37:12 +0000 (05:37 +0000)]
Retract the %_/SVf change (part of #18456) for PROTOTYPE (CV)
dumping (but now use SvPV_nolen).  (This change made an empty
prototype to show up as "_" under -Uuseperlio.)

p4raw-id: //depot/perl@18600

18 years agoFix a very small memory leak in op_free, by reserving the
Paul Johnson [Tue, 28 Jan 2003 14:13:09 +0000 (15:13 +0100)]
Fix a very small memory leak in op_free, by reserving the
case op_seq == (U16)-1 for the compiler backend

Subject: Re: Freeing code
From: "Paul Johnson" <paul@pjcj.net>
Message-ID: <18918.193.134.254.145.1043759589.squirrel@wesley.pjcj.net>

p4raw-id: //depot/perl@18599

18 years agoIntegrate from maint-5.8:
Rafael Garcia-Suarez [Tue, 28 Jan 2003 20:43:02 +0000 (20:43 +0000)]
Integrate from maint-5.8:
Change 18450 :
  Tiny output tweak.
Change 18429 :
  AIX gcc (2.9) threaded build tweak (without the _THREAD_SAFE
  things like drand48_data are undefined).
Change 18388 :
  List the PERL_MAGIC_utf8 ('w') flag.

p4raw-id: //depot/perl@18598
p4raw-integrated: from //depot/maint-5.8/perl@18597 'copy in'
hints/aix.sh (@18286..) t/op/pat.t (@18290..) pod/perlguts.pod
(@18387..)

18 years agoRe: [perl #20274] perlbug requires dynamic loading
Slaven Rezic [Tue, 14 Jan 2003 20:58:54 +0000 (21:58 +0100)]
Re: [perl #20274] perlbug requires dynamic loading
Message-ID: <87n0m3v6yp.fsf@vran.herceg.de>

p4raw-id: //depot/perl@18597

18 years agoIntroduce the PUSHSUB_DB macro, equivalent to PUSHSUB, but
Dave Mitchell [Sun, 26 Jan 2003 17:42:42 +0000 (17:42 +0000)]
Introduce the PUSHSUB_DB macro, equivalent to PUSHSUB, but
without the lval context tweak. Used in OP_DBSTATE.
Subject: Re: [PATCH] Re: change #9754: 5 x slowdown for perl -d
Message-ID: <20030126174242.H16182@fdgroup.com>

p4raw-id: //depot/perl@18596

18 years agomake Copy On Write work once again
Nicholas Clark [Sat, 25 Jan 2003 00:25:50 +0000 (00:25 +0000)]
make Copy On Write work once again
Message-ID: <20030125002550.GG278@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@18595

18 years agoUpdate the pod list for Plan 9.
Jarkko Hietaniemi [Mon, 27 Jan 2003 20:01:44 +0000 (20:01 +0000)]
Update the pod list for Plan 9.

p4raw-id: //depot/perl@18594

18 years agoWhen we copy things out of a hash and increment the
Artur Bergman [Sun, 26 Jan 2003 22:37:21 +0000 (22:37 +0000)]
When we copy things out of a hash and increment the
refcount of the shared scalar, we really must protect
that refcount increase with a lock, or else it might not
happen. Fixes segfault when objects would prematurely
be killed.

p4raw-id: //depot/perl@18593

18 years agoMissing (STRLEN)casts.
Jarkko Hietaniemi [Sun, 26 Jan 2003 21:54:36 +0000 (21:54 +0000)]
Missing (STRLEN)casts.

p4raw-id: //depot/perl@18592

18 years agoPERL_IMPLICIT_SYS does NOT vector PerlIO_xxx but PerlSIO_xxx, so
Nick Ing-Simmons [Sun, 26 Jan 2003 17:46:19 +0000 (17:46 +0000)]
PERL_IMPLICIT_SYS does NOT vector PerlIO_xxx but PerlSIO_xxx, so
correct XSUB.h

p4raw-id: //depot/perlio@18591

18 years agoOPf_SPECIAL on OP_DBSTATE now indicates a breakpoint.
Dave Mitchell [Fri, 24 Jan 2003 18:44:19 +0000 (18:44 +0000)]
OPf_SPECIAL on OP_DBSTATE now indicates a breakpoint.

Subject: Re: [PATCH] Re: change #9754: 5 x slowdown for perl -d
Message-ID: <20030124184419.F11179@fdgroup.com>

p4raw-id: //depot/perl@18589

18 years agoLest people get worried about not having PerlIO.
Jarkko Hietaniemi [Sun, 26 Jan 2003 12:18:10 +0000 (12:18 +0000)]
Lest people get worried about not having PerlIO.

p4raw-id: //depot/perl@18588

18 years agoPlan 9 doesn't do nm, from Russ Cox.
Jarkko Hietaniemi [Sun, 26 Jan 2003 09:19:01 +0000 (09:19 +0000)]
Plan 9 doesn't do nm, from Russ Cox.

p4raw-id: //depot/perl@18586

18 years agoPlan 9 doesn't really have the symlink API, from Russ Cox.
Jarkko Hietaniemi [Sun, 26 Jan 2003 09:11:23 +0000 (09:11 +0000)]
Plan 9 doesn't really have the symlink API, from Russ Cox.

p4raw-id: //depot/perl@18584

18 years agoPlan 9 compiler can't return quads from the ?: (condop).
Jarkko Hietaniemi [Sun, 26 Jan 2003 09:08:36 +0000 (09:08 +0000)]
Plan 9 compiler can't return quads from the ?: (condop).
(There may be more spots like this, so a Configure test
maybe in order, but this works for now.)  From Russ Cox.

p4raw-id: //depot/perl@18583

18 years agoRe: truncate using a globref
Slaven Rezic [Thu, 23 Jan 2003 15:48:52 +0000 (16:48 +0100)]
Re: truncate using a globref
Message-Id: <200301231448.h0NEmqnu022591@vran.herceg.de>

p4raw-id: //depot/perl@18581

18 years agopatch to speed up Perl's slurp mode
Adrian M. Enache [Fri, 24 Jan 2003 06:23:54 +0000 (08:23 +0200)]
patch to speed up Perl's slurp mode
Message-Id: <20030124042354.GA30362@ratsnest.hole>

p4raw-id: //depot/perl@18580

18 years agoRe: [perl #20408] SV's SvPVX get freed even when its SvLEN is zero
Adrian M. Enache [Sun, 26 Jan 2003 04:55:48 +0000 (06:55 +0200)]
Re: [perl #20408] SV's SvPVX get freed even when its SvLEN is zero
Message-Id: <20030126025548.GB812@ratsnest.hole>

p4raw-id: //depot/perl@18579

18 years agoconst declaration fixup
Craig A. Berry [Thu, 23 Jan 2003 16:24:46 +0000 (10:24 -0600)]
const declaration fixup
From: "Craig A. Berry" <craigberry@mac.com>
Message-Id: <3E306BAE.4030807@mac.com>

p4raw-id: //depot/perl@18578

18 years agomove pad.c warnings to different test file
Dave Mitchell [Thu, 23 Jan 2003 20:56:47 +0000 (20:56 +0000)]
move pad.c warnings to different test file
Message-ID: <20030123205647.C8696@fdgroup.com>

p4raw-id: //depot/perl@18577

18 years agoFix Solaris 32-bit invalidate case.
Nick Ing-Simmons [Thu, 23 Jan 2003 07:26:43 +0000 (07:26 +0000)]
Fix Solaris 32-bit invalidate case.

p4raw-id: //depot/perl@18573

18 years agoIntegrate change 18448 from maint-5.8 :
Rafael Garcia-Suarez [Wed, 22 Jan 2003 21:40:21 +0000 (21:40 +0000)]
Integrate change 18448 from maint-5.8 :

Subject: Partial Data::Dumper patch
From: Richard Clamp <richardc@unixbeard.net>
Date: Sat, 4 Jan 2003 00:52:47 +0000
Message-ID: <20030104005247.GA27685@mirth.demon.co.uk>

Subject: Re: Partial Data::Dumper patch
From: Slaven Rezic <slaven@rezic.de>
Date: 04 Jan 2003 02:48:08 +0100
Message-ID: <87u1gp4rdz.fsf@vran.herceg.de>

p4raw-id: //depot/perl@18572
p4raw-integrated: from //depot/maint-5.8/perl@18571 'copy in'
ext/Data/Dumper/t/dumper.t (@17645..)
p4raw-integrated: from //depot/maint-5.8/perl@18448 'merge in'
ext/Data/Dumper/Dumper.xs (@17645..)

18 years agoRe: difference between my and our before introduction
Dave Mitchell [Thu, 16 Jan 2003 17:12:37 +0000 (17:12 +0000)]
Re: difference between my and our before introduction
Message-ID: <20030116171237.C420@fdgroup.com>
(with a small test tweak)

p4raw-id: //depot/perl@18571

18 years agoIntegrate mainline
Nick Ing-Simmons [Wed, 22 Jan 2003 21:03:43 +0000 (21:03 +0000)]
Integrate mainline

p4raw-id: //depot/perlio@18570

18 years agoFix [perl #19860] by adding a POSIX::fsync() stub.
Rafael Garcia-Suarez [Wed, 22 Jan 2003 21:00:59 +0000 (21:00 +0000)]
Fix [perl #19860] by adding a POSIX::fsync() stub.

p4raw-id: //depot/perl@18569

18 years agoIntegrate from perlio:
Jarkko Hietaniemi [Wed, 22 Jan 2003 17:43:45 +0000 (17:43 +0000)]
Integrate from perlio:
[ 18560]
Fixes for open.pm which attempts to load layers:
 1. C equivalent of local $SIG{__WARN__} = sub {}
    while loading layers to supress warnings lib/open.t does
    not want.
 2. The loading scheme does not recurse now so look for
    new symptom of bad layer which is that a good module
    fails to load (as we cannot open any files).

NOTE: In my opinion open.pm should probably die on bad layer
spec rather than just (maybe) warning and then allowing opens
to fail.
p4raw-link: @18560 on //depot/perlio: c9bca74aca217023baf0f921dcffaaa072a83cf3

p4raw-id: //depot/perl@18561

18 years agoFixes for open.pm which attempts to load layers:
Nick Ing-Simmons [Wed, 22 Jan 2003 17:19:41 +0000 (17:19 +0000)]
Fixes for open.pm which attempts to load layers:
 1. C equivalent of local $SIG{__WARN__} = sub {}
    while loading layers to supress warnings lib/open.t does
    not want.
 2. The loading scheme does not recurse now so look for
    new symptom of bad layer which is that a good module
    fails to load (as we cannot open any files).

NOTE: In my opinion open.pm should probably die on bad layer
spec rather than just (maybe) warning and then allowing opens
to fail.

p4raw-id: //depot/perlio@18560

18 years agoUpgrade to Encode 1.86.
Jarkko Hietaniemi [Wed, 22 Jan 2003 13:19:31 +0000 (13:19 +0000)]
Upgrade to Encode 1.86.

p4raw-id: //depot/perl@18559

18 years agoRe: slight tweak to -DR flag - display whether on tmps stack
Dave Mitchell [Sun, 19 Jan 2003 17:22:05 +0000 (17:22 +0000)]
Re: slight tweak to -DR flag - display whether on tmps stack
Message-ID: <20030119172204.D24444@fdgroup.com>

p4raw-id: //depot/perl@18558

18 years agoRe: [perl #9394] Re: [ID 20020525.002] coredump/ bad free warning in blead with...
Nicholas Clark [Tue, 21 Jan 2003 22:27:21 +0000 (22:27 +0000)]
Re: [perl #9394] Re: [ID 20020525.002] coredump/ bad free warning   in blead with SIGWARN
Message-ID: <20030121222720.GG293@Bagpuss.unfortu.net>

p4raw-id: //depot/perl@18557

18 years ago(was RE: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined))
Robin Barker [Mon, 20 Jan 2003 15:26:21 +0000 (15:26 +0000)]
(was RE: [PATCH] %_ (was Re: [PATCH] operation on `PL_na' may be undefined))
Message-ID: <533D273D4014D411AB1D00062938C4D904046299@hotel.npl.co.uk>

p4raw-id: //depot/perl@18556

18 years agoIntegrate from perlio:
Jarkko Hietaniemi [Wed, 22 Jan 2003 12:57:20 +0000 (12:57 +0000)]
Integrate from perlio:
[ 18539]
Try the invalidate_fileno() idea for non-leaky stdio sockets.

[ 18540]
stdio does NOT set errno==EBADF on invalidated fileno

[ 18547]
Tweak APItest for new semantics of printf.
Now printf() is always real printf() and not #define'd to
PerlIO_stdoutf() so PerlIO_flush() when STDOUT is redirected
back to original file does not affect stdout unless we are
using :stdio as implementation. So things printf()ed XS side
are not written to file (and turn up at end of test).
So add an XS function which does fflush(stdout), modify .pm
file to export it and .t file to call it.

[ 18548]
Add defined(__osf__) case to invalidate_fileno (for Tru64).

[ 18549]
Report layer name (without arg) on fail, and attempt to
autoload layer name. (Fix for [perl #20460]).

[ 18550]
#if defined(__irix__) (for stdio invalidate) from Jarkko.
p4raw-link: @18550 on //depot/perlio: 9837d3731bea1e0d3aaed58a46127574f76ffe53
p4raw-link: @18549 on //depot/perlio: c7732655732824f25d1659f5ebb5d4c3538d32e8
p4raw-link: @18548 on //depot/perlio: 9110aad070a9791bfefe4a0d1718537633723305
p4raw-link: @18547 on //depot/perlio: 9d9116831508c6c9cd81c32834701af14b7647a4
p4raw-link: @18540 on //depot/perlio: e85294730ea95da49196ebe8f63ce0db11ebd231
p4raw-link: @18539 on //depot/perlio: 0d7a53989a672378609205d638df0119542bcf7e

p4raw-id: //depot/perl@18555