From a4242e25dcf614b1eeb827e96d6d3c9f503f519d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 25 Jun 1996 13:56:54 +0000 Subject: Tue Jun 25 09:55:47 1996 David Mosberger-Tang * catgets/gencat.c (write_out): Use %Zu to print variables of type size_t. * resolv/res_debug.c (__p_rr): Print size_t variable as %lu and cast it to (unsigned long) to make it work both on 32 and 64 bit architectures. Sat Jun 22 13:05:25 1996 Andreas Schwab * locale/Makefile (distribute): Add `programs/' prefix to all files in that directory. * Makerules (distinfo-vars): Assign subdir directly so that `ifdef subdir' works. * MakeTAGS (sources, headers): Make them simply expanded variables so that all-dist is expanded before it is changed. --- catgets/gencat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'catgets') diff --git a/catgets/gencat.c b/catgets/gencat.c index 4b6eb43255..4dca43a5c8 100644 --- a/catgets/gencat.c +++ b/catgets/gencat.c @@ -803,7 +803,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:%u */\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; @@ -816,12 +816,12 @@ write_out (struct catalog *catalog, const char *output_name, not having a symbolic name. */ if (message_run->symbol != NULL) if (set_run->symbol == NULL) - fprintf (fp, "#define AutomaticSet%d%s %#x\t/* %s:%u */\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:%u */\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); -- cgit v1.2.3