mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
* 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 <schwab@issan.informatik.uni-dortmund.de> * 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.
This commit is contained in:
19
ChangeLog
19
ChangeLog
@ -1,3 +1,22 @@
|
|||||||
|
Tue Jun 25 09:55:47 1996 David Mosberger-Tang <davidm@AZStarNet.com>
|
||||||
|
|
||||||
|
* 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 <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
|
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
|
||||||
|
|
||||||
* Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
|
* Make-dist (dist): Don't depend on crypt tar file. Remove that rule.
|
||||||
|
5
MakeTAGS
5
MakeTAGS
@ -73,8 +73,9 @@ else
|
|||||||
all-dist = $(distribute)
|
all-dist = $(distribute)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
sources += $(filter %.c %.s %.S,$(all-dist))
|
# sources and headers must be simply expanded variables
|
||||||
headers += $(filter %.h,$(all-dist))
|
sources := $(sources) $(filter %.c %.s %.S,$(all-dist))
|
||||||
|
headers := $(headers) $(filter %.h,$(all-dist))
|
||||||
all-dist := $(filter-out %.h %.c %.s %.S,$(all-dist))
|
all-dist := $(filter-out %.h %.c %.s %.S,$(all-dist))
|
||||||
|
|
||||||
sources += $(foreach lib,$(extra-libs),$($(lib)-routines:=.c))
|
sources += $(foreach lib,$(extra-libs),$($(lib)-routines:=.c))
|
||||||
|
@ -823,7 +823,8 @@ distinfo: $(common-objpfx)distinfo-$(subdir)
|
|||||||
|
|
||||||
define distinfo-vars
|
define distinfo-vars
|
||||||
rm -f $@.new
|
rm -f $@.new
|
||||||
$(foreach var,subdir subdir-dirs sources elided-routines sysdep_routines \
|
echo > $@.new 'subdir := $(subdir)'
|
||||||
|
$(foreach var,subdir-dirs sources elided-routines sysdep_routines \
|
||||||
headers sysdep_headers distribute dont_distribute generated \
|
headers sysdep_headers distribute dont_distribute generated \
|
||||||
others tests extra-libs $(extra-libs:%=%-routines) \
|
others tests extra-libs $(extra-libs:%=%-routines) \
|
||||||
versioned \
|
versioned \
|
||||||
|
@ -803,7 +803,7 @@ write_out (struct catalog *catalog, const char *output_name,
|
|||||||
/* If the current message set has a symbolic name write this
|
/* If the current message set has a symbolic name write this
|
||||||
out first. */
|
out first. */
|
||||||
if (set_run->symbol != NULL)
|
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,
|
first ? "" : "\n", set_run->symbol, set_run->number - 1,
|
||||||
set_run->fname, set_run->line);
|
set_run->fname, set_run->line);
|
||||||
first = 0;
|
first = 0;
|
||||||
@ -816,12 +816,12 @@ write_out (struct catalog *catalog, const char *output_name,
|
|||||||
not having a symbolic name. */
|
not having a symbolic name. */
|
||||||
if (message_run->symbol != NULL)
|
if (message_run->symbol != NULL)
|
||||||
if (set_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,
|
set_run->number, message_run->symbol,
|
||||||
message_run->number, message_run->fname,
|
message_run->number, message_run->fname,
|
||||||
message_run->line);
|
message_run->line);
|
||||||
else
|
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,
|
set_run->symbol, message_run->symbol,
|
||||||
message_run->number, message_run->fname,
|
message_run->number, message_run->fname,
|
||||||
message_run->line);
|
message_run->line);
|
||||||
|
@ -22,12 +22,13 @@
|
|||||||
subdir := locale
|
subdir := locale
|
||||||
|
|
||||||
headers = locale.h langinfo.h
|
headers = locale.h langinfo.h
|
||||||
distribute = localeinfo.h categories.def \
|
distribute = localeinfo.h categories.def iso-4217.def weight.h \
|
||||||
|
$(addprefix programs/, \
|
||||||
$(localedef-modules:=.c) $(locale-modules:=.c) \
|
$(localedef-modules:=.c) $(locale-modules:=.c) \
|
||||||
$(lib-modules:=.c) config.h simple-hash.h iso-4217.def \
|
$(lib-modules:=.c) config.h simple-hash.h \
|
||||||
charmap-kw.gperf charmap-kw.h locfile-token.h \
|
charmap-kw.gperf charmap-kw.h locfile-token.h \
|
||||||
locfile-kw.gperf locfile-kw.h linereader.h \
|
locfile-kw.gperf locfile-kw.h linereader.h \
|
||||||
locales.h locfile.h stringtrans.h weight.h charset.h
|
locales.h locfile.h stringtrans.h charset.h)
|
||||||
routines = setlocale findlocale loadlocale localeconv nl_langinfo \
|
routines = setlocale findlocale loadlocale localeconv nl_langinfo \
|
||||||
mb_cur_max codeset_name
|
mb_cur_max codeset_name
|
||||||
categories = ctype messages monetary numeric time collate
|
categories = ctype messages monetary numeric time collate
|
||||||
|
@ -689,8 +689,9 @@ __p_rr(cp, msg, file)
|
|||||||
putc('\n', file);
|
putc('\n', file);
|
||||||
#endif
|
#endif
|
||||||
if (cp - cp1 != dlen) {
|
if (cp - cp1 != dlen) {
|
||||||
fprintf(file, ";; packet size error (found %d, dlen was %d)\n",
|
fprintf(file,
|
||||||
cp - cp1, dlen);
|
";; packet size error (found %lu, dlen was %d)\n",
|
||||||
|
(unsigned long) (cp - cp1), dlen);
|
||||||
cp = NULL;
|
cp = NULL;
|
||||||
}
|
}
|
||||||
return (cp);
|
return (cp);
|
||||||
|
Reference in New Issue
Block a user