remove a few stray statics
authorroot <devnull@localhost>
Thu, 15 Feb 1996 16:22:32 +0000 (16:22 +0000)
committerroot <devnull@localhost>
Thu, 15 Feb 1996 16:22:32 +0000 (16:22 +0000)
init build_subdir to .

CVS patchset: 281
CVS date: 1996/02/15 16:22:32

build/build.c

index 81a0e54..a448467 100644 (file)
@@ -324,7 +324,7 @@ int isCompressed(char *file)
 static char *do_untar(Spec spec, int c)
 {
     static char buf[1024];
-    static char file[1024];
+    char file[1024];
     char *s, *taropts;
     struct sources *sp;
 
@@ -362,8 +362,8 @@ static char *do_untar(Spec spec, int c)
 static char *do_patch(Spec spec, int c, int strip, char *db)
 {
     static char buf[1024];
-    static char file[1024];
-    static char dashb[1024];
+    char file[1024];
+    char dashb[1024];
     char *s;
     struct sources *sp;
 
@@ -589,6 +589,8 @@ int verifyList(Spec s)
 int doBuild(Spec s, int flags)
 {
 
+    strcpy(build_subdir, ".");
+
     if (flags & RPMBUILD_LIST) {
        if (verifyList(s)) {
            return 1;