diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-07-07 07:51:09 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-07-07 07:51:09 +0000 |
commit | 3aa99676b43a74a61fae17e19fd554e1937fa746 (patch) | |
tree | a74af2924acebf69a5f68d0d97454db24d1ee66b /contrib/bc/tests/bc/trunc.txt | |
parent | 67a97349432ee5eb90a11f452c31341d868dcd63 (diff) | |
parent | 3960d8924a1a0ba2f0f5e8510e73a10ee20d726b (diff) | |
download | src-3aa99676b43a74a61fae17e19fd554e1937fa746.tar.gz src-3aa99676b43a74a61fae17e19fd554e1937fa746.zip |
Update to version 3.1.1
This version fixes a regression with regard to tradtional behavior of the
non-standard FreeBSD option "-e". In the previous version "-e quit" caused
bc to exit before any computations had been performed, since all -e option
parameters were concatenated and parsed as a whole, with quit causing the
program to exit as soon as it was parsed. This version parses and executes
commands passed with -e one by one and only exits after all prior commands
have been executed.
This commit is not a SVN merge, since the vendor import had been performed
after the import to contrib. Instead the contents of contrib/bc has been
removed and the new version is copied over unchanged from vendor/bc/dist.
Notes
Notes:
svn path=/head/; revision=362987
Diffstat (limited to 'contrib/bc/tests/bc/trunc.txt')
-rw-r--r-- | contrib/bc/tests/bc/trunc.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/bc/tests/bc/trunc.txt b/contrib/bc/tests/bc/trunc.txt new file mode 100644 index 000000000000..364bb224a2e3 --- /dev/null +++ b/contrib/bc/tests/bc/trunc.txt @@ -0,0 +1,15 @@ +0$ +1$ +2$ +0.8249167203486$ +1.28937150237$ +2.0$ +28937.92837605126$ +2890.000000000$ +-1$ +-1.128973$ +-9812387.28910273$ +x = 83.298 +x$ +x = -1893.19 +(x)$ |