gnupg/util (ChangeLog simple-gettext.c)
cvs user wk
cvs at cvs.gnupg.org
Sun Oct 31 00:44:53 CEST 2004
Date: Sunday, October 31, 2004 @ 00:49:09
Author: wk
Path: /cvs/gnupg/gnupg/util
Modified: ChangeLog simple-gettext.c
(get_string): Removed debugging hack.
------------------+
ChangeLog | 4 ++++
simple-gettext.c | 3 +--
2 files changed, 5 insertions(+), 2 deletions(-)
Index: gnupg/util/ChangeLog
diff -u gnupg/util/ChangeLog:1.164 gnupg/util/ChangeLog:1.165
--- gnupg/util/ChangeLog:1.164 Wed Oct 27 18:32:33 2004
+++ gnupg/util/ChangeLog Sun Oct 31 00:49:09 2004
@@ -1,3 +1,7 @@
+2004-10-31 Werner Koch <wk at g10code.com>
+
+ * simple-gettext.c (get_string): Removed debugging hack.
+
2004-10-27 Werner Koch <wk at g10code.com>
* simple-gettext.c: Removed windows.h.
Index: gnupg/util/simple-gettext.c
diff -u gnupg/util/simple-gettext.c:1.10 gnupg/util/simple-gettext.c:1.11
--- gnupg/util/simple-gettext.c:1.10 Wed Oct 27 18:32:33 2004
+++ gnupg/util/simple-gettext.c Sun Oct 31 00:49:09 2004
@@ -306,14 +306,13 @@
{
size_t plen, buflen;
char *buf;
- static int debug_hack;
domain->mapped[idx] = 1;
plen = strlen (p);
buf = utf8_to_native (p, plen, -1);
buflen = strlen (buf);
- if (buflen <= plen && (++debug_hack %3))
+ if (buflen <= plen)
strcpy (p, buf);
else
{
More information about the Gnupg-commits
mailing list