From 47a178e81649b329748c5da651e58f2593139ec3 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 24 Aug 2011 07:29:07 +0000 Subject: [PATCH] Reporting specific libisofs error if setting of ACL fails --- xorriso/iso_manip.c | 3 +++ xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/xorriso/iso_manip.c b/xorriso/iso_manip.c index 4187c525..d07aad91 100644 --- a/xorriso/iso_manip.c +++ b/xorriso/iso_manip.c @@ -2020,6 +2020,9 @@ int Xorriso_setfacl(struct XorrisO *xorriso, void *in_node, char *path, } ret= iso_node_set_acl_text(node, access_text, default_text, 0); if(ret <= 0) { + Xorriso_report_iso_error(xorriso, "", ret, + "Error when setting ACL to image node", + 0, "FAILURE", 1); if(path != NULL && path[0] != 0) { strcpy(xorriso->info_text, "Error with setting ACL of "); Text_shellsafe(path, xorriso->info_text, 1); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 0f12e9c8..bc596572 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.08.23.104121" +#define Xorriso_timestamP "2011.08.24.072854"