16 lines
465 B
Diff
16 lines
465 B
Diff
--- a/src/frontend/parser/complete.c
|
|
+++ b/src/frontend/parser/complete.c
|
|
@@ -213,10 +213,12 @@
|
|
lcomp = buf;
|
|
if (*buf == cp_til) { /* User name completion... */
|
|
buf++;
|
|
+#ifndef __ANDROID__
|
|
while ((pw = getpwent()) != NULL)
|
|
if (prefix(buf, pw->pw_name))
|
|
wl = wl_cons(copy(pw->pw_name), wl);
|
|
(void) endpwent();
|
|
+#endif
|
|
return (wl);
|
|
}
|
|
} else {
|