From owner-cvs-all  Mon Sep  4  5: 9:43 2000
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP
	id C793B37B423; Mon,  4 Sep 2000 05:09:40 -0700 (PDT)
Received: (from phantom@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id FAA22865;
	Mon, 4 Sep 2000 05:09:40 -0700 (PDT)
	(envelope-from phantom@FreeBSD.org)
Message-Id: <200009041209.FAA22865@freefall.freebsd.org>
From: Alexey Zelkin <phantom@FreeBSD.org>
Date: Mon, 4 Sep 2000 05:09:40 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/lib/libc/nls msgcat.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

phantom     2000/09/04 05:09:40 PDT

  Modified files:
    lib/libc/nls         msgcat.c 
  Log:
  Finaly cleanup libc/nls code:
  
  * rewrite catopen() to remove duplicate code chunks and optimize
  * if empty string is passed to catopen() as name argument then
     catopen() will set errno to ENOENT (File not found), not EINVAL
  * move search code to LOOKUP() macro to shrink amount of duplicated code
  * move common resource freeing actions to __nls_free_resources() function
  * exclude from build code related to MCLoadAll defintion since it is not
    using at all
  * style(9) related whitespace changes
  
  Reviewed by:	ache
  
  Revision  Changes    Path
  1.32      +164 -197  src/lib/libc/nls/msgcat.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message