mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Restore ability to compile calc without -DCUSTOM
This commit is contained in:
26
CHANGES
26
CHANGES
@@ -1,4 +1,19 @@
|
|||||||
The following are the changes from calc version 2.12.8.0 to date:
|
The following are the changes from calc version 2.12.8.1 to date:
|
||||||
|
|
||||||
|
Fixed how the *.tar.bz2 are formed. The calc-2.12.8.0.tar.bz2 file
|
||||||
|
that was formed for calc version 2.12.8.0 was missing most files.
|
||||||
|
|
||||||
|
Expanded 'make chk' to also verify that 'make distchk' and 'make
|
||||||
|
distlist' execute successfully. This will help check a regression
|
||||||
|
of the bug that produced the bogus calc-2.12.8.0.tar.bz2 file.
|
||||||
|
|
||||||
|
Added additional regression tests related 0^(zero_expression)==1.
|
||||||
|
|
||||||
|
Calc can now correctly compile without CUSTOM being defined,
|
||||||
|
thanks to a report by <GitHub user barsnick>.
|
||||||
|
|
||||||
|
|
||||||
|
The following are the changes from calc version 2.12.7.5 to 2.12.8.0:
|
||||||
|
|
||||||
Fixed a mistake in "help intro" where some inserted text changed
|
Fixed a mistake in "help intro" where some inserted text changed
|
||||||
the value of "." and thus made the next result incorrect.
|
the value of "." and thus made the next result incorrect.
|
||||||
@@ -54,15 +69,6 @@ The following are the changes from calc version 2.12.8.0 to date:
|
|||||||
|
|
||||||
http://www.isthe.com/chongo/tech/comp/calc/calc-question.html
|
http://www.isthe.com/chongo/tech/comp/calc/calc-question.html
|
||||||
|
|
||||||
Fixed how the *.tar.bz2 are formed. The calc-2.12.8.0.tar.bz2 file
|
|
||||||
that was formed for calc version 2.12.8.0 was missing most files.
|
|
||||||
|
|
||||||
Expanded 'make chk' to also verify that 'make distchk' and 'make
|
|
||||||
distlist' execute successfully. This will help check a regression
|
|
||||||
of the bug that produced the bogus calc-2.12.8.0.tar.bz2 file.
|
|
||||||
|
|
||||||
Added additional regression tests related 0^(zero_expression)==1.
|
|
||||||
|
|
||||||
|
|
||||||
The following are the changes from calc version 2.12.7.1 to 2.12.7.5:
|
The following are the changes from calc version 2.12.7.1 to 2.12.7.5:
|
||||||
|
|
||||||
|
@@ -565,6 +565,7 @@ initenv(void)
|
|||||||
calc_helpdir = HELPDIR;
|
calc_helpdir = HELPDIR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(CUSTOM)
|
||||||
/* determine the $CALCCUSTOMHELP value */
|
/* determine the $CALCCUSTOMHELP value */
|
||||||
c = (no_env ? NULL : getenv(CALCCUSTOMHELP));
|
c = (no_env ? NULL : getenv(CALCCUSTOMHELP));
|
||||||
calc_customhelpdir = (c ? strdup(c) : NULL);
|
calc_customhelpdir = (c ? strdup(c) : NULL);
|
||||||
@@ -572,6 +573,7 @@ initenv(void)
|
|||||||
/* will use /usr/local/share/calc/custhelp */
|
/* will use /usr/local/share/calc/custhelp */
|
||||||
calc_customhelpdir = CUSTOMHELPDIR;
|
calc_customhelpdir = CUSTOMHELPDIR;
|
||||||
}
|
}
|
||||||
|
#endif /* CUSTOM */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user