Browse Source

Made use of iso_set_abort_severity() with option -abort_on

master
Thomas Schmitt 15 years ago
parent
commit
b03107dae8
  1. 3
      xorriso/xorriso.c
  2. 2
      xorriso/xorriso_timestamp.h
  3. 11
      xorriso/xorrisoburn.c
  4. 3
      xorriso/xorrisoburn.h

3
xorriso/xorriso.c

@ -5969,6 +5969,7 @@ int Xorriso_option_abort_on(struct XorrisO *xorriso, char *severity, int flag)
if(Sfile_str(xorriso->abort_on_text,severity,0)<=0)
return(-1);
xorriso->abort_on_severity= sev;
Xorriso_set_abort_severity(xorriso, 0);
return(1);
}
@ -6013,7 +6014,7 @@ int Xorriso_option_add(struct XorrisO *xorriso, int argc, char **argv,
*wpt= 0;
}
/* <<< do not apply wdx to both
/* <<< do not apply wdx to both, but wdi to ISO and wdx to disk
if(source[0]!='/') {
ret= Sfile_prepend_path(xorriso->wdx, source, 0);
if(ret<=0)

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2008.01.27.174454"
#define Xorriso_timestamP "2008.01.28.105404"

11
xorriso/xorrisoburn.c

@ -3249,4 +3249,13 @@ int Xorriso_get_volid(struct XorrisO *xorriso, char volid[33], int flag)
volid[32]= 0;
return(1);
}
int Xorriso_set_abort_severity(struct XorrisO *xorriso, int flag)
{
int ret;
ret= iso_set_abort_severity(xorriso->abort_on_text);
return(ret>=0);
}

3
xorriso/xorrisoburn.h

@ -135,5 +135,8 @@ int Xorriso_set_volid(struct XorrisO *xorriso, char *volid, int flag);
int Xorriso_get_volid(struct XorrisO *xorriso, char volid[33], int flag);
int Xorriso_set_abort_severity(struct XorrisO *xorriso, int flag);
#endif /* Xorrisoburn_includeD */

Loading…
Cancel
Save