Skip to content
Commit 91927b7c authored by Arjun Shankar's avatar Arjun Shankar
Browse files

Rewrite iconv option parsing [BZ #19519]



This commit replaces string manipulation during `iconv_open' and iconv_prog
option parsing with a structured, flag based conversion specification.  In
doing so, it alters the internal `__gconv_open' interface and accordingly
adjusts its uses.

This change fixes several hangs in the iconv program and therefore includes
a new test to exercise iconv_prog options that originally led to these hangs.
It also includes a new regression test for option handling in the iconv
function.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 94d9c76e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment