Fixup fromcvs/togit conversion
[pkgsrcv2.git] / sysutils / boxbackup-client / patches / patch-ab
1 $NetBSD$
2
3 don't fail if xattrs are not supported by the filesystem
4
5 --- test/bbackupd/testbbackupd.cpp.orig 2011-01-08 21:35:24.000000000 +0000
6 +++ test/bbackupd/testbbackupd.cpp
7 @@ -310,9 +310,9 @@ bool attrmatch(const char *f1, const cha
8                 if(!readxattr_into_map(f1, xattr1)
9                         || !readxattr_into_map(f2, xattr2))
10                 {
11 -                       return false;
12 +                       /*return false*/;
13                 }
14 -               if(!(xattr1 == xattr2))
15 +               else if(!(xattr1 == xattr2))
16                 {
17                         return false;
18                 }