golang: Update from 1.10.1 to 1.10.2
[termux-packages] / packages / openssh / no_tty_chmod.patch
1 --- ../openssh-6.4p1/sshpty.c 2009-02-12 02:19:21.000000000 +0100
2 +++ ./sshpty.c 2014-02-04 21:15:37.000000000 +0100
3 @@ -244,6 +244,7 @@
4 }
5 }
6
7 +#ifndef __ANDROID__
8 if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != mode) {
9 if (chmod(tty, mode) < 0) {
10 if (errno == EROFS &&
11 @@ -255,4 +256,5 @@
12 tty, (u_int)mode, strerror(errno));
13 }
14 }
15 +#endif
16 }