Line number fix to xungetc.