]> git.ipfire.org Git - thirdparty/glibc.git/commit
Redefine _IO_iconv_t to store a single gconv step pointer [BZ #25097] fw/bug25097
authorFlorian Weimer <fweimer@redhat.com>
Sun, 3 Nov 2019 10:39:56 +0000 (11:39 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sun, 3 Nov 2019 17:10:20 +0000 (18:10 +0100)
commit96ab757f9cd22bc880e0fcbe65a012c3726a9b87
tree30667e677247bfdb1f91d3af9581cbb78b923bc6
parent7591046cb1bf663525ed73229ab1ec03eb756326
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