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/fileops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libio/fileops.c') diff --git a/libio/fileops.c b/libio/fileops.c index c3404c1baa..462ac67c22 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -289,7 +289,7 @@ _IO_new_file_fopen (fp, filename, mode, is32not64) return NULL; } - cc = &fp->_wide_data->_codecvt; + cc = fp->_codecvt = &fp->_wide_data->_codecvt; /* The functions are always the same. */ *cc = __libio_codecvt; -- cgit 1.4.1