termux-packages/packages/bash/bash.patch

13 lines
503 B
Diff

diff -u -r ../bash-4.2/lib/readline/complete.c ./lib/readline/complete.c
--- ../bash-4.2/lib/readline/complete.c 2011-01-16 21:32:57.000000000 +0100
+++ ./lib/readline/complete.c 2014-01-13 12:28:56.338866643 +0100
@@ -2021,7 +2021,7 @@
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;