diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-03-28 17:43:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-03-28 17:43:29 +0000 |
commit | eec4cfdc08737a2956685bbbe2bde7b43a19d9de (patch) | |
tree | 230433dc103520324dcbf054692122e7598a7f3d /usr.bin | |
parent | 882a30eddbd779564524aadf8436da5ea6640948 (diff) |
mark potential signal race so we fix it later, ok otto
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/bc/scan.l | 6 |
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; } |