This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoTurn taint warnings (-t) into severe warnings, so they're
Rafael Garcia-Suarez [Mon, 8 Jan 2007 10:35:04 +0000 (10:35 +0000)]
Turn taint warnings (-t) into severe warnings, so they're
on by default, without having to play games with the
warning bits. Add a test for -t.

p4raw-id: //depot/perl@29717

14 years agoSilence casting warnings
Rafael Garcia-Suarez [Mon, 8 Jan 2007 09:26:01 +0000 (09:26 +0000)]
Silence casting warnings

p4raw-id: //depot/perl@29716

14 years agoDefault "$undef" for NV_PRESERVES_UV_BITS causes compilation
Marcus Holland-Moritz [Mon, 8 Jan 2007 00:49:11 +0000 (01:49 +0100)]
Default "$undef" for NV_PRESERVES_UV_BITS causes compilation
  failure of sv.c when triggered
Message-ID: <20070108004911.7022445c@r2d2>

p4raw-id: //depot/perl@29715

14 years agohelp cygwin find its dlls even on taint tests with no path
Yitzchak Scott-Thoennes [Sun, 7 Jan 2007 16:56:28 +0000 (08:56 -0800)]
help cygwin find its dlls even on taint tests with no path
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <2437.63.226.247.31.1168217788.squirrel@63.226.247.31>

p4raw-id: //depot/perl@29713