summaryrefslogtreecommitdiff
path: root/libio/iofclose.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/iofclose.c
parent5b9f1450817f1fdaef605222e9a9b41f2cdc1798 (diff)
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/iofclose.c')
-rw-r--r--libio/iofclose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iofclose.c b/libio/iofclose.c
index ebe948ac2a..e13a2a3ae9 100644
--- a/libio/iofclose.c
+++ b/libio/iofclose.c
@@ -61,7 +61,7 @@ _IO_new_fclose (fp)
#if _LIBC
/* This stream has a wide orientation. This means we have to free
the conversion functions. */
- struct _IO_codecvt *cc = &fp->_wide_data->_codecvt;
+ struct _IO_codecvt *cc = &fp->_codecvt;
if (cc->__cd_in.__cd.__steps->__shlib_handle != NULL)
{