From: espie Date: Tue, 19 Dec 2017 13:51:13 +0000 (+0000) Subject: somehow, I lost that static. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5b6437858f1a9fbbed4489be6d7f8e28c298a2c9;p=openbsd somehow, I lost that static. From Michal W. Bombardieri, thx --- diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 0ff4303f6d5..ebbae5306da 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,4 +1,4 @@ -/* $OpenBSD: job.c,v 1.139 2017/01/21 12:35:40 natano Exp $ */ +/* $OpenBSD: job.c,v 1.140 2017/12/19 13:51:13 espie Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* @@ -220,7 +220,7 @@ static const char * shortened_curdir(void) { static BUFFER buf; - bool first = true; + static bool first = true; if (first) { Buf_Init(&buf, 0); buf_addcurdir(&buf);