From faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 3 Aug 2000 23:38:34 +0000 Subject: Update. 2000-08-03 Ulrich Drepper * 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. --- libio/iofwide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libio/iofwide.c') diff --git a/libio/iofwide.c b/libio/iofwide.c index ae4f63f454..6c4b265915 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); -- cgit v1.2.3