[svn] GnuPG - r4862 - in trunk: jnlib po

svn author wk cvs at cvs.gnupg.org
Tue Oct 28 16:00:27 CET 2008


Author: wk
Date: 2008-10-28 16:00:23 +0100 (Tue, 28 Oct 2008)
New Revision: 4862

Modified:
   trunk/jnlib/ChangeLog
   trunk/jnlib/w32-gettext.c
   trunk/po/be.po
   trunk/po/ca.po
   trunk/po/cs.po
   trunk/po/da.po
   trunk/po/de.po
   trunk/po/el.po
   trunk/po/eo.po
   trunk/po/es.po
   trunk/po/et.po
   trunk/po/fi.po
   trunk/po/fr.po
   trunk/po/gl.po
   trunk/po/hu.po
   trunk/po/id.po
   trunk/po/it.po
   trunk/po/ja.po
   trunk/po/nb.po
   trunk/po/pl.po
   trunk/po/pt.po
   trunk/po/pt_BR.po
   trunk/po/ro.po
   trunk/po/ru.po
   trunk/po/sk.po
   trunk/po/sv.po
   trunk/po/tr.po
   trunk/po/zh_CN.po
   trunk/po/zh_TW.po
Log:
Fixed w32-gettext.


Modified: trunk/jnlib/ChangeLog
===================================================================
--- trunk/jnlib/ChangeLog	2008-10-28 12:14:29 UTC (rev 4861)
+++ trunk/jnlib/ChangeLog	2008-10-28 15:00:23 UTC (rev 4862)
@@ -1,3 +1,8 @@
+2008-10-28  Werner Koch  <wk at g10code.com>
+
+	* w32-gettext.c (gettext): Try the binary search if the string was
+	not found in the hash table.
+
 2008-10-20  Werner Koch  <wk at g10code.com>
 
 	* w32-afunix.c (_w32_sock_connect): Mark ADDRLEN as unused.

Modified: trunk/jnlib/w32-gettext.c
===================================================================
--- trunk/jnlib/w32-gettext.c	2008-10-28 12:14:29 UTC (rev 4861)
+++ trunk/jnlib/w32-gettext.c	2008-10-28 15:00:23 UTC (rev 4862)
@@ -1647,6 +1647,7 @@
       /*NOTREACHED*/
     }
 
+ not_found:
   /* Now we try the default method: binary search in the sorted array
      of messages.  */
   bottom = 0;
@@ -1667,7 +1668,6 @@
         return get_string (domain, act);
     }
   
- not_found:
   return msgid;
 }
 

Modified: trunk/po/be.po  [not shown]
Modified: trunk/po/ca.po  [not shown]
Modified: trunk/po/cs.po  [not shown]
Modified: trunk/po/da.po  [not shown]
Modified: trunk/po/de.po  [not shown]
Modified: trunk/po/el.po  [not shown]
Modified: trunk/po/eo.po  [not shown]
Modified: trunk/po/es.po  [not shown]
Modified: trunk/po/et.po  [not shown]
Modified: trunk/po/fi.po  [not shown]
Modified: trunk/po/fr.po  [not shown]
Modified: trunk/po/gl.po  [not shown]
Modified: trunk/po/hu.po  [not shown]
Modified: trunk/po/id.po  [not shown]
Modified: trunk/po/it.po  [not shown]
Modified: trunk/po/ja.po  [not shown]
Modified: trunk/po/nb.po  [not shown]
Modified: trunk/po/pl.po  [not shown]
Modified: trunk/po/pt.po  [not shown]
Modified: trunk/po/pt_BR.po  [not shown]
Modified: trunk/po/ro.po  [not shown]
Modified: trunk/po/ru.po  [not shown]
Modified: trunk/po/sk.po  [not shown]
Modified: trunk/po/sv.po  [not shown]
Modified: trunk/po/tr.po  [not shown]
Modified: trunk/po/zh_CN.po  [not shown]
Modified: trunk/po/zh_TW.po  [not shown]




More information about the Gnupg-commits mailing list