Technical notes on version 2.4.x
General:
+Release Version 2.4.2
+22Jul08
+kes Minor cleanups.
+kes Fix bug #1125 which reports a SD crash at the end of a tape
+ during restore. It was a debug statement that should not be
+ in a release.
+20Jul08
+ebl fix #1034 by setting big timeout on mysql connections
+19Jul08
+kes Do partial integration of the Win32 bat build created by Eric.
+kes Fix bat not to block.
+15Jul08
+kes Ensure that SD tried to mount a volume not in an autochanger
+ at least once before asking for operator intervention.
+kes Fix a pthreads bug in the Win32 pthreads emulation code.
+
+
Release Version 2.4.1
07Jul08
kes Clear in-use bit on vol when unused while swapping.
- Release Notes for Bacula 2.4.1
+ Release Notes for Bacula 2.4.2
Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
in your FileSet.
==============================================================
+Release 2.4.2
+ This is a bug fix for version 2.4.1.
+
+Bugs Fixed:
+ 1034, 1125
+
+Change Summary:
+- Fix bug #1125 which reports a SD crash at the end of a tape
+ during restore. It was a debug statement that should not be
+ in a release.
+- Fix #1034 by setting big timeout on mysql connections
+- Do partial integration of the Win32 bat build created by Eric.
+- Ensure that SD tried to mount a volume not in an autochanger
+ at least once before asking for operator intervention.
+- Fix a pthreads bug in the Win32 pthreads emulation code affects only
+ version 2.5.x and above.
+
+
+=================================================================
+
+Release 2.4.1:
+
Bugs Fixed:
1103, 1100, 1105, 1094, 1109, 1106, 1101, 1102, 1112
1117, 1116, 1097.
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2008 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.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Bacula® is a registered trademark of John Walker.
+ Bacula® is a registered trademark of Kern Sibbald.
The licensor of Bacula is the Free Software Foundation Europe
(FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
Switzerland, email:ftf@fsfeurope.org.
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2008 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.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- Bacula® is a registered trademark of John Walker.
+ Bacula® is a registered trademark of Kern Sibbald.
The licensor of Bacula is the Free Software Foundation Europe
(FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
Switzerland, email:ftf@fsfeurope.org.
int set_nonblocking();
int set_blocking();
void restore_blocking(int flags);
- int wait_data(int sec, int usec);
- int wait_data_intr(int sec, int usec);
+ int wait_data(int sec, int usec=0);
+ int wait_data_intr(int sec, int usec=0);
bool authenticate_director(const char *name, const char *password,
TLS_CONTEXT *tls_ctx, char *msg, int msglen);
if (trace) {
if (!trace_fd) {
char fn[200];
-#ifdef HAVE_WIN32
- bsnprintf(fn, sizeof(fn), "%s/%s.trace", working_directory ? working_directory : ".", my_name);
-#else
+#if defined(HAVE_WIN32)
bsnprintf(fn, sizeof(fn), "%s.trace", my_name);
+#else
+ bsnprintf(fn, sizeof(fn), "%s/%s.trace", working_directory ? working_directory : ".", my_name);
#endif
trace_fd = fopen(fn, "a+b");
}
int stat = 0;
while (m_sock) {
for (;;) {
-// bool enabled;
-// if (mainWin->m_commDebug) Pmsg0(000, "bnet_wait_data_intr\n");
stat = m_sock->wait_data_intr(0, 50000);
if (stat > 0) {
break;
}
-// if (mainWin->m_commDebug) Pmsg1(000, "wait status=%d\n", stat);
-#ifdef xxx
- if (m_notifier) {
- enabled = m_notifier->isEnabled();
- if (enabled) {
- m_notifier->setEnabled(false);
- }
- }
-#endif
app->processEvents();
-#ifdef xxx
- if (m_notifier && enabled) {
- m_notifier->setEnabled(true);
- }
-#endif
if (m_api_set && m_messages_pending && m_notifier->isEnabled()) {
write_dir(".messages");
m_messages_pending = false;
}
OSDependentInit();
+#ifdef HAVE_WIN32
WSA_Init(); /* Initialize Windows sockets */
+#endif
if (configfile == NULL) {
configfile = bstrdup(CONFIG_FILE);
#include "jobgraphs/jobplot.h"
#endif
-extern bool trace;
-
/*
* Daemon message callback
*/
MainWin::MainWin(QWidget *parent) : QMainWindow(parent)
{
-#ifdef HAVE_WIN32
- my_name_is(0, NULL, "bat");
- set_trace(true);
-#endif
m_isClosing = false;
m_dtformat = "yyyy-MM-dd HH:mm:ss";
mainWin = this;
Technical notes on version 2.4
General:
+Release Version 2.4.2
22Jul08
+kes Minor cleanups.
kes Fix bug #1125 which reports a SD crash at the end of a tape
during restore. It was a debug statement that should not be
in a release.