summaryrefslogtreecommitdiff
path: root/tests/bc/scripts/parse.bc
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2025-09-11 16:07:46 +0200
committerStefan Eßer <se@FreeBSD.org>2025-09-11 16:07:46 +0200
commit682da5a0fdb2c38ecc3951047a882471d62aa1d1 (patch)
tree9315c84201e10a5b4cec2eda91146cac4e1c904d /tests/bc/scripts/parse.bc
parent5a7f1dde93a4c681a5a4246ddabc562a7f7ce14d (diff)
vendor/bc: upgrade to version 7.1.0vendor/bc/7.1.0vendor/bc
This update fixes a few bugs: - Improper response to double SIGINT with editline. - Not letting libedit handle terminal size changes. - A dc crash from improperly handling an error. - A duplicate check for reference arrays. - Build failures with GCC 15.
Diffstat (limited to 'tests/bc/scripts/parse.bc')
-rw-r--r--tests/bc/scripts/parse.bc20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/bc/scripts/parse.bc b/tests/bc/scripts/parse.bc
deleted file mode 100644
index 179daf116efd..000000000000
--- a/tests/bc/scripts/parse.bc
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /usr/bin/bc -q
-
-for (b = 2; b <= 16; ++b) {
- if (b == 10) continue
- obase = 10
- print "ibase = A; ibase = ", b, "\n"
- print "\qibase = \q\n"
- b
- obase = b
- for (i = 0; i <= 4096; ++i) {
- i
- print "0.", i, "\n"
- print ".", i, "\n"
- print "1.", i, "\n"
- print i, ".", "\n"
- print i, ".", i, "\n"
- }
-}
-
-halt