[File] file-5.37 is now available.

Christos Zoulas christos at zoulas.com
Fri May 17 02:52:45 UTC 2019


Hello,

File-5.37 is now available from:

	ftp://ftp.astron.com/pub/file/file-5.37.tar.gz

This is a bug fix release:

	* Make sure that continuation separators are printed
	  with -k within softmagic

	* PR/77: Handle --mime-type and -k correctly.

	* PR/75: --enable-zlib, did not work.

With performance improvements:

	* Change SIGPIPE saving and restoring during compression to use
	  sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko)
	* Cache stat(2) calls more to reduce number of calls (Denys Vlasenko)

	* Switch decompression code to use vfork() because
	  tools like rpmdiff and rpmbuild call libmagic
	  with large process footprints (Denys Vlasenko)

	* Improve regex efficiency (Michael Schroeder) by:
		1. Prefixing regex searches with regular search
		   for keywords where possible
		2. Using memmem(3) where available

And of course many magic fixes and improvements.

Enjoy,

christos


More information about the File mailing list