X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fversion.h;h=7ec359d2a3327324939a2506d05e797f082b9576;hb=622ee72055f42b85772a1f246eae84b8c90cb56e;hp=d0813f2ceea1611b29e042cdacd4bdc5ae472838;hpb=77a4fa84ef85c0c1aeba3078dbe9c297fbe7fc17;p=bacula%2Fbacula diff --git a/bacula/src/version.h b/bacula/src/version.h index d0813f2cee..7ec359d2a3 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -3,9 +3,9 @@ */ #undef VERSION -#define VERSION "3.0.1" -#define BDATE "30 April 2009" -#define LSMDATE "30Apr09" +#define VERSION "3.1.6" +#define BDATE "06 December 2009" +#define LSMDATE "06Dec09" #define PROG_COPYRIGHT "Copyright (C) %d-2009 Free Software Foundation Europe e.V.\n" #define BYEAR "2009" /* year for copyright messages in progs */ @@ -46,7 +46,7 @@ #define TRACE_FILE 1 /* If this is set stdout will not be closed on startup */ -/* #define DEVELOPER 1 */ +#define DEVELOPER 1 /* * SMCHECK does orphaned buffer checking (memory leaks) @@ -54,7 +54,26 @@ * penalties. */ #ifdef DEVELOPER -#define SMCHECK +# define SMCHECK +#endif + +/* + * _USE_LOCKMGR does lock/unlock mutex tracking (dead lock) + * it can always be turned on, but we advise to use it only + * for debug + */ +#if DEVELOPER +# ifndef _USE_LOCKMGR +# define _USE_LOCKMGR +# endif +/* + * Enable priority management with the lock manager + */ +//# define USE_LOCKMGR_PRIORITY +#endif + +#if !HAVE_LINUX_OS +# undef _USE_LOCKMGR #endif /* @@ -62,18 +81,18 @@ * run regress test. */ #ifdef HAVE_LINUX_OS -#define USE_VTAPE +# define USE_VTAPE #endif /* * for fastest speed but you must have a UPS to avoid unwanted shutdowns */ -#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF" +//#define SQLITE3_INIT_QUERY "PRAGMA synchronous = OFF" /* * for more safety, but is 30 times slower than above */ -//#define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL" +#define SQLITE3_INIT_QUERY "PRAGMA synchronous = NORMAL" /* * This should always be on. It enables data encryption code