File: gettext.patch

package info (click to toggle)
graphviz 2.26.3-5%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 63,032 kB
  • ctags: 25,930
  • sloc: ansic: 212,134; sh: 20,316; cpp: 7,239; makefile: 4,211; yacc: 3,335; xml: 2,450; tcl: 1,900; cs: 1,890; objc: 1,149; perl: 829; lex: 363; awk: 171; python: 41; ruby: 35; php: 26
file content (12 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru gettext-0.17/gettext-runtime/intl/loadmsgcat.c gettext-0.17.patched/gettext-runtime/intl/loadmsgcat.c
--- gettext-0.17/gettext-runtime/intl/loadmsgcat.c	2007-10-14 00:26:32.000000000 +0800
+++ gettext-0.17.patched/gettext-runtime/intl/loadmsgcat.c	2008-05-20 14:43:12.000000000 +0800
@@ -503,7 +503,7 @@
 /* We need a sign, whether a new catalog was loaded, which can be associated
    with all translations.  This is important if the translations are
    cached by one of GCC's features.  */
-int _nl_msg_cat_cntr;
+int _nl_msg_cat_cntr = 0;
 
 
 /* Expand a system dependent string segment.  Return NULL if unsupported.  */