2 This patch fixes the despooling size printed in the Job
3 report. Previously, it reported the total size for the
4 device. This patch makes it report the size for the job.
5 Apply the patch to 1.36.1 with:
8 patch -p0 <1.36.1-spool.patch
13 Index: src/stored/spool.c
14 ===================================================================
15 RCS file: /cvsroot/bacula/bacula/src/stored/spool.c,v
16 retrieving revision 1.22
17 diff -u -r1.22 spool.c
18 --- src/stored/spool.c 16 Oct 2004 11:51:32 -0000 1.22
19 +++ src/stored/spool.c 18 Dec 2004 20:39:02 -0000
21 Dmsg0(100, "Despooling data\n");
22 Jmsg(jcr, M_INFO, 0, _("%s spooled data to Volume. Despooling %s bytes ...\n"),
23 commit?"Committing":"Writing",
24 - edit_uint64_with_commas(jcr->dcr->dev->spool_size, ec1));
25 + edit_uint64_with_commas(jcr->dcr->spool_size, ec1));
26 dcr->spooling = false;
27 lock_device(dcr->dev);
28 dcr->dev_locked = true;