Searched refs:_TRUNCATE_LEN (Results 1 – 2 of 2) sorted by relevance
52 #define _TRUNCATE_LEN 15 /* number of bytes to keep for member name */ macro102 if (bsdar->options & AR_TR && strlen(bname) > _TRUNCATE_LEN) { in create_obj_from_file()103 if ((obj->name = malloc(_TRUNCATE_LEN + 1)) == NULL) in create_obj_from_file()105 (void)strncpy(obj->name, bname, _TRUNCATE_LEN); in create_obj_from_file()106 obj->name[_TRUNCATE_LEN] = '\0'; in create_obj_from_file()467 if (strncmp(bname, obj->name, _TRUNCATE_LEN)) in ar_write_archive()
54 #define _TRUNCATE_LEN 15 /* number of bytes to keep for member name */ macro103 if (bsdar->options & AR_TR && strlen(bname) > _TRUNCATE_LEN) { in create_obj_from_file()104 if ((obj->name = malloc(_TRUNCATE_LEN + 1)) == NULL) in create_obj_from_file()106 (void)strncpy(obj->name, bname, _TRUNCATE_LEN); in create_obj_from_file()107 obj->name[_TRUNCATE_LEN] = '\0'; in create_obj_from_file()438 if (strncmp(bname, obj->name, _TRUNCATE_LEN)) in ar_write_archive()