Bug#1063522: file: does not recognize unified diff file with binary data

2024-02-09 Thread Vincent Lefevre
Control: tags -1 upstream fixed-upstream On 2024-02-09 13:51:20 +0100, Vincent Lefevre wrote: > Debian's file utility does not recognize unified diff file with > binary data. To reproduce, create 2 files a and b with > > { seq 1 9 && printf "\001"; } > a > { seq 2 9 && printf "\002"; } > b >

Bug#1063522: file: does not recognize unified diff file with binary data

2024-02-09 Thread Vincent Lefevre
Package: file Version: 1:5.45-2+b1 Severity: normal Debian's file utility does not recognize unified diff file with binary data. To reproduce, create 2 files a and b with { seq 1 9 && printf "\001"; } > a { seq 2 9 && printf "\002"; } > b Then $ diff -u a b | /usr/bin/file - /dev/stdin: