From owner-cvs-all@FreeBSD.ORG Sun Feb 27 16:26:49 2005 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 EA16516A4CE; Sun, 27 Feb 2005 16:26:49 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE40743D5E; Sun, 27 Feb 2005 16:26:49 +0000 (GMT) (envelope-from phantom@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1RGQnhH006922; Sun, 27 Feb 2005 16:26:49 GMT (envelope-from phantom@repoman.freebsd.org) Received: (from phantom@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1RGQnOW006921; Sun, 27 Feb 2005 16:26:49 GMT (envelope-from phantom) Message-Id: <200502271626.j1RGQnOW006921@repoman.freebsd.org> From: Alexey Zelkin Date: Sun, 27 Feb 2005 16:26:49 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/nls msgcat.c msgcat.h 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: Sun, 27 Feb 2005 16:26:50 -0000 phantom 2005-02-27 16:26:49 UTC FreeBSD src repository Modified files: lib/libc/nls msgcat.c Removed files: lib/libc/nls msgcat.h Log: Bring in NetBSD's improvements and cleanups to NLS subsystem, making it type and endian clean and removing of stdio dependency from NLS functions (catalog files now are processed via mmap()) Also following changes were done (against NetBSD version): . If mmap() failed, set errno to EINVAL and do not try to munmap() file Obtained from: NetBSD Revision Changes Path 1.50 +95 -249 src/lib/libc/nls/msgcat.c 1.10 +0 -142 src/lib/libc/nls/msgcat.h (dead)