This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoMarcus Holland-Moritz notes that the first argument to
Nicholas Clark [Fri, 19 Jan 2007 19:27:59 +0000 (19:27 +0000)]
Marcus Holland-Moritz notes that the first argument to
refcounted_he_fetch() can be NULL.

p4raw-id: //depot/perl@29884

15 years agoFix breakage for -DDEBUGGING accidentally introduced with change 29882.
Nicholas Clark [Fri, 19 Jan 2007 18:07:23 +0000 (18:07 +0000)]
Fix breakage for -DDEBUGGING accidentally introduced with change 29882.

p4raw-id: //depot/perl@29883

15 years agoAdd a parameter to Perl_get_arena() to pass in the SV type, and record
Nicholas Clark [Fri, 19 Jan 2007 17:36:10 +0000 (17:36 +0000)]
Add a parameter to Perl_get_arena() to pass in the SV type, and record
this in the arena description. Change all sizes to unsigned values.
Make Perl_sv_free_arenas() loop downwards to free memory, simplifying
the logic. Remove my erroneous comment added in change 29881.

p4raw-id: //depot/perl@29882

15 years agoI think that it's clearer if aroot is only struct arena_set *
Nicholas Clark [Fri, 19 Jan 2007 11:45:24 +0000 (11:45 +0000)]
I think that it's clearer if aroot is only struct arena_set *
(rather than ** and constantly dereferneced). Move the declaration
of new_root into the block it is used in. Add a comment describing
where the arenas for arena_sets themselves aren't rooted anywhere.

p4raw-id: //depot/perl@29881

15 years agofix unicode split /\s+/
Yves Orton [Fri, 19 Jan 2007 02:14:06 +0000 (03:14 +0100)]
fix unicode split /\s+/
Message-ID: <9b18b3110701181714r4f3bc9ebq9ba462eba8338734@mail.gmail.com>

p4raw-id: //depot/perl@29880

15 years agoAs Perl_get_arena() is dealing with sizes, use size_t rather than int,
Nicholas Clark [Fri, 19 Jan 2007 00:13:02 +0000 (00:13 +0000)]
As Perl_get_arena() is dealing with sizes, use size_t rather than int,
as it's both unsigned and semantically the correct width for a size.
As all arenas get cleared later on, can use Newx() rather than Newxz().

p4raw-id: //depot/perl@29879

15 years agoMove C<static bool done_sanity_check;> inside the only function that
Nicholas Clark [Thu, 18 Jan 2007 23:52:11 +0000 (23:52 +0000)]
Move C<static bool done_sanity_check;> inside the only function that
uses it.

p4raw-id: //depot/perl@29878

15 years agoAdd in missing dVAR that prevents compilation with
Nicholas Clark [Thu, 18 Jan 2007 23:51:45 +0000 (23:51 +0000)]
Add in missing dVAR that prevents compilation with
-DPERL_GLOBAL_STRUCT_PRIVATE

p4raw-id: //depot/perl@29877

15 years agoMove the flag checking for isGV_with_GP() into the call to visit()
Nicholas Clark [Thu, 18 Jan 2007 23:36:57 +0000 (23:36 +0000)]
Move the flag checking for isGV_with_GP() into the call to visit()

p4raw-id: //depot/perl@29876

15 years agoAdd missing SVfARG()s in require_tie_mod().
Marcus Holland-Moritz [Thu, 18 Jan 2007 16:52:37 +0000 (16:52 +0000)]
Add missing SVfARG()s in require_tie_mod().

p4raw-id: //depot/perl@29875

15 years agoGiven that we now do the tests in S_visit() to avoid calling the
Nicholas Clark [Thu, 18 Jan 2007 15:48:13 +0000 (15:48 +0000)]
Given that we now do the tests in S_visit() to avoid calling the
helper function when skippable, no need to retain those tests
inside the helper functions do_clean_objs() and do_clean_named_objs().

p4raw-id: //depot/perl@29872

