summaryrefslogtreecommitdiff
path: root/warnings.pl
Commit message (Collapse)AuthorAgeFilesLines
* Drag autodoc.pl and overload.pl into the age of safer_open().Nicholas Clark2008-03-171-2/+2
| | | | | | | | 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
* Rename safer_rename() to rename_if_different(), to accurately describeNicholas Clark2008-03-151-34/+32
| | | | | | | | | | | | | 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
* Re: [patch] refine make regen to be more selectiveJim Cromie2008-03-151-5/+6
| | | | | | Message-ID: <47D720CE.7060004@gmail.com> Date: Tue, 11 Mar 2008 18:16:14 -0600 p4raw-id: //depot/perl@33537
* warn if ++ or -- are unable to change the value because it's beyondNicholas Clark2008-01-171-0/+1
| | | | | | the limit of representation in NVs, using a new warnings category "imprecision". p4raw-id: //depot/perl@32990
* If we use @{[]} (a.k.a. baby-cart) interpolation, we got warningsRafael Garcia-Suarez2007-10-101-2/+2
| | | | | when $" is undefined. p4raw-id: //depot/perl@32090
* Files names for pragmas strict and warnings can end in .pmcRafael Garcia-Suarez2007-10-091-1/+1
| | | p4raw-id: //depot/perl@32083
* Remove support for assertions and -ARafael Garcia-Suarez2007-06-051-1/+0
| | | p4raw-id: //depot/perl@31333
* Do the same thing as change #31082, but for warnings.pm.Rafael Garcia-Suarez2007-04-261-1/+8
| | | | | p4raw-link: @31082 on //depot/perl: e3def60f2e5ccd1bf34656c3a5e1691f3bdc48a9 p4raw-id: //depot/perl@31084
* Avoid *some* g++ errors. (But not all yet)Nicholas Clark2007-02-191-2/+3
| | | p4raw-id: //depot/perl@30365
* Integrate:Andy Lester2007-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 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
* Turn taint warnings (-t) into severe warnings, so they'reRafael Garcia-Suarez2007-01-081-3/+0
| | | | | | on by default, without having to play games with the warning bits. Add a test for -t. p4raw-id: //depot/perl@29717
* Restore modification in warnings.h from change 28662 by backporting itRafael Garcia-Suarez2006-08-071-2/+2
| | | | | to warnings.pl p4raw-id: //depot/perl@28666
* disable WARN and DIE hooks during constant foldingDave Mitchell2006-05-101-0/+3
| | | p4raw-id: //depot/perl@28148
* Change cop_warnings from an SV holding the warnings bitmask to aNicholas Clark2006-04-121-4/+8
| | | | | | | 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
* warnings.h does some evil(*) pointer arithmetic on (SV *)0, so aNicholas Clark2006-02-041-2/+2
| | | | | | simple replace of Nullsv with NULL turns out to be a bad idea. * Technically undefined behaviour, I believe. p4raw-id: //depot/perl@27078
* Re: [PATCH] s/Null(gv|hv|sv)/NULL/gSteven Schubiger2006-02-031-3/+3
| | | | | | Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org> Date: Fri, 3 Feb 2006 16:24:49 +0100 p4raw-id: //depot/perl@27065
* Bump $VERSION in many modules that have changed.Nicholas Clark2006-01-121-2/+2
| | | p4raw-id: //depot/perl@26804
* warnings.pl/pm: Croaker function: bug (perl v5.8, v5.9)Bram2005-10-301-0/+1
| | | | | Message-Id: <42F28ED5.CFFDCCFD@wizbit.be> p4raw-id: //depot/perl@25888
* replace ckWARN macros with functionsDave Mitchell2005-07-021-55/+9
| | | p4raw-id: //depot/perl@25050
* Make Carp.pm even lighter (and Carp::Heavy even heavier)Dave Mitchell2005-06-271-1/+1
| | | | | Also move carp.pm pod to carp.pod p4raw-id: //depot/perl@24995
* Silence some more bcc32 compiler warningsSteve Hay2005-06-221-5/+5
| | | | | ("Suggest parentheses to clarify precedence") p4raw-id: //depot/perl@24938
* SvPVX_const() - Patch #1Steve Peters2005-05-201-2/+2
| | | | | Message-ID: <20050517231701.GA1394@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@24509
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-3/+5
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Removing Y2K warningsAndy Lester2005-04-081-1/+0
| | | | | Message-ID: <20050407224442.GA23895@petdance.com> p4raw-id: //depot/perl@24205
* Re: [PATCH] Remove Carp from warnings.pmJim Cromie2005-01-071-3/+4
| | | | | Message-ID: <cfe85dfa05010305367445dee6@mail.gmail.com> p4raw-id: //depot/perl@23768
* Make all scripts run by regen.pl write output with UNIX style EOL's.Steve Hay2004-11-161-0/+2
| | | | | (autodoc.pl was already done by change 23371.) p4raw-id: //depot/perl@23501
* [perl #31843] warnings::warn($obj,...) fails when $obj overloads "" kaminsky@math.huji.ac.il2004-10-121-4/+6
| | | | | | | 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
* Fix bug #24383, where hashes with the :unique attribute weren'tDave Mitchell2004-01-011-3/+3
| | | | | | | | 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
* Re: [perl #15395] lexical warnings and inheritanceAnno Siegel2003-09-101-5/+6
| | | | | | | | | | | 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
* One more chance... Elizabeth's change #21107 plusRafael Garcia-Suarez2003-09-091-11/+11
| | | | | | | 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
* In trying to save space, the warnings.pl change (#21107)Jarkko Hietaniemi2003-09-091-11/+11
| | | | | | | 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
* warnings.pl: each thread 10K smallerElizabeth Mattijsen2003-09-081-11/+11
| | | | | Message-Id: <p05111b16bb827ce551da@[192.168.56.4]> p4raw-id: //depot/perl@21107
* [DOC PATCH] warnings.plElizabeth Mattijsen2003-08-141-0/+4
| | | | | | | Message-id: <p05111b00bb611e8835e0@[192.168.56.3]> (some rewording) p4raw-id: //depot/perl@20701
* Diffs-sans-version-diffs between blead and maint.Jarkko Hietaniemi2003-08-141-3/+2
| | | p4raw-id: //depot/perl@20695
* A swath of VERSION patches from Nicholas Clark.Jarkko Hietaniemi2003-08-141-1/+1
| | | p4raw-id: //depot/perl@20688
* [PATCH] assertionsSalvador FandiƱo2003-03-041-0/+2
| | | | | | | | | | 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
* make regen_headers.Rafael Garcia-Suarez2002-11-051-1/+1
| | | | | | Backport change #18078 to warnings.pl. p4raw-link: @18078 on //depot/perl: 92cde64730ac68c05bd8f8990a57fb156d283457 p4raw-id: //depot/perl@18113
* RE: mixing FATAL and non-FATAL warningsPaul Marquess2002-06-201-8/+67
| | | | | | From: "Paul Marquess" <Paul.Marquess@btinternet.com> Message-ID: <AIEAJICLCBDNAAOLLOKLOEJAEOAA.Paul.Marquess@btinternet.com> p4raw-id: //depot/perl@17325
* revised warnings + more tests + docsDave Mitchell2002-05-181-0/+2
| | | | | Message-ID: <20020518222451.E7275@fdgroup.com> p4raw-id: //depot/perl@16685
* RE: perl@16678Paul Marquess2002-05-181-71/+148
| | | | | | | | 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
* warnings for perlio + othersPaul Marquess2002-03-251-0/+1
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLMEKNEAAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15485
* fix warning + carp interactionPaul Marquess2002-03-241-9/+13
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLGEKCEAAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15481
* taint + deprecated warningsPaul Marquess2002-03-041-6/+55
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLCEKGDOAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15003
* attrPaul Marquess2002-03-041-3/+3
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-Id: <AIEAJICLCBDNAAOLLOKLOEINDOAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@14976
* Re: [PATCH warnings, perldiag] document diagnosticsRafael Garcia-Suarez2002-01-211-3/+3
| | | | | Message-ID: <20020120225356.A12093@rafael> p4raw-id: //depot/perl@14365
* -t without -w Michael G. Schwern2001-12-301-5/+23
| | | | | Message-ID: <20011230044625.GA14386@blackrider> p4raw-id: //depot/perl@13953
* Fix scoping problem with FATAL warningsPaul Marquess2001-10-141-1/+1
| | | | | Message-ID: <AIEAJICLCBDNAAOLLOKLCEFDDCAA.Paul_Marquess@Yahoo.co.uk> p4raw-id: //depot/perl@12434
* Re: [PATCH: perl@11181] UCD.t fails LATIN|Latin testMark-Jason Dominus2001-07-121-2/+0
| | | | | | | Message-ID: <20010712045931.8543.qmail@plover.com> Remove the chmod/umask leading zero warning. p4raw-id: //depot/perl@11290
* Retract #11166 (and #11237).Jarkko Hietaniemi2001-07-121-5/+2
| | | p4raw-id: //depot/perl@11285
* (Retracted by #11285.)Abhijit Menon-Sen2001-07-061-2/+5
| | | | | | Subject: Re: [PATCH] mkdir() mode argument is missing initial 0 Message-ID: <20010706012632.A28327@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11166