size_t last = env_vers.find_first_of("."); should have been size_t last = env_vers.find_last_of("."); Spotted by zhuk@ Gave him my ok for the diff, but he probably forgot to commit it
size_t last = env_vers.find_first_of("."); should have been size_t last = env_vers.find_last_of("."); Spotted by zhuk@ Gave him my ok for the diff, but he probably forgot to commit it