From: Ulrich Drepper Date: Sat, 25 Nov 2000 08:22:02 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_1~289 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03fb20b51b3869f24ffd03f499b53e5ae717566d;p=thirdparty%2Fglibc.git Update. 2000-11-25 Ulrich Drepper * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to preserve value over different gconv-modules files. --- diff --git a/ChangeLog b/ChangeLog index 523ffe38516..79d7f58e19e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-11-25 Ulrich Drepper + + * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to + preserve value over different gconv-modules files. + 2000-11-24 Ulrich Drepper * locale/findlocale.c: Add casts to avoid warnings. diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c index 15e930360f5..b7e7692c891 100644 --- a/iconv/gconv_conf.c +++ b/iconv/gconv_conf.c @@ -351,7 +351,7 @@ read_conf_file (const char *filename, const char *directory, size_t dir_len, FILE *fp = fopen (filename, "r"); char *line = NULL; size_t line_len = 0; - int modcounter = 0; + static int modcounter; /* Don't complain if a file is not present or readable, simply silently ignore it. */