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

Improve whitespace handling when parsing /proc/self/mountinfo #1293

Merged
merged 1 commit into from Mar 1, 2024

Conversation

floppym
Copy link
Contributor

@floppym floppym commented Mar 1, 2024

Only break lines on "\n" (line feed).
Only split lines on " " (space).

Bug: https://bugs.gentoo.org/925888

@floppym floppym changed the title Only split on spaces when parsing /proc/self/mountinfo Improve whitespace handling when parsing /proc/self/mountinfo Mar 1, 2024
Only break lines on "\n" (line feed).
Only split lines on " " (space).

Bug: https://bugs.gentoo.org/925888
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
@gentoo-bot gentoo-bot merged commit d8089d1 into gentoo:master Mar 1, 2024
12 checks passed
@floppym floppym deleted the bug925888-mountinfo branch March 1, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants