~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
redis: Update from 3.2.9 to 4.0.0
[termux-packages]
/
packages
/
libandroid-glob
/
glob.c
diff --git
a/packages/libandroid-glob/glob.c
b/packages/libandroid-glob/glob.c
index
5e5f627
..
0a49f2f
100644
(file)
--- a/
packages/libandroid-glob/glob.c
+++ b/
packages/libandroid-glob/glob.c
@@
-183,7
+183,7
@@
glob(const char *pattern, int flags, int (*errfunc)(const char *, int), glob_t *
if (flags & GLOB_LIMIT) {
limit = pglob->gl_matchc;
if (limit == 0)
if (flags & GLOB_LIMIT) {
limit = pglob->gl_matchc;
if (limit == 0)
- limit =
ARG_MAX
;
+ limit =
sysconf(_SC_ARG_MAX)
;
} else
limit = 0;
pglob->gl_flags = flags & ~GLOB_MAGCHAR;
} else
limit = 0;
pglob->gl_flags = flags & ~GLOB_MAGCHAR;