From owner-cvs-all Fri Dec 21 10:48:28 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 A961D37B405; Fri, 21 Dec 2001 10:48:21 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fBLImJS01546; Fri, 21 Dec 2001 21:48:20 +0300 (MSK) (envelope-from ache) Date: Fri, 21 Dec 2001 21:48:18 +0300 From: "Andrey A. Chernov" To: Alexey Zelkin Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/msgdef Makefile src/etc Makefile src/etc/mtree BSD.usr.dist src/lib/libc/locale lmessages.c Message-ID: <20011221184818.GA1468@nagual.pp.ru> References: <200112211314.fBLDE2b42673@freefall.freebsd.org> <20011221151756.GC98626@nagual.pp.ru> <20011221184745.A91245@ark.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011221184745.A91245@ark.cris.net> User-Agent: Mutt/1.3.23.2i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 21, 2001 at 18:47:45 +0200, Alexey Zelkin wrote: > > > > It breaks static binary compatibility at least. I don't think that > > touching system locale hierarchy is the right solution - libintl is not > Hmm... I not sure how it will break compatibility. Anyway, since this > functionality is not merged to RELENG_4 (whole LC_MESSAGES support) > I don't think that preserving compatibility is important issue. Yes, just to note that. I mean -current binaries. It also troubles 'make hierarchy' when mtree tries to make directory over existen file. > > locale. It will be better to make separate hierarchy for libintl (f.e. > > 'intl') as done for nls. > Such behavior is not applicable to any existent gettext() implementation. > Why create additional incompatility between even BSD's (not to mention > Linux even) ? There are far more incompatibilities than that. F.e. gettext-oriented programs use short language names. We need either to keep short names too under locale/ or patch each program to teach our long names. Second solution will be much easy if whole libintl hierarchy moved into separate dir because short names not needed to be touched. Security issues may arise too (evil-made .po files). What about NLSPATH analog in libintl? Is there a way to work f.e. with both /usr/share/locale and /usr/local/share/locale? -- 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