From owner-cvs-all Tue Feb 13 13:38: 2 2001 Delivered-To: cvs-all@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id 60F6A37B491; Tue, 13 Feb 2001 13:37:57 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.2/8.11.2) id f1DLbtL37611; Wed, 14 Feb 2001 00:37:56 +0300 (MSK) (envelope-from ache) Date: Wed, 14 Feb 2001 00:37:54 +0300 From: "Andrey A. Chernov" To: Alexey Zelkin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/locale ldpart.c ldpart.h Message-ID: <20010214003753.A37536@nagual.pp.ru> References: <200102131529.f1DFTd323798@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102131529.f1DFTd323798@freefall.freebsd.org>; from phantom@FreeBSD.org on Tue, Feb 13, 2001 at 07:29:39AM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 13, 2001 at 07:29:39 -0800, Alexey Zelkin wrote: > phantom 2001/02/13 07:29:39 PST > > Modified files: > lib/libc/locale ldpart.c ldpart.h > Log: > add additional function parameter: bufsize_min. it's possible > to check two sizes per one function invocation now. Why only two hardcoded? It prevents additional locale extensions - there must be unlimited number of possible extensions. It means that ldpart must just return line count, and upper level code must decide which level of extensions used and what actions are needed to compensate missing parts for each returned line count. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message