For 1.30 release:
- Add Signature type to File DB record.
-
- CD into subdirectory when open()ing files for backup to
speed up things. Test with testfind().
- Add prefixlinks to where or not where absolute links to FD.
-- Get correct error status from run_program or open_bpipe().
- Look at handling <> in smtp doesn't work with exim.
- Priority job to go to top of list.
- Implement Bar code handling
- Why are save/restore of device different sizes (sparse?) Yup! Fix it.
- Implement some way for the Console to dynamically create a job.
- Restore to a particular time -- e.g. before date, after date.
-- Implement SHA1
- Implement disk spooling
- Implement finer multiprocessing options.
- Solaris -I on tar for include list
- Set timeout on opening fifo for save or restore (findlib)
- Document FIFO storage device.
- Document fifo and | and <
+====== 1.30 =======
+- Implement SHA1
+- Get correct error status from run_program or open_bpipe().
+
sleep(1); /* wait one second */
remaining_wait--;
} else {
- stat = ETIME; /* set timeout, if no other status */
+ stat = 1; /* set error status */
+ errno = ETIME; /* set timed out */
wpid = -1;
break; /* don't wait any longer */
}
}
- if (wpid != -1 && WIFEXITED(chldstatus)) {
- stat = WEXITSTATUS(chldstatus);
+ if (wpid > 0) {
+ if (WIFEXITED(chldstatus)) { /* process exit()ed */
+ stat = WEXITSTATUS(chldstatus);
+ } else if (WIFSIGNALED(chldstatus)) { /* process died */
+ stat = 1;
+ }
if (stat != 0) {
- errno = ECHILD;
+ errno = ECHILD; /* set child errno */
}
- }
+ }
if (bpipe->timer_id) {
stop_child_timer(bpipe->timer_id);
}
!(dir_find_next_appendable_volume(jcr) &&
strcmp(dev->VolHdr.VolName, jcr->VolumeName) == 0)) { /* wrong tape mounted */
if (dev->num_writers != 0) {
+ /*
+ * ***FIXME*** add multiple writers here if permitted
+ * find end of dev chain
+ * dev->next = init_dev(NULL, dev->device);
+ * ...
+ */
Jmsg(jcr, M_FATAL, 0, _("Device %s is busy writing on another Volume.\n"), dev_name(dev));
goto get_out;
}