]> git.sur5r.net Git - bacula/bacula/commitdiff
Temp kludge for FreeBSD mt_count problem
authorKern Sibbald <kern@sibbald.com>
Wed, 11 Feb 2004 12:40:20 +0000 (12:40 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 11 Feb 2004 12:40:20 +0000 (12:40 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1043 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/stored/dev.c

index d4c627a5ea07e49a65946201da3e65517643912b..9aa767fbd2293ea490ae02529d7a8fe83a102936 100644 (file)
@@ -70,6 +70,7 @@ For 1.33 Testing/Documentation:
      http://howtos.linux.com/guides/nag2/x-087-2-nfs.mountd.shtml
 
 For 1.33
+- During install, copy any console.conf to bconsole.conf.
 - Have each daemon save the last_jobs structure when exiting and
   read it back in when starting up.
 - "restore jobid=1 select" calls get_storage_xxx, which prints "JobId 1 is
index d004f023d09e34a552aab7cbfbd849556cac05aa..5ef4ae83accec9e9a7ffe5392038107a3463ca35 100644 (file)
@@ -439,7 +439,11 @@ eod_dev(DEVICE *dev)
        }
       }
       mt_com.mt_op = MTFSF;
-      mt_com.mt_count = INT32_MAX;    /* use big positive number */
+      /*
+       * ***FIXEM*** fix code to handle case that INT16_MAX is
+       *   not large enough.
+       */
+      mt_com.mt_count = INT16_MAX;    /* use big positive number */
       if (mt_com.mt_count < 0) {
         mt_com.mt_count = INT16_MAX; /* brain damaged system */
       }