summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unpack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unpack.c b/src/unpack.c
index 851c358c6..591573678 100644
--- a/src/unpack.c
+++ b/src/unpack.c
@@ -409,8 +409,6 @@ void process_archive(const char *filename) {
* we unwind the stack before processing the cleanup list, and these
* variables had better still exist ... */
static int p1[2];
- static char *cidir = NULL;
- static struct fileinlist *newconffiles, *newfileslist;
static enum pkgstatus oldversionstatus;
static struct varbuf depprobwhy;
static struct tarcontext tc;
@@ -422,10 +420,13 @@ void process_archive(const char *filename) {
struct pkgiterator *it;
struct pkginfo *pkg, *otherpkg;
struct pkg_list *conflictor_iter;
+ char *cidir = NULL;
char *cidirrest, *p;
char conffilenamebuf[MAXCONFFILENAME];
char *psize;
const char *pfilename;
+ struct fileinlist *newfileslist;
+ struct fileinlist *newconffiles;
struct fileinlist *newconff, **newconffileslastp;
struct fileinlist *cfile;
struct reversefilelistiter rlistit;