Skip to content

Conversation

@juniskane
Copy link

8 was incorrectly classified as octal digit in \000 octal escape sequences. strlen("\078") should return value 2 instead of 1.

(Original K&R1 C silently allowed 8 and 9 in octal literals, but that was fixed already in C89 standard.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant