cherry-pick.FILE5_24-23-g4ddb783.parameter-2.patch 415 B

123456789101112131415
  1. Subject: apply parameters before unwrapping() the list of files
  2. Origin: FILE5_24-23-g4ddb783
  3. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  4. Date: Tue Sep 8 13:46:49 2015 +0000
  5. --- a/src/file.c
  6. +++ b/src/file.c
  7. @@ -237,6 +237,7 @@
  8. if (magic == NULL)
  9. if ((magic = load(magicfile, flags)) == NULL)
  10. return 1;
  11. + applyparam(magic);
  12. e |= unwrap(magic, optarg);
  13. ++didsomefiles;
  14. break;