lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

010-main_code_fix.patch (542B)


      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  
     10  #include <ne_alloc.h>
     11  #include <ne_string.h>
     12 --- a/src/webdav.c
     13 +++ b/src/webdav.c
     14 @@ -2033,7 +2033,7 @@ ssl_verify(void *userdata, int failures,
     15              len = getline(&s, &n, stdin);
     16              if (len < 0)
     17                  abort();
     18 -            if (rpmatch(s) > 0)
     19 +            if ((s[0]=='y' || s[0]=='Y') > 0)
     20                  ret = 0;
     21              free(s);
     22      }