Piotr Caban : msvcrt: Return error if last known character is further in the string then current character.