diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-10-18 09:58:59 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-10-18 09:58:59 +0000 |
commit | 56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1 (patch) | |
tree | f2d0f6e1aaf9794668b53c6456fcacbbacd63805 /libio/vswprintf.c | |
parent | 4ce1a5c9712b4d7616058e708630c33744f983f6 (diff) | |
download | glibc-56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1.tar glibc-56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1.tar.gz glibc-56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1.tar.bz2 glibc-56c4396a6e1568a5511ac43873fa3c9e1ebfa8d1.zip |
Updated to fedora-glibc-20041018T0940
Diffstat (limited to 'libio/vswprintf.c')
-rw-r--r-- | libio/vswprintf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libio/vswprintf.c b/libio/vswprintf.c index 3cf01e2c84..42168aade4 100644 --- a/libio/vswprintf.c +++ b/libio/vswprintf.c @@ -35,7 +35,7 @@ typedef struct /* This is used for the characters which do not fit in the buffer provided by the user. */ wchar_t overflow_buf[64]; -} _IO_strnfile; +} _IO_wstrnfile; static wint_t _IO_wstrn_overflow (_IO_FILE *fp, wint_t c) __THROW; @@ -49,8 +49,8 @@ _IO_wstrn_overflow (fp, c) filled. But since we must return the number of characters which would have been written in total we must provide a buffer for further use. We can do this by writing on and on in the overflow - buffer in the _IO_strnfile structure. */ - _IO_strnfile *snf = (_IO_strnfile *) fp; + buffer in the _IO_wstrnfile structure. */ + _IO_wstrnfile *snf = (_IO_wstrnfile *) fp; if (fp->_wide_data->_IO_buf_base != snf->overflow_buf) { @@ -107,7 +107,7 @@ _IO_vswprintf (string, maxlen, format, args) const wchar_t *format; _IO_va_list args; { - _IO_strnfile sf; + _IO_wstrnfile sf; int ret; struct _IO_wide_data wd; #ifdef _IO_MTSAFE_IO |