15 years agoperl rebuilds because of gcc's -g flag
Marcus Holland-Moritz [Thu, 18 Jan 2007 14:27:55 +0000 (15:27 +0100)]
perl rebuilds because of gcc's -g flag
Subject: [PATCH] Re: [perl #41058] make rebuilds perl everytime
Message-ID: <20070118142755.28e7f724@r2d2>

p4raw-id: //depot/perl@29871

15 years agoRe: [PATCH] win32_async_check() can still loop indefinitely
Jan Dubois [Mon, 15 Jan 2007 19:25:11 +0000 (11:25 -0800)]
Re: [PATCH] win32_async_check() can still loop indefinitely
Message-ID: <rigoq25vda3sg4i7ppdb5o2jhvuiq15kqj@4ax.com>

p4raw-id: //depot/perl@29868

15 years agoAs PVLVs can hold globs in some cases, I think that we should be
Nicholas Clark [Thu, 18 Jan 2007 11:16:09 +0000 (11:16 +0000)]
As PVLVs can hold globs in some cases, I think that we should be
treating them as a strict subclass of PVGV. Hence drop through into
the PVGV handling code.

p4raw-id: //depot/perl@29867

15 years agodisable parser stack cleanup on reduce croak (too fragile)
Dave Mitchell [Thu, 18 Jan 2007 02:14:48 +0000 (02:14 +0000)]
disable parser stack cleanup on reduce croak (too fragile)

p4raw-id: //depot/perl@29866

15 years agoFix a typo in Dynaloader_pm.PL.
Marcus Holland-Moritz [Wed, 17 Jan 2007 21:06:11 +0000 (21:06 +0000)]
Fix a typo in Dynaloader_pm.PL.

p4raw-id: //depot/perl@29857

15 years agoReplace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
Nicholas Clark [Wed, 17 Jan 2007 19:22:47 +0000 (19:22 +0000)]
Replace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
because it's not possible for dstr to be COW at this point, due to an
earlier force_normal.

p4raw-id: //depot/perl@29855

15 years agoMake PERL_OLD_COPY_ON_WRITE build again. Inline Perl_sv_release_IVX().
Nicholas Clark [Wed, 17 Jan 2007 18:24:50 +0000 (18:24 +0000)]
Make PERL_OLD_COPY_ON_WRITE build again. Inline Perl_sv_release_IVX().
(Currently it fails ext/Compress/Raw/Zlib/t/07bufsize.t)

p4raw-id: //depot/perl@29853

15 years agoIf we use SvUPGRADE() rather than sv_upgrade() then it can make the
Nicholas Clark [Wed, 17 Jan 2007 15:42:54 +0000 (15:42 +0000)]
If we use SvUPGRADE() rather than sv_upgrade() then it can make the
decision on not "up"grading PVLV to PVGV for us. However, it appears
that the other actions conducted for "not-yet-a-glob" are useful here.

p4raw-id: //depot/perl@29852

15 years agoRe: [PATCH] symbian/xsbuild.pl patching continues
Jarkko Hietaniemi [Wed, 17 Jan 2007 08:27:03 +0000 (03:27 -0500)]
Re: [PATCH] symbian/xsbuild.pl patching continues
Message-ID: <45AE2427.7080907@iki.fi>

p4raw-id: //depot/perl@29848

15 years agoReentrant functions appear to still be broken in NetBSD 3.1.
Steve Peters [Tue, 16 Jan 2007 22:15:05 +0000 (22:15 +0000)]
Reentrant functions appear to still be broken in NetBSD 3.1.

p4raw-id: //depot/perl@29845

15 years agoRe: Dual-lived AutoLoader
Steffen Müller [Tue, 16 Jan 2007 15:29:44 +0000 (16:29 +0100)]
Re: Dual-lived AutoLoader
Message-ID: <45ACE158.4080102@sneakemail.com>

p4raw-id: //depot/perl@29844

15 years agoRe: [PATCH] Change implementation of %+ to use a proper tied hash interface and add...
Yves Orton [Mon, 15 Jan 2007 23:06:44 +0000 (00:06 +0100)]
Re: [PATCH] Change implementation of %+ to use a proper tied hash interface and add support for %-
Message-ID: <9b18b3110701151406p7168b20byf873ee2e58091ca3@mail.gmail.com>

p4raw-id: //depot/perl@29843

15 years agoMake offsets support conditional
Yves Orton [Sun, 14 Jan 2007 15:24:25 +0000 (16:24 +0100)]
Make offsets support conditional
Message-ID: <9b18b3110701140624v452f7684x5e9d2890805489fd@mail.gmail.com>

p4raw-id: //depot/perl@29842

15 years agoTypo fix, by Robin Barker
Rafael Garcia-Suarez [Tue, 16 Jan 2007 10:17:43 +0000 (10:17 +0000)]
Typo fix, by Robin Barker

p4raw-id: //depot/perl@29841

15 years agomake Dump display the SVf_BREAK flag
Dave Mitchell [Mon, 15 Jan 2007 18:33:02 +0000 (18:33 +0000)]
make Dump display the SVf_BREAK flag

p4raw-id: //depot/perl@29839

15 years agoEnable the ~~ operator by default.
Rafael Garcia-Suarez [Mon, 15 Jan 2007 18:25:45 +0000 (18:25 +0000)]
Enable the ~~ operator by default.
Remove the ~~ feature.

p4raw-id: //depot/perl@29838

15 years agowhen cloning PL_regex_pad, copy SVf_BREAK flag too
Dave Mitchell [Mon, 15 Jan 2007 18:19:20 +0000 (18:19 +0000)]
when cloning  PL_regex_pad, copy SVf_BREAK flag too

p4raw-id: //depot/perl@29837

15 years agopp_rv2av and pp_rv2hv have a lot of common code, so it's certainly a
Nicholas Clark [Mon, 15 Jan 2007 18:15:54 +0000 (18:15 +0000)]
pp_rv2av and pp_rv2hv have a lot of common code, so it's certainly a
space saving to merge them. Hopefully this will reduce L2 cache misses.

p4raw-id: //depot/perl@29836

15 years agoMake changes analagous to pp_rv2hv's 21394 and 24489 in pp_rv2av.
Nicholas Clark [Mon, 15 Jan 2007 17:18:03 +0000 (17:18 +0000)]
Make changes analagous to pp_rv2hv's 21394 and 24489 in pp_rv2av.

p4raw-id: //depot/perl@29835

15 years agoRe: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH...
Yves Orton [Sat, 13 Jan 2007 17:18:01 +0000 (18:18 +0100)]
Re: [PATCH] Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Message-ID: <9b18b3110701130818h6badbd3o1b38f2660d258173@mail.gmail.com>

macroize regexp modifiers

p4raw-id: //depot/perl@29834

15 years agoAdd support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Yves Orton [Fri, 12 Jan 2007 02:31:12 +0000 (03:31 +0100)]
Add support for /k modfier for matching along with ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH}
Message-ID: <9b18b3110701111731x29b1c63i57b1698f769b3bbc@mail.gmail.com>
(with tweaks)

p4raw-id: //depot/perl@29831

15 years agoAdd get_cvn_flags(), which is like get_cv() but takes a length. This
Nicholas Clark [Mon, 15 Jan 2007 14:38:58 +0000 (14:38 +0000)]
Add get_cvn_flags(), which is like get_cv() but takes a length. This
allows symbolic code references with embeded NULs to work.

p4raw-id: //depot/perl@29830

15 years agosymbian/xsbuild.pl
Jarkko Hietaniemi [Mon, 15 Jan 2007 08:49:56 +0000 (03:49 -0500)]
symbian/xsbuild.pl
Message-ID: <45AB8684.70906@iki.fi>

p4raw-id: //depot/perl@29829

15 years agoextend threads 'veto cleanup' to perl_free and system stuff
Dave Mitchell [Mon, 15 Jan 2007 14:16:53 +0000 (14:16 +0000)]
extend threads 'veto cleanup' to perl_free and system stuff

p4raw-id: //depot/perl@29827

15 years agoProper symbian fix (replacing change #29813) by Jarkko
Rafael Garcia-Suarez [Mon, 15 Jan 2007 14:15:35 +0000 (14:15 +0000)]
Proper symbian fix (replacing change #29813) by Jarkko
p4raw-link: @29813 on //depot/perl: 7b82c93812e18a92e98b364b3e820e455a5a1358

p4raw-id: //depot/perl@29826

15 years agoUse the $Is_MacOS variable
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:45:40 +0000 (13:45 +0000)]
Use the $Is_MacOS variable

p4raw-id: //depot/perl@29825

15 years agoSimplify the ok/not ok logic
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:44:39 +0000 (13:44 +0000)]
Simplify the ok/not ok logic
(another refactorisation by Schwern)

