Bug#744924: file: buggy magic: mistakes text as diff

2020-11-21 Thread Vincent Lefevre
Control: found -1 1:5.39-3 This bug is still there: zira% file --version file-5.39 magic file from /etc/magic:/usr/share/misc/magic zira% echo '*** Title' | file - /dev/stdin: diff output, ASCII text The upstream bug https://bugs.astron.com/view.php?id=184 says that it is fixed in 5.39. Is there

Bug#744924: file: buggy magic: mistakes text as diff

2016-07-17 Thread Christoph Biedl
tags 744924 upstream confirmed thanks Vincent Lefevre wrote... > The attached text file is regarded as "diff output" by file: > > xvii:~> file out > out: diff output, ASCII text That's bad indeed. Will try to come up with a solution soon. Christoph signature.asc Description: Digital sign

Bug#744924: file: buggy magic: mistakes text as diff

2014-04-16 Thread Vincent Lefevre
Control: retitle -1 buggy magic: mistakes text as diff when starting with "*** " On 2014-04-16 12:46:46 +0200, Vincent Lefevre wrote: > The attached text file is regarded as "diff output" by file: [...] This happens when the file starts with "*** " (3 stars and a space). Checking only for these 4

Bug#744924: file: buggy magic: mistakes text as diff

2014-04-16 Thread Vincent Lefevre
Package: file Version: 1:5.17-1 Severity: normal The attached text file is regarded as "diff output" by file: xvii:~> file out out: diff output, ASCII text -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'),