From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23818 invoked by alias); 22 Dec 2008 10:15:40 -0000 Received: (qmail 22040 invoked by uid 48); 22 Dec 2008 10:14:27 -0000 Date: Mon, 22 Dec 2008 10:15:00 -0000 Message-ID: <20081222101427.22039.qmail@sourceware.org> From: "bonzini at gnu dot org" To: glibc-bugs@sources.redhat.com In-Reply-To: <20081219010845.9674.bruno@clisp.org> References: <20081219010845.9674.bruno@clisp.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/9674] mbtowc keeps internal state even for stateless encodings X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2008-12/txt/msg00097.txt.bz2 ------- Additional Comments From bonzini at gnu dot org 2008-12-22 10:14 ------- For completeness, I will add that this requirement is also present in ISO C at the beginning of 7.20.7 (outside 7.20.7.2 which is where mbtowc is defined). OTOH, the fact that "For a state-dependent encoding, each function is placed into its initial state by a call for which its character pointer argument, s, is a null pointer" does not imply that an implementation cannot do the same for state-independent encodings too... -- What |Removed |Added ---------------------------------------------------------------------------- CC| |bonzini at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=9674 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.