termux-packages/packages/bash/complete.c.patch

12 lines
378 B
Diff
Raw Normal View History

--- a/lib/readline/complete.c
+++ b/lib/readline/complete.c
@@ -2231,7 +2231,7 @@
char *
rl_username_completion_function (const char *text, int state)
{
-#if defined (__WIN32__) || defined (__OPENNT)
+#if defined (__WIN32__) || defined (__OPENNT) || defined (__ANDROID__)
return (char *)NULL;
#else /* !__WIN32__ && !__OPENNT) */
static char *username = (char *)NULL;