Redefine _IO_iconv_t to store a single gconv step pointer [BZ #25097]
authorFlorian Weimer <fweimer@redhat.com>
Sun, 3 Nov 2019 10:39:56 +0000 (11:39 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 13 Nov 2019 17:18:51 +0000 (18:18 +0100)
commit70c6e15654928c603c6d24bd01cf62e7a8e2ce9b
tree672e377b91c9fc15f00a15d82cd3f0a2f55fba90
parent15740788d79447d863b88a5434f09d488d4088d3
Redefine _IO_iconv_t to store a single gconv step pointer [BZ #25097]

libio can only deal with gconv conversions which consist of a single
step.  Not using __gconv_info simplifies the data structures somewhat.

This eliminates a new GCC 10 warning about subscribing an inner
zero-length array.

Tested on x86_64-linux-gnu with mainline GCC.  Built with
build-many-glibcs.py, also with mainline GCC.  Due to GCC PR 92039,
there are failures left on 32-bit architectures with float128 support.

Change-Id: I8b4c489b619a53154712ff32e1b6f13bb92d4203
libio/fileops.c
libio/iofclose.c
libio/iofwide.c
libio/libio.h