texlive-tlmgr: add subpackage
[termux-packages] / packages / joe / no_getpwent.patch
CommitLineData
2fb7766a 1--- src/joe/path.c~ 2016-07-18 17:11:09.000000000 +0200
2+++ src/joe/path.c 2016-12-26 18:48:04.010421451 +0100
3@@ -401,14 +401,14 @@
4 {
5 char **lst = NULL;
6 struct passwd *pw;
7-
8+#ifndef __ANDROID__
9 while((pw=getpwent()))
10 if (rmatch(word+1, pw->pw_name)) {
11 char *t = vsncpy(NULL,0,sc("~"));
12 lst = vaadd(lst, vsncpy(sv(t),sz(pw->pw_name)));
13 }
14 endpwent();
15-
16+#endif
17 return lst;
18 }
19 /********************************************************************/