-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of splitting a string of kargs with a space as the separator, parse the string and allow spaces that are protected by quotes in the karg value. The next_arg() function is based on the implementation in the Linux kernel: https://github.com/torvalds/linux/blob/8a05452ca460b05c985eadc7b5a4f040f124463e/lib/cmdline.c#L204
- Loading branch information
Robert Fairley
authored and
Stefan Agner
committed
Oct 13, 2020
1 parent
a13509e
commit 89278e1
Showing
1 changed file
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters