Commit f58ee1db authored by Thomas Schmitt's avatar Thomas Schmitt

Bug fix: -compare reported false differences with directories which have...

Bug fix: -compare reported false differences with directories which have non-trivial ACL but no default ACL
parent 784f8f76
......@@ -705,6 +705,8 @@ int Xorriso_getfacl(struct XorrisO *xorriso, void *in_node, char *path,
for(pass= 0; pass < 1 + (acl_text != NULL && !(flag & 2)); pass++) {
if(pass) {
if(result_len == 0)
break;
*acl_text= calloc(result_len + 1, 1);
if(*acl_text == NULL) {
Xorriso_no_malloc_memory(xorriso, NULL, 0);
......@@ -764,7 +766,13 @@ int Xorriso_getfacl(struct XorrisO *xorriso, void *in_node, char *path,
}
}
}
ret= 1;
if(result_len == 0) {
if(acl_text != NULL)
*acl_text= NULL;
ret= 2;
} else {
ret= 1;
}
ex:;
iso_node_get_acl_text(node, &text, &d_text, 1 << 15);
return(ret);
......
#define Xorriso_timestamP "2013.12.29.120027"
#define Xorriso_timestamP "2013.12.30.101707"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment