aboutsummaryrefslogtreecommitdiff
path: root/manuals/bc
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2025-09-11 14:07:46 +0000
committerStefan Eßer <se@FreeBSD.org>2025-09-11 14:07:46 +0000
commit682da5a0fdb2c38ecc3951047a882471d62aa1d1 (patch)
tree9315c84201e10a5b4cec2eda91146cac4e1c904d /manuals/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 'manuals/bc')
-rw-r--r--manuals/bc/A.115
-rw-r--r--manuals/bc/A.1.md14
-rw-r--r--manuals/bc/E.14
-rw-r--r--manuals/bc/E.1.md4
-rw-r--r--manuals/bc/EH.14
-rw-r--r--manuals/bc/EH.1.md4
-rw-r--r--manuals/bc/EHN.14
-rw-r--r--manuals/bc/EHN.1.md4
-rw-r--r--manuals/bc/EN.14
-rw-r--r--manuals/bc/EN.1.md4
-rw-r--r--manuals/bc/H.115
-rw-r--r--manuals/bc/H.1.md14
-rw-r--r--manuals/bc/HN.115
-rw-r--r--manuals/bc/HN.1.md14
-rw-r--r--manuals/bc/N.115
-rw-r--r--manuals/bc/N.1.md14
16 files changed, 32 insertions, 116 deletions
diff --git a/manuals/bc/A.1 b/manuals/bc/A.1
index adeb62f82e6a..9b38de7dc1bc 100644
--- a/manuals/bc/A.1
+++ b/manuals/bc/A.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -2109,17 +2109,6 @@ If you want to a use signed two\[cq]s complement argument, use
\f[B]s2u(x)\f[R] to convert.
.RE
.TP
-\f[B]bunrev(t)\f[R]
-Assumes \f[B]t\f[R] is a bitwise\-reversed number with an extra set bit
-one place more significant than the real most significant bit (which was
-the least significant bit in the original number).
-This number is reversed and returned without the extra set bit.
-.RS
-.PP
-This function is used to implement other bitwise functions; it is not
-meant to be used by users, but it can be.
-.RE
-.TP
\f[B]plz(x)\f[R]
If \f[B]x\f[R] is not equal to \f[B]0\f[R] and greater that
\f[B]\-1\f[R] and less than \f[B]1\f[R], it is printed with a leading
@@ -2943,7 +2932,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/A.1.md b/manuals/bc/A.1.md
index e89305b1af44..73da0caa0a64 100644
--- a/manuals/bc/A.1.md
+++ b/manuals/bc/A.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1766,16 +1766,6 @@ The extended library is a **non-portable extension**.
If you want to a use signed two's complement argument, use **s2u(x)** to
convert.
-**bunrev(t)**
-
-: Assumes **t** is a bitwise-reversed number with an extra set bit one place
- more significant than the real most significant bit (which was the least
- significant bit in the original number). This number is reversed and
- returned without the extra set bit.
-
- This function is used to implement other bitwise functions; it is not meant
- to be used by users, but it can be.
-
**plz(x)**
: If **x** is not equal to **0** and greater that **-1** and less than **1**,
@@ -2521,7 +2511,7 @@ This bc(1) supports error messages for different locales, and thus, it supports
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS
diff --git a/manuals/bc/E.1 b/manuals/bc/E.1
index e2f1b034e69a..36f402d99936 100644
--- a/manuals/bc/E.1
+++ b/manuals/bc/E.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -1758,7 +1758,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/E.1.md b/manuals/bc/E.1.md
index 0082caea8408..4536381f72b3 100644
--- a/manuals/bc/E.1.md
+++ b/manuals/bc/E.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1509,7 +1509,7 @@ This bc(1) supports error messages for different locales, and thus, it supports
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS
diff --git a/manuals/bc/EH.1 b/manuals/bc/EH.1
index c132a0b76a49..bf29cca9e820 100644
--- a/manuals/bc/EH.1
+++ b/manuals/bc/EH.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -1731,7 +1731,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/EH.1.md b/manuals/bc/EH.1.md
index 7e682058234c..27c3f46f9edc 100644
--- a/manuals/bc/EH.1.md
+++ b/manuals/bc/EH.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1483,7 +1483,7 @@ This bc(1) supports error messages for different locales, and thus, it supports
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS
diff --git a/manuals/bc/EHN.1 b/manuals/bc/EHN.1
index e3395b1cc20d..2c0a2ddc9cd9 100644
--- a/manuals/bc/EHN.1
+++ b/manuals/bc/EHN.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -1725,7 +1725,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/EHN.1.md b/manuals/bc/EHN.1.md
index 9578d2ab7720..eee3c9c8cb99 100644
--- a/manuals/bc/EHN.1.md
+++ b/manuals/bc/EHN.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1475,7 +1475,7 @@ use a period (**.**) as a radix point, regardless of the value of
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS
diff --git a/manuals/bc/EN.1 b/manuals/bc/EN.1
index c1ccbec567ec..ce88b2af8e14 100644
--- a/manuals/bc/EN.1
+++ b/manuals/bc/EN.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -1752,7 +1752,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/EN.1.md b/manuals/bc/EN.1.md
index f6ad00930902..8752c4eda7e1 100644
--- a/manuals/bc/EN.1.md
+++ b/manuals/bc/EN.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1501,7 +1501,7 @@ use a period (**.**) as a radix point, regardless of the value of
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS
diff --git a/manuals/bc/H.1 b/manuals/bc/H.1
index 9dc46ee50dee..ee0312f3e8db 100644
--- a/manuals/bc/H.1
+++ b/manuals/bc/H.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -2109,17 +2109,6 @@ If you want to a use signed two\[cq]s complement argument, use
\f[B]s2u(x)\f[R] to convert.
.RE
.TP
-\f[B]bunrev(t)\f[R]
-Assumes \f[B]t\f[R] is a bitwise\-reversed number with an extra set bit
-one place more significant than the real most significant bit (which was
-the least significant bit in the original number).
-This number is reversed and returned without the extra set bit.
-.RS
-.PP
-This function is used to implement other bitwise functions; it is not
-meant to be used by users, but it can be.
-.RE
-.TP
\f[B]plz(x)\f[R]
If \f[B]x\f[R] is not equal to \f[B]0\f[R] and greater that
\f[B]\-1\f[R] and less than \f[B]1\f[R], it is printed with a leading
@@ -2916,7 +2905,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/H.1.md b/manuals/bc/H.1.md
index fbc0658d8171..76763ed648e5 100644
--- a/manuals/bc/H.1.md
+++ b/manuals/bc/H.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1766,16 +1766,6 @@ The extended library is a **non-portable extension**.
If you want to a use signed two's complement argument, use **s2u(x)** to
convert.
-**bunrev(t)**
-
-: Assumes **t** is a bitwise-reversed number with an extra set bit one place
- more significant than the real most significant bit (which was the least
- significant bit in the original number). This number is reversed and
- returned without the extra set bit.
-
- This function is used to implement other bitwise functions; it is not meant
- to be used by users, but it can be.
-
**plz(x)**
: If **x** is not equal to **0** and greater that **-1** and less than **1**,
@@ -2495,7 +2485,7 @@ This bc(1) supports error messages for different locales, and thus, it supports
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS
diff --git a/manuals/bc/HN.1 b/manuals/bc/HN.1
index 7b4577f2dbd3..fb593b6d3a64 100644
--- a/manuals/bc/HN.1
+++ b/manuals/bc/HN.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -2109,17 +2109,6 @@ If you want to a use signed two\[cq]s complement argument, use
\f[B]s2u(x)\f[R] to convert.
.RE
.TP
-\f[B]bunrev(t)\f[R]
-Assumes \f[B]t\f[R] is a bitwise\-reversed number with an extra set bit
-one place more significant than the real most significant bit (which was
-the least significant bit in the original number).
-This number is reversed and returned without the extra set bit.
-.RS
-.PP
-This function is used to implement other bitwise functions; it is not
-meant to be used by users, but it can be.
-.RE
-.TP
\f[B]plz(x)\f[R]
If \f[B]x\f[R] is not equal to \f[B]0\f[R] and greater that
\f[B]\-1\f[R] and less than \f[B]1\f[R], it is printed with a leading
@@ -2910,7 +2899,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/HN.1.md b/manuals/bc/HN.1.md
index 015035c14daf..fbbf3b09715d 100644
--- a/manuals/bc/HN.1.md
+++ b/manuals/bc/HN.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1766,16 +1766,6 @@ The extended library is a **non-portable extension**.
If you want to a use signed two's complement argument, use **s2u(x)** to
convert.
-**bunrev(t)**
-
-: Assumes **t** is a bitwise-reversed number with an extra set bit one place
- more significant than the real most significant bit (which was the least
- significant bit in the original number). This number is reversed and
- returned without the extra set bit.
-
- This function is used to implement other bitwise functions; it is not meant
- to be used by users, but it can be.
-
**plz(x)**
: If **x** is not equal to **0** and greater that **-1** and less than **1**,
@@ -2487,7 +2477,7 @@ use a period (**.**) as a radix point, regardless of the value of
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS
diff --git a/manuals/bc/N.1 b/manuals/bc/N.1
index 193e0d15f6fb..8fc3249f8b73 100644
--- a/manuals/bc/N.1
+++ b/manuals/bc/N.1
@@ -1,7 +1,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.\" Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+.\" Copyright (c) 2018-2025 Gavin D. Howard and contributors.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
@@ -2109,17 +2109,6 @@ If you want to a use signed two\[cq]s complement argument, use
\f[B]s2u(x)\f[R] to convert.
.RE
.TP
-\f[B]bunrev(t)\f[R]
-Assumes \f[B]t\f[R] is a bitwise\-reversed number with an extra set bit
-one place more significant than the real most significant bit (which was
-the least significant bit in the original number).
-This number is reversed and returned without the extra set bit.
-.RS
-.PP
-This function is used to implement other bitwise functions; it is not
-meant to be used by users, but it can be.
-.RE
-.TP
\f[B]plz(x)\f[R]
If \f[B]x\f[R] is not equal to \f[B]0\f[R] and greater that
\f[B]\-1\f[R] and less than \f[B]1\f[R], it is printed with a leading
@@ -2937,7 +2926,7 @@ Before version \f[B]6.1.0\f[R], this bc(1) had incorrect behavior for
the \f[B]quit\f[R] statement.
.PP
No other bugs are known.
-Report bugs at https://git.gavinhoward.com/gavin/bc .
+Report bugs at https://github.com/gavinhoward/bc .
.SH AUTHORS
Gavin D. Howard \c
.MT gavin@gavinhoward.com
diff --git a/manuals/bc/N.1.md b/manuals/bc/N.1.md
index 859c32e3e774..6c9b6fce5d04 100644
--- a/manuals/bc/N.1.md
+++ b/manuals/bc/N.1.md
@@ -2,7 +2,7 @@
SPDX-License-Identifier: BSD-2-Clause
-Copyright (c) 2018-2024 Gavin D. Howard and contributors.
+Copyright (c) 2018-2025 Gavin D. Howard and contributors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -1766,16 +1766,6 @@ The extended library is a **non-portable extension**.
If you want to a use signed two's complement argument, use **s2u(x)** to
convert.
-**bunrev(t)**
-
-: Assumes **t** is a bitwise-reversed number with an extra set bit one place
- more significant than the real most significant bit (which was the least
- significant bit in the original number). This number is reversed and
- returned without the extra set bit.
-
- This function is used to implement other bitwise functions; it is not meant
- to be used by users, but it can be.
-
**plz(x)**
: If **x** is not equal to **0** and greater that **-1** and less than **1**,
@@ -2513,7 +2503,7 @@ use a period (**.**) as a radix point, regardless of the value of
Before version **6.1.0**, this bc(1) had incorrect behavior for the **quit**
statement.
-No other bugs are known. Report bugs at https://git.gavinhoward.com/gavin/bc .
+No other bugs are known. Report bugs at https://github.com/gavinhoward/bc .
# AUTHORS