mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/script/argv.c (grub_script_argv_split_append): Skip leading
spaces. * tests/grub_script_leading_whitespace.in: New file. * Makefile.util.def (grub_script_leading_whitespace): New test.
This commit is contained in:
1 parent
ba287dd8e0
commit
ac6fd21803
4 files changed
+20
No files matched your search
@@ -132,6 +132,9 @@ grub_script_argv_split_append (struct grub_script_argv *argv, const char *s)
|
||||
if (! s)
|
||||
return 0;
|
||||
|
||||
while (*s && grub_isspace (*s))
|
||||
s++;
|
||||
|
||||
while (! errors && *s)
|
||||
{
|
||||
p = s;
|
||||
|
||||
Reference in new issue
Block a user