p4raw-id: //depot/perl@29824

15 years agoVarious cleanup and factorization by Schwern
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:40:18 +0000 (13:40 +0000)]
Various cleanup and factorization by Schwern
for tests for warnings and features

p4raw-id: //depot/perl@29823

15 years agoIntroduce the :5.10.0 feature bundle, and make :5.10 an
Rafael Garcia-Suarez [Mon, 15 Jan 2007 13:30:51 +0000 (13:30 +0000)]
Introduce the :5.10.0 feature bundle, and make :5.10 an
alias to it (aimed at be an alias to the latest :5.10.X)

p4raw-id: //depot/perl@29822

15 years agoFix link to perlsyn (thanks to Michael G Schwern)
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:44:45 +0000 (12:44 +0000)]
Fix link to perlsyn (thanks to Michael G Schwern)

p4raw-id: //depot/perl@29821

15 years agoRemove the "dor" feature alias.
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:42:36 +0000 (12:42 +0000)]
Remove the "dor" feature alias.

p4raw-id: //depot/perl@29820

15 years agoDocument "no feature" (Michael G Schwern)
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:41:28 +0000 (12:41 +0000)]
Document "no feature" (Michael G Schwern)

p4raw-id: //depot/perl@29819

15 years agoMove the documentation of the lexical effect of feature.pm to its own
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:37:27 +0000 (12:37 +0000)]
Move the documentation of the lexical effect of feature.pm to its own
section thus removing a lot of redundant redundant documentation about
it cluttering up the feature documentation. (by Michael G Schwern)

p4raw-id: //depot/perl@29818

15 years agoRemove obsolete notes and TODOs from feature.pm
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:34:00 +0000 (12:34 +0000)]
Remove obsolete notes and TODOs from feature.pm

p4raw-id: //depot/perl@29817

15 years agoAdd a reference to the docs for state() variables in feature.pm
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:30:56 +0000 (12:30 +0000)]
Add a reference to the docs for state() variables in feature.pm
(suggested by Michael G Schwern)

p4raw-id: //depot/perl@29816

15 years agoFactorise croak() calls and error messages in feature.pm
Rafael Garcia-Suarez [Mon, 15 Jan 2007 12:29:14 +0000 (12:29 +0000)]
Factorise croak() calls and error messages in feature.pm
(suggested by Michael G Schwern)

p4raw-id: //depot/perl@29815

15 years agoTest that names with embedded NULs work for symbolic array, hash and
Nicholas Clark [Mon, 15 Jan 2007 12:13:24 +0000 (12:13 +0000)]
Test that names with embedded NULs work for symbolic array, hash and
typeglob references.

p4raw-id: //depot/perl@29814

15 years agoRevert perl.h part of change 29811, which breaks compilation with gcc
Rafael Garcia-Suarez [Mon, 15 Jan 2007 08:22:08 +0000 (08:22 +0000)]
Revert perl.h part of change 29811, which breaks compilation with gcc

p4raw-id: //depot/perl@29813

15 years agog++ fixes
Jarkko Hietaniemi [Mon, 15 Jan 2007 06:09:30 +0000 (08:09 +0200)]
g++ fixes
Message-Id: <20070115040930.8685843A67@anubis.hut.fi>

p4raw-id: //depot/perl@29812

