(__gconv_transliterate): Pass NULL instead of irreversible in
authordrepper <drepper>
Fri, 25 Aug 2000 22:07:44 +0000 (22:07 +0000)
committerdrepper <drepper>
Fri, 25 Aug 2000 22:07:44 +0000 (22:07 +0000)
recursive call of conversion function to signal that no error handling
is wanted.

iconv/gconv_trans.c

index bb90817..8c658b1 100644 (file)
@@ -117,7 +117,7 @@ __gconv_transliterate (struct __gconv_step *step,
                                 (step, step_data, &toinptr,
                                  (const unsigned char *) &to_tbl[idx2 + len],
                                  (unsigned char **) outbufstart,
-                                 irreversible, 0, 0));
+                                 NULL, 0, 0));
              if (res != __GCONV_ILLEGAL_INPUT)
                {
                  /* If the conversion succeeds we have to increment the
@@ -200,7 +200,7 @@ __gconv_transliterate (struct __gconv_step *step,
                         (step, step_data, &toinptr,
                          (const unsigned char *) (default_missing + len),
                          (unsigned char **) outbufstart,
-                         irreversible, 0, 0));
+                         NULL, 0, 0));
 
       if (res != __GCONV_ILLEGAL_INPUT)
        {