Mark Millard via freebsd-stable
2021-06-26 04:58:52 UTC
From: Matthew Grooms <mgrooms_at_shrew.net> wrote on
Date: Fri, 25 Jun 2021 21:30:14 -0500 :
. . .
Well,
- bc_file_puts(&vm.fout, str);
+ bc_file_puts(&vm.fout, bc_flush_save, str);
happend on main at:
author Stefan Eßer <***@FreeBSD.org> 2021-04-06 08:44:52 +0000
committer Stefan Eßer <***@FreeBSD.org> 2021-04-06 08:44:52 +0000
commit 7a590c074ceede12b2b6e794f8703d6fa5749918 (patch)
tree 5d73533c45895d17bdc2a759755ac6a34c477a3b /src/program.c
parent 893ecb52db5ed47d6c1e8698334d34e0df651612 (diff)
download src-7a590c074ceede12b2b6e794f8703d6fa5749918.tar.gz
src-7a590c074ceede12b2b6e794f8703d6fa5749918.zip
Vendor import of Gavin D. Howard's bc version 4.0.0vendor/bc/4.0.0
Diffstat (limited to 'src/program.c')
-rw-r--r-- src/program.c 36
1 files changed, 21 insertions, 15 deletions
diff --git a/src/program.c b/src/program.c
index 6ab794736f79..82735083bd03 100644
--- a/src/program.c
+++ b/src/program.c
and on stable/13 at:
author Stefan Eßer <***@FreeBSD.org> 2021-04-06 08:44:52 +0000
committer Stefan Eßer <***@FreeBSD.org> 2021-04-10 14:18:50 +0000
commit 0ca6ce5e976a045ab1e81ec3469957a64f15ab12 (patch)
tree 284f16319f560883110f93f7be7e6526d3a84097 /contrib/bc/src/program.c
parent 8393e034dacec0bbafdd470c3cceaecc693357ea (diff)
download src-0ca6ce5e976a045ab1e81ec3469957a64f15ab12.tar.gz
src-0ca6ce5e976a045ab1e81ec3469957a64f15ab12.zip
[bc] Update to version 4.0.0
This version fixes an issue (missing pop of top-of-stack value in the
"P" command of the dc program).
This issue did not affect the bc program, since it does not use dc as
an back-end to actually perform the calculations as was the case with
the traditional bc and dc programs.
The major number has been bumped due to Windows support that has been
added to this version. It does not correspond to a major change that
might affect FreeBSD.
(cherry picked from commit b55a927bc884d7780d65a508572023b0dc2dede9)
Diffstat (limited to 'contrib/bc/src/program.c')
-rw-r--r-- contrib/bc/src/program.c 36
1 files changed, 21 insertions, 15 deletions
diff --git a/contrib/bc/src/program.c b/contrib/bc/src/program.c
index 6ab794736f79..82735083bd03 100644
--- a/contrib/bc/src/program.c
+++ b/contrib/bc/src/program.c
Looks likes you need to get your source code updated to
accurately match some specific commit.
I did not investigate anything beyond the example difference
above.
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Date: Fri, 25 Jun 2021 21:30:14 -0500 :
. . .
I've been trying to build stable/13 kernel & world periodically for
arm64 and either I'm not having very much luck or it's broken more times
than it compiles. Is there an automated process that's checking builds
for that platform?
Most recently, world stops building with bc ( see below ). However, that
looks like that was last touched on June 1st. Has the build really been
broken since then? :/
--- all_subdir_usr.bin ---
/usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to
function call, expected 3, have 2
bc_file_puts(&vm.fout, str);
~~~~~~~~~~~~ ^
. . .arm64 and either I'm not having very much luck or it's broken more times
than it compiles. Is there an automated process that's checking builds
for that platform?
Most recently, world stops building with bc ( see below ). However, that
looks like that was last touched on June 1st. Has the build really been
broken since then? :/
--- all_subdir_usr.bin ---
/usr/src/contrib/bc/src/program.c:515:28: error: too few arguments to
function call, expected 3, have 2
bc_file_puts(&vm.fout, str);
~~~~~~~~~~~~ ^
Well,
- bc_file_puts(&vm.fout, str);
+ bc_file_puts(&vm.fout, bc_flush_save, str);
happend on main at:
author Stefan Eßer <***@FreeBSD.org> 2021-04-06 08:44:52 +0000
committer Stefan Eßer <***@FreeBSD.org> 2021-04-06 08:44:52 +0000
commit 7a590c074ceede12b2b6e794f8703d6fa5749918 (patch)
tree 5d73533c45895d17bdc2a759755ac6a34c477a3b /src/program.c
parent 893ecb52db5ed47d6c1e8698334d34e0df651612 (diff)
download src-7a590c074ceede12b2b6e794f8703d6fa5749918.tar.gz
src-7a590c074ceede12b2b6e794f8703d6fa5749918.zip
Vendor import of Gavin D. Howard's bc version 4.0.0vendor/bc/4.0.0
Diffstat (limited to 'src/program.c')
-rw-r--r-- src/program.c 36
1 files changed, 21 insertions, 15 deletions
diff --git a/src/program.c b/src/program.c
index 6ab794736f79..82735083bd03 100644
--- a/src/program.c
+++ b/src/program.c
and on stable/13 at:
author Stefan Eßer <***@FreeBSD.org> 2021-04-06 08:44:52 +0000
committer Stefan Eßer <***@FreeBSD.org> 2021-04-10 14:18:50 +0000
commit 0ca6ce5e976a045ab1e81ec3469957a64f15ab12 (patch)
tree 284f16319f560883110f93f7be7e6526d3a84097 /contrib/bc/src/program.c
parent 8393e034dacec0bbafdd470c3cceaecc693357ea (diff)
download src-0ca6ce5e976a045ab1e81ec3469957a64f15ab12.tar.gz
src-0ca6ce5e976a045ab1e81ec3469957a64f15ab12.zip
[bc] Update to version 4.0.0
This version fixes an issue (missing pop of top-of-stack value in the
"P" command of the dc program).
This issue did not affect the bc program, since it does not use dc as
an back-end to actually perform the calculations as was the case with
the traditional bc and dc programs.
The major number has been bumped due to Windows support that has been
added to this version. It does not correspond to a major change that
might affect FreeBSD.
(cherry picked from commit b55a927bc884d7780d65a508572023b0dc2dede9)
Diffstat (limited to 'contrib/bc/src/program.c')
-rw-r--r-- contrib/bc/src/program.c 36
1 files changed, 21 insertions, 15 deletions
diff --git a/contrib/bc/src/program.c b/contrib/bc/src/program.c
index 6ab794736f79..82735083bd03 100644
--- a/contrib/bc/src/program.c
+++ b/contrib/bc/src/program.c
Looks likes you need to get your source code updated to
accurately match some specific commit.
I did not investigate anything beyond the example difference
above.
===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de