projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.5.2p1
[debian/amanda]
/
tape-src
/
tapeio.c
diff --git
a/tape-src/tapeio.c
b/tape-src/tapeio.c
index 97875701389181ad6c8b8df87d0c4a0631a0e22b..07eeb7efb275cf651721cb969c1596708d116d73 100644
(file)
--- a/
tape-src/tapeio.c
+++ b/
tape-src/tapeio.c
@@
-32,6
+32,7
@@
*/
#include "amanda.h"
*/
#include "amanda.h"
+#include "conffile.h"
#include "tapeio.h"
#include "fileheader.h"
#include "tapeio.h"
#include "fileheader.h"
@@
-863,7
+864,7
@@
tapefd_rdlabel(
amfree(*datestamp);
amfree(*label);
amfree(*datestamp);
amfree(*label);
- buflen =
MAX_TAPE_BLOCK_BYTES
;
+ buflen =
getconf_readblocksize() * 1024
;
buffer = alloc(buflen + 1);
if(tapefd_getinfo_fake_label(fd)) {
buffer = alloc(buflen + 1);
if(tapefd_getinfo_fake_label(fd)) {