| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
This is an analog for warnings::enabled, except it tests whether the
given category has been set fatal using "use warnings FATAL => foo".
This is mostly for symmetry.
Assumes that the fatal bit for a category will have an offset one higher
than the regular bit for the category, because otherwise much rewriting
of __chk would be required.
|
|
|
|
|
|
| |
The core never uses WARN3() or WARN4(), and rarely uses WARN2(), so the
previous code, effectively an unwrapped loop, wasn't a speed up. Functionally
equivalent smaller code fits better into CPU caches.
|
|
|
|
| |
versions needed to be bumped before 5.11.0
|
|
|
|
| |
Use only Carp, now that all the machinery is in it.
|
| |
|
|
|
|
|
|
|
|
| |
Thanks to the wisdom of london.pm, stuff the filename into the SCALAR
slot of the typeglob created in safer_open(), so that ...
Add safer_close(), that will die (with the filename) if the close
fails.
p4raw-id: //depot/perl@33539
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
what it does. Use File::Compare rather than Digest::MD5, as the files
are small enough to simply read in. (File::Compare dates from 5.004)
Remove safer_rename_always(), which isn't used.
DRY by replacing the cargo-culted "open or die" with a new function
safer_open(), which uses Gensym (5.002) to create an anonymous file
handle, and opens and binmodes the file, or dies.
This necessitates replacing bareword file handles with lexicals in all
the callers.
Correct the names of files in close or die constructions.
p4raw-id: //depot/perl@33538
|
|
|
|
|
|
| |
Message-ID: <47D720CE.7060004@gmail.com>
Date: Tue, 11 Mar 2008 18:16:14 -0600
p4raw-id: //depot/perl@33537
|
|
|
|
|
|
| |
the limit of representation in NVs, using a new warnings category
"imprecision".
p4raw-id: //depot/perl@32990
|
|
|
|
|
| |
when $" is undefined.
p4raw-id: //depot/perl@32090
|
|
|
| |
p4raw-id: //depot/perl@32083
|
|
|
| |
p4raw-id: //depot/perl@31333
|
|
|
|
|
| |
p4raw-link: @31082 on //depot/perl: e3def60f2e5ccd1bf34656c3a5e1691f3bdc48a9
p4raw-id: //depot/perl@31084
|
|
|
| |
p4raw-id: //depot/perl@30365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 28144]
In Perl_Gv_AMupdate(), there's no need to call sv_unmagic() if we know
the magic isn't there.
[ 28145]
Simplify the non-printable name error reporting code in Perl_allocmy().
[ 28176]
Subject: [PATCH] Speed up utf8.c a bit
Date: Thu, 11 May 2006 22:41:01 -0500
Message-ID: <20060512034101.GA10709@petdance.com>
[ 28178]
The upgrade/croak order in Perl_sv_utf8_encode() seemed utterly
backwards. It now checks for readonly *first*.
[ 28179]
Subject: [PATCH] Proper use of static funcs in toke.c and pp_sys.c
From: andy@petdance.com (Andy Lester)
Date: Tue, 9 May 2006 12:27:30 -0500
Message-ID: <20060509172730.GA5272@petdance.com>
[ 28180]
Subject: [PATCH] upgrade bytes_to_uni
From: andy@petdance.com (Andy Lester)
Date: Fri, 12 May 2006 00:21:23 -0500
Message-ID: <20060512052123.GA21648@petdance.com>
[ 28194]
Subject: [PATCH] S_reguni should return its length
From: andy@petdance.com (Andy Lester)
Date: Sun, 14 May 2006 09:46:32 -0500
Message-ID: <20060514144632.GA20935@petdance.com>
ooops, and also something in blead that wasn't meant to sneak in:
Change PERL_WARNHOOK_FATAL to &PL_sv_placeholder, rather than some
evil cast relative to NULL.
p4raw-link: @28194 on //depot/perl: 71207a3462fa4c2b33c5608a4362ac40e975ecdb
p4raw-link: @28180 on //depot/perl: 64844641e1be28fdf8b7bba9436537339624f40b
p4raw-link: @28179 on //depot/perl: 931e0695c454f4c18f68d30775151862650cc4d8
p4raw-link: @28178 on //depot/perl: a5f5288a1ce96404c41043e92557b8c1a5ad9e30
p4raw-link: @28176 on //depot/perl: 3ebfea2846d81f58e86dfcb7f9e09300e5dfcd17
p4raw-link: @28145 on //depot/perl: d1544d85966c2f41014a6f408fd81b36501caa7c
p4raw-link: @28144 on //depot/perl: 14899595d82ccba509ac7743655764129ed32177
p4raw-id: //depot/perl@29980
|
|
|
|
|
|
| |
on by default, without having to play games with the
warning bits. Add a test for -t.
p4raw-id: //depot/perl@29717
|
|
|
|
|
| |
to warnings.pl
p4raw-id: //depot/perl@28666
|
|
|
| |
p4raw-id: //depot/perl@28148
|
|
|
|
|
|
|
| |
directly (shared) malloc()ed buffer holding the warnings bitmask.
This avoids bugs/crashes when the interpreter that created an optree
is freed but the optree remains in use by other interpreters.
p4raw-id: //depot/perl@27779
|
|
|
|
|
|
| |
simple replace of Nullsv with NULL turns out to be a bad idea.
* Technically undefined behaviour, I believe.
p4raw-id: //depot/perl@27078
|
|
|
|
|
|
| |
Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org>
Date: Fri, 3 Feb 2006 16:24:49 +0100
p4raw-id: //depot/perl@27065
|
|
|
| |
p4raw-id: //depot/perl@26804
|
|
|
|
|
| |
Message-Id: <42F28ED5.CFFDCCFD@wizbit.be>
p4raw-id: //depot/perl@25888
|
|
|
| |
p4raw-id: //depot/perl@25050
|
|
|
|
|
| |
Also move carp.pm pod to carp.pod
p4raw-id: //depot/perl@24995
|
|
|
|
|
| |
("Suggest parentheses to clarify precedence")
p4raw-id: //depot/perl@24938
|
|
|
|
|
| |
Message-ID: <20050517231701.GA1394@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24509
|
|
|
|
|
|
| |
in read-only mode. Make vi modelines compatible with non-vim
vi versions.
p4raw-id: //depot/perl@24445
|
|
|
|
|
| |
Message-ID: <20050407224442.GA23895@petdance.com>
p4raw-id: //depot/perl@24205
|
|
|
|
|
| |
Message-ID: <cfe85dfa05010305367445dee6@mail.gmail.com>
p4raw-id: //depot/perl@23768
|
|
|
|
|
| |
(autodoc.pl was already done by change 23371.)
p4raw-id: //depot/perl@23501
|
|
|
|
|
|
|
| |
From: kaminsky@math.huji.ac.il (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-31843-97358.2.89612012687236@perl.org>
(with tweaks)
p4raw-id: //depot/perl@23361
|
|
|
|
|
|
|
|
| |
getting made readonly on interpreter clone. Also, remove the
:unique attribute from the hashes in warnings.pm, since they may
later be modified by warnings::register. Finally, adds tests for
the :unique attribute.
p4raw-id: //depot/perl@22034
|
|
|
|
|
|
|
|
|
|
|
| |
Message-Id: <200308312208.WAA25312@lublin.zrz.TU-Berlin.DE>
The test has been moved into warnings.pm's test suite. Note
that this patch fixed as well the behaviour of warnings::enabled
regarding lexical scoping and different files; hence the expected
results in a few tests in /t/lib/warnings/9enabled has been
reverted.
p4raw-id: //depot/perl@21167
|
|
|
|
|
|
|
| |
Subject: Re: [PATCH] warnings.pl: each thread 10K smaller
Message-Id: <20030909014424.7ef5e0cd.rgarciasuarez@free.fr>
p4raw-link: @21107 on //depot/perl: 71a1411e8309f445a8e3afde57ce393886ff905f
p4raw-id: //depot/perl@21136
|
|
|
|
|
|
|
| |
pulled in attributes.pm... and the change didn't seem to
be that well tested with different configurations.
Retract #21119, #21117, #21107.
p4raw-id: //depot/perl@21124
|
|
|
|
|
| |
Message-Id: <p05111b16bb827ce551da@[192.168.56.4]>
p4raw-id: //depot/perl@21107
|
|
|
|
|
|
|
| |
Message-id: <p05111b00bb611e8835e0@[192.168.56.3]>
(some rewording)
p4raw-id: //depot/perl@20701
|
|
|
| |
p4raw-id: //depot/perl@20695
|
|
|
| |
p4raw-id: //depot/perl@20688
|
|
|
|
|
|
|
|
|
|
| |
Message-ID: <3E566138.4090709@yahoo.com>
and the complement : (with added comments)
Subject: [PATCH] bug in ext/B/t/deparse.t
Message-ID: <3E563E16.7060303@yahoo.com>
plus perldiag.pod patch for the new warning
(previous change was, once again, empty)
p4raw-id: //depot/perl@18828
|
|
|
|
|
|
| |
Backport change #18078 to warnings.pl.
p4raw-link: @18078 on //depot/perl: 92cde64730ac68c05bd8f8990a57fb156d283457
p4raw-id: //depot/perl@18113
|
|
|
|
|
|
| |
From: "Paul Marquess" <Paul.Marquess@btinternet.com>
Message-ID: <AIEAJICLCBDNAAOLLOKLOEJAEOAA.Paul.Marquess@btinternet.com>
p4raw-id: //depot/perl@17325
|
|
|
|
|
| |
Message-ID: <20020518222451.E7275@fdgroup.com>
p4raw-id: //depot/perl@16685
|
|
|
|
|
|
|
|
| |
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <AIEAJICLCBDNAAOLLOKLCEAPELAA.Paul.Marquess@ntlworld.com>
Making the symbols generated by warnings.pl future-proof.
p4raw-id: //depot/perl@16682
|
|
|
|
|
|
| |
From: "Paul Marquess" <paul_marquess@yahoo.co.uk>
Message-ID: <AIEAJICLCBDNAAOLLOKLMEKNEAAA.paul_marquess@yahoo.co.uk>
p4raw-id: //depot/perl@15485
|
|
|
|
|
|
| |
From: "Paul Marquess" <paul_marquess@yahoo.co.uk>
Message-ID: <AIEAJICLCBDNAAOLLOKLGEKCEAAA.paul_marquess@yahoo.co.uk>
p4raw-id: //depot/perl@15481
|
|
|
|
|
|
| |
From: "Paul Marquess" <paul_marquess@yahoo.co.uk>
Message-ID: <AIEAJICLCBDNAAOLLOKLCEKGDOAA.paul_marquess@yahoo.co.uk>
p4raw-id: //depot/perl@15003
|
|
|
|
|
|
| |
From: "Paul Marquess" <paul_marquess@yahoo.co.uk>
Message-Id: <AIEAJICLCBDNAAOLLOKLOEINDOAA.paul_marquess@yahoo.co.uk>
p4raw-id: //depot/perl@14976
|