]> sourceware.org Git - glibc.git/commitdiff
locale: Don't use \n with record_verbose messages.
authorCarlos O'Donell <carlos@systemhalted.org>
Sat, 14 Oct 2017 22:38:05 +0000 (15:38 -0700)
committerCarlos O'Donell <carlos@systemhalted.org>
Sun, 15 Oct 2017 21:25:26 +0000 (14:25 -0700)
Recorded verbose messages no longer need to pass \n in their
message string since the record_verbose function adds \n to
the messages (like error and warnings do also). The avoids
seeing a double \n for verbose messages.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
ChangeLog
locale/programs/ld-ctype.c

index 17fbe55b5df9f4407ba227cb944cec53ed66feaa..1f90c43a328a9c299b7e185b39befdafa3151402 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-15  Carlos O'Donell  <carlos@redhat.com>
+
+       * localedata/collate-test.c (allocate_arrays): Don't use \n in
+       record_verbose messages.
+
 2017-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #22052]
index 251e7a7a12a0ebdb2b314130230b08b39ce3eba0..afb431b78646bb8c3cfd6e413268e3df22fcedd7 100644 (file)
@@ -3667,7 +3667,7 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap,
          wctype_table_add (t, ctype->charnames[idx]);
 
       record_verbose (stderr, _("\
-%s: table for class \"%s\": %lu bytes\n"),
+%s: table for class \"%s\": %lu bytes"),
                      "LC_CTYPE", ctype->classnames[nr],
                      (unsigned long int) t->result_size);
     }
@@ -3731,7 +3731,7 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap,
                             ctype->map_collection[nr][idx]);
 
       record_verbose (stderr, _("\
-%s: table for map \"%s\": %lu bytes\n"),
+%s: table for map \"%s\": %lu bytes"),
                      "LC_CTYPE", ctype->mapnames[nr],
                      (unsigned long int) t->result_size);
     }
@@ -3854,7 +3854,7 @@ allocate_arrays (struct locale_ctype_t *ctype, const struct charmap_t *charmap,
     /* Set the width of L'\0' to 0.  */
     wcwidth_table_add (t, 0, 0);
 
-    record_verbose (stderr, _("%s: table for width: %lu bytes\n"),
+    record_verbose (stderr, _("%s: table for width: %lu bytes"),
                    "LC_CTYPE", (unsigned long int) t->result_size);
   }
 
This page took 0.072824 seconds and 5 git commands to generate.