diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-07-02 23:19:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-07-02 23:19:08 +0000 |
commit | 63efbf9210f3c0eff33daf7d20000aa4163cfcbd (patch) | |
tree | aa48d5cd6d55f63f1aa099c53b0d3cfc52033c26 /usr.bin/bc | |
parent | 3952e67e7c4d2dc2e2b454f7ab0000f34582c292 (diff) |
whitespace
Diffstat (limited to 'usr.bin/bc')
-rw-r--r-- | usr.bin/bc/bc.y | 4 | ||||
-rw-r--r-- | usr.bin/bc/scan.l | 4 | ||||
-rw-r--r-- | usr.bin/bc/tty.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/bc/bc.y b/usr.bin/bc/bc.y index 598906364a0..0d6358623f3 100644 --- a/usr.bin/bc/bc.y +++ b/usr.bin/bc/bc.y @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: bc.y,v 1.50 2017/02/23 06:41:46 otto Exp $ */ +/* $OpenBSD: bc.y,v 1.51 2017/07/02 23:19:07 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -1163,7 +1163,7 @@ main(int argc, char *argv[]) dup(p[0]); close(p[0]); close(p[1]); - + exit (dc_main(2, dc_argv)); } } diff --git a/usr.bin/bc/scan.l b/usr.bin/bc/scan.l index 8372f540f60..33835ddbd9a 100644 --- a/usr.bin/bc/scan.l +++ b/usr.bin/bc/scan.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: scan.l,v 1.28 2013/09/19 16:12:01 otto Exp $ */ +/* $OpenBSD: scan.l,v 1.29 2017/07/02 23:19:07 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -324,7 +324,7 @@ bc_yyinput(char *buf, int maxlen) if (el != NULL) el_get(el, EL_EDITMODE, &use_el); - + if (yyin == stdin && interactive && use_el) { const char *bp; sigset_t oset, nset; diff --git a/usr.bin/bc/tty.c b/usr.bin/bc/tty.c index 3b2a0407704..27242239f53 100644 --- a/usr.bin/bc/tty.c +++ b/usr.bin/bc/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.3 2015/09/05 09:49:24 jsg Exp $ */ +/* $OpenBSD: tty.c,v 1.4 2017/07/02 23:19:07 deraadt Exp $ */ /* * Copyright (c) 2013, Otto Moerbeek <otto@drijf.net> @@ -53,10 +53,10 @@ tstpcont(int sig) if (sig == SIGTSTP) { signal(SIGCONT, tstpcont); gettty(&ttyedit); - settty(&ttysaved); + settty(&ttysaved); } else { signal(SIGTSTP, tstpcont); - settty(&ttyedit); + settty(&ttyedit); } signal(sig, SIG_DFL); kill(0, sig); |