15 years agoSymbian/S90 further fixes
Jarkko Hietaniemi [Mon, 15 Jan 2007 06:11:52 +0000 (08:11 +0200)]
Symbian/S90 further fixes
Message-Id: <20070115041152.374AB43A67@anubis.hut.fi>

p4raw-id: //depot/perl@29811

15 years agomake S_ithread_run() call S_ithread_free() in main context
Dave Mitchell [Sun, 14 Jan 2007 23:58:49 +0000 (23:58 +0000)]
make S_ithread_run() call S_ithread_free() in main context

Fixes a race condition between detach clearing a thread's
interpreter, and S_ithread_run() freeing itself while
assuming that it's own interpreter still exists.

p4raw-id: //depot/perl@29810

15 years agofurther refinement to #29796 (cleanup veto)
Dave Mitchell [Sun, 14 Jan 2007 12:43:39 +0000 (12:43 +0000)]
further refinement to #29796 (cleanup veto)

p4raw-id: //depot/perl@29805

15 years agoRe: Memory...growing, and growing
Marvin Humphrey [Sat, 13 Jan 2007 12:05:30 +0000 (04:05 -0800)]
Re: Memory...growing, and growing
Message-Id: <3CCCF699-345E-4C65-BCCB-1549EB99547A@rectangular.com>

Document -DDL_UNLOAD_ALL_AT_EXIT

p4raw-id: //depot/perl@29803

15 years agounfreed threads should trigger cleanup veto
Dave Mitchell [Sat, 13 Jan 2007 22:57:26 +0000 (22:57 +0000)]
unfreed threads should trigger cleanup veto

The thread pool struct is allocated in the main interpreter, so
don't clean that up if any threads remain, regardless of what
state they are in

p4raw-id: //depot/perl@29796

15 years agoIn S_hfreeentries, orig_array can be const.
Nicholas Clark [Sat, 13 Jan 2007 18:21:19 +0000 (18:21 +0000)]
In S_hfreeentries, orig_array can be const.

p4raw-id: //depot/perl@29790

15 years agoTODO: yada yada yada
Rafael Garcia-Suarez [Sat, 13 Jan 2007 17:17:40 +0000 (17:17 +0000)]
TODO: yada yada yada

p4raw-id: //depot/perl@29786

15 years agoRe: AW: umask handling in File::Temp
Gisle Aas [Fri, 12 Jan 2007 16:10:16 +0000 (17:10 +0100)]
Re: AW: umask handling in File::Temp
Message-ID:  <877ivs1dt3.fsf@ask.g.aas.no>

p4raw-id: //depot/perl@29784

15 years agoperlthrtut.pod (based on perl-current@29766)
Wolfgang Laun [Fri, 12 Jan 2007 17:37:58 +0000 (18:37 +0100)]
perlthrtut.pod (based on perl-current@29766)
Message-ID: <45A7B966.1040307@thalesgroup.com>

p4raw-id: //depot/perl@29781

15 years agofix PL_parser_dup symbol (again)
Dave Mitchell [Fri, 12 Jan 2007 21:49:13 +0000 (21:49 +0000)]
fix PL_parser_dup symbol (again)

p4raw-id: //depot/perl@29780

15 years agoRationalise refcounting of thread structures
Dave Mitchell [Fri, 12 Jan 2007 19:56:40 +0000 (19:56 +0000)]
Rationalise refcounting of thread structures
Formerly there could be races with multiple destroys of a thread
structure.

p4raw-id: //depot/perl@29779

15 years agoSuperdome now also in Itanium series (sx1000 & sx2000),
H.Merijn Brand [Fri, 12 Jan 2007 16:06:23 +0000 (16:06 +0000)]
Superdome now also in Itanium series (sx1000 & sx2000),
cx2600 is Madison 6

p4raw-id: //depot/perl@29778

15 years agogcc -dumpversion is at least supported back to 2.7.x and
H.Merijn Brand [Fri, 12 Jan 2007 15:15:13 +0000 (15:15 +0000)]
gcc -dumpversion is at least supported back to 2.7.x and
thus seems to be much more defensive against upcoming version
reporting format changes.

p4raw-id: //depot/perl@29777

