#endif
#ifdef HAVE_AIX_OS
-extern "C" int initgroups(char *,int);
+extern "C" int initgroups(const char *,int);
#endif
}
if (dev->VolCatInfo.VolCatName[0] == 0) {
Pmsg0(000, _("NULL Volume name. This shouldn't happen!!!\n"));
+ Dmsg0(000, _("NULL Volume name. This shouldn't happen!!!\n"));
}
Dmsg0(90, "back from write_end_session_label()\n");
/* Flush out final partial block of this session */
}
if (dev->VolCatInfo.VolCatName[0] == 0) {
Pmsg0(000, _("NULL Volume name. This shouldn't happen!!!\n"));
+ Dmsg0(000, _("NULL Volume name. This shouldn't happen!!!\n"));
}
}
if (job_canceled(jcr)) {
return false;
}
- Dmsg1(150, "want vol=%s\n", dcr->VolumeName);
+ Dmsg2(150, "want vol=%s dev=%s\n", dcr->VolumeName, dev->VolHdr.VolumeName);
if (dev->poll && dev->has_cap(CAP_CLOSEONPOLL)) {
dev->close();
dev->block_num = dev->file = 0;
dev->EndBlock = dev->EndFile = 0;
memset(&dev->VolCatInfo, 0, sizeof(dev->VolCatInfo));
- memset(&dcr->VolCatInfo, 0, sizeof(dcr->VolCatInfo));
+// memset(&dcr->VolCatInfo, 0, sizeof(dcr->VolCatInfo));
dev->clear_volhdr();
/* Force re-read of label */
dev->clear_labeled();
dev->clear_read();
dev->clear_append();
dev->label_type = B_BACULA_LABEL;
- dcr->VolumeName[0] = 0;
+// dcr->VolumeName[0] = 0;
if (dev->is_open() && (!dev->is_tape() || !dev->has_cap(CAP_ALWAYSOPEN))) {
dev->close();
#undef VERSION
#define VERSION "2.3.12"
-#define BDATE "11 March 2008"
-#define LSMDATE "11Mar08"
+#define BDATE "13 March 2008"
+#define LSMDATE "13Mar08"
#define PROG_COPYRIGHT "Copyright (C) %d-2008 Free Software Foundation Europe e.V.\n"
#define BYEAR "2008" /* year for copyright messages in progs */
Technical notes on version 2.3
General:
+13Mar08
+kes Don't zap dcr values during release_volume() as they might
+ have the next Volume to be mounted.
+kes Fix AIX prototype.
12Mar08
kes Second cut of drive switching during backup.
11Mar08