postgresql: Update from 9.6.2 to 9.6.3
[termux-packages] / packages / libandroid-glob / glob.c
index cec80ed..5e5f627 100644 (file)
@@ -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) ||