|
|
@ -1,6 +1,6 @@ |
|
|
|
--- a/include/gettext.h 2012-09-12 16:57:52.000000000 +0400
|
|
|
|
+++ b/include/gettext.h 2019-04-07 01:11:52.492519796 +0300
|
|
|
|
@@ -182,7 +182,7 @@
|
|
|
|
--- a/include/gettext.h
|
|
|
|
+++ b/include/gettext.h
|
|
|
|
@@ -182,7 +182,7 @@ npgettext_aux (const char *domain,
|
|
|
|
(((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined(__STRICT_ANSI__)) \ |
|
|
|
/* || __STDC_VERSION__ >= 199901L */ ) |
|
|
|
|
|
|
@ -9,7 +9,7 @@ |
|
|
|
#include <stdlib.h> |
|
|
|
#endif |
|
|
|
|
|
|
|
@@ -206,7 +206,7 @@
|
|
|
|
@@ -206,7 +206,7 @@ dcpgettext_expr (const char *domain,
|
|
|
|
size_t msgctxt_len = strlen (msgctxt) + 1; |
|
|
|
size_t msgid_len = strlen (msgid) + 1; |
|
|
|
const char *translation; |
|
|
@ -18,7 +18,7 @@ |
|
|
|
char msg_ctxt_id[msgctxt_len + msgid_len]; |
|
|
|
#else |
|
|
|
char buf[1024]; |
|
|
|
@@ -221,7 +221,7 @@
|
|
|
|
@@ -221,7 +221,7 @@ dcpgettext_expr (const char *domain,
|
|
|
|
msg_ctxt_id[msgctxt_len - 1] = '\004'; |
|
|
|
memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); |
|
|
|
translation = dcgettext (domain, msg_ctxt_id, category); |
|
|
@ -27,7 +27,7 @@ |
|
|
|
if (msg_ctxt_id != buf) |
|
|
|
free (msg_ctxt_id); |
|
|
|
#endif |
|
|
|
@@ -252,7 +252,7 @@
|
|
|
|
@@ -252,7 +252,7 @@ dcnpgettext_expr (const char *domain,
|
|
|
|
size_t msgctxt_len = strlen (msgctxt) + 1; |
|
|
|
size_t msgid_len = strlen (msgid) + 1; |
|
|
|
const char *translation; |
|
|
@ -36,7 +36,7 @@ |
|
|
|
char msg_ctxt_id[msgctxt_len + msgid_len]; |
|
|
|
#else |
|
|
|
char buf[1024]; |
|
|
|
@@ -267,7 +267,7 @@
|
|
|
|
@@ -267,7 +267,7 @@ dcnpgettext_expr (const char *domain,
|
|
|
|
msg_ctxt_id[msgctxt_len - 1] = '\004'; |
|
|
|
memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); |
|
|
|
translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); |
|
|
|