From 5b6437858f1a9fbbed4489be6d7f8e28c298a2c9 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 19 Dec 2017 13:51:13 +0000 Subject: [PATCH] somehow, I lost that static. From Michal W. Bombardieri, thx --- usr.bin/make/job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1