History log of /dragonfly/usr.bin/dc/bcode.h (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0
# a977bf87 20-Sep-2013 Joris Giovannangeli <joris@dragonflybsd.org>

dc(1): Sync with OpenBSD

Changes include :

* show an error message if the argument is a dir

* check value against UINT_MAX before casting to u_int; while
there fix a buglet in bexp(): x * UIN

dc(1): Sync with OpenBSD

Changes include :

* show an error message if the argument is a dir

* check value against UINT_MAX before casting to u_int; while
there fix a buglet in bexp(): x * UINT_MAX only overflows if x > 0

* fix fractional number exponentiation

* use BN_set_negative() and BN_is_negative() instead of subtracting or
comparing to zero

* For exponenttion, only warn if the fractional part of the exponent
is non-zero and avoid div by zero.

* let length(0.000) conform to what gnu bc does

* check for unitialized elements when accessing an array

* although there's no EOF condition defined for the handling of '?',
but anyway reset the eof condition on stdin, so you don't get an
infinite loop in the typical program after a ^D.

* convert malloc to calloc

* fix three leaks

* use size_t as stack size and ssize_t as stack pointer

* add missing bn_check

Revision for updated OpenBSD files are :

- bcode.c : 1.45
- bcode.h : 1.7
- dc.c : 1.11
- inout.c : 1.17
- stack.c : 1.11

Obtained-from: OpenBSD

show more ...


Revision tags: v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# f2d37758 20-Sep-2004 Matthew Dillon <dillon@dragonflybsd.org>

Here are (BSD licensed) replacements for bc and dc:

Submitted-by: Sascha Wildner <saw@online.de>
Taken-From: OpenBSD, with minor modifications.