Hi,

Dne 15.1.2015 v 00:01 Axel Beckert napsal(a):
Marek Veber wrote:
The starting slash of the '-S' argument can repare the main bug
Indeed. I've filed https://bugs.debian.org/775379 against dpkg as the
documentation of "dpkg-query -S" does not explain this special
behaviour with a leading slash.
Ok, you are right with "-S", it was good to report it.

But I meen, so the description in https://bugs.debian.org/775379, where is written:

  If the first character is any of "*[?/" then it will be considered a
  pattern, and it will be surrounded by *, as in "*string*".

Is not correct. In our case when we take "/" as a first character (for example: dpkg-query -S /ls) so no surrounding by '*' and lookup by "*/ls*" is done.
# dpkg-query -S /ls
dpkg-query: no path found matching pattern /ls

So it should IMHO be:

  If the first character is NOT any of "*[?/" then it will be will be surrounded by *, as 
in "*string*" and used as pattern.




When you say "main bug", what do you consider the "remaining bug"?

I did not find another bug, bad the code looks slow (to call awk from perl :D ... )


I intent to fix this with an NMU (as my last NMU was obviously buggy).

Please fix it in wheeze, ...
It should be fixed in Unstable first, before fixing it in Wheezy, too.


Ok, nice, thanks.

--
Marek Veber

Reply via email to