From d9291d09b86228afd547d845460ba5b91577645f Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Fri, 16 Jul 2021 14:04:33 +0200 Subject: 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. --- bootstrap.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap.conf') 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" -- cgit v1.2.1