From: Eric Bollengier Date: Fri, 30 May 2008 21:58:45 +0000 (+0000) Subject: ebl put EOT after 2GB (ok for most regress tests) X-Git-Tag: Release-3.0.0~1363 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a4b3e655db86683bde7f78fb4769f574eb683de6;p=bacula%2Fbacula ebl put EOT after 2GB (ok for most regress tests) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7065 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/faketape.c b/bacula/src/stored/faketape.c index 62b9857c74..b3025571f4 100644 --- a/bacula/src/stored/faketape.c +++ b/bacula/src/stored/faketape.c @@ -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()