bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Add initializer for _nl_domain_bindings


From: Klee Dienes
Subject: [PATCH] Add initializer for _nl_domain_bindings
Date: Fri, 25 Oct 2002 17:02:43 -0400

Without an initializer, _nl_domain_bindings ends up declared as a common symbol on Mac OS X systems, and prevents the use of libintl as a dynamic library. The appended patch initializes _nl_domain_bindings to NULL.

2002-10-24  Klee Dienes  <address@hidden>

        * dcigettext.c (_nl_domain_bindings): Initialize to NULL.

--- dcigettext.c~       Tue Jul 23 08:27:52 2002
+++ dcigettext.c        Fri Oct 25 16:57:23 2002
@@ -288,7 +288,7 @@

 /* List with bindings of specific domains created by bindtextdomain()
    calls.  */
-struct binding *_nl_domain_bindings;
+struct binding *_nl_domain_bindings = NULL;

 /* Prototypes for local functions.  */
 static char *plural_lookup PARAMS ((struct loaded_l10nfile *domain,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]