16 lines
485 B
Plaintext
16 lines
485 B
Plaintext
$NetBSD: patch-ag,v 1.2 2008/11/06 08:33:31 bjs Exp $
|
|
|
|
Don't look for message catalogs in ../po/.
|
|
|
|
--- src/intl/gettext/loadmsgcat.c.orig 2008-09-21 04:45:22.000000000 -0400
|
|
+++ src/intl/gettext/loadmsgcat.c
|
|
@@ -259,7 +259,7 @@ _nl_load_domain(struct loaded_l10nfile *
|
|
{
|
|
struct string filename;
|
|
|
|
- if (init_string(&filename)
|
|
+ if (init_string(&filename) && 0
|
|
&& add_filename_to_string(&filename, domain_file)) {
|
|
fd = open(filename.source, O_RDONLY | O_BINARY);
|
|
}
|