comparison ffstools/tiffs-rd/cat.c @ 919:1f27fc13eab7

tiffs: add support for extended filenames found in SE K2x0 FFS
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 31 Dec 2022 09:27:01 +0000
parents e7502631a0f9
children
comparison
equal deleted inserted replaced
918:0c33e24ff935 919:1f27fc13eab7
218 } 218 }
219 if (!inf->len) { 219 if (!inf->len) {
220 fprintf(stderr, "error: requested inode has been reclaimed\n"); 220 fprintf(stderr, "error: requested inode has been reclaimed\n");
221 exit(1); 221 exit(1);
222 } 222 }
223 if (!validate_obj_name(headino, 0)) { 223 if (!object_name_mincheck(headino)) {
224 fprintf(stderr, 224 fprintf(stderr,
225 "error: no valid name at the beginning of the requested seghead chunk\n"); 225 "error: no valid name at the beginning of the requested seghead chunk\n");
226 exit(1); 226 exit(1);
227 } 227 }
228 size_head_chunk(inf, &chi); 228 size_head_chunk(inf, &chi);