TEMP-0000000-B67840.7.09e4162.patch 899 B

12345678910111213141516171819202122232425262728
  1. Subject: Put the changes in the original file not the generated file
  2. Upstream-Author: Christos Zoulas <christos@zoulas.com>
  3. Date: Mon Dec 1 13:50:58 2014 +0000
  4. Origin: FILE5_20-40-g09e4162
  5. Last-Update: 2015-01-05
  6. (prequisite for TEMP-0000000-B67840)
  7. diff --git a/src/magic.h b/src/magic.h
  8. index c2667cc..4aec3c5 100644
  9. --- a/src/magic.h
  10. +++ b/src/magic.h
  11. @@ -99,11 +99,10 @@ int magic_check(magic_t, const char *);
  12. int magic_list(magic_t, const char *);
  13. int magic_errno(magic_t);
  14. -#define MAGIC_PARAM_INDIR_RECURSION 0
  15. -#define MAGIC_PARAM_NAME_RECURSION 1
  16. -#define MAGIC_PARAM_NAME_MAX 2
  17. -#define MAGIC_PARAM_PHNUM_MAX 3
  18. -#define MAGIC_PARAM_SHNUM_MAX 4
  19. +#define MAGIC_PARAM_INDIR_MAX 0
  20. +#define MAGIC_PARAM_NAME_MAX 1
  21. +#define MAGIC_PARAM_ELF_PHNUM_MAX 2
  22. +#define MAGIC_PARAM_ELF_SHNUM_MAX 3
  23. int magic_setparam(magic_t, int, const void *);
  24. int magic_getparam(magic_t, int, void *);