~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sqlite: Update from 3.14.1 to 3.14.2
[termux-packages]
/
packages
/
libandroid-glob
/
glob.c
diff --git
a/packages/libandroid-glob/glob.c
b/packages/libandroid-glob/glob.c
index
cec80ed
..
5e5f627
100644
(file)
--- 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
*/
* 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) ||
(h = getenv("HOME")) == NULL) {
if (((h = getlogin()) != NULL &&
(pwd = getpwnam(h)) != NULL) ||