Initial push
[termux-packages] / packages / bash / dont_endpwent_in_shell_c.patch
1 diff -u -r ../bash-4.2/shell.c ./shell.c
2 --- ../bash-4.2/shell.c 2011-01-02 22:04:51.000000000 +0100
3 +++ ./shell.c 2014-02-11 11:20:46.000000000 +0100
4 @@ -1654,7 +1654,9 @@
5 current_user.shell = savestring ("/bin/sh");
6 current_user.home_dir = savestring ("/");
7 }
8 +#ifndef __ANDROID__
9 endpwent ();
10 +#endif
11 }
12 }
13