New error code ISO_HFSPLUS_TOO_MANY_FILES instead of ISO_MANGLE_TOO_MUCH_FILES
This commit is contained in:
parent
6ca841e002
commit
69e332d17a
@ -1790,9 +1790,9 @@ int hfsplus_writer_create(Ecma119Image *target)
|
|||||||
|
|
||||||
if (target->hfsp_nnodes > (cat_node_size - 0x100) * 8)
|
if (target->hfsp_nnodes > (cat_node_size - 0x100) * 8)
|
||||||
{
|
{
|
||||||
iso_msg_submit(target->image->id, ISO_MANGLE_TOO_MUCH_FILES, 0,
|
iso_msg_submit(target->image->id, ISO_HFSPLUS_TOO_MANY_FILES, 0,
|
||||||
"HFS+ map nodes aren't implemented");
|
"HFS+ map nodes aren't implemented");
|
||||||
ret = ISO_MANGLE_TOO_MUCH_FILES;
|
ret = ISO_HFSPLUS_TOO_MANY_FILES;
|
||||||
goto ex;
|
goto ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9043,6 +9043,9 @@ int iso_conv_name_chars(IsoWriteOpts *opts, char *name, size_t name_len,
|
|||||||
/** El-Torito EFI image is hidden (NOTE,HIGH, -421) */
|
/** El-Torito EFI image is hidden (NOTE,HIGH, -421) */
|
||||||
#define ISO_ELTO_EFI_HIDDEN 0xB030FE5B
|
#define ISO_ELTO_EFI_HIDDEN 0xB030FE5B
|
||||||
|
|
||||||
|
/** Too many files in HFS+ directory tree (FAILURE, HIGH, -422) */
|
||||||
|
#define ISO_HFSPLUS_TOO_MANY_FILES 0xE830FE5A
|
||||||
|
|
||||||
|
|
||||||
/* Internal developer note:
|
/* Internal developer note:
|
||||||
Place new error codes directly above this comment.
|
Place new error codes directly above this comment.
|
||||||
|
@ -555,6 +555,8 @@ const char *iso_error_to_msg(int errcode)
|
|||||||
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";
|
||||||
default:
|
default:
|
||||||
return "Unknown error";
|
return "Unknown error";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user