From 1917e788ad1b36e3ff671aecc8c24ab3d7520b61 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Thu, 16 Sep 2004 10:53:04 +0000 Subject: more signal flag races; ok miod@ --- libexec/comsat/comsat.c | 6 +++--- libexec/rpc.rstatd/rstatd.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index 31e90690973..a8223f3d308 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: comsat.c,v 1.32 2004/09/14 22:14:13 deraadt Exp $ */ +/* $OpenBSD: comsat.c,v 1.33 2004/09/16 10:53:02 otto Exp $ */ /* * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93";*/ -static char rcsid[] = "$OpenBSD: comsat.c,v 1.32 2004/09/14 22:14:13 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: comsat.c,v 1.33 2004/09/16 10:53:02 otto Exp $"; #endif /* not lint */ #include @@ -129,8 +129,8 @@ main(int argc, char *argv[]) for (;;) { if (wantreadutmp) { - doreadutmp(); wantreadutmp = 0; + doreadutmp(); } cc = recv(0, msgbuf, sizeof(msgbuf) - 1, 0); diff --git a/libexec/rpc.rstatd/rstatd.c b/libexec/rpc.rstatd/rstatd.c index 76e923d825c..a3af17f69f1 100644 --- a/libexec/rpc.rstatd/rstatd.c +++ b/libexec/rpc.rstatd/rstatd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rstatd.c,v 1.19 2004/09/15 19:05:35 deraadt Exp $ */ +/* $OpenBSD: rstatd.c,v 1.20 2004/09/16 10:53:03 otto Exp $ */ /*- * Copyright (c) 1993, John Brezak @@ -29,7 +29,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rstatd.c,v 1.19 2004/09/15 19:05:35 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rstatd.c,v 1.20 2004/09/16 10:53:03 otto Exp $"; #endif /* not lint */ #include @@ -153,8 +153,8 @@ my_svc_run(void) for (;;) { if (wantupdatestat) { - updatestat(); wantupdatestat = 0; + updatestat(); } if (gotsig) { (void) pmap_unset(RSTATPROG, RSTATVERS_TIME); -- cgit v1.2.3