Description: fix qfa with actual tapes
 fix for bug #965105, a critical variable was duplicated in two source files & marked static in one
Author: Alexander Zangerl <az@debian.org>
--- a/dump/tape.c
+++ b/dump/tape.c
@@ -102,7 +102,7 @@ char	*nexttape;
 extern  pid_t rshpid;
 int 	eot_code = 1;
 long long tapea_bytes = 0;	/* bytes_written at start of current volume */
-static int magtapeout;		/* output is really a tape */
+int magtapeout;		/* output is really a tape */
 
 static	ssize_t dump_atomic_read (int, char *, size_t);
 static	ssize_t dump_atomic_write (int, const char *, size_t);
--- a/common/legacy_indexer.c
+++ b/common/legacy_indexer.c
@@ -51,10 +51,9 @@ static int MkTapeString (struct s_spcl *
 
 int tapepos;
 int ntrec;		/* blocking factor on tape */
-int magtapeout;  /* is output a magnetic tape? */
 //extern int tapepos;
 //extern int ntrec;		/* blocking factor on tape */
-//extern int magtapeout;  /* is output a magnetic tape? */
+extern int magtapeout;  /* is output a magnetic tape? */
 
 static int gtperr = 0;
 static int gTapeposfd = -1;			/* code below assumes fd >= 0 means do print */
