summary refs log tree commit diff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-13 19:00:53 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-13 19:00:53 +0000
commit7cdd956e1c55930a020b61806d642b6047deffc7 (patch)
treef6daa27ab94fcc5593bc3a8495c3ec40b20344ca /iconv/skeleton.c
parentf5ff12d851be1c225385c037ccfc29ffa6216c94 (diff)
downloadglibc-7cdd956e1c55930a020b61806d642b6047deffc7.tar.gz
glibc-7cdd956e1c55930a020b61806d642b6047deffc7.tar.xz
glibc-7cdd956e1c55930a020b61806d642b6047deffc7.zip
Update.
2000-02-13  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add UTF-16.
	(distribute): Add utf-16.c.
	* iconvdata/gconv-modules: Add entries for UTF-16, UTF-16BE, and
	UTF-16LE.
	* iconvdata/utf-16.c: New file.
	* iconv/gconv_builtin.h: Remove UTF-16 entries here.
	* iconv/gconv_simple.c: Remove conversion functions to and from UTF-16.

	* iconv/skeleton.c: Increment __invocation_coounter after every call
	to the loops.
Diffstat (limited to 'iconv/skeleton.c')
-rw-r--r--iconv/skeleton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index da157588b9..fd58be8f4f 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -332,15 +332,15 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
 		if (status == __GCONV_FULL_OUTPUT)
 		  status = __GCONV_OK;
 	    }
+
+	  /* We finished one use of the loops.  */
+	  ++data->__invocation_counter;
 	}
       while (status == __GCONV_OK);
 
 #ifdef END_LOOP
       END_LOOP
 #endif
-
-      /* We finished one use of this step.  */
-      ++data->__invocation_counter;
     }
 
   return status;