This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] fix fgetwc() from unbuffered file (RH bug 457506)
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Denys Vlasenko <dvlasenk at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 06 Oct 2008 10:13:01 -0700
- Subject: Re: [PATCH] fix fgetwc() from unbuffered file (RH bug 457506)
- References: <1219831987.3179.5.camel@localhost.localdomain>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Denys Vlasenko wrote:
> This is a fix for this RH bug:
No, it's not a fix, it's a work-around. There is already code there
which should handle the small buffer. The codecvt function should
return __codecvt_partial and store the partial result in the state
variable. This somehow doesn't happen.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjqRx0ACgkQ2ijCOnn/RHSf1ACdGhmp32cy3IYxdeubd1UDdgJ6
LPsAoJvJRR45Lr2EROGdRNG7Ke+YSUL+
=2PCI
-----END PGP SIGNATURE-----