Blame SOURCES/dump-apath.patch

836d62
diff --git a/common/legacy_indexer.c b/common/legacy_indexer.c
836d62
index c60830c..e4aa16d 100644
836d62
--- a/common/legacy_indexer.c
836d62
+++ b/common/legacy_indexer.c
836d62
@@ -41,8 +41,7 @@ extern int tapeno;
836d62
 extern int Afile; /* archive file descriptor */
836d62
 static int AfileActive = 1;/* Afile flag */
836d62
 
836d62
-//extern char *Apath;
836d62
-char *Apath;
836d62
+extern char *Apath;
836d62
 
836d62
 #ifdef USE_QFA
836d62
 static int GetTapePos (long long *);
836d62
diff --git a/dump/main.c b/dump/main.c
836d62
index 98c2333..a42182f 100644
836d62
--- a/dump/main.c
836d62
+++ b/dump/main.c
836d62
@@ -104,6 +104,7 @@ char	*dumpdates;	/* name of the file containing dump date information*/
836d62
 char	lastlevel[NUM_STR_SIZE];/* dump level of previous dump */
836d62
 char	level[NUM_STR_SIZE];/* dump level of this dump */
836d62
 int	zipflag;	/* which compression method */
836d62
+char	*Apath;		/* archive file name */
836d62
 int	Afile = -1;	/* archive file descriptor */
836d62
 int	uflag;		/* update flag */
836d62
 int	mflag;		/* dump metadata only if possible */
836d62
@@ -211,7 +212,7 @@ main(int argc, char *argv[])
836d62
 #endif
836d62
 	time_t tnow;
836d62
 	char *diskparam;
836d62
-	char *Apath = NULL;
836d62
+	Apath = NULL;
836d62
 
836d62
 	spcl.c_label[0] = '\0';
836d62
 	spcl.c_date = time(NULL);