summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/bc/scan.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/bc/scan.l b/usr.bin/bc/scan.l
index 3448cd8813e..ea243f70e25 100644
--- a/usr.bin/bc/scan.l
+++ b/usr.bin/bc/scan.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scan.l,v 1.16 2004/12/02 19:30:05 otto Exp $ */
+/* $OpenBSD: scan.l,v 1.17 2005/03/28 17:43:28 deraadt Exp $ */
/*
* Copyright (c) 2003, Otto Moerbeek <otto@drijf.net>
@@ -18,7 +18,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: scan.l,v 1.16 2004/12/02 19:30:05 otto Exp $";
+static const char rcsid[] = "$OpenBSD: scan.l,v 1.17 2005/03/28 17:43:28 deraadt Exp $";
#endif /* not lint */
#include <err.h>
@@ -230,7 +230,7 @@ abort_line(int sig)
if (interactive) {
save_errno = errno;
- YY_FLUSH_BUFFER;
+ YY_FLUSH_BUFFER; /* XXX signal race? */
write(STDOUT_FILENO, str, sizeof(str) - 1);
errno = save_errno;
}