From owner-cvs-all Sat Dec 22 9:14: 6 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 9DEB037B405; Sat, 22 Dec 2001 09:13:54 -0800 (PST) Received: (from ache@localhost) by nagual.pp.ru (8.11.6/8.11.6) id fBMHDqc14108; Sat, 22 Dec 2001 20:13:53 +0300 (MSK) (envelope-from ache) Date: Sat, 22 Dec 2001 20:13:51 +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: <20011222171351.GB13950@nagual.pp.ru> References: <200112211314.fBLDE2b42673@freefall.freebsd.org> <20011221151756.GC98626@nagual.pp.ru> <20011221184745.A91245@ark.cris.net> <20011221184818.GA1468@nagual.pp.ru> <20011221211354.A8081@ark.cris.net> <20011221194928.GB1820@nagual.pp.ru> <20011222103610.B16292@ark.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011222103610.B16292@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 Sat, Dec 22, 2001 at 10:36:10 +0200, Alexey Zelkin wrote: > > But all this is unrelated to libintl. Libintl reduces long names to short > > ones automatically. I mean programs that installs their .po files into > > short directory names. > But how it should handle showing ru_RU[.KOI8-R]'s .po file in case > if user has locale set to ru_RU.CP866 for example ? As I remember libintl search "ru_RU.CP866" then "ru_RU" then "ru" > I don't see a reason to add new incompatibility by adding > new directory hierarchy for libintl's po files. It is not you who add it, it is all libintl-related programs which always use short names on install: target, as I already write initially. > As I can understand it's side effect of any functionality which is supporting > search path mechanizms. Yes. So, a) if libintl have search patch mechanism, it must be reviewed in security terms before importing or b) if it not have search path mechanism, it must be ever not imported, because ports tree require hierarchy under /usr/local/. > What exactly you mean under term "evil" ? Buffer overflow or misguidng "enter you password" f.e. in .po files. > This is not libintl specific change. This is change which should simplify > future changes. As example was mentioned 'libintl'. I disagree. What future changes it can simplify excepting libintl? I see no reasons to add yet one path for LC_MESSAGES and as locale maintainer ask to back this change out for now. If it required for libintl, I'll be pleased to see it in libintl changes pack for review, not here. -- 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