On Mon, 3 Oct 2016 15:04:16 -0700 Evan Gates <evan.ga...@gmail.com> wrote:
> "The basename() function may modify the string pointed to by path..." > Thanks POSIX. > + char path[strlen(arg->path)+1]; > + strcpy(path, arg->path); > + return !fnmatch((char *)arg->extra.p, path, 0); Please don't use VLA's. Use estrdup() in this case. Cheers FRIGN -- FRIGN <d...@frign.de>