aboutsummaryrefslogtreecommitdiff
path: root/libio/iofwide.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofwide.c')
-rw-r--r--libio/iofwide.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libio/iofwide.c b/libio/iofwide.c
index 5ca0a84f0d..bb26dddc85 100644
--- a/libio/iofwide.c
+++ b/libio/iofwide.c
@@ -124,6 +124,9 @@ _IO_fwide (fp, mode)
cc->__cd_in.__cd.__data[0].__internal_use = 1;
cc->__cd_in.__cd.__data[0].__flags = __GCONV_IS_LAST;
cc->__cd_in.__cd.__data[0].__statep = &fp->_wide_data->_IO_state;
+ /* XXX For now no transliteration. */
+ memset (&cc->__cd_in.__cd.__data[0].__trans, '\0',
+ sizeof (struct __gconv_trans_data));
cc->__cd_out.__cd.__nsteps = 1; /* Only one step allowed. */
cc->__cd_out.__cd.__steps = fcts.tomb;
@@ -132,6 +135,9 @@ _IO_fwide (fp, mode)
cc->__cd_out.__cd.__data[0].__internal_use = 1;
cc->__cd_out.__cd.__data[0].__flags = __GCONV_IS_LAST;
cc->__cd_out.__cd.__data[0].__statep = &fp->_wide_data->_IO_state;
+ /* XXX For now no transliteration. */
+ memset (&cc->__cd_out.__cd.__data[0].__trans, '\0',
+ sizeof (struct __gconv_trans_data));
}
#else
# error "somehow determine this from LC_CTYPE"