git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2970
91ce42f0-d328-0410-95d8-
f526ca767f89
General:
25Apr06
+- Fix barcode test, eliminate BOOL (doesn't exist on Linux).
- Write first cut of README.mingw32
- Add back ua_label barcode fix from Rufolf Cejka.
- Integrate the majority of the Mingw cross-tools submission
/* Look for one of the barcode keywords */
if (!relabel && (i=find_arg_keyword(ua, barcode_keyword)) >= 0) {
/* Now find the keyword in the list */
- if ((j = find_arg(ua, barcode_keyword[i]))) {
+ if ((j = find_arg(ua, barcode_keyword[i])) > 0) {
*ua->argk[j] = 0; /* zap barcode keyword */
}
label_barcodes = true;
int SDJobStatus;
char ed1[50], ed2[50];
+#ifdef WIN32_VSS
// capture state here, if client is backed up by multiple directors
// and one enables vss and the other does not then enable_vss can change
// between here and where its evaluated after the job completes.
- BOOL bDoVSS = FALSE;
+ bool bDoVSS = false;
-#ifdef WIN32_VSS
bDoVSS = g_pVSSClient && enable_vss;
if (bDoVSS)
/* Run only one at a time */