2013-09-26 17:14:40 +02:00

19 lines
505 B
Plaintext

$NetBSD: patch-ab,v 1.3 2011/11/09 18:38:02 drochner Exp $
don't fail if xattrs are not supported by the filesystem
--- test/bbackupd/testbbackupd.cpp.orig 2011-01-08 21:35:24.000000000 +0000
+++ test/bbackupd/testbbackupd.cpp
@@ -310,9 +310,9 @@ bool attrmatch(const char *f1, const cha
if(!readxattr_into_map(f1, xattr1)
|| !readxattr_into_map(f2, xattr2))
{
- return false;
+ /*return false*/;
}
- if(!(xattr1 == xattr2))
+ else if(!(xattr1 == xattr2))
{
return false;
}