Home
last modified time | relevance | path

Searched refs:dir_stack (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dhomedir.c678 name_list_list *dir_stack = NULL; in traverse() local
689 dir_stack = ber_memcalloc_x( 1, sizeof(*dir_stack), ctx ); in traverse()
690 if ( dir_stack == NULL ) goto alloc_fail; in traverse()
691 dir_stack->next = NULL; in traverse()
692 dir_stack->list = ber_memcalloc_x( 1, sizeof(name_list), ctx ); in traverse()
693 if ( dir_stack->list == NULL ) goto alloc_fail; in traverse()
694 rc = lstat( path, &dir_stack->list->st ); in traverse()
699 dir_stack->list->next = NULL; in traverse()
700 dir_stack->list->name = ber_strdup_x( path, ctx ); in traverse()
701 if ( dir_stack->list->name == NULL ) goto alloc_fail; in traverse()
[all …]