On Thursday 12 February 2009, Roland Mas wrote:
> This can be useful for people preparing packages, to check whether
> a generated *.deb should declare a conflict against other packages
> already in Debian because of file conflicts.  This implementation
> is very crude and rather slow, and a rewrite of that feature inside
> apt-file itself would avoid forking for each file to be tested, but
> it's a start.

A relatively easy way to do this with better performance would be to 
use Regexp::Assemble to create a single regexp from the file list and 
then search for that. Doing this from outside apt-file may run into 
the length limit for command line arguments, though.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to