about summary refs log tree commit diff
path: root/iconv/gconv_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* (__gconv_compare_alias_cache): New function.Ulrich Drepper2001-07-271-0/+20
|
* Update.Ulrich Drepper2001-07-241-9/+14
| | | | | | | | | | | * iconv/gconv_cache.c (find_module): Don't allocate room for the filename. Use alloca, we don't need it beyond this function. (__gconv_release_cache): New function. * iconv/gconv_db.c (__gconv_close_transform): Call __gconv_release_cache after the steps are handled. * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the record as well. * iconv/gconv_int.h: Add prototype fpr __gconv_release_cache.
* (__gconv_lookup_cache): Catch one more boundary case and reject it.Ulrich Drepper2001-07-241-2/+3
|
* Undo last change. Remove debugging output.Ulrich Drepper2001-07-241-3/+1
|
* * iconv/iconvconfig.c (name_insert): Make static to avoid warning.Andreas Jaeger2001-07-241-0/+1
| | | | * iconv/gconv_cache.c: Include stdio.h for puts declaration.
* Update.Ulrich Drepper2001-07-231-54/+74
| | | | | | | | | 2001-07-23 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_cache.c (__gconv_lookup_cache): Handle encoding from and to INTERNAL. * iconv/iconvconfig.c: Create a special record for the INTERNAL encoding name in the output file.
* (__gconv_lookup_cache): Select correct module for conversion direction.Ulrich Drepper2001-07-231-9/+18
|
* Update.Ulrich Drepper2001-07-221-0/+395
2001-07-22 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_builtin.c (struct builtin_map): Remove init and end elements. (BUILTIN_TRANSFORMATION): Remove Init and End parameters. (__gconv_get_builtin_trans): Initialize __init_fct and __end_fct to NULL. * iconv/gconv_builtin.h: Remove NULL parameters for Init and End in all BUILTIN_TRANSFORMATION calls. * iconv/gconv_conf.c (BUILTIN_TRANSFORMATION): Remove Init and End parameters. * iconv/gconv_simple.c: Likewise. * iconv/gconv_db.c (gen_steps): Internal converters don't have initializers, move the code accordingly. * iconv/gconv_conf.c (__gconv_read_conf): Don't read configuration file if STATIC_GCONV is defined. * iconv/gconv_conf.c (__gconv_path_envvar): New global variable. (__gconv_get_path): Use it instead of call getenv. (__gconv_read_conf): First see whether cache can be used. If yes, don't do any work here. * iconv/gconv_db.c (__gconv_release_step): Renamed from release_step and exported. Change callers. (__gconv_find_transform): First call __gconv_lookup_cache and only continue if it signals no cache available. Remove some unnecessary tests. * iconv/gconv_int.h: Declare __gconv_path_envvar, __gconv_lookup_cache, __gconv_release_step, and __gconv_loaded_cache. * iconv/gconv_cache.c: New file. * iconv/iconvconfig.c: New file. * iconv/iconvconfig.h: New file. * iconv/strtab.c: New file. * iconv/Makefile: Add rules to build new files and programs.