This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_sv_vcatpvfn_flags: s/gconverts/Gconvert's/
authorDavid Mitchell <davem@iabyn.com>
Thu, 18 May 2017 10:44:17 +0000 (11:44 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:11:02 +0000 (09:11 +0100)
fix a comment, so that a search for the word 'Gconvert' gets a match.
So that a later comment 'See earlier comment about buggy Gconvert' makes
sense.

sv.c

diff --git a/sv.c b/sv.c
index 261de4c..1662eb8 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -11856,8 +11856,8 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN p
             if (LIKELY(!Perl_isinfnan(nv))) {
                 if (*pp == 'g') {
                     /* Add check for digits != 0 because it seems that some
-                       gconverts are buggy in this case, and we don't yet have
-                       a Configure test for this.  */
+                       Gconvert's are buggy in this case, and we don't yet
+                       have a Configure test for this.  */
                     if (digits && digits < sizeof(ebuf) - NV_DIG - 10) {
                         /* 0, point, slack */
                         STORE_LC_NUMERIC_SET_TO_NEEDED();