15 years agomakedef.pl should be able to load "strict"
Rafael Garcia-Suarez [Fri, 12 Jan 2007 13:57:45 +0000 (13:57 +0000)]
makedef.pl should be able to load "strict"

p4raw-id: //depot/perl@29774

15 years agoUpgrade to ExtUtils::Manifest 1.51
Rafael Garcia-Suarez [Fri, 12 Jan 2007 11:44:04 +0000 (11:44 +0000)]
Upgrade to ExtUtils::Manifest 1.51

p4raw-id: //depot/perl@29768

15 years agofix typo in hv.c
Dave Mitchell [Fri, 12 Jan 2007 11:26:14 +0000 (11:26 +0000)]
fix typo in hv.c

p4raw-id: //depot/perl@29767

15 years agofix PL_parser_dup symbol
Dave Mitchell [Fri, 12 Jan 2007 11:13:49 +0000 (11:13 +0000)]
fix PL_parser_dup symbol

p4raw-id: //depot/perl@29766

15 years agomake tr/// threadsafe by moving swash into pad
Dave Mitchell [Fri, 12 Jan 2007 10:42:05 +0000 (10:42 +0000)]
make tr/// threadsafe by moving swash into pad

p4raw-id: //depot/perl@29765

15 years agotrivia in perlthrtut.pod
Wolfgang Laun [Thu, 11 Jan 2007 16:57:29 +0000 (17:57 +0100)]
trivia in perlthrtut.pod
Message-ID: <45A65E69.8010400@thalesgroup.com>

p4raw-id: //depot/perl@29764

15 years agoUpdate copyright year in "perl -v" output
Steve Hay [Thu, 11 Jan 2007 17:27:02 +0000 (17:27 +0000)]
Update copyright year in "perl -v" output

p4raw-id: //depot/perl@29762

