chiark / gitweb /
vim: Update to latest patch
[termux-packages] / packages / busybox / libbb.h.patch
1 diff -u -r ../busybox-1.22.1/include/libbb.h ./include/libbb.h
2 --- ../busybox-1.22.1/include/libbb.h   2014-01-09 19:15:44.000000000 +0100
3 +++ ./include/libbb.h   2014-07-01 10:27:23.000000000 +0200
4 @@ -1785,12 +1785,12 @@
5   * use bb_default_login_shell and following defines.
6   * If you change LIBBB_DEFAULT_LOGIN_SHELL,
7   * don't forget to change increment constant. */
8 -#define LIBBB_DEFAULT_LOGIN_SHELL  "-/bin/sh"
9 +#define LIBBB_DEFAULT_LOGIN_SHELL  "-/system/bin/sh"
10  extern const char bb_default_login_shell[] ALIGN1;
11  /* "/bin/sh" */
12  #define DEFAULT_SHELL              (bb_default_login_shell+1)
13  /* "sh" */
14 -#define DEFAULT_SHELL_SHORT_NAME   (bb_default_login_shell+6)
15 +#define DEFAULT_SHELL_SHORT_NAME   (bb_default_login_shell+13)
16  
17  /* The following devices are the same on all systems.  */
18  #define CURRENT_TTY "/dev/tty"