Searched refs:ln_name (Results 1 - 8 of 8) sorted by relevance
/freebsd-13-stable/bin/pax/ |
H A D | tar.c | 425 arcn->ln_nlen = l_strncpy(arcn->ln_name, hd->linkname, 426 MIN(sizeof(hd->linkname), sizeof(arcn->ln_name)) - 1); 427 arcn->ln_name[arcn->ln_nlen] = '\0'; 437 arcn->ln_nlen = l_strncpy(arcn->ln_name, hd->linkname, 438 MIN(sizeof(hd->linkname), sizeof(arcn->ln_name)) - 1); 439 arcn->ln_name[arcn->ln_nlen] = '\0'; 454 arcn->ln_name[0] = '\0'; 463 arcn->ln_name[0] = '\0'; 543 paxwarn(1,"Link name too long for tar %s", arcn->ln_name); 593 l_strncpy(hd->linkname,arcn->ln_name, sizeo [all...] |
H A D | pax.h | 197 char ln_name[PAXPATHLEN+1]; /* name to link to (if any) */ member in struct:archd
|
H A D | pat_rep.c | 631 if (rmleadslash && arcn->ln_name[0] == '/' && 633 if (arcn->ln_name[1] == '\0') { 634 arcn->ln_name[0] = '.'; 636 (void)memmove(arcn->ln_name, &arcn->ln_name[1], 637 strlen(arcn->ln_name)); 675 ((res = rep_name(arcn->ln_name, &(arcn->ln_nlen), 0)) != 0)) 687 sub_name(arcn->ln_name, &(arcn->ln_nlen), sizeof(arcn->ln_name)); 782 if (fix_path(arcn->ln_name, [all...] |
H A D | ftree.c | 455 arcn->ln_name[0] = '\0'; 502 if ((cnt = readlink(ftent->fts_path, arcn->ln_name, 512 arcn->ln_name[cnt] = '\0';
|
H A D | file_subs.c | 167 * Create a hard link to arcn->ln_name from arcn->name. arcn->ln_name 182 if (lstat(arcn->ln_name, &sb) < 0) { 183 syswarn(1,errno,"Unable to link to %s from %s", arcn->ln_name, 190 arcn->ln_name); 194 return(mk_link(arcn->ln_name, &sb, arcn->name, 0)); 386 res = symlink(arcn->ln_name, arcn->name);
|
H A D | cpio.c | 218 ((size_t)arcn->sb.st_size >= sizeof(arcn->ln_name))) { 232 if (rd_wrbuf(arcn->ln_name, (int)arcn->sb.st_size) != 238 arcn->ln_name[arcn->ln_nlen] = '\0'; 243 if (arcn->ln_name[0] == '\0') { 336 arcn->ln_name[0] = '\0'; 490 if (wr_rdbuf(arcn->ln_name, arcn->ln_nlen) < 0) { 644 arcn->ln_name[0] = '\0'; 828 if ((wr_rdbuf(arcn->ln_name, arcn->ln_nlen) < 0) || 959 arcn->ln_name[0] = '\0'; 1141 if ((wr_rdbuf(arcn->ln_name, arc [all...] |
H A D | gen_subs.c | 142 (void)fprintf(fp, " == %s\n", arcn->ln_name); 144 (void)fprintf(fp, " => %s\n", arcn->ln_name);
|
H A D | tables.c | 121 * of the file it is linked to (we already saw that file) into ln_name. 169 arcn->ln_nlen = l_strncpy(arcn->ln_name, pt->name, 170 sizeof(arcn->ln_name) - 1); 171 arcn->ln_name[arcn->ln_nlen] = '\0';
|
Completed in 70 milliseconds