aboutsummaryrefslogtreecommitdiff
path: root/libio/iofwide.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-03 23:38:34 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-03 23:38:34 +0000
commitfaf8ccabe99e05cd815a9f0491b1e0d6fd8387f1 (patch)
tree3f422b056db8cb9eecd93ba0086cf5ad74b46ddf /libio/iofwide.c
parent5b9f1450817f1fdaef605222e9a9b41f2cdc1798 (diff)
downloadglibc-faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1.zip
glibc-faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1.tar.gz
glibc-faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1.tar.bz2
Update.
2000-08-03 Ulrich Drepper <drepper@redhat.com> * libio/iofwide.c (_IO_fwide): Initialize fp->_codecvt as well. * libio/fileops.c (_IO_new_file_fopen): Use _codecvt not from _wide_data but from _IO_FILE directly. * libio/iofclose.c: Likewise. * libio/wfileops.c: Likewise. * libio/genops.c (_IO_default_showmanyc): Change return type to size_t. * libio/libioP.h: Change prototypes.
Diffstat (limited to 'libio/iofwide.c')
-rw-r--r--libio/iofwide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iofwide.c b/libio/iofwide.c
index ae4f63f..6c4b265 100644
--- a/libio/iofwide.c
+++ b/libio/iofwide.c
@@ -114,7 +114,7 @@ _IO_fwide (fp, mode)
#ifdef _LIBC
{
struct gconv_fcts fcts;
- struct _IO_codecvt *cc = &fp->_wide_data->_codecvt;
+ struct _IO_codecvt *cc = fp->_codecvt = &fp->_wide_data->_codecvt;
__wcsmbs_clone_conv (&fcts);