From a9ee2b24de8abaf0355f5fe2fbf9cb0a5204f76b Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 30 May 2008 21:58:45 +0000 Subject: [PATCH] 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 --- bacula/src/stored/faketape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.39.5