"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libisofs/messages.c" between
xorriso-1.5.2.tar.gz and xorriso-1.5.4.tar.gz

About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.

messages.c  (xorriso-1.5.2):messages.c  (xorriso-1.5.4)
skipping to change at line 160 skipping to change at line 160
int iso_init_with_flag(int flag) int iso_init_with_flag(int flag)
{ {
int ret; int ret;
#ifdef Libisofs_with_libjtE #ifdef Libisofs_with_libjtE
/* Ugly compile time check for header version compatibility. /* Ugly compile time check for header version compatibility.
If everything matches, then it produces no C code. In case of mismatch, If everything matches, then it produces no C code. In case of mismatch,
intentionally faulty C code will be inserted. intentionally faulty C code will be inserted.
*/ */
/* The indendation is an advise of man gcc to help old compilers ignoring */ /* The indentation is an advise of man gcc to help old compilers ignoring */
#if iso_libjte_req_major > LIBJTE_VERSION_MAJOR #if iso_libjte_req_major > LIBJTE_VERSION_MAJOR
#define Libisofs_libjte_dot_h_too_olD 1 #define Libisofs_libjte_dot_h_too_olD 1
#endif #endif
#if iso_libjte_req_major == LIBJTE_VERSION_MAJOR && iso_libjte_req_minor > LIBJ TE_VERSION_MINOR #if iso_libjte_req_major == LIBJTE_VERSION_MAJOR && iso_libjte_req_minor > LIBJ TE_VERSION_MINOR
#define Libisofs_libjte_dot_h_too_olD 1 #define Libisofs_libjte_dot_h_too_olD 1
#endif #endif
#if iso_libjte_req_minor == LIBJTE_VERSION_MINOR && iso_libjte_req_micro > LIBJ TE_VERSION_MICRO #if iso_libjte_req_minor == LIBJTE_VERSION_MINOR && iso_libjte_req_micro > LIBJ TE_VERSION_MICRO
#define Libisofs_libjte_dot_h_too_olD 1 #define Libisofs_libjte_dot_h_too_olD 1
#endif #endif
skipping to change at line 402 skipping to change at line 402
return "Error with reading ACL or xattr from local file"; return "Error with reading ACL or xattr from local file";
case ISO_AAIP_NO_SET_LOCAL: case ISO_AAIP_NO_SET_LOCAL:
return "Error with attaching ACL or xattr to local file"; return "Error with attaching ACL or xattr to local file";
case ISO_AAIP_NON_USER_NAME: case ISO_AAIP_NON_USER_NAME:
return "Unallowed attempt to set an xattr with non-userspace name"; return "Unallowed attempt to set an xattr with non-userspace name";
case ISO_EXTF_TOO_OFTEN: case ISO_EXTF_TOO_OFTEN:
return "Too many references on a single external filter command"; return "Too many references on a single external filter command";
case ISO_ZLIB_NOT_ENABLED: case ISO_ZLIB_NOT_ENABLED:
return "Use of zlib was not enabled at compile time"; return "Use of zlib was not enabled at compile time";
case ISO_ZISOFS_TOO_LARGE: case ISO_ZISOFS_TOO_LARGE:
return "Cannot apply zisofs filter to file >= 4 GiB"; return "File too large. Cannot apply zisofs filter.";
case ISO_FILTER_WRONG_INPUT: case ISO_FILTER_WRONG_INPUT:
return "Filter input differs from previous run"; return "Filter input differs from previous run";
case ISO_ZLIB_COMPR_ERR: case ISO_ZLIB_COMPR_ERR:
return "zlib compression/decompression error"; return "zlib compression/decompression error";
case ISO_ZISOFS_WRONG_INPUT: case ISO_ZISOFS_WRONG_INPUT:
return "Input stream is not in zisofs format"; return "Input stream is not in a supported zisofs format";
case ISO_ZISOFS_PARAM_LOCK: case ISO_ZISOFS_PARAM_LOCK:
return "Cannot set global zisofs parameters while filters exist"; return "Cannot set global zisofs parameters while filters exist";
case ISO_ZLIB_EARLY_EOF: case ISO_ZLIB_EARLY_EOF:
return "Premature EOF of zlib input stream"; return "Premature EOF of zlib input stream";
case ISO_MD5_AREA_CORRUPTED: case ISO_MD5_AREA_CORRUPTED:
return "Checksum area or checksum tag appear corrupted"; return "Checksum area or checksum tag appear corrupted";
case ISO_MD5_TAG_MISMATCH: case ISO_MD5_TAG_MISMATCH:
return "Checksum mismatch between checksum tag and data blocks"; return "Checksum mismatch between checksum tag and data blocks";
case ISO_SB_TREE_CORRUPTED: case ISO_SB_TREE_CORRUPTED:
return "Checksum mismatch in System Area, Volume Descriptors, or directo ry tree"; return "Checksum mismatch in System Area, Volume Descriptors, or directo ry tree";
skipping to change at line 555 skipping to change at line 555
case ISO_BAD_GPT_GUID_MODE: case ISO_BAD_GPT_GUID_MODE:
return "Unrecognized GPT disk GUID setup mode"; return "Unrecognized GPT disk GUID setup mode";
case ISO_NO_ROOT_DIR: case ISO_NO_ROOT_DIR:
return "Unable to obtain root directory"; return "Unable to obtain root directory";
case ISO_SUSP_WRONG_CE_SIZE: case ISO_SUSP_WRONG_CE_SIZE:
return "Zero sized, oversized, or mislocated SUSP CE area found"; return "Zero sized, oversized, or mislocated SUSP CE area found";
case ISO_MULTI_OVER_IMPORTED: case ISO_MULTI_OVER_IMPORTED:
return "Multi-session would overwrite imported_iso interval"; return "Multi-session would overwrite imported_iso interval";
case ISO_ELTO_EFI_HIDDEN: case ISO_ELTO_EFI_HIDDEN:
return "El-Torito EFI image is hidden"; return "El-Torito EFI image is hidden";
case ISO_HFSPLUS_TOO_MANY_FILES:
return "Too many files in HFS+ directory tree";
case ISO_ZISOFS_TOO_MANY_PTR:
return "Too many zisofs block pointers needed overall";
case ISO_ZISOFS_BPT_UNDERRUN:
return "Prevented zisofs block pointer counter underrun";
case ISO_ZISOFS_UNKNOWN_SIZE:
return "Cannot obtain size of zisofs compressed stream";
default: default:
return "Unknown error"; return "Unknown error";
} }
} }
int iso_msg_is_abort(int errcode) int iso_msg_is_abort(int errcode)
{ {
if (ISO_ERR_SEV(errcode) >= abort_threshold) if (ISO_ERR_SEV(errcode) >= abort_threshold)
return 1; return 1;
return 0; return 0;
 End of changes. 4 change blocks. 
3 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)