2 This patch fixes bug #1255 'variable %n changed'
4 Apply it to version 2.4.4 with:
7 patch -p0 <2.4.4-jobname-edit.patch
8 ./configure <your options>
15 ===================================================================
16 --- src/dird/job.c (revision 8455)
17 +++ src/dird/job.c (working copy)
19 len = strlen(dt) + 5; /* dt + .%02d EOS */
20 bstrncpy(name, base_name, sizeof(name));
21 name[sizeof(name)-len] = 0; /* truncate if too long */
22 - bsnprintf(jcr->Job, sizeof(jcr->Job), "%s.%s.%02d", name, dt, seq); /* add date & time */
23 + bsnprintf(jcr->Job, sizeof(jcr->Job), "%s.%s_%02d", name, dt, seq); /* add date & time */
24 /* Convert spaces into underscores */
25 for (p=jcr->Job; *p; p++) {