diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-13 02:55:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-13 02:55:54 +0000 |
commit | ff048a13e5d2c971de0275c30b4d55c4ed2a2abf (patch) | |
tree | 38d5eda4f01a3d9128efa64149e8d48e8649f0f4 /wcsmbs/wcsnrtombs.c | |
parent | 0aaf6d96f8fdb4a64850ea8b24e3c9e73742f5d6 (diff) | |
download | glibc-ff048a13e5d2c971de0275c30b4d55c4ed2a2abf.tar glibc-ff048a13e5d2c971de0275c30b4d55c4ed2a2abf.tar.gz glibc-ff048a13e5d2c971de0275c30b4d55c4ed2a2abf.tar.bz2 glibc-ff048a13e5d2c971de0275c30b4d55c4ed2a2abf.zip |
Update.
* libio/iofwide.c (_IO_fwide): Initialize transliteration part of
step data structure.
* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.
Diffstat (limited to 'wcsmbs/wcsnrtombs.c')
-rw-r--r-- | wcsmbs/wcsnrtombs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wcsmbs/wcsnrtombs.c b/wcsmbs/wcsnrtombs.c index dae2216ae5..ec87d85a99 100644 --- a/wcsmbs/wcsnrtombs.c +++ b/wcsmbs/wcsnrtombs.c @@ -55,6 +55,7 @@ __wcsnrtombs (dst, src, nwc, len, ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; + memset (&data.__trans, '\0', sizeof (struct __gconv_trans_data)); if (nwc == 0) return 0; |