This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: __builtin_expect in gettext
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: __builtin_expect in gettext
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 03 May 2000 19:03:39 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <200005021411.QAA28793@oberkampf.ilog.fr>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
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 `------------------------