[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query-pr bug when category name has a "-"?
From: |
Rick Macdonald |
Subject: |
Re: query-pr bug when category name has a "-"? |
Date: |
Wed, 22 Nov 2000 15:52:31 -0700 (MST) |
On Wed, 22 Nov 2000, Mark Schlegel wrote:
Those query-pr args are all case-insensitive regexp. If you want only ABC,
then use -c '^ABC$'.
> Using query-pr version 3.111
>
> Suppose you have a category directory ABC
> and category directory name containing a dash
> (say, ABC-4) which contains a PR called 4200
>
> I've just noticed that if I point query-pr to -c
> of "ABC" I get an unexpected return:
>
> query-pr -c ABC --summary 4200
> 4200 jim ABC-4 open serious medium jim ABC TR 3634: blah blah ....
>
>
> which should have not found a match since 4200 is actually in ABC-4,
> note that the summary states the correct category name for "4200" in
> the -c ABC-4 case, but it just didn't match the -c option.
>
> and then what I would expect when I point to the category that contains
> 4200:
>
> query-pr -c ABC-4 --summary 4200
> 4200 jim ABC-4 open serious medium jim ABC TR 3634: blah blah ....
>
>
> so the behavior suggests that if two category names
> are the same up to the point where there's a "-" and
> the PR didn't exist in the shorter category, it
> then searches the next one by falling through.
>
> does this mean that "-" should be considered an illegal
> char to use in database directory names? Is this a
> bug fixed by now?
>
> thanks,
> Mark
>
> _______________________________________________
> Bug-gnats mailing list
> Bug-gnats@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-gnats
>
...RickM...