Date: Mon, 4 Sep 2000 05:09:40 -0700 (PDT) From: Alexey Zelkin <phantom@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/nls msgcat.c Message-ID: <200009041209.FAA22865@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009041209.FAA22865>