]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/version.h
Replace explicit checks for "/" with calls to IsPathSeparator, strchr with first_path...
[bacula/bacula] / bacula / src / version.h
1 /*
2  *  Version $Id$
3  */
4
5 #undef  VERSION
6 #define VERSION "1.39.29"
7 #define BDATE   "20 November 2006"
8 #define LSMDATE "20Nov06"
9 #define BYEAR "2006"       /* year for copyright messages in progs */
10
11 /* Debug flags */
12 #undef  DEBUG
13 #define DEBUG 1
14 #define TRACEBACK 1
15 #define SMCHECK
16 #define TRACE_FILE 1
17
18 /* If this is set stdout will not be closed on startup */
19 #define DEVELOPER 1
20
21 #define USE_BSNPRINTF 1
22
23 /* Debug flags not normally turned on */
24
25 /* #define FILE_SEEK 1 */  
26
27 /* #define TRACE_JCR_CHAIN 1 */
28 /* #define TRACE_RES 1 */
29 /* #define DEBUG_MEMSET 1 */
30 /* #define DEBUG_MUTEX 1 */
31 /*
32  * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise
33  *  it is the maximum memory malloced before Bacula will
34  *  abort.  Except for debug situations, this should be zero
35  */
36 #define SMALLOC_SANITY_CHECK 0  /* 500000000  0.5 GB max */
37
38
39 /* Check if header of tape block is zero before writing */
40 /* #define DEBUG_BLOCK_ZEROING 1 */
41
42 /* #define FULL_DEBUG 1 */   /* normally on for testing only */
43
44 /* Turn this on ONLY if you want all Dmsg() to append to the
45  *   trace file. Implemented mainly for Win32 ...
46  */
47 /*  #define SEND_DMSG_TO_FILE 1 */
48
49
50 /* The following are turned on for performance testing */
51 /*  
52  * If you turn on the NO_ATTRIBUTES_TEST and rebuild, the SD
53  *  will receive the attributes from the FD, will write them
54  *  to disk, then when the data is written to tape, it will
55  *  read back the attributes, but they will not be sent to
56  *  the Director. So this will eliminate: 1. the comm time
57  *  to send the attributes to the Director. 2. the time it
58  *  takes the Director to put them in the catalog database.
59  */
60 /* #define NO_ATTRIBUTES_TEST 1 */
61
62 /* 
63 * If you turn on NO_TAPE_WRITE_TEST and rebuild, the SD
64 *  will do all normal actions, but will not write to the
65 *  Volume.  Note, this means a lot of functions such as
66 *  labeling will not work, so you must use it only when 
67 *  Bacula is going to append to a Volume. This will eliminate
68 *  the time it takes to write to the Volume (not the time
69 *  it takes to do any positioning).
70 */
71 /* #define NO_TAPE_WRITE_TEST 1 */
72
73 /*
74  * If you turn on FD_NO_SEND_TEST and rebuild, the FD will
75  *  not send any attributes or data to the SD. This will
76  *  eliminate the comm time sending to the SD.
77  */
78 /* #define FD_NO_SEND_TEST 1 */