999-conglomeration.patch 510 B

12345678910111213141516
  1. Author: Michael Piefel <piefel@debian.org>
  2. Description: Needs to be broken out (FIXME).
  3. diff -Naurp file.orig/src/fsmagic.c file/src/fsmagic.c
  4. --- file.orig/src/fsmagic.c 2008-02-14 20:14:52.000000000 +0000
  5. +++ file/src/fsmagic.c 2008-04-07 08:32:13.000000000 +0000
  6. @@ -110,7 +110,8 @@ file_fsmagic(struct magic_set *ms, const
  7. if (file_printf(ms, "cannot open `%s' (%s)",
  8. fn, strerror(errno)) == -1)
  9. return -1;
  10. - return 1;
  11. + ms->event_flags |= EVENT_HAD_ERR;
  12. + return -1;
  13. }
  14. if (mime) {