Adapted to libisofs revision 332
This commit is contained in:
parent
fd9eb28523
commit
8d816690f9
@ -701,12 +701,16 @@ int isoburn_report_iso_error(int iso_error_code, char msg_text[], int os_errno,
|
||||
int error_code, iso_sev, min_sev, ret;
|
||||
char *sev_text_pt, *msg_text_pt= NULL;
|
||||
|
||||
/* <<< delete as soon as replacement appears in libisofs */
|
||||
#define ISO_ERR_CODE(e) (e & 0x0000FFFF)
|
||||
|
||||
|
||||
error_code= 0x00050000 | ISO_ERR_CODE(iso_error_code);
|
||||
if(iso_error_code<0)
|
||||
msg_text_pt= (char *) iso_error_to_msg(iso_error_code);
|
||||
if(msg_text_pt==NULL)
|
||||
msg_text_pt= msg_text;
|
||||
iso_sev= ISO_ERR_SEV(iso_error_code);
|
||||
iso_sev= iso_error_get_severity(iso_error_code);
|
||||
sev_text_pt= min_severity;
|
||||
burn_text_to_sev(min_severity, &min_sev, 0);
|
||||
if(min_sev < iso_sev)
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.02.03.181259"
|
||||
#define Xorriso_timestamP "2008.02.04.093106"
|
||||
|
@ -298,12 +298,15 @@ int Xorriso_report_iso_error(struct XorrisO *xorriso,
|
||||
int error_code, iso_sev, min_sev, ret;
|
||||
char *sev_text_pt, *msg_text_pt= NULL;
|
||||
|
||||
/* <<< delete as soon as replacement appears in libisofs */
|
||||
#define ISO_ERR_CODE(e) (e & 0x0000FFFF)
|
||||
|
||||
error_code= 0x00050000 | ISO_ERR_CODE(iso_error_code);
|
||||
if(flag&1)
|
||||
msg_text_pt= (char *) iso_error_to_msg(iso_error_code);
|
||||
if(msg_text_pt==NULL)
|
||||
msg_text_pt= msg_text;
|
||||
iso_sev= ISO_ERR_SEV(iso_error_code);
|
||||
iso_sev= iso_error_get_severity(iso_error_code);
|
||||
sev_text_pt= min_severity;
|
||||
burn_text_to_sev(min_severity, &min_sev, 0);
|
||||
if(min_sev < iso_sev)
|
||||
|
Loading…
Reference in New Issue
Block a user