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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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


Jakub Jelinek wrote:
I'd like to understand what's still screwed up big time after the patch
I posted.

Any buffer provided must be associated with the wide char buffer for wide streams, not the underlying temporary buffer. This requires, if setvbuf is called before the decision is made, to move the buffer from being used in the output buffer to being used as the wide char buffer. Along with handling alignment issues etc this is a terribly complex change.


--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â


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