Lines Matching refs:lastOpenDir
128 dirlist_t *lastOpenDir; /* last activeDir */
537 * lastOpenDir - used to get the oldfile name (and change it),
603 * store in this file's header. lastOpenDir may point
607 if ((ctrl->lastOpenDir != NULL) &&
608 (ctrl->lastOpenDir->dl_filename != NULL)) {
609 (void) strlcpy(oldname, ctrl->lastOpenDir->dl_filename,
616 close_log(&(ctrl->lastOpenDir), oldname, newname, ctrl);
636 if (ctrl->lastOpenDir == NULL) {
637 freedirlist(ctrl->lastOpenDir);
638 ctrl->lastOpenDir = dupdirnode(current_dir);
639 if (ctrl->lastOpenDir == NULL) {
645 DPRINT((ctrl->dbfp, "open_log created new lastOpenDir "
647 ctrl->lastOpenDir->dl_dirname == NULL ? "" :
648 ctrl->lastOpenDir->dl_dirname,
649 ctrl->lastOpenDir->dl_filename == NULL ? "" :
650 ctrl->lastOpenDir->dl_filename,
651 ctrl->lastOpenDir->dl_fd));
1084 close_log(&(ctrl->lastOpenDir), "", "", ctrl);