From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3970 invoked by alias); 24 Nov 2006 15:17:33 -0000 Received: (qmail 3954 invoked by uid 22791); 24 Nov 2006 15:17:33 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Nov 2006 15:17:25 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id kAOFHNXv008041 for ; Fri, 24 Nov 2006 10:17:23 -0500 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id kAOFHNA4006952; Fri, 24 Nov 2006 10:17:23 -0500 Received: from [192.168.7.77] (vpn-14-8.rdu.redhat.com [10.11.14.8]) by lacrosse.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id kAOFHMP0000979; Fri, 24 Nov 2006 10:17:22 -0500 Message-ID: <45670D02.6010402@redhat.com> Date: Fri, 24 Nov 2006 15:17:00 -0000 From: Ulrich Drepper User-Agent: Thunderbird 1.5.0.8 (X11/20061107) MIME-Version: 1.0 To: Jakub Jelinek CC: Arjan van de Ven , Glibc hackers Subject: Re: [PATCH] Fix wide stdio References: <20061124130448.GK3849@sunsite.mff.cuni.cz> In-Reply-To: <20061124130448.GK3849@sunsite.mff.cuni.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00018.txt.bz2 Jakub Jelinek wrote: > testcase from Arjan we attempt to munmap fp->_shortbuf (which is fortunately > not page aligned and thus the munmap just fails). No. We have this bug in the upstream BZ for some time and even had one of the IBM people try to provide a patch. It's not that easy. The current code is screwed up big time when it comes to wide streams and setvbuf. It's not such a trivial change. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