JCR *jcr;
BSOCK *dir = (BSOCK *)dirp;
const char jobname[12] = "*Director*";
- saveCWD save_cwd;
+// saveCWD save_cwd;
jcr = new_jcr(sizeof(JCR), filed_free_jcr); /* create JCR */
jcr->dir_bsock = dir;
jcr->ff = init_find_files();
- save_cwd.save(jcr);
+// save_cwd.save(jcr);
jcr->start_time = time(NULL);
jcr->RunScripts = New(alist(10, not_owned_by_alist));
jcr->last_fname = get_pool_memory(PM_FNAME);
ff->fileset = NULL;
Dmsg0(100, "Calling term_find_files\n");
term_find_files(jcr->ff);
- save_cwd.restore(jcr);
- save_cwd.release();
+// save_cwd.restore(jcr);
+// save_cwd.release();
jcr->ff = NULL;
Dmsg0(100, "Done with term_find_files\n");
free_jcr(jcr); /* destroy JCR record */
#
# include files installed when using libtool
#
-INCLUDE_FILES = bfile.h find.h protos.h savecwd.h
+INCLUDE_FILES = bfile.h find.h protos.h
#
LIBBACFIND_SRCS = find.c match.c find_one.c attribs.c create_file.c \