Lines Matching refs:name

54 rollback(const char *name, const char *home, PackingList start, PackingList stop)
64 snprintf(try, FILENAME_MAX, "%s/%s", dir, q->name);
65 if (make_preserve_name(bup, FILENAME_MAX, name, try) && fexists(bup)) {
74 prefix = q->name;
75 if (q->name == NULL)
76 q->name = prefix;
77 else if (strcmp(q->name, "."))
78 dir = q->name;
149 PkgName = p->name;
151 printf("extract: Package name is %s\n", p->name);
155 last_file = p->name;
157 printf("extract: %s/%s\n", Directory, p->name);
162 snprintf(try, FILENAME_MAX, "%s/%s", Directory, p->name);
179 if (rename(p->name, try) == 0) {
181 if (p->name[0] == '/' || TOOBIG(p->name)) {
184 add_count = add_arg(&perm_args[perm_count], maxargs - perm_count, p->name);
201 else if (p->name[0] == '/' || TOOBIG(p->name)) {
204 add_count = add_arg(&where_args[where_count], maxargs - where_count, p->name);
210 add_count = add_arg(&perm_args[perm_count], maxargs - perm_count, p->name);
222 prefix = p->name;
223 if (p->name == NULL)
224 p->name = strdup(prefix);
226 printf("extract: CWD to %s\n", p->name);
228 if (strcmp(p->name, ".")) {
229 if (!Fake && make_hierarchy(p->name, TRUE) == FAIL) {
231 errx(2, "%s: unable to cwd to '%s'", __func__, p->name);
233 Directory = p->name;
240 if ((strstr(p->name, "%B") || strstr(p->name, "%F") ||
241 strstr(p->name, "%f")) && last_file == NULL) {
244 __func__, p->name);
246 if (strstr(p->name, "%D") && Directory == NULL) {
249 __func__, p->name);
251 format_cmd(cmd, FILENAME_MAX, p->name, Directory, last_file);
261 Mode = p->name;
266 Owner = p->name;
271 Group = p->name;