struct stat sb;
char *oldpath;
- cur = 0;
oldpath = NULL;
begin:
/* Path and filter should be malloc(3)-ed strings at all times */
/* Reset filter */
free(filter);
filter = xstrdup(ifilter);
- cur = 0;
goto out;
case S_IFREG:
bin = openwith(name);
filter = tmp;
filter_re = re;
DPRINTF_S(filter);
- cur = 0;
goto out;
case SEL_NEXT:
if (cur < n - 1)
free(filter);
filter = xstrdup(ifilter); /* Reset filter */
DPRINTF_S(path);
- cur = 0;
goto out;
}
}