make potential_number_p thread-safe. Closes #406

This commit is contained in:
Marius Gerbershagen 2017-09-24 19:03:38 +02:00
parent 7365d59407
commit 82dbd0ea1f

View file

@ -19,7 +19,7 @@ static bool
potential_number_p(cl_object s, int base)
{
/* See ANSI 2.3.1.1 */
static cl_index i, l;
cl_index i, l;
ecl_character c;
/* A potential number must contain at least one digit */
bool some_digit = FALSE;