Bug#1053668: diffoscope: Consider using `file -i` as fallback for unknown file output

Chris Lamb lamby at debian.org
Tue Oct 17 11:48:23 BST 2023


Version: 251

FC Stegerman wrote:

> I would argue that this is a bug in file(1) as Magdir/communications
> uses a "string" test, which is for binary files.  If this is a text
> file, not a binary format, it should be forcing a text file test by
> using "string/t" instead.
>
> That said, this is likely not the only such bug (I already encountered
> one before [1]), so the suggestion below makes sense to me.

Yes to both things. This was actually implemented and fixed last week,
although I didn't encode the entry in debian/changelog correctly so
this bug wasn't closed… so closing it now in BCC. :)

Thanks to you both.


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list