about summary refs log tree commit diff
path: root/iconv/iconvconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-01-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * posix/getconf.c: Update copyright year. * nss/getent.c: Likewise. * nscd/nscd_nischeck.c: Likewise. * iconv/iconvconfig.c: Likewise. * iconv/iconv_prog.c: Likewise. * elf/ldconfig.c: Likewise. * catgets/gencat.c: Likewise. * csu/version.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/sprof.c (print_version): Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * nscd/nscd.c (print_version): Likewise. * debug/xtrace.sh: Likewise. * malloc/memusage.sh: Likewise. * malloc/mtrace.pl: Likewise. 2002-01-16 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to reliably remove "-ia64" from rtld name. 2002-01-16 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2001-07-251-5/+12
| | | | | | | (write_output): Don't overwrite old cache file until we know we have a new one. * iconv/Makefile (install-sbin): Add iconvconfig. * iconv/gconv_int.h: Add prototype for __gconv_release_cache.
* Update.Ulrich Drepper2001-07-251-2/+5
| | | | | * iconv/iconvconfig.c (main): Don't write an output file if we have seen an error.
* Update.Ulrich Drepper2001-07-241-3/+0
| | | | | | | | | | | * 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.
* * iconv/iconvconfig.c (name_insert): Make static to avoid warning.Andreas Jaeger2001-07-241-1/+1
| | | | * iconv/gconv_cache.c: Include stdio.h for puts declaration.
* Update.Ulrich Drepper2001-07-231-3/+20
| | | | | | | | | 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.
* * iconv/iconvconfig.c: Include <sys/cdefs.h> and use Andreas Jaeger2001-07-231-10/+11
| | | | | __attribute_malloc__ for older GCC versions. * iconv/strtab.c: Likewise.
* Update.Ulrich Drepper2001-07-231-4/+4
| | | | | * iconv/iconvconfig.c (write_output): Update comment explaining output format.
* Update.Ulrich Drepper2001-07-221-35/+8
| | | | | * iconv/iconvconfig.c: Remove --verbose option. Comment out mcheck_verbose call.
* Fix redefinition problem.Ulrich Drepper2001-07-221-0/+2
|
* Update.Ulrich Drepper2001-07-221-0/+1165
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.