X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/59f0d218a6ff34c80cf898f6d7ac62555ba8eb11..ebed8be7328b5d166e707a5afa291172137fd05c:/packages/libandroid-glob/glob.c diff --git a/packages/libandroid-glob/glob.c b/packages/libandroid-glob/glob.c index cec80ed7..5e5f627c 100644 --- a/packages/libandroid-glob/glob.c +++ b/packages/libandroid-glob/glob.c @@ -391,7 +391,10 @@ globtilde(const Char *pattern, Char *patbuf, size_t patbuf_len, glob_t *pglob) * we're not running setuid or setgid) and then trying * the password file */ - if (issetugid() != 0 || + if ( +#ifndef __ANDROID__ + issetugid() != 0 || +#endif (h = getenv("HOME")) == NULL) { if (((h = getlogin()) != NULL && (pwd = getpwnam(h)) != NULL) ||