]> git.sur5r.net Git - bacula/bacula/commitdiff
Temp remove savecwd to make Win32 build
authorKern Sibbald <kern@sibbald.com>
Mon, 22 Feb 2010 09:12:02 +0000 (10:12 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:34 +0000 (16:49 +0200)
bacula/src/filed/job.c
bacula/src/findlib/Makefile.in
bacula/src/findlib/find.h

index b03976476b918395b9ef3061a39f6213e10db1ba..3e193dea868a1dc40c33044d268d4d59816b8111 100644 (file)
@@ -227,12 +227,12 @@ void *handle_client_request(void *dirp)
    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);
@@ -383,8 +383,8 @@ void *handle_client_request(void *dirp)
    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 */
index 7c4ad8a43222a8fab80691efe2c7d5fdbff49bb0..41077f7c655cb928ace4aa1f1707154190ce6d2e 100644 (file)
@@ -22,7 +22,7 @@ dummy:
 #
 # 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 \
index 3fa6afcaee6591cda2b4de48bd6e701a76fff88d..4033ad316fbe538d42640150a3be132ecedbb872 100644 (file)
@@ -36,7 +36,6 @@
 
 #include "jcr.h"
 #include "bfile.h"
-#include "savecwd.h"
 #include "../filed/fd_plugins.h"
 
 #ifdef HAVE_DIRENT_H