This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix fgetwc() from unbuffered file (RH bug 457506)


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]