GLOB_MAXPATH has been deprecated in favour of GLOB_LIMIT.

This commit is contained in:
Yaroslav Tykhiy 2003-01-25 14:59:48 +00:00
parent c547b896f5
commit 80f728d4ff

View file

@ -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) {