Files
make/tests/scripts/functions
Paul Smith 116767901f Convert word, wordlist, and intcmp functions to use long long
Modify make functions that parse integer values to use long long
values instead of long: on Windows long is the same as int (4 bytes)
and we don't want behavior to differ between different platforms.

* bootstrap.conf: Change strtol module to strtoll module.
* src/function.c (parse_numeric): Use strtoll() and return long long.
(func_word): Use long long.
(func_wordlist): Use long long.  Verify second argument is >= 0.
(func_intcmp): Use long long.
* src/config.ami.template: Don't define HAVE_STRTOLL.
* src/config-vms.template: Define HAVE_STRTOLL.
* src/config.W32.template: Define HAVE_STRTOLL.
* tests/run_make_tests.pl: Set $ERR_out_of_range to the proper string.
* tests/scripts/functions/word: Rework to use the new style and avoid
TAB characters.  Verify trailing whitespace is ignored.  Add a test
for a negative second argument to wordlist.  Add tests for max signed
integer values.  Use $ERR_out_of_range for the error string.
* tests/scripts/functions/intcmp: Add tests for min and max signed
integer values.  Use $ERR_out_of_range for the error string.
2021-11-28 14:27:10 -05:00
..
2017-06-04 18:37:20 -04:00
2020-04-01 02:02:57 -04:00
2021-03-28 16:25:52 -04:00
2020-04-01 02:02:57 -04:00
2003-11-04 07:40:29 +00:00
2020-04-01 02:02:57 -04:00
2017-06-04 18:37:20 -04:00
2019-10-10 18:31:50 -04:00
2000-04-22 02:11:17 +00:00
2002-07-08 02:26:47 +00:00