summaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-02-13 07:30:06 +0000
committerJakub Jelinek <jakub@redhat.com>2006-02-13 07:30:06 +0000
commitbb786851edfb584a36b3f2674eb024af6f33f319 (patch)
tree4243fee7b513ae79b63f94593d5e9e0b2bbe86c5 /libio
parenta7343889536746d3c1902f85c2075ee19ee58c7a (diff)
Updated to fedora-glibc-20060213T0650
Diffstat (limited to 'libio')
-rw-r--r--libio/wgenops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/wgenops.c b/libio/wgenops.c
index a9cc7bf210..355fd2603d 100644
--- a/libio/wgenops.c
+++ b/libio/wgenops.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1997-2001,2002,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995,1997-2002,2004,2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Ulrich Drepper <drepper@cygnus.com>.
Based on the single byte version by Per Bothner <bothner@cygnus.com>.
@@ -116,7 +116,7 @@ _IO_wsetb (f, b, eb, a)
int a;
{
if (f->_wide_data->_IO_buf_base && !(f->_flags & _IO_USER_BUF))
- FREE_BUF (f->_wide_data->_IO_buf_base, _IO_wblen (f));
+ FREE_BUF (f->_wide_data->_IO_buf_base, _IO_wblen (f) * sizeof (wchar_t));
f->_wide_data->_IO_buf_base = b;
f->_wide_data->_IO_buf_end = eb;
if (a)