summaryrefslogtreecommitdiff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-23 17:31:31 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-23 17:31:31 +0000
commitaaa8d85c286eace542b14f1030ace7f3cb20ab95 (patch)
treee830234695e83e56a140032c9363c18e8ee90523 /iconv/skeleton.c
parentc19559b0bcec2afce4952ea4bbc8724a7a99bd6a (diff)
downloadglibc-aaa8d85c286eace542b14f1030ace7f3cb20ab95.tar.gz
Update.
1999-11-23 Thorsten Kukuk <kukuk@suse.de> * iconv/skeleton.c: Don't access next_step->fct if datat->is_last is true. 1999-11-23 Andreas Jaeger <aj@suse.de> * include/sys/select.h: Remove K&R compatibility. * include/sys/statfs.h: Likewise. * include/gnu/libc-version.h: Likewise. * include/db_185.h: Likewise. * include/dlfcn.h: Likewise. * include/search.h: Likewise. * include/setjmp.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/unistd.h: Likewise.
Diffstat (limited to 'iconv/skeleton.c')
-rw-r--r--iconv/skeleton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 0bcad9e6d0..3574fabea4 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -199,7 +199,7 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
{
struct __gconv_step *next_step = step + 1;
struct __gconv_step_data *next_data = data + 1;
- __gconv_fct fct = next_step->__fct;
+ __gconv_fct fct = data->is_last ? NULL : next_step->__fct;
int status;
/* If the function is called with no input this means we have to reset