From owner-freebsd-hackers Sun Jul 2 22:12:35 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 2F4D837BF27 for ; Sun, 2 Jul 2000 22:12:06 -0700 (PDT) (envelope-from fjoe@iclub.nsu.ru) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id MAA78932 for ; Mon, 3 Jul 2000 12:11:59 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Mon, 3 Jul 2000 12:11:59 +0700 (NSS) From: Max Khon To: hackers@FreeBSD.ORG Subject: Re: mbstowcs/wcstombs In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! On Mon, 3 Jul 2000, Max Khon wrote: > sorry for posting here but freebsd-i18n list seems to be dead (is it?) > > some products (e.g. Xerces for C from XML Apache Project) rely on the > following behaviour of mbstowcs/wcstombs: > > when `dest' param is NULL then `len' parameter is ignored and > these functions return required length to store the result. > This feature is implemented at least in Solaris' libc and glibc 2.1.2. > > attached patch implements this behaviour (with updated man page and > one minor fix in man 3 multibyte). aargh, there is already opened PR for this (bin/17694) anyway the question is open /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message