Package: bacula / 7.4.4+dfsg-6

fix-btape-fill.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Origin: http://www.bacula.org/git/cgit.cgi/bacula/commit/?id=991d8a595657086eca1d2cd1f69246c68ef15511
Date: Sat, 28 Jan 2017 14:08:05 +0100
Description: Remove debug code that breaks btape fill
Bug-Debian: 855645

---
 src/stored/block_util.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/stored/block_util.c b/src/stored/block_util.c
index 3d67de9..657e9b1 100644
--- a/src/stored/block_util.c
+++ b/src/stored/block_util.c
@@ -1,7 +1,7 @@
 /*
    Bacula(R) - The Network Backup Solution
 
-   Copyright (C) 2000-2016 Kern Sibbald
+   Copyright (C) 2000-2017 Kern Sibbald
 
    The original author of Bacula is Kern Sibbald, with contributions
    from many others, a complete list can be found in the file AUTHORS.
@@ -205,8 +205,6 @@ void empty_block(DEV_BLOCK *block)
    Dmsg3(200, "empty len=%d block=%p set binbuf=%d\n",
          block->buf_len, block, block->binbuf);
    block->bufp = block->buf + block->binbuf;
-   block->buf[0] = 0;        /* clear for debugging */
-   block->bufp[0] = 0;       /* clear for debugging */
    block->read_len = 0;
    block->write_failed = false;
    block->block_read = false;
-- 
cgit v0.11.2