summaryrefslogtreecommitdiffstats
path: root/usr.bin/bc
Commit message (Collapse)AuthorAgeFilesLines
* MFC r270650 (this is what should have been committed in r273497):ngie2014-10-231-2/+2
| | | | | | | | | | | Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd" Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks Phabric: D675 (as part of a larger diff) PR: 192762
* MFC r264573+264608+264609:delphij2014-05-077-129/+278
| | | | Sync with OpenBSD.
* MFC r259058,r259060:delphij2013-12-232-3/+11
| | | | | | Remove -q from usage. Document -q and --quiet as discouraged compatibility option.
* Work around build breakages with GCC 4.2.jkim2013-05-231-0/+1
| | | | Reported by: tinderbox
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+2
| | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* Make definition match declarationeadler2012-11-151-1/+1
| | | | | Approved by: cperciva MFC after: 3 days
* Fix world after byacc import:bapt2012-05-221-1/+0
| | | | | | | | - old yacc(1) use to magicially append stdlib.h, while new one don't - new yacc(1) do declare yyparse by itself, fix redundant declaration of 'yyparse' Approved by: des (mentor)
* Repair function when used with large scaleskevlo2012-03-181-2/+3
| | | | Submitted by: AIDA Shinra <shinra at j10n dot org>
* - Fix an erroneous invocation of the editline.kevlo2012-03-152-21/+32
| | | | | | | | - Fix wrong scaling in the bc.library. - Let length(0.000) conform to what gnu bc does. PR: bin/159227 Submitted by: AIDA Shinra <shinra at j10n dot org>
* Remove extra sentence, a leftover from r202845.stefanf2012-01-251-2/+0
|
* Move most of the remaining USD/PSD/SMM papers into share/docuqs2010-12-041-1241/+0
|
* Fix some more warnings found by clang.brucec2010-11-221-0/+1
|
* - 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-044-1/+65
| | | | | | | | | | 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-032-32/+41
| | | | Approved by: delphij (mentor)
* - style.Makefile(5)gabor2010-02-031-5/+5
| | | | | Submitted by: uqs Approved by: delphij (mentor)
* - Remove --debug option and intentionally undocument -d, which is onlydelphij2010-01-222-15/+10
| | | | | | | | | kept for compatibility with 4.4BSD behavior. - Sync SYNOPSIS with usage(). - Use an alternative way to represent short and long options which have same semantics. Reviewed by: gabor
* Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd.delphij2010-01-222-14/+0
| | | | Reviewed by: gabor
* Makefile cleanups:delphij2010-01-211-6/+1
| | | | | | | | o Enable building of USD o Remove commented out targets o Remove WARNS?=6 lines since it's the default Reviewed by: gabor
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodgabor2010-01-209-0/+3460
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