0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00
termux-packages/packages/pinentry/pinentry-pinentry-curses.c.patch
2022-09-27 08:34:52 +09:00

25 lines
690 B
Diff

--- a/pinentry/pinentry-curses.c
+++ b/pinentry/pinentry-curses.c
@@ -156,8 +156,10 @@ pinentry_utf8_to_local (const char *lc_c
{
if (! lc_ctype_unknown_warning)
{
+#ifndef __ANDROID__
fprintf (stderr, "%s: no LC_CTYPE known - assuming UTF-8\n",
pgmname);
+#endif
lc_ctype_unknown_warning = 1;
}
return strdup (text);
@@ -223,8 +225,10 @@ pinentry_local_to_utf8 (char *lc_ctype,
{
if (! lc_ctype_unknown_warning)
{
+#ifndef __ANDROID__
fprintf (stderr, "%s: no LC_CTYPE known - assuming UTF-8\n",
pgmname);
+#endif
lc_ctype_unknown_warning = 1;
}
output_buf = secure? secmem_malloc (input_len) : malloc (input_len);