Change calls to downstream functions once again. Use NULL for the
authordrepper <drepper>
Thu, 15 Jun 2000 23:57:30 +0000 (23:57 +0000)
committerdrepper <drepper>
Thu, 15 Jun 2000 23:57:30 +0000 (23:57 +0000)
fifth parameter instead of pointer to output buffer.

iconv/gconv.c

index 19f9562..0b7b917 100644 (file)
@@ -46,8 +46,8 @@ __gconv (__gconv_t cd, const unsigned char **inbuf,
   if (inbuf == NULL || *inbuf == NULL)
     /* We just flush.  */
     result = DL_CALL_FCT (cd->__steps->__fct,
-                         (cd->__steps, cd->__data, NULL, NULL,
-                          cd->__data[0].__outbuf, irreversible, 1, 0));
+                         (cd->__steps, cd->__data, NULL, NULL, NULL,
+                          irreversible, 1, 0));
   else
     {
       const unsigned char *last_start;
@@ -59,7 +59,7 @@ __gconv (__gconv_t cd, const unsigned char **inbuf,
          last_start = *inbuf;
          result = DL_CALL_FCT (cd->__steps->__fct,
                                (cd->__steps, cd->__data, inbuf, inbufend,
-                                cd->__data[0].__outbuf, irreversible, 0, 0));
+                                NULL, irreversible, 0, 0));
        }
       while (result == __GCONV_EMPTY_INPUT && last_start != *inbuf
             && *inbuf + cd->__steps->__min_needed_from <= inbufend);