]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl put EOT after 2GB (ok for most regress tests)
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 30 May 2008 21:58:45 +0000 (21:58 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 30 May 2008 21:58:45 +0000 (21:58 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7065 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/faketape.c

index 62b9857c74f2a752302f0fea93fae70269f69b15..b3025571f4a9ac7e39042dcbdecd024b2efb0b8d 100644 (file)
@@ -101,7 +101,7 @@ void faketape_debug(int level)
 /* theses function will replace open/read/write/close/ioctl
  * in bacula core
  */
-int faketape_open(const char *pathname, int flags)
+int faketape_open(const char *pathname, int flags, ...)
 {
    ASSERT(pathname != NULL);
 
@@ -413,7 +413,7 @@ faketape::faketape()
    current_file = 0;
    current_block = -1;
 
-   max_block = 2*1024*100;      /* 100MB */
+   max_block = 2*1024*2048;      /* 2GB */
 }
 
 faketape::~faketape()