From: ceriel Date: Mon, 14 Nov 1994 12:34:50 +0000 (+0000) Subject: made statbuf static, so that is is zero when not initialized X-Git-Tag: release-5-5~144 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=33da68f7e23b8f2d9b79fb24ee2767fa1e74dfa4;p=ack.git made statbuf static, so that is is zero when not initialized --- diff --git a/util/arch/archiver.c b/util/arch/archiver.c index 416130efa..f8b8ada02 100644 --- a/util/arch/archiver.c +++ b/util/arch/archiver.c @@ -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;