From owner-cvs-all@FreeBSD.ORG Sun Feb 27 16:23:15 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 22AA416A4CE; Sun, 27 Feb 2005 16:23:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0738C43D2D; Sun, 27 Feb 2005 16:23:15 +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 j1RGNEWC006675; Sun, 27 Feb 2005 16:23:14 GMT (envelope-from phantom@repoman.freebsd.org) Received: (from phantom@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1RGNEl2006674; Sun, 27 Feb 2005 16:23:14 GMT (envelope-from phantom) Message-Id: <200502271623.j1RGNEl2006674@repoman.freebsd.org> From: Alexey Zelkin Date: Sun, 27 Feb 2005 16:23:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/gencat gencat.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: Sun, 27 Feb 2005 16:23:15 -0000 phantom 2005-02-27 16:23:14 UTC FreeBSD src repository Modified files: usr.bin/gencat gencat.c Log: Bring in NetBSD's improvements and cleanups to NLS subsystem, making it type and endian clean. Also following changes were done: . Remove of outdated support for generating of include files for NLS catalogs being generated. . Integrate my old code optimizations . ANSI'fy prototypes . Remove duplicate defines, and cleanup includes . Remove first (unused) argument from error() function . Const'ify (gencat now WARNS=8 clean) . Convert corrupt() and nomem() functions to macros . Add *temporary* note what '-new' command line argument is deprecated now (instead of exiting with error message) WARNING: format of generated .cat files is changed! XXX: re-add support for *updating* of .cat files, NetBSD has this functionality disabled Obtained from: NetBSD (mostly) Revision Changes Path 1.11 +712 -127 src/usr.bin/gencat/gencat.c