X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/798619b91c91405f847b0e48137239f218a4cf15..59f0d218a6ff34c80cf898f6d7ac62555ba8eb11:/packages/bash/dont_endpwent_in_shell_c.patch?ds=sidebyside diff --git a/packages/bash/dont_endpwent_in_shell_c.patch b/packages/bash/dont_endpwent_in_shell_c.patch new file mode 100644 index 00000000..08112bd4 --- /dev/null +++ b/packages/bash/dont_endpwent_in_shell_c.patch @@ -0,0 +1,13 @@ +diff -u -r ../bash-4.2/shell.c ./shell.c +--- ../bash-4.2/shell.c 2011-01-02 22:04:51.000000000 +0100 ++++ ./shell.c 2014-02-11 11:20:46.000000000 +0100 +@@ -1654,7 +1654,9 @@ + current_user.shell = savestring ("/bin/sh"); + current_user.home_dir = savestring ("/"); + } ++#ifndef __ANDROID__ + endpwent (); ++#endif + } + } +