diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-14 20:21:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-14 20:21:59 +0000 |
commit | 7919ea1578f7b9e51935fb3430ae36d180c97590 (patch) | |
tree | 732b5ff8a1258caf95c1f66b7fd5d11bbf6e6bf6 /iconv/gconv_builtin.c | |
parent | aa802e964f8d45d993f6c3171faa83e422f21957 (diff) | |
download | glibc-7919ea1578f7b9e51935fb3430ae36d180c97590.zip glibc-7919ea1578f7b9e51935fb3430ae36d180c97590.tar.gz glibc-7919ea1578f7b9e51935fb3430ae36d180c97590.tar.bz2 |
Update.
1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
counter element of step.
* iconv/gconv_dl.c: Don't mark get_sym as internal function.
* iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
termination test.
(__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
ACTUALLY.
(__gconv_transform_utf8_ucs4): Correct test for empty input.
Diffstat (limited to 'iconv/gconv_builtin.c')
-rw-r--r-- | iconv/gconv_builtin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iconv/gconv_builtin.c b/iconv/gconv_builtin.c index d913579..6b14804 100644 --- a/iconv/gconv_builtin.c +++ b/iconv/gconv_builtin.c @@ -18,6 +18,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <limits.h> #include <string.h> #include <gconv_int.h> @@ -63,5 +64,6 @@ __gconv_get_builtin_trans (const char *name, struct gconv_step *step) step->fct = map[cnt].fct; step->init_fct = map[cnt].init; step->end_fct = map[cnt].end; + step->counter = INT_MAX; step->shlib_handle = NULL; } |