From: Kern Sibbald Date: Fri, 3 Apr 2009 09:16:48 +0000 (+0000) Subject: Implement more automatic build of Win64 client. Note, there are still X-Git-Tag: Release-7.0.0~3174 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=665c4daaecdd500bc4dad65fa19bbed59984e7d2;p=bacula%2Fbacula Implement more automatic build of Win64 client. Note, there are still lots of warning messages, but it seems to build a correct binary. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8681 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/findlib/attribs.c b/bacula/src/findlib/attribs.c index 341ec2206c..6160706369 100644 --- a/bacula/src/findlib/attribs.c +++ b/bacula/src/findlib/attribs.c @@ -48,7 +48,7 @@ static bool uid_set = false; /* Forward referenced subroutines */ static bool set_win32_attributes(JCR *jcr, ATTR *attr, BFILE *ofd); void unix_name_to_win32(POOLMEM **win32_name, char *name); -void win_error(JCR *jcr, char *prefix, POOLMEM *ofile); +void win_error(JCR *jcr, const char *prefix, POOLMEM *ofile); HANDLE bget_handle(BFILE *bfd); #endif /* HAVE_WIN32 */ @@ -720,7 +720,7 @@ static bool set_win32_attributes(JCR *jcr, ATTR *attr, BFILE *ofd) return true; } -void win_error(JCR *jcr, char *prefix, POOLMEM *win32_ofile) +void win_error(JCR *jcr, const char *prefix, POOLMEM *win32_ofile) { DWORD lerror = GetLastError(); LPTSTR msg; @@ -738,7 +738,7 @@ void win_error(JCR *jcr, char *prefix, POOLMEM *win32_ofile) LocalFree(msg); } -void win_error(JCR *jcr, char *prefix, DWORD lerror) +void win_error(JCR *jcr, const char *prefix, DWORD lerror) { LPTSTR msg; FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER| diff --git a/bacula/src/findlib/enable_priv.c b/bacula/src/findlib/enable_priv.c index 9f13730e4b..b13a9ea951 100644 --- a/bacula/src/findlib/enable_priv.c +++ b/bacula/src/findlib/enable_priv.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2003-2008 Free Software Foundation Europe e.V. + Copyright (C) 2003-2009 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -63,10 +63,10 @@ int enable_backup_privileges(JCR *jcr, int ignore_errors) #if defined(HAVE_WIN32) -void win_error(JCR *jcr, char *prefix, DWORD lerror); +void win_error(JCR *jcr, const char *prefix, DWORD lerror); static int -enable_priv(JCR *jcr, HANDLE hToken, char *name, int ignore_errors) +enable_priv(JCR *jcr, HANDLE hToken, const char *name, int ignore_errors) { TOKEN_PRIVILEGES tkp; DWORD lerror; diff --git a/bacula/technotes b/bacula/technotes index f74eb2ea5c..a7137a8485 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -1,10 +1,13 @@ Technical notes for current SVN General: -04Apr09 + +03Apr09 +kes Implement more automatic build of Win64 client. Note, there are still + lots of warning messages, but it seems to build a correct binary. +02Apr09 kes Enhance Job messages from SD when the FD->SD protocol is incorrect and the SD hangs up. Previously this looked like a comm error. -02Apr09 mvw Fixed problem in xattr and acl code trying to send empty acl or xattr streams. mvw Fix for bug #1261 where we send out a null stream when a file only an