On Fri, Apr 15, 2005 at 11:33:35PM -0000, [EMAIL PROTECTED] wrote:
> while (apr_dir_read(&finfo, APR_FINFO_NAME, dir) == APR_SUCCESS) {
> - if (apr_fnmatch("*.mbox", finfo.name, 0) == APR_SUCCESS) {
> + if (apr_fnmatch("*.mbox", finfo.name, 0) == APR_SUCCESS &&
> + strstr(finfo.name, "incomplete") == NULL) {
> *(const char **)apr_array_push(files) = \
> apr_pstrdup(r->pool, finfo.name);
> }
There probably needs to be something like a MboxIndexIgnore ITERATE directive
for this rather than hard-coding that string. -- justin