Lines Matching defs:path
125 int add_sort_list(char *path, int priority, int source, char *source_path[])
131 TRACE("add_sort_list: filename %s, priority %d\n", path, priority);
132 if(strlen(path) > 1 && strcmp(path + strlen(path) - 2, "/*") == 0)
133 path[strlen(path) - 2] = '\0';
135 TRACE("add_sort_list: filename %s, priority %d\n", path, priority);
137 if(path[0] == '/' || strncmp(path, "./", 2) == 0 || strncmp(path, "../", 3) == 0 || mkisofs_style == 1) {
138 if(lstat(path, &buf) == -1)
140 TRACE("adding filename %s, priority %d, st_dev %llx, st_ino %llx\n", path, priority, buf.st_dev, buf.st_ino);
146 strcat(strcat(strcpy(filename, source_path[i]), "/"), path);
156 if(n == 0 && mkisofs_style == -1 && lstat(path, &buf) != -1) {
173 BAD_ERROR(" Ambiguous sortlist entry \"%s\"\n\nIt maps to more than one source entry! Please use an absolute path.\n", path);
176 fprintf(stderr, "Cannot stat sortlist entry \"%s\"\n", path);
178 fprintf(stderr, "path relative to the source directories\n");