summaryrefslogtreecommitdiff
path: root/iconv/gconv_conf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-25 08:22:02 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-25 08:22:02 +0000
commit03fb20b51b3869f24ffd03f499b53e5ae717566d (patch)
treedd6126e5fb92ccfc2bbb53587409f77c66718ddf /iconv/gconv_conf.c
parent2a068d20fbe9e59b9c43dbeb9fa54999bdb19e10 (diff)
downloadglibc-03fb20b51b3869f24ffd03f499b53e5ae717566d.tar.gz
Update.
2000-11-25 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to preserve value over different gconv-modules files.
Diffstat (limited to 'iconv/gconv_conf.c')
-rw-r--r--iconv/gconv_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c
index 15e930360f..b7e7692c89 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. */