From owner-cvs-all@FreeBSD.ORG Wed Jun 25 16:05:13 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFDFC37B401; Wed, 25 Jun 2003 16:05:12 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A34A643F75; Wed, 25 Jun 2003 16:05:11 -0700 (PDT) (envelope-from phantom@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5PN5B0U077770; Wed, 25 Jun 2003 16:05:11 -0700 (PDT) (envelope-from phantom@repoman.freebsd.org) Received: (from phantom@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5PN5BmM077754; Wed, 25 Jun 2003 16:05:11 -0700 (PDT) Message-Id: <200306252305.h5PN5BmM077754@repoman.freebsd.org> From: Alexey Zelkin Date: Wed, 25 Jun 2003 16:05:11 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/locale Makefile locale.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 23:05:13 -0000 phantom 2003/06/25 16:05:11 PDT FreeBSD src repository Modified files: usr.bin/locale Makefile locale.c Log: locale.c: Use newly added __detect_path_locale() helper to lookup _PathLocale value. It adds boundary checking for PATH_LOCALE environment variable value and check for super-user fallback. Makefile: Add lib/libc/locale to compiler's include path (for setlocale.h) Revision Changes Path 1.4 +1 -0 src/usr.bin/locale/Makefile 1.7 +5 -7 src/usr.bin/locale/locale.c