Lines Matching refs:filename

508 static int gen_utf8_names(const char *filename);
531 static int check_ext_attr(char *filename);
2015 * If the filename is greater than NAMSIZ we can't
2020 /* Determine which (filename or path) is too long. */
2038 "tar: %s: filename is greater than "
2097 "tar: %s: filename is greater "
2745 verify_attr_support(char *filename, int attrflg, arc_action_t actflag,
2754 *ext_attrflg = (pathconf(filename, (actflag == ARC_CREATE) ?
2763 if (sysattr_support(filename,
2778 if (sysattr_support(filename, (actflag == ARC_CREATE) ?
6380 const char *filename;
6392 filename = Xtarhdr.x_path;
6394 filename = name;
6403 filename);
6419 filename);
6454 if (gen_utf8_names(filename) != 0)
7356 gen_utf8_names(const char *filename)
7397 filename);
7433 "tar: file (%s): UTF-8 conversion failed.\n"), filename);
7586 char *filename,
7598 int stringlen; /* length of filename + attr */
7600 * length of filename + attr
7625 stringlen = strlen(attrpath) + strlen(filename) + 2;
7675 * Now fill in the filename + attrnames section
7676 * The filename and attrnames section can be composed of two or more
7693 (void) strcpy(tptr->h_names, filename);
7694 attrnames_index = strlen(filename) + 1;
7732 char *filename,
7833 char *filename = (attrparent == NULL) ? shortname : attrparent;
7849 if (verify_attr_support(filename, (attrparent == NULL), ARC_CREATE,
7866 if ((filefd = open(filename, O_RDONLY)) == -1) {
7874 filename)) != NULL) || (errno != 0)) {
7899 fd = attropen(filename, ".", O_RDONLY);
8205 * Set up filename for attribute
8278 * Gather the attribute path from the filename and attrnames section.
8279 * The filename and attrnames section can be composed of two or more
9195 check_ext_attr(char *filename)
9203 if (getlabel(filename, &currentlabel) != 0) {
9207 filename, strerror(errno));
9216 " %s\n"), filename);
9220 src_label, filename);
9224 gettext("tar: %s not restored\n"), filename);