From: Karl Williamson Date: Sun, 9 Jan 2011 16:14:00 +0000 (-0700) Subject: perldiag.pod: Remove more format precisions X-Git-Tag: v5.13.9~224 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/bcd05b946b5a96ca0b2734a1042bda6af592c97b?hp=b61b433c03f307b5a52a32edb98b143ade22ddb2 perldiag.pod: Remove more format precisions Commit 78d0fecf645563eb571499ade0590a1389a977a8 missed several printf formats. --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 53c5803..09dace1 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1914,14 +1914,14 @@ a term, so it's looking for the corresponding right angle bracket, and not finding it. Chances are you left some needed parentheses out earlier in the line, and you really meant a "less than". -=item gmtime(%.0f) too large +=item gmtime(%f) too large (W overflow) You called C with an number that was larger than it can reliably handle and C probably returned the wrong date. This warning is also triggered with nan (the special not-a-number value). -=item gmtime(%.0f) too small +=item gmtime(%f) too small (W overflow) You called C with an number that was smaller than it can reliably handle and C probably returned the wrong @@ -2394,14 +2394,14 @@ detectable way. to check the return value of your socket() call? See L. -=item localtime(%.0f) too large +=item localtime(%f) too large (W overflow) You called C with an number that was larger than it can reliably handle and C probably returned the wrong date. This warning is also triggered with nan (the special not-a-number value). -=item localtime(%.0f) too small +=item localtime(%f) too small (W overflow) You called C with an number that was smaller than it can reliably handle and C probably returned the @@ -4659,7 +4659,7 @@ subvert Perl's population of %ENV for nefarious purposes. (W) You tried to use an unknown subpragma of the "re" pragma. -=item Unknown switch condition (?(%.2s in regex; marked by <-- HERE in m/%s/ +=item Unknown switch condition (?(%s in regex; marked by <-- HERE in m/%s/ (F) The condition part of a (?(condition)if-clause|else-clause) construct is not known. The condition may be lookahead or lookbehind (the condition