Duplicate the buffer in process_results in bflsc since strtok modifies it making debugging output limited to one line.