Lines Matching refs:curnode
344 NODE *curnode; in apply_specdir() local
372 for (curnode = specnode->child; curnode != NULL; in apply_specdir()
373 curnode = curnode->next) { in apply_specdir()
374 if (strcmp(curnode->name, curfsnode->name) == 0) in apply_specdir()
377 if (curnode == NULL) { in apply_specdir()
387 for (curnode = specnode->child; curnode != NULL; in apply_specdir()
388 curnode = curnode->next) { in apply_specdir()
391 curnode->name); in apply_specdir()
399 if (strcmp(curnode->name, curfsnode->name) == 0) in apply_specdir()
403 curnode->name) >= sizeof(path)) in apply_specdir()
412 if ((curnode->flags & F_OPT) && in apply_specdir()
420 NODETEST(curnode->flags & F_TYPE, "type"); in apply_specdir()
421 NODETEST(curnode->flags & F_MODE, "mode"); in apply_specdir()
423 NODETEST(curnode->flags & F_GID || in apply_specdir()
424 curnode->flags & F_GNAME, "group"); in apply_specdir()
425 NODETEST(curnode->flags & F_UID || in apply_specdir()
426 curnode->flags & F_UNAME, "user"); in apply_specdir()
434 curnode->name); in apply_specdir()
437 stbuf.st_mode = nodetoino(curnode->type); in apply_specdir()
445 curfsnode = create_fsnode(".", ".", curnode->name, in apply_specdir()
459 assert(curnode->slink != NULL); in apply_specdir()
461 curfsnode->symlink = estrdup(curnode->slink); in apply_specdir()
464 apply_specentry(dir, curnode, curfsnode); in apply_specdir()
465 if (curnode->type == F_DIR) { in apply_specdir()
469 apply_specdir(path, curnode, curfsnode->child, speconly); in apply_specdir()