summaryrefslogtreecommitdiffstats
path: root/usr.bin/bc/scan.l
Commit message (Collapse)AuthorAgeFilesLines
* - Fix signal handling in bc/dc. Now Ctrl-C terminates the execution.gabor2010-06-061-19/+0
| | | | | Requested by: gk (via private mail) Approved by: delphij (mentor)
* Fix a bug in previous revision.delphij2010-02-051-1/+1
| | | | | | | | | | | | The bc(1) program may need to deal with files when it's being run in interactive mode, so we can not blindly use interactive mode (in turn use libedit) but need to check if the input source is really the standard input. This commit should fix a regression where 'bc -l' would not parse the mathlib. Reported by: trasz
* Use libedit when interacting with tty, which provided historydelphij2010-02-041-0/+39
| | | | | | | | | | functionality, etc. as did by GNU bc. This also fixes an issue where BSDL bc can not handle very long line. Reported by: imp Reviewed by: imp
* - style(9)gabor2010-02-031-6/+6
| | | | Approved by: delphij (mentor)
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodgabor2010-01-201-0/+288
compatibility level with the GNU counterparts and have shown to be mature enough. For now, the GNU versions aren't removed from the tree, just detached from the build. Sponsored by: Google Summer of Code 2008 Portbuild run by: erwin Approved by: delphij
OpenPOWER on IntegriCloud