From d91ace60913d202c1859c6eb85f4856221193b74 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Tue, 29 Nov 2022 13:10:33 -0800 Subject: [PATCH] Release v2.14.1.2 The following are the changes in this release: Restored use of the #define FPOS_POS_LEN symbol. This refers to the length of the __pos element (if the __pos element exists), the fpos_t type (if that type exists). Changed SWAP_HALF_IN_FILEPOS(dest, src) mato to use FILEPOS_LEN Little Endian when FILEPOS is a simple scalar type (i.e., HAVE_FILEPOS_SCALAR is defined). Changed #define HAVE_FPOS to HAVE_FGETSETPOS. Corrected comment in have_fpos_pos.h. The HAVE_FPOS_POS symbol was NOT related to fgetpos & fsetpos but rather if we we have an __pos element in FILEPOS. Changed #define HAVE_NO_FPOS to HAVE_NO_FGETSETPOS. Improved comments in have_fpos_pos.h to show why and how HAVE_FPOS_POS, FPOS_POS_BITS, and FPOS_POS_LEN were defined or undefed. Changed showfiles builtin to print sizes cast to (long int) with the "%ld" printf format to avoid implementations that do not support the "%lld" printf format specifier. Renamed have_fpos.h to have_fgetsetpos.h. Renamed CALC_HAVE_FPOS_H to CALC_HAVE_FGETSETPOS_H. The make install and the olduninstall rules remove the any old have_fpos.h that was previously installed. Added swap_HALFs(dest, src, len) function to byteswap.c. Calc can now handle Big Engian file position sizes that are a multiple of BASEB bits in length. Before handle Big Engian file positions could only be 32 and 64 bits in length. This will allow, for example, a Big Engian file position size of 128 (assuming that 128/BASEB is is an integer). Temporary workaround for musl libc systems such as gentoo Linux that allows them to compile calc and successfully run the regression test. --- Makefile | 2 +- Makefile.simple | 2 +- custom/Makefile | 2 +- custom/Makefile.simple | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a81dd1b..99bce2a 100644 --- a/Makefile +++ b/Makefile @@ -1309,7 +1309,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.1 +VERSION= 2.14.1.2 # Names of shared libraries with versions # diff --git a/Makefile.simple b/Makefile.simple index c2d4561..fd97064 100644 --- a/Makefile.simple +++ b/Makefile.simple @@ -1151,7 +1151,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.1 +VERSION= 2.14.1.2 # Names of shared libraries with versions # diff --git a/custom/Makefile b/custom/Makefile index 489af2c..72f0d7b 100644 --- a/custom/Makefile +++ b/custom/Makefile @@ -474,7 +474,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.1 +VERSION= 2.14.1.2 # Names of shared libraries with versions # diff --git a/custom/Makefile.simple b/custom/Makefile.simple index 2b7cc6e..33d05b7 100644 --- a/custom/Makefile.simple +++ b/custom/Makefile.simple @@ -445,7 +445,7 @@ EXT= # The default calc versions # -VERSION= 2.14.1.1 +VERSION= 2.14.1.2 # Names of shared libraries with versions #