Only stored SUSP/RR entries in the directory entry for last extent.
This commit is contained in:
parent
6ff7699c47
commit
3f6da75e9c
@ -296,8 +296,11 @@ void write_one_dir_record(Ecma119Image *t, Ecma119Node *node, int file_id,
|
|||||||
iso_bb(rec->vol_seq_number, 1, 2);
|
iso_bb(rec->vol_seq_number, 1, 2);
|
||||||
rec->len_fi[0] = len_fi;
|
rec->len_fi[0] = len_fi;
|
||||||
|
|
||||||
/* and finally write the SUSP fields */
|
/*
|
||||||
if (info != NULL) {
|
* and finally write the SUSP fields. On a multi-extent file, they are only
|
||||||
|
* needed in the last extent.
|
||||||
|
*/
|
||||||
|
if (info != NULL && multi_extend == 0) {
|
||||||
rrip_write_susp_fields(t, info, buf + len_dr);
|
rrip_write_susp_fields(t, info, buf + len_dr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user