Use reentrant strtok in tolines() function in bflsc to avoid racing on contextless calls.