]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Triviality. (Merge from glibc.)
authorBruno Haible <bruno@clisp.org>
Thu, 18 May 2006 16:58:57 +0000 (16:58 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:21 +0000 (12:13 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/finddomain.c

index 1d6d4405d41c4bd856e7ea72387c12008129bdc6..0b36ec46a101fa2f1b3640a264197b95ecd3b4c9 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-06  Ulrich Drepper  <drepper@redhat.com>
+
+       * finddomain.c (_nl_find_domain): We never return NULL if we found the
+       locale.
+
 2005-12-21  Roland McGrath  <roland@redhat.com>
 
        * l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later malloc
index 237fe6ef5328b0e43abfe8a3e2f429bb90cb64a7..9501d694158a5499da1a7229f54fa4fa04737fd0 100644 (file)
@@ -1,5 +1,5 @@
 /* Handle list of needed message catalogs
-   Copyright (C) 1995-1999, 2000-2001, 2003-2005 Free Software Foundation, Inc.
+   Copyright (C) 1995-1999, 2000-2001, 2003-2006 Free Software Foundation, Inc.
    Written by Ulrich Drepper <drepper@gnu.org>, 1995.
 
    This program is free software; you can redistribute it and/or modify it
@@ -112,7 +112,7 @@ _nl_find_domain (const char *dirname, char *locale,
            break;
        }
 
-      return cnt >= 0 ? retval : NULL;
+      return retval;
       /* NOTREACHED */
     }