diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-09-16 10:53:04 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-09-16 10:53:04 +0000 |
commit | 1917e788ad1b36e3ff671aecc8c24ab3d7520b61 (patch) | |
tree | a9dc91b0fe99d871a00990325de9a35ebbb65967 | |
parent | c40004d58e6620664f294a62bc7dec6980278da2 (diff) |
more signal flag races; ok miod@
-rw-r--r-- | libexec/comsat/comsat.c | 6 | ||||
-rw-r--r-- | 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 <sys/limits.h> @@ -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 <sys/types.h> @@ -153,8 +153,8 @@ my_svc_run(void) for (;;) { if (wantupdatestat) { - updatestat(); wantupdatestat = 0; + updatestat(); } if (gotsig) { (void) pmap_unset(RSTATPROG, RSTATVERS_TIME); |