Lines Matching refs:gname
71 char *name, *link_target, *uname, *gname;
83 type, link[100], magic[8], uname[32], gname[32], major[8], minor[8], member
133 strcpy(tmp.gname, "root"); in write_longname()
294 strncpy(hdr.gname, TT.group ? TT.group : gr->gr_name, sizeof(hdr.gname)); in add_to_tar()
517 struct group *gr = getgrnam(TT.hdr.gname); in extract_to_disk()
656 TT.hdr.gname = xstrndup(TT.group ? TT.group : tar.gname, sizeof(tar.gname)); in unpack_tar()
666 struct group *gr = getgrnam(TT.hdr.gname); in unpack_tar()
713 char perm[12], gname[12]; in unpack_tar() local
718 sprintf(gname, "%u", TT.hdr.gid); in unpack_tar()
720 *TT.hdr.gname ? TT.hdr.gname : gname); in unpack_tar()
743 xsetenv("TAR_GNAME", TT.hdr.gname); in unpack_tar()
760 free(TT.hdr.gname); in unpack_tar()