Skip to content

Commit 94e088d

Browse files
committed
fix calc for 32-bit architectures
Fix compiler warning for `custom/u_pfe.c`. Update the `ARCH_CFLAGS` make symbol comments in `Makefile.config`. Add `ARCH_CFLAGS` to `COMMON_CFLAGS` in `Makefile.config`. Add "RHEL (Linux) Address Sanitizer (ASAN) for i686" commented out section to `Makefile.local`. Improve comments in `Makefile.local` related to "Address Sanitizer (ASAN)". Add `junk4200` to `.gitignore`. Use `-${Q}` instead of `-@` while build hsrc files in `Makefile`. Fix `pseudo_seed()` in `seed.c` to handle 32-bit architectures. Fixed `reopenid()` in `file.c` to handle 32-bit architectures and to avoid "glibc detected an invalid stdio handle" using `freopen(3)`. Fixed bug in `c_power()` in `comfunc.c` that caused 32-bit architectures to dump core. Fixed bug in `zrandom()` in `zrandom.c` where results from a Blum-Blum-Shub operation were incorrectly copied into a ZVALUE for 32-bit architectures. Fixed comment typo in `cal/regress.cal` before test 5305.
1 parent b7dc9ab commit 94e088d

File tree

12 files changed

+152
-64
lines changed

12 files changed

+152
-64
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ help/resource
157157
help/type
158158
help/usage
159159
.hsrc
160+
junk4200
160161
libcalc.*
161162
libcustcalc.*
162163
ll_tmp

CHANGES

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
The following are the changes from calc version 2.16.1.0 to date:
2+
3+
Fix compiler warning for `custom/u_pfe.c`.
4+
5+
Update the `ARCH_CFLAGS` make symbol comments in `Makefile.config`.
6+
7+
Add `ARCH_CFLAGS` to `COMMON_CFLAGS` in `Makefile.config`.
8+
9+
Add "RHEL (Linux) Address Sanitizer (ASAN) for i686" commented out
10+
section to `Makefile.local`.
11+
12+
Improve comments in `Makefile.local` related to "Address Sanitizer (ASAN)".
13+
14+
Add `junk4200` to `.gitignore`.
15+
16+
Use `-${Q}` instead of `-@` while build hsrc files in `Makefile`.
17+
18+
Fix `pseudo_seed()` in `seed.c` to handle 32-bit architectures.
19+
20+
Fixed `reopenid()` in `file.c` to handle 32-bit architectures and
21+
to avoid "glibc detected an invalid stdio handle" using `freopen(3)`.
22+
23+
Fixed bug in `c_power()` in `comfunc.c` that caused 32-bit
24+
architectures to dump core.
25+
26+
Fixed bug in `zrandom()` in `zrandom.c` where results from a
27+
Blum-Blum-Shub operation were incorrectly copied into a ZVALUE
28+
for 32-bit architectures.
29+
30+
Fixed comment typo in `cal/regress.cal` before test 5305.
31+
32+
133
The following are the changes from calc version 2.16.0.3 to 2.16.1.0:
234

335
Added a new `.clang-format` file as the basis for using the

0 commit comments

Comments
 (0)