__builtin_expect in gettext

Ulrich Drepper drepper@redhat.com
Wed May 3 19:05:00 GMT 2000


Bruno Haible <haible@ilog.fr> writes:

> 2000-04-29  Bruno Haible  <clisp.cons.org>
> 
> 	* intl/gettextP.h (__builtin_expect): Define as empty if not a
> 	compiler builtin.
> 	* intl/loadinfo.h (__builtin_expect): Likewise.
> 	* intl/dcigettext.c (dcigettext, _nl_find_msg): Use
> 	__builtin_expect where appropriate.
> 	* intl/loadmsgcat.c (_nl_load_domain): Likewise.
> 	* intl/localealias.c (extend_alias_table): Return an error indicator.
> 	(read_alias_file): Bail out if extend_alias_table fails.

Thanks, I've applied the patch.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-alpha mailing list