bug-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

query-pr bug when category name has a "-"?


From: Mark Schlegel
Subject: query-pr bug when category name has a "-"?
Date: Wed, 22 Nov 2000 16:12:44 -0500

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]