Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling /proc/cpuinfo without tabs #1726

Merged
merged 1 commit into from
Apr 14, 2020
Merged

Fix handling /proc/cpuinfo without tabs #1726

merged 1 commit into from
Apr 14, 2020

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Apr 14, 2020

/proc/cpuinfo uses spaces rather than tabs on ia64. Since there seems
not to be any reason to require specific kind of whitespace before ':'
on 'cpu mhz' line, just split on ':'.

See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/ia64/kernel/setup.c#n700

/proc/cpuinfo uses spaces rather than tabs on ia64.  Since there seems
not to be any reason to require specific kind of whitespace before ':'
on 'cpu mhz' line, just split on ':'.

See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/ia64/kernel/setup.c#n700
@giampaolo giampaolo merged commit f884ef4 into giampaolo:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants