010-main_code_fix.patch 542 B

12345678910111213141516171819202122
  1. --- a/src/cache.c
  2. +++ b/src/cache.c
  3. @@ -58,7 +58,7 @@
  4. #ifdef HAVE_SYS_TYPES_H
  5. #include <sys/types.h>
  6. #endif
  7. -#include <sys/xattr.h>
  8. +#include <linux/xattr.h>
  9. #include <ne_alloc.h>
  10. #include <ne_string.h>
  11. --- a/src/webdav.c
  12. +++ b/src/webdav.c
  13. @@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures,
  14. len = getline(&s, &n, stdin);
  15. if (len < 0)
  16. abort();
  17. - if (rpmatch(s) > 0)
  18. + if ((s[0]=='y' || s[0]=='Y') > 0)
  19. ret = 0;
  20. free(s);
  21. }