Blame SOURCES/dump-apath.patch

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