aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-09 17:09:55 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-09 17:09:55 +0000
commit3de968b60f92708df0873407e19ae3eae08f77c9 (patch)
tree995f53b0193965828849584d4a5a286caa9b3326 /iconv
parent22804455940187a3d3d13aa8b9830f24f6c50ed7 (diff)
downloadglibc-3de968b60f92708df0873407e19ae3eae08f77c9.zip
glibc-3de968b60f92708df0873407e19ae3eae08f77c9.tar.gz
glibc-3de968b60f92708df0873407e19ae3eae08f77c9.tar.bz2
Pass additional parameter to conversion function.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/gconv.c b/iconv/gconv.c
index 016baa1..fbb7755 100644
--- a/iconv/gconv.c
+++ b/iconv/gconv.c
@@ -1,6 +1,6 @@
/* Convert characters in input buffer using conversion descriptor to
output buffer.
- Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -47,7 +47,7 @@ __gconv (__gconv_t cd, const unsigned char **inbuf,
/* We just flush. */
result = DL_CALL_FCT (cd->__steps->__fct,
(cd->__steps, cd->__data, NULL, NULL,
- converted, 1));
+ converted, 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,
- converted, 0));
+ converted, 0, 0));
}
while (result == __GCONV_EMPTY_INPUT && last_start != *inbuf
&& *inbuf + cd->__steps->__min_needed_from <= inbufend);