summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-11 19:26:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-11 19:26:02 +0000
commit971c12a51da1f95cf97e1abe4c916cbe67d9d2f6 (patch)
tree2b1eb323f3bbc1e659ea39da39b4dcad2d62a9ff
parentc767e4795eb92f93d635e7bc14faa9846435c642 (diff)
comment on a real nasty race
-rw-r--r--usr.bin/script/script.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c
index e39c0030bc6..0c1e5af3fcf 100644
--- a/usr.bin/script/script.c
+++ b/usr.bin/script/script.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: script.c,v 1.13 2000/06/30 16:00:20 millert Exp $ */
+/* $OpenBSD: script.c,v 1.14 2001/01/11 19:26:01 deraadt Exp $ */
/* $NetBSD: script.c,v 1.3 1994/12/21 08:55:43 jtc Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: script.c,v 1.13 2000/06/30 16:00:20 millert Exp $";
+static char rcsid[] = "$OpenBSD: script.c,v 1.14 2001/01/11 19:26:01 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -220,6 +220,7 @@ dooutput()
done(0);
}
+/* XXX totally illegal race */
void
scriptflush(signo)
int signo;