Page MenuHomeSolus

Update file to 5.37
ClosedPublic

Authored by Girtablulu on May 19 2019, 4:56 PM.
Tags
None
Referenced Files
F10891882: D6349.diff
Jun 29 2023, 1:00 PM
F10814800: D6349.id15259.diff
May 31 2023, 5:32 PM
F10814285: D6349.id15282.diff
May 31 2023, 3:03 PM
F10813249: D6349.diff
May 31 2023, 10:41 AM
F10796200: D6349.id.diff
May 28 2023, 12:56 AM
Subscribers

Details

Summary

Update file to 5.37

Changelog:

  • Make sure that continuation separators are printed with -k within softmagic
  • Change SIGPIPE saving and restoring during compression to use sigaction(2) instead of signal(3) and cache it.
  • Cache stat(2) calls more to reduce number of calls
  • Handle --mime-type and -k correctly.
  • Switch decompression code to use vfork() because tools like rpmdiff and rpmbuild call libmagic with large process footprints
  • --enable-zlib, did not work.
  • Improve regex efficiency
Test Plan
$ file file-5.37-18-1-x86_64.eopkg 
file-5.37-18-1-x86_64.eopkg: Zip archive data, at least v2.0 to extract
$ file package.yml 
package.yml: ASCII text
$ file --version 
file-5.37
magic file from /usr/share/file/magic

Diff Detail

Repository
R750 file
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 19 2019, 5:17 PM
This revision was automatically updated to reflect the committed changes.