Lines Matching defs:lastOpenDir
117 static dirlist_t *lastOpenDir = NULL; /* last activeDir */
498 * lastOpenDir - used to get the oldfile name (and change it),
569 * store in this file's header. lastOpenDir may point
573 if ((lastOpenDir != NULL) && (lastOpenDir->dl_filename != NULL)) {
574 (void) strlcpy(oldname, lastOpenDir->dl_filename,
581 close_log(&lastOpenDir, oldname, newname);
601 if (lastOpenDir == NULL) {
602 freedirlist(lastOpenDir);
603 if ((lastOpenDir = dupdirnode(current_dir)) == NULL) {
609 DPRINT((dbfp, "open_log created new lastOpenDir "
611 lastOpenDir->dl_dirname == NULL ? "" :
612 lastOpenDir->dl_dirname,
613 lastOpenDir->dl_filename == NULL ? "" :
614 lastOpenDir->dl_filename, lastOpenDir->dl_fd));
1029 close_log(&lastOpenDir, "", "");