diff options
| author | Marek Polacek <polacek@redhat.com> | 2026-04-20 18:01:28 -0400 |
|---|---|---|
| committer | Marek Polacek <polacek@redhat.com> | 2026-04-21 10:06:12 -0400 |
| commit | 6adc49fc08cb87b0e7c8ead3176b45dae2ff4e2a (patch) | |
| tree | b19f66f51cc40d6cc1b8ff47a6d9a8aad47f719f /libcpp | |
| parent | 804bde962de4819138951aed24b2c8ba768d7344 (diff) | |
| download | gcc-6adc49fc08cb87b0e7c8ead3176b45dae2ff4e2a.tar.gz gcc-6adc49fc08cb87b0e7c8ead3176b45dae2ff4e2a.tar.bz2 gcc-6adc49fc08cb87b0e7c8ead3176b45dae2ff4e2a.zip | |
libcpp: fix typos in iconv_close [PR124930]
This patch fixes two typos: the reverse_ prefix is missing in the
iconv_close calls.
PR preprocessor/124930
libcpp/ChangeLog:
* charset.cc (_cpp_destroy_iconv): Correct two calls to
iconv_close.
Reviewed-by: Jakub Jelinek <jakub@redhat.com>
Diffstat (limited to 'libcpp')
| -rw-r--r-- | libcpp/charset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/charset.cc b/libcpp/charset.cc index f07052087a8d..563b7c55f796 100644 --- a/libcpp/charset.cc +++ b/libcpp/charset.cc @@ -841,9 +841,9 @@ _cpp_destroy_iconv (cpp_reader *pfile) if (pfile->wide_cset_desc.func == convert_using_iconv) iconv_close (pfile->wide_cset_desc.cd); if (pfile->reverse_narrow_cset_desc.func == convert_using_iconv) - iconv_close (pfile->narrow_cset_desc.cd); + iconv_close (pfile->reverse_narrow_cset_desc.cd); if (pfile->reverse_utf8_cset_desc.func == convert_using_iconv) - iconv_close (pfile->utf8_cset_desc.cd); + iconv_close (pfile->reverse_utf8_cset_desc.cd); } } |
