Skip to content

use base 10 to parse integers - #63

Merged
RaduBerinde merged 1 commit into
masterfrom
parse-base-10
Nov 23, 2025
Merged

RaduBerinde merged 1 commit into
masterfrom
parse-base-10

Conversation

@RaduBerinde

@RaduBerinde RaduBerinde commented Nov 23, 2025 •

Copy link
Copy Markdown
Member

The new parsing code passes base 0 to strconv which causes it to interpret leading 0 as indicating an octal number. This is not what we want; in particular Pebble has a lot of tests which use file numbers with leading 0s.


This change is Reviewable

@RaduBerinde
RaduBerinde requested review from jbowens and tbg November 23, 2025 01:21
The new parsing code passes base 0 to strconv which causes it to
interpret leading 0 as indicating an octal number. This is not what we
want; in particular Pebble has a lot of tests which use file numbers
with leading 0s.
@RaduBerinde

Copy link
Copy Markdown
Member Author

TFTR!

@RaduBerinde
RaduBerinde merged commit ddff674 into master Nov 23, 2025
12 checks passed
@RaduBerinde
RaduBerinde deleted the parse-base-10 branch November 23, 2025 15:02
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.

2 participants