From: drepper Date: Sun, 26 Sep 2004 04:29:26 +0000 (+0000) Subject: (_nl_find_msg): Call _nl_domain_load also if decided < 0. X-Git-Tag: fedora-glibc-20040926T0823~13 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=bf64740bf9219a1dcfd8bcb9894f615416f6a2a4 (_nl_find_msg): Call _nl_domain_load also if decided < 0. --- diff --git a/intl/dcigettext.c b/intl/dcigettext.c index fa53b7c574..65d893240f 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -1,5 +1,5 @@ /* Implementation of the internal dcigettext function. - Copyright (C) 1995-2002, 2003 Free Software Foundation, Inc. + Copyright (C) 1995-2002, 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -680,7 +680,7 @@ _nl_find_msg (domain_file, domainbinding, msgid, lengthp) char *result; size_t resultlen; - if (domain_file->decided == 0) + if (domain_file->decided <= 0) _nl_load_domain (domain_file, domainbinding); if (domain_file->data == NULL)