aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/dc/bcode.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314321:Pedro F. Giffuni2017-03-121-27/+14
| | | | | | | | | | | | | | dc(1): Merge minor changes from OpenBSD. Prefer setvbuf() to setlinebuf() for portability. Some style(9) and redundant tests for NULL. These are only meant to ease up merging newer changes. Obtained from: OpenBSD Notes: svn path=/stable/10/; revision=315135
* MFC r264573+264608+264609:Xin LI2014-05-071-10/+9
| | | | | | | Sync with OpenBSD. Notes: svn path=/stable/10/; revision=265533
* - Use BN_set_negative() and BN_is_negative() instead of subtracting orKevin Lo2012-12-301-35/+59
| | | | | | | | | | comparing to zero. - Fix fractional number exponentiation, especially for negative exponents. Obtained from: OpenBSD Notes: svn path=/head/; revision=244861
* - Fix an erroneous invocation of the editline.Kevin Lo2012-03-151-1/+1
| | | | | | | | | | | - 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> Notes: svn path=/head/; revision=232994
* - Axe out signal handling code, the shell will take care of thisGabor Kovesdan2010-06-101-10/+0
| | | | | | | | Suggested by: jilles Approved by: delphij (mentor) Notes: svn path=/head/; revision=208975
* - Fix signal handling in bc/dc. Now Ctrl-C terminates the execution.Gabor Kovesdan2010-06-061-17/+5
| | | | | | | | Requested by: gk (via private mail) Approved by: delphij (mentor) Notes: svn path=/head/; revision=208868
* - style(9)Gabor Kovesdan2010-02-031-116/+112
| | | | | | | Approved by: delphij (mentor) Notes: svn path=/head/; revision=203443
* - Remove dead variable assignmentsGabor Kovesdan2010-02-031-4/+2
| | | | | | | | | | - Fix -x Submitted by: uqs Approved by: delphij (mentor) Notes: svn path=/head/; revision=203438
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodGabor Kovesdan2010-01-201-0/+1781
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 Notes: svn path=/head/; revision=202719