mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
GLOB_MAXPATH has been deprecated in favour of GLOB_LIMIT.
This commit is contained in:
parent
c547b896f5
commit
80f728d4ff
1 changed files with 1 additions and 1 deletions
|
|
@ -978,7 +978,7 @@ pathname
|
|||
int n;
|
||||
|
||||
memset(&gl, 0, sizeof(gl));
|
||||
flags |= GLOB_MAXPATH;
|
||||
flags |= GLOB_LIMIT;
|
||||
gl.gl_matchc = MAXGLOBARGS;
|
||||
if (glob($1, flags, NULL, &gl) ||
|
||||
gl.gl_pathc == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue