Raphael Geissert <atomo64+deb...@gmail.com> writes: > I found a difference on the results of the file-info parsing: > > diff --git a/t1 b/t2 > index 14783a7..1e3fbb1 100644 > --- a/t1 > +++ b/t2 > @@ -648,4 +648,4 @@ unit_tests/urls.nocomment.ref^@ > unit_tests/urls.notags.ref^@ > unit_tests/valgrind.supp^@ > unit_tests/valgrind_tests.sh^@ > -unit_tests/virusaction-test.sh^@ > +unit_tests/virusaction-test.s^@ > > The former is from my machine, the latter is from the provided index.
Where is this generated at? A nul followed by a newline is strange. Or was this just from debugging code? > Although there's definitely a bug in how the index is generated, I found > another bug, in file-info: chop was being used instead of chomp; > attached mbox corrects that (and should probably workaround the index > file generation bug). chomp is better coding style, but it should be exactly equivalent here since the index is newline-terminated records. Am I missing something? -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org