Revoked rev 4641. It is not a bug but a feature. E.g. for reading.
This commit is contained in:
parent
d5dd6c96cd
commit
dfb641b3b1
@ -261,7 +261,7 @@ ex:;
|
||||
int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
char *path, char *filter_name, int flag)
|
||||
{
|
||||
int ret, strip_suffix= 0, strip_filter= 0, filter_ret= 0, did_work= 0;
|
||||
int ret, strip_suffix= 0, strip_filter= 0, filter_ret= 0;
|
||||
int explicit_suffix= 0, internal_filter= 0;
|
||||
IsoNode *node;
|
||||
IsoFile *file;
|
||||
@ -369,7 +369,6 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
ret= iso_file_remove_filter(file, 0);
|
||||
if(ret != 1)
|
||||
break;
|
||||
did_work= 1;
|
||||
}
|
||||
filter_ret= 1;
|
||||
} else if (internal_filter == 1 || internal_filter == 2) {
|
||||
@ -380,7 +379,6 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
Xorriso_report_iso_error(xorriso, "", filter_ret,
|
||||
"Error when setting filter to ISO node", 0, "FAILURE", 1);
|
||||
}
|
||||
did_work= 1;
|
||||
} else if (internal_filter == 3 || internal_filter == 4) {
|
||||
filter_ret = iso_file_add_gzip_filter(file,
|
||||
1 | ((internal_filter == 4) << 1));
|
||||
@ -389,7 +387,6 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
Xorriso_report_iso_error(xorriso, "", filter_ret,
|
||||
"Error when setting filter to ISO node", 0, "FAILURE", 1);
|
||||
}
|
||||
did_work= 1;
|
||||
} else {
|
||||
|
||||
#ifndef Xorriso_allow_extf_suiD
|
||||
@ -410,7 +407,6 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
Xorriso_report_iso_error(xorriso, "", filter_ret,
|
||||
"Error when setting filter to ISO node", 0, "FAILURE", 1);
|
||||
}
|
||||
did_work= 1;
|
||||
}
|
||||
if(filter_ret != 1 && new_name[0] && old_name != NULL) {
|
||||
ret = iso_node_set_name(node, old_name);
|
||||
@ -420,7 +416,6 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
Xorriso_report_iso_error(xorriso, "", ret,
|
||||
"Error when renaming ISO node", 0, "FAILURE", 1);
|
||||
}
|
||||
did_work= 1;
|
||||
}
|
||||
if(flag & 2) {
|
||||
xorriso->pacifier_count++;
|
||||
@ -433,8 +428,6 @@ int Xorriso_set_filter(struct XorrisO *xorriso, void *in_node,
|
||||
|
||||
ret= filter_ret;
|
||||
ex:;
|
||||
if(did_work)
|
||||
Xorriso_set_change_pending(xorriso, 0);
|
||||
if(old_name != NULL)
|
||||
free(old_name);
|
||||
Xorriso_free_meM(new_name);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2012.03.03.182917"
|
||||
#define Xorriso_timestamP "2012.03.03.185100"
|
||||
|
Loading…
Reference in New Issue
Block a user