Corrected default expectation of -status in respect to -osirrox and -error_behavior
This commit is contained in:
parent
60dfe77a32
commit
49d40a4560
@ -2915,7 +2915,7 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
|
|||||||
if(!(is_default && no_defaults))
|
if(!(is_default && no_defaults))
|
||||||
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
||||||
|
|
||||||
is_default= (xorriso->img_read_error_mode==2);
|
is_default= (xorriso->img_read_error_mode == 1);
|
||||||
treatment= "best_effort";
|
treatment= "best_effort";
|
||||||
if(xorriso->img_read_error_mode==1)
|
if(xorriso->img_read_error_mode==1)
|
||||||
treatment= "failure";
|
treatment= "failure";
|
||||||
@ -2999,7 +2999,7 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
|
|||||||
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
||||||
|
|
||||||
is_default = ((xorriso->do_strict_acl & 1) == 0 &&
|
is_default = ((xorriso->do_strict_acl & 1) == 0 &&
|
||||||
(xorriso->do_md5 & (64 | 128)) == 0 &&
|
(xorriso->do_md5 & (64 | 128)) == 64 &&
|
||||||
xorriso->sparse_min_gap == 0);
|
xorriso->sparse_min_gap == 0);
|
||||||
sprintf(line,"-osirrox %s:%s:sparse=",
|
sprintf(line,"-osirrox %s:%s:sparse=",
|
||||||
(xorriso->do_strict_acl & 1) ? "strict_acl_on" : "strict_acl_off",
|
(xorriso->do_strict_acl & 1) ? "strict_acl_on" : "strict_acl_off",
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2021.05.25.195904"
|
#define Xorriso_timestamP "2021.06.04.155151"
|
||||||
|
Loading…
Reference in New Issue
Block a user