]> git.sur5r.net Git - bacula/bacula/blob - bacula/patches/1.36.2/1.36.2-level.patch
Commit NULL vol name patch
[bacula/bacula] / bacula / patches / 1.36.2 / 1.36.2-level.patch
1  
2  This patch should fix a problem with th %l editing in the 
3  client (FD) where it edited nothing. With this fix, it should
4  edit "since".  
5  Apply the patch to 1.36.2 with:
6
7  cd <bacula-source>
8  patch -p0 <1.36.2-level.patch
9  make
10  ...
11
12 Index: src/version.h
13 ===================================================================
14 RCS file: /cvsroot/bacula/bacula/src/version.h,v
15 retrieving revision 1.403.2.5
16 retrieving revision 1.403.2.5.2.1
17 diff -u -r1.403.2.5 -r1.403.2.5.2.1
18 --- src/version.h       27 Feb 2005 21:54:02 -0000      1.403.2.5
19 +++ src/version.h       4 Mar 2005 09:14:15 -0000       1.403.2.5.2.1
20 @@ -1,8 +1,8 @@
21  /* */
22  #undef  VERSION
23  #define VERSION "1.36.2"
24 -#define BDATE   "28 February 2005"
25 -#define LSMDATE "28Feb05"
26 +#define BDATE   "04 March 2005"
27 +#define LSMDATE "04Mar05"
28  
29  /* Debug flags */
30  #undef  DEBUG
31 Index: src/filed/job.c
32 ===================================================================
33 RCS file: /cvsroot/bacula/bacula/src/filed/job.c,v
34 retrieving revision 1.91.4.2
35 retrieving revision 1.91.4.2.2.1
36 diff -u -r1.91.4.2 -r1.91.4.2.2.1
37 --- src/filed/job.c     25 Feb 2005 09:47:06 -0000      1.91.4.2
38 +++ src/filed/job.c     4 Mar 2005 09:14:16 -0000       1.91.4.2.2.1
39 @@ -3,7 +3,7 @@
40   *
41   *    Kern Sibbald, October MM
42   *
43 - *   Version $Id$
44 + *   Version $Id$
45   *
46   */
47  /*
48 @@ -1139,7 +1139,7 @@
49        buf = get_memory(dir->msglen+1);
50        utime_t since_time, adj;
51        btime_t his_time, bt_start, rt=0, bt_adj=0;
52 -      if (jcr->JobLevel == 0) {
53 +      if (jcr->JobLevel == L_NONE) {
54          jcr->JobLevel = L_SINCE;     /* if no other job level set, do it now */
55        }
56        if (sscanf(dir->msg, "level = since_utime %s mtime_only=%d",