made statbuf static, so that is is zero when not initialized
authorceriel <none@none>
Mon, 14 Nov 1994 12:34:50 +0000 (12:34 +0000)
committerceriel <none@none>
Mon, 14 Nov 1994 12:34:50 +0000 (12:34 +0000)
util/arch/archiver.c

index 416130e..f8b8ada 100644 (file)
@@ -240,7 +240,7 @@ char *argv[];
        usage();
 #ifdef DISTRIBUTION
   if (distr_fl) {
-       struct stat statbuf;
+       static struct stat statbuf;
 
        stat(progname, &statbuf);
        distr_time = statbuf.st_mtime;