Searched refs:link_target (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | tar.c | 58 char *name, *link_target, *uname, *gname; member 387 if (S_ISREG(file_hdr->mode) && file_hdr->link_target) { in extract_to_disk() 388 if (link(file_hdr->link_target, file_hdr->name)) in extract_to_disk() 389 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk() 405 if (symlink(file_hdr->link_target, file_hdr->name)) in extract_to_disk() 406 perror_msg("can't link '%s' -> '%s'",file_hdr->name, file_hdr->link_target); in extract_to_disk() 631 file_hdr->link_target = xmalloc(sz + 1); in unpack_tar() 632 memcpy(file_hdr->link_target, tar.link, sz); in unpack_tar() 633 file_hdr->link_target[sz] = '\0'; in unpack_tar() 701 free(file_hdr->link_target); in unpack_tar() [all …]
|