]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - catgets/gencat.c
i686: Regenerate ulps
[thirdparty/glibc.git] / catgets / gencat.c
index 3dd6858b318cd23c0ba9687755a054af6953290b..dec4d936a7c08f53c1685eb6bb119395e176f10e 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (C) 1996-2018 Free Software Foundation, Inc.
+/* Copyright (C) 1996-2022 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Ulrich Drepper <drepper@redhat.com>, 1996.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published
@@ -13,7 +12,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, see <http://www.gnu.org/licenses/>.  */
+   along with this program; if not, see <https://www.gnu.org/licenses/>.  */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -246,7 +245,7 @@ print_version (FILE *stream, struct argp_state *state)
 Copyright (C) %s Free Software Foundation, Inc.\n\
 This is free software; see the source for copying conditions.  There is NO\n\
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
-"), "2018");
+"), "2022");
   fprintf (stream, gettext ("Written by %s.\n"), "Ulrich Drepper");
 }
 
@@ -1034,7 +1033,7 @@ write_out (struct catalog *catalog, const char *output_name,
          /* If the current message set has a symbolic name write this
             out first.  */
          if (set_run->symbol != NULL)
-           fprintf (fp, "%s#define %sSet %#x\t/* %s:%Zu */\n",
+           fprintf (fp, "%s#define %sSet %#x\t/* %s:%zu */\n",
                     first ? "" : "\n", set_run->symbol, set_run->number - 1,
                     set_run->fname, set_run->line);
          first = 0;
@@ -1048,12 +1047,12 @@ write_out (struct catalog *catalog, const char *output_name,
              if (message_run->symbol != NULL)
                {
                  if (set_run->symbol == NULL)
-                   fprintf (fp, "#define AutomaticSet%d%s %#x\t/* %s:%Zu */\n",
+                   fprintf (fp, "#define AutomaticSet%d%s %#x\t/* %s:%zu */\n",
                             set_run->number, message_run->symbol,
                             message_run->number, message_run->fname,
                             message_run->line);
                  else
-                   fprintf (fp, "#define %s%s %#x\t/* %s:%Zu */\n",
+                   fprintf (fp, "#define %s%s %#x\t/* %s:%zu */\n",
                             set_run->symbol, message_run->symbol,
                             message_run->number, message_run->fname,
                             message_run->line);
@@ -1196,7 +1195,9 @@ normalize_line (const char *fname, size_t line, iconv_t cd, wchar_t *string,
                  ++rp;
                }
              else
-               /* Simply ignore the backslash character.  */;
+               {
+                 /* Simply ignore the backslash character.  */
+               }
              break;
            }
       }
@@ -1268,7 +1269,7 @@ read_old (struct catalog *catalog, const char *file_name)
             Insert it at the right position.  */
          struct message_list *newp;
 
-         newp = (struct message_list *) xmalloc (sizeof(*newp));
+         newp = (struct message_list *) xmalloc (sizeof (*newp));
          newp->number = old_cat_obj.name_ptr[cnt * 3 + 1];
          newp->message =
            &old_cat_obj.strings[old_cat_obj.name_ptr[cnt * 3 + 2]];