Safety cap for ABI usage bug towards libisofs >= 0.6.2
This commit is contained in:
parent
89670f6dda
commit
357ef5519d
@ -140,6 +140,16 @@ LIBBURN_MISCONFIGURATION_ = 0;
|
||||
}
|
||||
iso_lib_version(&major, &minor, µ);
|
||||
sprintf(msg+strlen(msg), "libisofs-%d.%d.%d ", major, minor, micro);
|
||||
|
||||
/* ts A80224 */
|
||||
if(major!=0 || minor!=6 || micro!=2) {
|
||||
sprintf(msg+strlen(msg),"- MISMATCH -, due to a bug in this libisoburn version: need exactly libisofs-0.6.2 ,\n");
|
||||
bad_match= 1;
|
||||
}
|
||||
|
||||
/* ts A80224 */
|
||||
#ifdef NIX
|
||||
|
||||
#ifdef iso_lib_header_version_major
|
||||
if(iso_lib_is_compatible(iso_lib_header_version_major,
|
||||
iso_lib_header_version_minor,
|
||||
@ -164,6 +174,8 @@ LIBBURN_MISCONFIGURATION_ = 0;
|
||||
}
|
||||
#endif /* ! iso_lib_header_version_major */
|
||||
|
||||
#endif /* NIX */
|
||||
|
||||
if(!burn_initialize()) {
|
||||
sprintf(msg+strlen(msg), "Cannot initialize libburn\n");
|
||||
return(0);
|
||||
|
Loading…
Reference in New Issue
Block a user