Release calc version 2.11.0t10.1

This commit is contained in:
Landon Curt Noll
1999-11-11 14:17:58 -08:00
parent 96c34adee3
commit c7c0de97f2
4 changed files with 12 additions and 4 deletions

View File

@@ -3,6 +3,14 @@ The following are the changes from calc version 2.11.0t10 to date:
Misc code cleanup. Removed dead code. Removed trailing whitespace.
Fixed whitespace to make the best use of 8 character tabs.
Fixed some bugs relaing to '// and %' in combination with some
of the the rounding modes based on a patch from Ernest Bowen
<ernie@turing.une.edu.au>.
A patch from Klaus Alexander Seistrup <klaus@seistrup.dk>, when
used in combination with the GNU-readline facility, will prevent
it from saving empty lines.
The following are the changes from calc version 2.11.0t8.9.1 to 2.11.0t9.4.5:

2
hist.c
View File

@@ -1523,7 +1523,7 @@ hist_saveline(char *line, int len)
{
static char *prev = NULL;
if (!len)
if (len <= 1)
return;
/* ignore if identical with previous line */

View File

@@ -18,7 +18,7 @@ static char *program;
#define MAJOR_VER 2 /* major version */
#define MINOR_VER 11 /* minor version */
#define MAJOR_PATCH 0 /* patch level or 0 if no patch */
#define MINOR_PATCH "10" /* test number or empty string if no patch */
#define MINOR_PATCH "10.1" /* test number or empty string if no patch */
/*
* calc version constants

View File

@@ -735,9 +735,9 @@ done: while (m > 0 && A[m - 1] == 0)
if (s) {
while (--i > 0) {
g = (FULL) *--a + (*--b >> 1 | f);
f = *b & 1 ? TOPHALF : 0;
if (g != BASE1)
break;
f = *b & 1 ? TOPHALF : 0;
}
if (g == BASE && f == 0) {
while ((--i > 0) && ((*--a | *--b) == 0));
@@ -748,9 +748,9 @@ done: while (m > 0 && A[m - 1] == 0)
} else {
while (--i > 0) {
g = (FULL) *--a - (*--b >> 1 | f);
f = *b & 1 ? TOPHALF : 0;
if (g != 0)
break;
f = *b & 1 ? TOPHALF : 0;
}
if (g > 0 && g < BASE)
t = 1;