From: root Date: Thu, 15 Feb 1996 16:22:32 +0000 (+0000) Subject: remove a few stray statics X-Git-Tag: tznext/4.11.0.1.tizen20130304~11679 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=042dc300f0727108a57c305ae2d46692475fde1e;p=tools%2Flibrpm-tizen.git remove a few stray statics init build_subdir to . CVS patchset: 281 CVS date: 1996/02/15 16:22:32 --- diff --git a/build/build.c b/build/build.c index 81a0e54..a448467 100644 --- a/build/build.c +++ b/build/build.c @@ -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;