Skip to content

Commit 1d37930

Browse files
committed
Release v2.15.0.4
The following are the changes in this release: Fixed bug that caused calc to fail to compile filepos2z() in file.c on little endian machines for the Debian apcalc package. Thanks to Martin Buck (m at rtin-buck dor de) for for fix. Removed unused macros from zmath.h: SWAP_B32_IN_HASH(dest, src) SWAP_B16_IN_HASH(dest, src) SWAP_B8_IN_HASH(dest, src) SWAP_B32_IN_FLAG(dest, src) SWAP_B16_IN_FLAG(dest, src) SWAP_B8_IN_FLAG(dest, src) When SWAP_HALF_IN_B32(dest, src), SWAP_B32_IN_FULL(dest, src), SWAP_B16_IN_HALF(dest, src), SWAP_B32_IN_bool(dest, src), or SWAP_B32_IN_LEN(dest, src), SWAP_HALF_IN_FILEPOS(dest, src) is an assignment such as: (*(dest) = *(src)) We now case the dest and src pointers to the proper type before referencing and performing the assignment. Documented unexpected behavior when calc is running in "shell script mode" and the prompt builtin function is used without the -p flag. Updated help/prompt, help/unexpected and the calc man page accordingly. Unless calc is given the -p command line option, calc will reopen stdin as /dev/null instead of just closing stdin. This prevents subsequent opens grabbing the 1st file descriptor. Disable regress tests 4709, 4710, and 7763 because they print multi-byte sequences, which are just fine for calc, the awk used to evaluate the regression suite output in some legacy systems report a "multibyte conversion failure". Added a number of missing Makefile variables to the "make env" rule. The man command is used to format the calc.1 man page into calc.usage. The "help calc" command now prints the formatted calc man page (calc.usage). The "help man" command now prints the formatted calc man page (calc.usage). The "help usage" command now prints the formatted calc man page (calc.usage). The file, calc.cat1, is formed by gzipping the calc.usage formatted man page. The calc.cat1 is installed as the calc cat section 1 man page. Updated the Copyright string in version.c to refer to the COPYING file and the "help copying" command. Added calc.cat1 to .gitignore. Using "sort -d -u" to sort .gitignore content. Avoiding use of modern [[ and ]] in Makefile for those legacy systems whose shell do not support them. Be sure to use ||'s between []'s to avoid problems with legacy shell such as the Bourne shell. *sigh* Fixed the order of "help full" to match the order of topics listed buy the "help help" command. Sorted the halias[] help topics table in help.c using sort -d -u.
1 parent 60698d2 commit 1d37930

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGES

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The following are the changes from calc version 2.15.0.3 to 2.15.0.3:
1+
The following are the changes from calc version 2.15.0.3 to 2.15.0.4:
22

33
Fixed bug that caused calc to fail to compile filepos2z() in file.c
44
on little endian machines for the Debian apcalc package. Thanks to
@@ -55,7 +55,8 @@ The following are the changes from calc version 2.15.0.3 to 2.15.0.3:
5555
Added calc.cat1 to .gitignore. Using "sort -d -u" to sort .gitignore content.
5656

5757
Avoiding use of modern [[ and ]] in Makefile for those legacy systems
58-
whose shell do not support them. *sigh*
58+
whose shell do not support them. Be sure to use ||'s between []'s
59+
to avoid problems with legacy shell such as the Bourne shell. *sigh*
5960

6061
Fixed the order of "help full" to match the order of topics listed
6162
buy the "help help" command.

Makefile.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ EXT=
12431243

12441244
# The calc version in the form of x.y.z.w
12451245
#
1246-
VERSION= 2.15.0.3
1246+
VERSION= 2.15.0.4
12471247

12481248
# The calc major version in the form of x.y.z
12491249
#

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
#define MAJOR_VER 2 /* level 1: major library version */
6565
#define MINOR_VER 15 /* level 2: minor library version */
6666
#define MAJOR_PATCH 0 /* level 3: major software version level */
67-
#define MINOR_PATCH 3 /* level 4: minor software version level */
67+
#define MINOR_PATCH 4 /* level 4: minor software version level */
6868

6969

7070
#endif /* !INCLUDE_VERSION_H*/

0 commit comments

Comments
 (0)