Made use of newest libburn version features

This commit is contained in:
Thomas Schmitt 2008-01-29 21:17:29 +00:00
parent 2eb71652d5
commit bd4a94e4c3
2 changed files with 13 additions and 3 deletions

View File

@ -67,8 +67,18 @@ int isoburn_initialize(char msg[1024], int flag)
}
burn_version(&major, &minor, &micro);
sprintf(msg+strlen(msg), "libburn-%d.%d.%d , ", major, minor, micro);
/* >>> check for suitability of library */
if(major > burn_header_version_major
|| (major == burn_header_version_major
&& (minor > burn_header_version_minor
|| (minor == burn_header_version_minor
&& micro >= burn_header_version_micro)))) {
; /* ok */
} else {
sprintf(msg+strlen(msg), "- TOO OLD -, need at least libburn-%d.%d.%d , \n",
burn_header_version_major, burn_header_version_minor,
burn_header_version_micro);
return(0);
}
isoburn_destroy_all(&isoburn_list_start, 0); /* isoburn_list_start= NULL */

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.01.29.184356"
#define Xorriso_timestamP "2008.01.29.211543"