public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>,
	Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [PATCH] Fix wide stdio
Date: Mon, 27 Nov 2006 15:13:00 -0000	[thread overview]
Message-ID: <456B009E.6060403@redhat.com> (raw)
In-Reply-To: <20061127140506.GN3849@sunsite.mff.cuni.cz>

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 ❖

  reply	other threads:[~2006-11-27 15:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-24 13:05 Jakub Jelinek
2006-11-24 15:17 ` Ulrich Drepper
2006-11-27 14:05   ` Jakub Jelinek
2006-11-27 15:13     ` Ulrich Drepper [this message]
2006-12-08  9:53       ` Jakub Jelinek
2006-12-13 23:20         ` Ulrich Drepper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456B009E.6060403@redhat.com \
    --to=drepper@redhat.com \
    --cc=arjan@linux.intel.com \
    --cc=jakub@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).