1639752170.revert.FILE5_41-51-g30c4d1fc.revert-pr-304-zachs18-allow-whitespace-in-netpbm-sizes.patch 683 B

12345678910111213141516
  1. Subject: Revert "PR/304: zachs18: Allow whitespace in netpbm sizes."
  2. Origin: FILE5_41-51-g30c4d1fc <https://github.com/file/file/commit/FILE5_41-51-g30c4d1fc>
  3. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  4. Date: Fri Dec 17 14:42:50 2021 +0000
  5. --- b/magic/Magdir/images
  6. +++ a/magic/Magdir/images
  7. @@ -179,7 +179,7 @@
  8. # adding 65 to strength so that Netpbm images comes before "x86 boot sector" or
  9. # "DOS/MBR boot sector" identified by ./filesystems
  10. 0 name netpbm
  11. ->3 regex/s =[0-9]{1,50}[\040\t\f\r\n]+[0-9]{1,50} Netpbm image data
  12. +>3 regex/s =[0-9]{1,50}\ [0-9]{1,50} Netpbm image data
  13. >>&0 regex =[0-9]{1,50} \b, size = %s x
  14. >>>&0 regex =[0-9]{1,50} \b %s