Sync with OpenBSD.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 1 Sep 2007 18:42:08 +0000 (18:42 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 1 Sep 2007 18:42:08 +0000 (18:42 +0000)
commitdb555d9a4d6957ee276d3a04917688ce6809312e
treef4fbb3d467816ebf64470618c0bfe2a591d6723e
parent21f337aade9e7c20212387266a5a09b6dc313faa
Sync with OpenBSD.

- Save and restore not only scale, but ibase as well.

- Interchange roles: bc becomes parent, dc child. This leads to saner
tty handling.

- Avoid segv when a syntax error occurs while reading from command line.

- Various whitespace, warns cleanup, etc.
usr.bin/bc/bc.1
usr.bin/bc/bc.library
usr.bin/bc/bc.y
usr.bin/bc/extern.h
usr.bin/bc/scan.l