-2003-10-29 Version 1.32c 29Oct03
+2003-10-30 Version 1.32c 30Oct03 Release
29Oct03
+- Add %v to job edit codes. It edits in the VolumeName(s).
- Add code to ensure that fds 0,1, and 2 are defined by dup'ing them
to /dev/null if necessary. Mostly for Windows that does not have them.
- Error check dir_create_jobmedia_record() 2 places in acquire.c
/*
* The following code is kept temporarily for compatibility.
* It is the predecessor to the Bootstrap file.
+ * DEPRECATED
*/
if (!jcr->RestoreBootstrap) {
/*
* %n = Unadorned Job name
* %t = Job type (Backup, ...)
* %r = Recipients
+ * %v = Volume name
*
* omsg = edited output message
* imsg = input string containing edit codes (%x)
case 't':
str = job_type_to_str(jcr->JobType);
break;
+ case 'v':
+ if (jcr->VolumeName && jcr->VolumeName[0]) {
+ str = jcr->VolumeName;
+ } else {
+ str = "";
+ }
+ break;
default:
add[0] = '%';
add[1] = *p;
#undef VERSION
#define VERSION "1.32c"
#define VSTRING "1"
-#define BDATE "29 Oct 2003"
-#define LSMDATE "20Oct03"
+#define BDATE "30 Oct 2003"
+#define LSMDATE "30Oct03"
/* Debug flags */
#undef DEBUG