Made provisory test for directory record overflow permanent
This commit is contained in:
parent
68c3ae522e
commit
a69f45e8cd
@ -1395,16 +1395,13 @@ int rrip_get_susp_fields(Ecma119Image *t, Ecma119Node *n, int type,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* <<< ts B01222 : For testing only */
|
|
||||||
if (info->suf_len + 28 > space) {
|
if (info->suf_len + 28 > space) {
|
||||||
fprintf(stderr,
|
iso_msg_submit(t->image->id, ISO_ASSERT_FAILURE, 0,
|
||||||
"libisofs_debug: Directory Record overflow. name='%s' , info->suf_len=%d > space=%d - 28\n",
|
"Directory Record overflow. name='%s' , suf_len=%d > space=%d - 28\n",
|
||||||
node->iso_name, (int) info->suf_len, (int) space);
|
node->iso_name, (int) info->suf_len, (int) space);
|
||||||
return ISO_ASSERT_FAILURE;
|
return ISO_ASSERT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (type == 0) {
|
if (type == 0) {
|
||||||
size_t sua_free; /* free space in the SUA */
|
size_t sua_free; /* free space in the SUA */
|
||||||
int nm_type = 0; /* 0 whole entry in SUA, 1 part in CE */
|
int nm_type = 0; /* 0 whole entry in SUA, 1 part in CE */
|
||||||
|
Loading…
Reference in New Issue
Block a user