Difference between ". list * %" and ". list * *"
Rob Siemborski
rjs3 at andrew.cmu.edu
Tue Feb 3 14:33:36 EST 2004
On Fri, 30 Jan 2004, Rob Siemborski wrote:
> On Fri, 30 Jan 2004, Ken Murchison wrote:
>
> > > Sure, but should a 'list' command ever return the same mailbox name multiple
> > > times. It just seems wrong to me...
> >
> >
> > Oh, I missed that. I don't know why its doing that. Rob, is this
> > another side effect of recent changes, or has this always been broken?
>
> I suspect it is a side effect, I don't remember seeing this before for
> commands like:
>
> x list "" "*%"
>
> I would guess this has to do with the backtracking code (it appears to
> affect LSUB as well). Then again, it is likely that the glob code isn't
> doing something correct (I believe this should compress itself to x list
> "" "*" in glob_init_suppress, but x list "" "*" works fine)
It does indeed, and I just fixed it in CVS:
https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/imapd.c.diff?r1=1.455&r2=1.456
Running through a large suite of testcases did not reveal any other impact
on LIST operation.
-Rob
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus
mailing list