diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-03 23:38:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-03 23:38:34 +0000 |
commit | faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1 (patch) | |
tree | 3f422b056db8cb9eecd93ba0086cf5ad74b46ddf /libio/fileops.c | |
parent | 5b9f1450817f1fdaef605222e9a9b41f2cdc1798 (diff) | |
download | glibc-faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1.tar.gz glibc-faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1.tar.xz glibc-faf8ccabe99e05cd815a9f0491b1e0d6fd8387f1.zip |
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/fileops.c')
-rw-r--r-- | libio/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |