httpd-mbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject Re: svn commit: r161526 - httpd/mod_mbox/trunk/module-2.0/mod-mbox-util.c httpd/mod_mbox/trunk/module-2.0/mod_mbox_index.c
Date Sat, 16 Apr 2005 07:28:38 GMT
On Fri, Apr 15, 2005 at 11:33:35PM -0000, pquerna@apache.org 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

Mime
View raw message