15 years agoFix bug [perl #41234] : the tokenizer understands "=cute"
Rafael Garcia-Suarez [Thu, 11 Jan 2007 17:12:08 +0000 (17:12 +0000)]
Fix bug [perl #41234] : the tokenizer understands "=cute"
or other words that begin with "cut" as synonyms for "=cut"

p4raw-id: //depot/perl@29761

15 years agoChange 29753 messed up do_hv_dump() [my fault]
Nicholas Clark [Thu, 11 Jan 2007 15:37:12 +0000 (15:37 +0000)]
Change 29753 messed up do_hv_dump() [my fault]

p4raw-id: //depot/perl@29758

15 years agoSilence an "unused parameter" warning in Perl_reg_numbered_buff_get().
Rafael Garcia-Suarez [Thu, 11 Jan 2007 15:07:28 +0000 (15:07 +0000)]
Silence an "unused parameter" warning in Perl_reg_numbered_buff_get().
This parameter might become handy in the future, so keep it.

p4raw-id: //depot/perl@29757

15 years agoAdd Regexp::Keep \K functionality to regex engine as well as add \v and \V, cleanup...
Yves Orton [Wed, 10 Jan 2007 20:33:39 +0000 (21:33 +0100)]
Add Regexp::Keep \K functionality to regex engine as well as add \v and \V, cleanup and more docs for regatom()
Message-ID: <9b18b3110701101133i46dc5fd0p1476a0f1dd1e9c5a@mail.gmail.com>

(plus POD nits by Merijn and myself)

p4raw-id: //depot/perl@29756

15 years agodo_gv_dump, do_gvgv_dump and do_hv_dump call all actually take a NULL
Nicholas Clark [Thu, 11 Jan 2007 13:23:40 +0000 (13:23 +0000)]
do_gv_dump, do_gvgv_dump and do_hv_dump call all actually take a NULL
parameter. Patch for do_hv_dump supplied by Brandon L Black, other
two added after code inspection.

p4raw-id: //depot/perl@29753

15 years agoFix bug #40407: after a seek on a PerlIO::scalar filehandle,
Rafael Garcia-Suarez [Thu, 11 Jan 2007 10:34:02 +0000 (10:34 +0000)]
Fix bug #40407: after a seek on a PerlIO::scalar filehandle,
ensure there's a string buffer in the scalar

p4raw-id: //depot/perl@29751

15 years agoAutoLoader fix, part 2
Steffen Müller [Wed, 10 Jan 2007 18:52:23 +0000 (19:52 +0100)]
AutoLoader fix, part 2
Message-ID: <20070110175148.26694.qmail@lists.develooper.com>

p4raw-id: //depot/perl@29750

15 years agoIn toke.c, merge S_update_debugger_info_pv() and
Nicholas Clark [Thu, 11 Jan 2007 00:24:48 +0000 (00:24 +0000)]
In toke.c, merge S_update_debugger_info_pv() and
S_update_debugger_info_sv() into S_update_debugger_info().

p4raw-id: //depot/perl@29749

15 years agoAn implementation of change 29735 for blead (PL_curcop could be NULL)
Nicholas Clark [Wed, 10 Jan 2007 16:24:27 +0000 (16:24 +0000)]
An implementation of change 29735 for blead (PL_curcop could be NULL)
given that blead's refactoring is not yet in maint.

p4raw-id: //depot/perl@29748

15 years agoRegenerate all files
Rafael Garcia-Suarez [Wed, 10 Jan 2007 16:00:17 +0000 (16:00 +0000)]
Regenerate all files

p4raw-id: //depot/perl@29747

15 years agoPATCH: perlfunc.pod / warn
Peter Scott [Wed, 10 Jan 2007 05:18:52 +0000 (21:18 -0800)]
PATCH: perlfunc.pod / warn
Message-Id: <pan.2007.01.10.13.18.52.834683@PSDT.com>

p4raw-id: //depot/perl@29745

15 years agoRe: [perl #41215] % on scalars sometimes throws away fractions
SADAHIRO Tomoyuki [Tue, 9 Jan 2007 23:39:42 +0000 (08:39 +0900)]
Re: [perl #41215] % on scalars sometimes throws away fractions
Message-Id: <20070109233928.07AF.BQW10602@nifty.com>

plus nits by Dominic Dunlop

p4raw-id: //depot/perl@29744

15 years agoBug in AutoLoader.pm causing endless loop
Steffen Müller [Tue, 9 Jan 2007 19:15:36 +0000 (20:15 +0100)]
Bug in AutoLoader.pm causing endless loop
Message-ID: <45A3DBC8.4010203@sneakemail.com>

p4raw-id: //depot/perl@29743

15 years ago./miniperl minimod.pl ... Can't locate strict.pm
Andreas J. Koenig [Wed, 10 Jan 2007 04:55:55 +0000 (05:55 +0100)]
./miniperl minimod.pl ... Can't locate strict.pm
Message-ID: <87lkkbk01g.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@29742

15 years agoMake minimod.pl warnings and strict clean.
Nicholas Clark [Tue, 9 Jan 2007 21:46:28 +0000 (21:46 +0000)]
Make minimod.pl warnings and strict clean.

p4raw-id: //depot/perl@29741

15 years agoMake makedef.pl warnings and strict clean.
Nicholas Clark [Tue, 9 Jan 2007 21:44:05 +0000 (21:44 +0000)]
Make makedef.pl warnings and strict clean.

p4raw-id: //depot/perl@29740

15 years agoMake keywords.pl strict and warnings clean.
Nicholas Clark [Tue, 9 Jan 2007 21:37:31 +0000 (21:37 +0000)]
Make keywords.pl strict and warnings clean.

p4raw-id: //depot/perl@29739

15 years agoMake autodoc.pl strict clean.
Nicholas Clark [Tue, 9 Jan 2007 21:34:50 +0000 (21:34 +0000)]
Make autodoc.pl strict clean.

p4raw-id: //depot/perl@29738

15 years agoMake opcode.pl strict and warnings clean.
Nicholas Clark [Tue, 9 Jan 2007 21:21:56 +0000 (21:21 +0000)]
Make opcode.pl strict and warnings clean.

p4raw-id: //depot/perl@29736

15 years agoRe: Change 29723 breaks t/op/inccode-tie.t on Win32
Nicholas Clark [Tue, 9 Jan 2007 12:31:17 +0000 (12:31 +0000)]
Re: Change 29723 breaks t/op/inccode-tie.t on Win32
Message-ID: <20070109123116.GC30742@plum.flirble.org>

p4raw-id: //depot/perl@29734

15 years agoRe: [PATCH] ANSIfy the PATH environment variable on Windows
Jan Dubois [Mon, 8 Jan 2007 14:58:12 +0000 (06:58 -0800)]
Re: [PATCH] ANSIfy the PATH environment variable on Windows
Message-ID: <eei5q29hrchpam2i5g0000mbvu0b1hrm83@4ax.com>

Fixes the Borland build, in which the PATH was getting corrupted
when the variable that was just putenv()'d got free()'d

p4raw-id: //depot/perl@29732

15 years agoChange #29711 broke tr//c on Win32.
Yves Orton [Mon, 8 Jan 2007 20:31:26 +0000 (21:31 +0100)]
Change #29711 broke tr//c on Win32.
Message-ID: <9b18b3110701081131v392597c6veed493407c1eede7@mail.gmail.com>

p4raw-id: //depot/perl@29731

15 years agoLet the regex parser decide if we have a special pattern or not.
Yves Orton [Tue, 9 Jan 2007 00:46:31 +0000 (01:46 +0100)]
Let the regex parser decide if we have a special pattern or not.
Message-ID: <9b18b3110701081546n2c3f19acy29adc0d233bb848c@mail.gmail.com>

p4raw-id: //depot/perl@29730

15 years agosocketpair.t was written in 2001. At that time, Test::More got confused
Nicholas Clark [Tue, 9 Jan 2007 09:58:17 +0000 (09:58 +0000)]
socketpair.t was written in 2001. At that time, Test::More got confused
if you forked under it. Test::More 0.47 added support to detect forking
which resolves this. Hence there is now no need to fork() in a BEGIN
block, which causes issues on Win32 due to how pseudofork works.

p4raw-id: //depot/perl@29729

15 years agoRevert change #29708 (useless)
Rafael Garcia-Suarez [Tue, 9 Jan 2007 09:28:52 +0000 (09:28 +0000)]
Revert change #29708 (useless)
p4raw-link: @29708 on //depot/perl: 2ba2769ea20cab9d830589a267b2b38118c75056

p4raw-id: //depot/perl@29728

15 years agoEliminate pp_threadsv, as it was only ever used by 5005 threads.
Nicholas Clark [Mon, 8 Jan 2007 23:27:26 +0000 (23:27 +0000)]
Eliminate pp_threadsv, as it was only ever used by 5005 threads.

p4raw-id: //depot/perl@29727

15 years agodo or die; for all the List::Util pure perl tests.
Nicholas Clark [Mon, 8 Jan 2007 21:52:32 +0000 (21:52 +0000)]
do or die; for all the List::Util pure perl tests.

p4raw-id: //depot/perl@29724

15 years agodo $file; won't propagate errors from die, as do is an implicit eval.
Nicholas Clark [Mon, 8 Jan 2007 21:20:26 +0000 (21:20 +0000)]
do $file; won't propagate errors from die, as do is an implicit eval.
So need to propagate errors with $@.

p4raw-id: //depot/perl@29723

15 years agoMention -C on #! line in perltodo. Remove some trailing whitespace that
Nicholas Clark [Mon, 8 Jan 2007 14:28:17 +0000 (14:28 +0000)]
Mention -C on #! line in perltodo. Remove some trailing whitespace that
podchecker warned over.

p4raw-id: //depot/perl@29719

15 years agoChange the API doc for some of the SvXXX testing macros.
Rafael Garcia-Suarez [Mon, 8 Jan 2007 11:09:10 +0000 (11:09 +0000)]
Change the API doc for some of the SvXXX testing macros.
Often, those macros simply test a bit in sv_flags, so
the return value should be assigned to a U32 instead of
a bool to avoid truncation. (bug perl #32884)

p4raw-id: //depot/perl@29718