(__gconv_builtin_trans): Initialize stateful to zero for all internal
authordrepper <drepper>
Tue, 21 Apr 1998 19:07:28 +0000 (19:07 +0000)
committerdrepper <drepper>
Tue, 21 Apr 1998 19:07:28 +0000 (19:07 +0000)
conversions.

iconv/gconv_builtin.c

index a970fcc..4f3ca56 100644 (file)
@@ -81,4 +81,7 @@ __gconv_get_builtin_trans (const char *name, struct gconv_step *step)
   step->max_needed_from = map[cnt].max_needed_from;
   step->min_needed_to = map[cnt].min_needed_to;
   step->max_needed_to = map[cnt].max_needed_to;
+
+  /* None of the builtin converters handles stateful encoding.  */
+  step->stateful = 0;
 }