Initial push
[termux-packages] / packages / busybox / crontab.c.patch
1 diff -u -r ../busybox-1.22.1/miscutils/crontab.c ./miscutils/crontab.c
2 --- ../busybox-1.22.1/miscutils/crontab.c 2014-01-09 19:15:44.000000000 +0100
3 +++ ./miscutils/crontab.c 2014-07-01 09:47:30.000000000 +0200
4 @@ -40,10 +40,12 @@
5
6 /* CHILD - change user and run editor */
7 /* initgroups, setgid, setuid */
8 +#ifndef __ANDROID__
9 change_identity(pas);
10 setup_environment(pas->pw_shell,
11 SETUP_ENV_CHANGEENV | SETUP_ENV_TO_TMP,
12 pas);
13 +#endif
14 ptr = getenv("VISUAL");
15 if (!ptr) {
16 ptr = getenv("EDITOR");