summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2021-07-16 14:04:33 +0200
committerPaul Smith <psmith@gnu.org>2021-11-28 14:26:28 -0500
commitd9291d09b86228afd547d845460ba5b91577645f (patch)
tree997a6af98b567d6fd01b73469ef7a31cd198a283 /bootstrap.conf
parentf3ad5720997461cae87f45cb9d0d09cf24e0e79c (diff)
downloadmake-git-d9291d09b86228afd547d845460ba5b91577645f.tar.gz
Use strtol() instead of atoi()
strtol() is part of C89 and a fallback is provided by gnulib. * src/function.c (func_word, func_wordlist): Change atoi to strtol. * test/scripts/functions/word: Add out-of-range verification testing.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index bd37f1b9..69058aa0 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -51,4 +51,5 @@ getloadavg
host-cpu-c-abi
mempcpy
strerror
+strtol
make-glob"