[File] [PATCH] of Magdir/mail.news; Unparsable number

Jörg Jenderek joerg.jen.der.ek at gmx.net
Mon Apr 5 15:14:52 UTC 2021


Hello,
some days ago i build file command version 5.40. When running the
make process i get error messages like:

make[2]: Entering directory '/home/tmp/file-5.40/magic'
../src/file -C -m magic
magic/mail.news, 84: Warning: Unparsable number `xu			\b, dcrypt
version %d'
make[2]: Leaving directory '/home/tmp/file-5.40/magic'

When looking at the end of magic/mail.news the last line is:
  >9	byte	xu			\b, dcrypt version %d

This is not a valid magic test line. The correct line looks like
  >9	byte	x			\b, dcrypt version %d

After applying the above mentioned modifications by patch
file-5.40-mail.news.diff compilation succeeds without error.

With best wishes
Jörg Jenderek
--
Jörg Jenderek

-------------- next part --------------
--- file-5.40/magic/Magdir/mail.news.old	2021-03-31 01:47:28.000000000 +0200
+++ file-5.40/magic/Magdir/mail.news	2021-04-05 16:46:49.983193114 +0200
@@ -83,2 +83,2 @@
 0	string	CRYPTED\003\007		Dovecot encrypted message
->9	byte	xu			\b, dcrypt version %d
+>9	byte	x			\b, dcrypt version %d


More information about the File mailing list